summaryrefslogtreecommitdiff
path: root/tests/service/Makefile.W32
blob: 4dc3bf85f46269bb772346fda5ed86f1252da084 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
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: