.SUFFIXES: .cc .obj

APPNAME     = Resource Name Server Test
ARCH        = WINNT-4.0
SHOBJ       = YES

BINARIES    = $(BASEBIN)\rsvc_cdev_server.exe\
              $(BASEBIN)\rsvc_cdev_client.exe\
			  $(BASEBIN)\rsvc_shutdown.exe\
			  $(BASEBIN)\queryDataTest.exe

include ..\..\include\makeinclude\Makefile.WINNT-4.0

targets : $(BINARIES)

$(BASEBIN)\rsvc_cdev_server.exe : .exec\$(TARGETDIR)\rsvc_cdev_server.obj
	-@if exist $@ erase $@
	@echo ^ ^ ^ ^ ^ ^ =^> Linking $(@F)
	$(LINK) $(CDEVLIB)\cdev.lib $(CDEVLIB)\rsvc.lib \
	$(LINK_EXE_FLAGS) /out:$@ $? 
	@echo ^ ^ ^ ^ ^ ^ ^ ^ ^ Done...

$(BASEBIN)\rsvc_cdev_client.exe : .exec\$(TARGETDIR)\rsvc_cdev_client.obj
	-@if exist $@ erase $@
	@echo ^ ^ ^ ^ ^ ^ =^> Linking $(@F)
	$(LINK) $(CDEVLIB)\cdev.lib $(CDEVLIB)\rsvc.lib \
	$(LINK_EXE_FLAGS) /out:$@ $? 
	@echo ^ ^ ^ ^ ^ ^ ^ ^ ^ Done...

$(BASEBIN)\rsvc_shutdown.exe : .exec\$(TARGETDIR)\rsvc_shutdown.obj
	-@if exist $@ erase $@
	@echo ^ ^ ^ ^ ^ ^ =^> Linking $(@F)
	$(LINK) $(CDEVLIB)\cdev.lib $(CDEVLIB)\rsvc.lib \
	$(LINK_EXE_FLAGS) /out:$@ $? 
	@echo ^ ^ ^ ^ ^ ^ ^ ^ ^ Done...

$(BASEBIN)\queryDataTest.exe : .exec\$(TARGETDIR)\queryDataTest.obj
	-@if exist $@ erase $@
	@echo ^ ^ ^ ^ ^ ^ =^> Linking $(@F)
	$(LINK) $(CDEVLIB)\cdev.lib $(CDEVLIB)\rsvc.lib \
	$(LINK_EXE_FLAGS) /out:$@ $? 
	@echo ^ ^ ^ ^ ^ ^ ^ ^ ^ Done...
