summaryrefslogtreecommitdiff
path: root/tests/makefile.msc.in
diff options
context:
space:
mode:
authorTor Lillqvist <tml@iki.fi>2001-03-29 20:05:58 +0000
committerTor Lillqvist <tml@src.gnome.org>2001-03-29 20:05:58 +0000
commit5eef94c8b70a060ab37dd7ec17c7e0a9ea626e48 (patch)
treeba92b3f414572ab97163ab948bc44035944c8795 /tests/makefile.msc.in
parent93fce34a180ed50e164962b84805cb50fd45719a (diff)
downloadglib-5eef94c8b70a060ab37dd7ec17c7e0a9ea626e48.tar.gz
Add module-test rules.
2001-03-29 Tor Lillqvist <tml@iki.fi> * tests/makefile.msc.in: Add module-test rules.
Diffstat (limited to 'tests/makefile.msc.in')
-rw-r--r--tests/makefile.msc.in13
1 files changed, 11 insertions, 2 deletions
diff --git a/tests/makefile.msc.in b/tests/makefile.msc.in
index cfbcb7239..66539bcf2 100644
--- a/tests/makefile.msc.in
+++ b/tests/makefile.msc.in
@@ -12,7 +12,7 @@ GLIB_VER = @GLIB_MAJOR_VERSION@.@GLIB_MINOR_VERSION@
# Nothing much configurable below
-INCLUDES = -I..
+INCLUDES = -I .. -I ../gmodule
DEFINES = -DHAVE_CONFIG_H
TESTS = \
@@ -24,6 +24,7 @@ TESTS = \
list-test.exe \
mainloop-test.exe\
markup-test.exe \
+ module-test.exe \
node-test.exe \
queue-test.exe \
rand-test.exe \
@@ -38,7 +39,9 @@ TESTS = \
threadpool-test.exe\
tree-test.exe \
type-test.exe \
- unicode-encoding.exe
+ unicode-encoding.exe \
+ libmoduletestplugin_a.dll \
+ libmoduletestplugin_b.dll
all : $(TESTS)
@@ -50,5 +53,11 @@ makefile.msc: makefile.msc.in
$(CC) $(CFLAGS) -c $<
$(CC) $(CFLAGS) -Fe$@ $< ..\glib-$(GLIB_VER).lib ..\gmodule\gmodule-$(GLIB_VER).lib ..\gthread\gthread-$(GLIB_VER).lib $(LDFLAGS) /subsystem:console
+libmoduletestplugin_a.dll : libmoduletestplugin_a.obj
+ $(CC) $(CFLAGS) -LD libmoduletestplugin_a.obj ..\gmodule\gmodule-$(GLIB_VER).lib ..\glib-$(GLIB_VER).lib $(LDFLAGS)
+
+libmoduletestplugin_b.dll : libmoduletestplugin_b.obj
+ $(CC) $(CFLAGS) -LD libmoduletestplugin_b.obj ..\gmodule\gmodule-$(GLIB_VER).lib ..\glib-$(GLIB_VER).lib $(LDFLAGS)
+
check: all
for %p in ($(TESTS)) do %p