summaryrefslogtreecommitdiff
path: root/tests/modules/libcommon/Makefile.W32
diff options
context:
space:
mode:
authorAndreas Baumann <abaumann@yahoo.com>2012-09-07 08:44:50 +0200
committerAndreas Baumann <abaumann@yahoo.com>2012-09-07 08:44:50 +0200
commit703e5e1a088820d3a2d6d50281e761a99e35c6d8 (patch)
treee46f84bf6f08e4576381b3864d4b2178473708fc /tests/modules/libcommon/Makefile.W32
parent374c902e272f06833cfc67e3b8bd86cc7ae7cd3c (diff)
downloadcrawler-703e5e1a088820d3a2d6d50281e761a99e35c6d8.tar.gz
crawler-703e5e1a088820d3a2d6d50281e761a99e35c6d8.tar.bz2
fixed all tests and rewrote module test
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"