summaryrefslogtreecommitdiff
path: root/tests/modules/libcommon/Makefile.W32
diff options
context:
space:
mode:
Diffstat (limited to 'tests/modules/libcommon/Makefile.W32')
-rwxr-xr-xtests/modules/libcommon/Makefile.W3240
1 files changed, 40 insertions, 0 deletions
diff --git a/tests/modules/libcommon/Makefile.W32 b/tests/modules/libcommon/Makefile.W32
new file mode 100755
index 0000000..3dc28b6
--- /dev/null
+++ b/tests/modules/libcommon/Makefile.W32
@@ -0,0 +1,40 @@
+TOPDIR = ..\..
+
+SUBDIRS = testmod testmod2 testmod3
+
+!INCLUDE $(TOPDIR)\makefiles\nmake\platform.mk
+
+INCLUDE_CXXFLAGS = \
+ /D_WIN32_WINNT=0x504 \
+ /DBUILDING_CRAWLER /DBUILDING_UTIL
+
+INCLUDE_DIRS = \
+ /I. \
+ /I$(TOPDIR)\src
+
+INCLUDE_LDFLAGS = \
+
+INCLUDE_LIBS = \
+ $(TOPDIR)\src\crawler.lib
+
+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"