blob: ea86b36c5eead46e1ae5423e4bcd82f5f79338b5 (
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
46
47
48
49
50
|
TOPDIR = ..\..
SUBDIRS = testmod testmod2 testmod3
!INCLUDE $(TOPDIR)\makefiles\nmake\platform.mk
INCLUDE_CXXFLAGS = \
/D_WIN32_WINNT=0x504 /DSHARED
INCLUDE_DIRS = \
/I. \
/I$(TOPDIR)\src \
/I$(TOPDIR)\include\module \
/I$(TOPDIR)\include\util \
/I$(TOPDIR)\include\crawler \
/I$(TOPDIR)\tests\modules\libcommon
INCLUDE_LDFLAGS = \
INCLUDE_LIBS = \
$(TOPDIR)\src\libutil\util.lib \
$(TOPDIR)\src\libcrawler\crawler.lib \
$(TOPDIR)\tests\modules\libcommon\common.lib
TEST_CPP_BINS = \
test1.exe \
test2.exe \
test3.exe
OBJS =
!INCLUDE $(TOPDIR)\makefiles\nmake\sub.mk
test1.exe: test1.obj
test2.exe: test2.obj
test3.exe: test3.obj
# must build test2.lib first becase it contains DDL exports for the
# Common singleton
local_all: test2.exe
local_clean:
@-erase -f *.RES *.DIFF *.ERR 2>NUL
local_distclean:
local_test:
@-exec_test test1 "Module loader"
@-exec_test test2 "Module loader with singleton"
@-exec_test test3 "Load module in module"
|