TOPDIR = ..\.. SUBDIRS = INCLUDE_DIRS = \ /I$(TOPDIR)\include\wolf /I. \ /D_WIN32_WINNT=0x400 /I"$(PLATFORM_SDK_DIR)\Include" INCLUDE_LDFLAGS = \ /LIBPATH:"$(PLATFORM_SDK_DIR)\lib" INCLUDE_LIBS = \ $(TOPDIR)\src\wolf.lib \ advapi32.lib kernel32.lib LIBRARIES = \ testservicemsg.dll TEST_BINS = \ testservice.exe !INCLUDE $(TOPDIR)\makefiles\nmake\sub.mk testservice.exe: testservice.obj $(TOPDIR)\src\wolf.lib testservicemsg.dll: testservicemsg.res $(LINK) /dll /nologo /noentry /MACHINE:x86 /out:$@ $? testservicemsg.rc: testservicemsg.mc testservicemsg.res: testservicemsg.rc local_test: $(LIBRARIES) @echo Testing service.. @copy testservicemsg.dll C:\TEMP >NUL @testservice /install 2>NUL @net start testservice >>NUL @net stop testservice >>NUL @testservice /remove 2>>NUL local_all: local_clean: @-erase testservice.log 2>NUL @-erase $(LIBRARIES) testservicemsg.h 2>NUL local_distclean: