diff options
author | Tor Lillqvist <tml@iki.fi> | 2001-03-29 19:52:45 +0000 |
---|---|---|
committer | Tor Lillqvist <tml@src.gnome.org> | 2001-03-29 19:52:45 +0000 |
commit | 93fce34a180ed50e164962b84805cb50fd45719a (patch) | |
tree | 002f7e2b71fb762b95618a1dfda9b3433f13f6b1 /tests | |
parent | f3848154aeff935e670781193823955d0df19c38 (diff) | |
download | glib-93fce34a180ed50e164962b84805cb50fd45719a.tar.gz |
Updates. Add module-test rules.
2001-03-29 Tor Lillqvist <tml@iki.fi>
* glib.def: Updates.
* tests/makefile.mingw.in: Add module-test rules.
2001-03-29 Tor Lillqvist <tml@iki.fi>
* gobject.def: Updates.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/makefile.mingw.in | 27 |
1 files changed, 19 insertions, 8 deletions
diff --git a/tests/makefile.mingw.in b/tests/makefile.mingw.in index ceef9cf13..cef59654a 100644 --- a/tests/makefile.mingw.in +++ b/tests/makefile.mingw.in @@ -12,9 +12,11 @@ GLIB_VER = @GLIB_MAJOR_VERSION@.@GLIB_MINOR_VERSION@ # Nothing much configurable below -INCLUDES = -I .. +INCLUDES = -I .. -I ../gmodule DEFINES = -DHAVE_CONFIG_H +BUILD_DLL = ../build-dll + TESTS = \ array-test.exe \ date-test.exe \ @@ -24,6 +26,7 @@ TESTS = \ list-test.exe \ mainloop-test.exe\ markup-test.exe \ + module-test.exe \ node-test.exe \ queue-test.exe \ rand-test.exe \ @@ -37,7 +40,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) @@ -47,17 +52,23 @@ makefile.mingw: makefile.mingw.in -e 's,@GLIB[_]MINOR_VERSION@,@GLIB_MINOR_VERSION@,' <$< >$@ endif -.SUFFIXES: .c .exe +.SUFFIXES: .c .i .exe .c.exe: - $(CC) $(CFLAGS) -o $@ $< -L .. -lglib-$(GLIB_VER) -L ../gthread -lgthread-$(GLIB_VER) + $(CC) $(CFLAGS) -o $@ $< -L ../gthread -lgthread-$(GLIB_VER) -L .. -lglib-$(GLIB_VER) -module-test.exe : module-test.o module-test.def - $(CC) $(CFLAGS) -Wl,--base-file,module-test.base -o module-test.exe module-test.o -L .. -lglib-$(GLIB_VER) -L . -lgmodule-$(GLIB_VER) $(LDFLAGS) +module-test.exe : module-test.o + $(CC) $(CFLAGS) -Wl,--base-file,module-test.base -o module-test.exe module-test.o -L .. -lglib-$(GLIB_VER) -L ../gmodule -lgmodule-$(GLIB_VER) $(LDFLAGS) $(DLLTOOL) --base-file module-test.base --output-exp module-test.exp module-test.o - $(CC) $(CFLAGS) -Wl,--base-file,module-test.base,module-test.exp -o module-test.exe module-test.o -L .. -lglib-$(GLIB_VER) -L . -lgmodule-$(GLIB_VER) $(LDFLAGS) + $(CC) $(CFLAGS) -Wl,--base-file,module-test.base,module-test.exp -o module-test.exe module-test.o -L .. -lglib-$(GLIB_VER) -L ../gmodule -lgmodule-$(GLIB_VER) $(LDFLAGS) $(DLLTOOL) --base-file module-test.base --output-exp module-test.exp module-test.o - $(CC) $(CFLAGS) -Wl,module-test.exp -o module-test.exe module-test.o -L .. -lglib-$(GLIB_VER) -L . -lgmodule-$(GLIB_VER) $(LDFLAGS) + $(CC) $(CFLAGS) -Wl,module-test.exp -o module-test.exe module-test.o -L .. -lglib-$(GLIB_VER) -L ../gmodule -lgmodule-$(GLIB_VER) $(LDFLAGS) + +libmoduletestplugin_a.dll : libmoduletestplugin_a.o + $(BUILD_DLL) libmoduletestplugin_a - - libmoduletestplugin_a.o -L .. -lglib-$(GLIB_VER) -L ../gmodule -lgmodule-$(GLIB_VER) + +libmoduletestplugin_b.dll : libmoduletestplugin_b.o + $(BUILD_DLL) libmoduletestplugin_b - - libmoduletestplugin_b.o -L .. -lglib-$(GLIB_VER) -L ../gmodule -lgmodule-$(GLIB_VER) check: all @for P in $(TESTS) ; do echo $$P; ./$$P; done |