summaryrefslogtreecommitdiff
path: root/tests/modules/testmod4/Makefile.W32
diff options
context:
space:
mode:
Diffstat (limited to 'tests/modules/testmod4/Makefile.W32')
-rwxr-xr-xtests/modules/testmod4/Makefile.W3251
1 files changed, 51 insertions, 0 deletions
diff --git a/tests/modules/testmod4/Makefile.W32 b/tests/modules/testmod4/Makefile.W32
new file mode 100755
index 0000000..6bf7af1
--- /dev/null
+++ b/tests/modules/testmod4/Makefile.W32
@@ -0,0 +1,51 @@
+TOPDIR = ..\..\..
+
+SUBDIRS =
+
+!INCLUDE $(TOPDIR)\makefiles\nmake\platform.mk
+
+INCLUDE_CXXFLAGS = \
+ /D_WIN32_WINNT=0x504
+
+INCLUDE_DIRS = \
+ /I. \
+ /I$(TOPDIR)\src \
+ /I$(TOPDIR)\include\module \
+ /I$(TOPDIR)\include\util \
+ /I$(TOPDIR)\include\crawler \
+ /I.. \
+ /I..\libcommon
+
+INCLUDE_LDFLAGS = \
+
+INCLUDE_LIBS = \
+ $(TOPDIR)\src\libutil\util.lib \
+ ..\libcommon\common.lib
+
+DYNAMIC_MODULE = \
+ mod_test4.dll
+
+STATIC_LIB = \
+ test4.lib
+
+CPP_OBJS = \
+ TestMod4.obj
+
+SHARED_CPP_OBJS = \
+ TestMod4.dllobj
+
+!INCLUDE $(TOPDIR)\makefiles\nmake\sub.mk
+
+$(STATIC_LIB): $(CPP_OBJS)
+ $(LINK) /lib /nologo /out:$@ $(STATIC_LDFLAGS) $?
+
+$(DYNAMIC_MODULE): $(SHARED_CPP_OBJS)
+ $(LINK) /dll /nologo /out:$@ $(LDFLAGS) $(LIBS) $?
+
+local_all: $(STATIC_LIB) $(DYNAMIC_MODULE)
+
+local_clean:
+
+local_distclean:
+
+local_test: