diff options
author | Andreas Baumann <abaumann@yahoo.com> | 2009-03-23 18:07:50 +0100 |
---|---|---|
committer | Andreas Baumann <abaumann@yahoo.com> | 2009-03-23 18:07:50 +0100 |
commit | bbbb86a7aeb2394e7c118ebe1edaa2be18350cda (patch) | |
tree | 0bf7001b0bcda0a801b2882422839a8ce7321d22 /tests/service/Makefile.W32 | |
parent | 93e6d0bbbf09e1a91fb1a294ba478cdd327e0fd6 (diff) | |
download | wolfbones-bbbb86a7aeb2394e7c118ebe1edaa2be18350cda.tar.gz wolfbones-bbbb86a7aeb2394e7c118ebe1edaa2be18350cda.tar.bz2 |
started with the Win32 service
Diffstat (limited to 'tests/service/Makefile.W32')
-rw-r--r-- | tests/service/Makefile.W32 | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/tests/service/Makefile.W32 b/tests/service/Makefile.W32 new file mode 100644 index 0000000..4dc3bf8 --- /dev/null +++ b/tests/service/Makefile.W32 @@ -0,0 +1,45 @@ +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 = \ + testservice.dll + +TEST_BINS = \ + testservice.exe + +!INCLUDE $(TOPDIR)\makefiles\nmake\sub.mk + +test_service.exe: test_service.obj $(TOPDIR)\src\wolf.lib + +testservice.dll: testservice.res + $(LINK) /dll /nologo /noentry /MACHINE:x86 /out:$@ $? + +testservice.rc: testservice.mc +testservice.res: testservice.rc + +local_test: $(LIBRARIES) +# @echo Testing log.. +# @copy testservice.dll C:\TEMP +# @test_service 2>NUL + +local_all: + +local_clean: + @-erase testservice.log 2>NUL + @-erase $(LIBRARIES) testservice.h 2>NUL + +local_distclean: + + |