mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-10 11:26:16 +01:00
1c8de25a5e
2001-09-25 Tor Lillqvist <tml@iki.fi> * configure.in: More Win32 automake macros. For .def files: GLIB_DEF, GMODULE_DEF, GOBJECT_DEF and GTHREAD_DEF. For .exp files: TESTGMODULE_EXP (for programs that need to export symbols, just testgmodule here). A new conditional, MS_LIB_AVAILABLE to test whether the Microsoft librarian ("ar") is available to build MS import libraries. * glib/Makefile.am * gmodule/Makefile.am: Use above. New rule to build MS import library. * glib/makefile.msc.in * tests/makefile.msc.in * tests/makefile.mingw.in: Use same DLL and import library names as libtool. gmodule: 2001-09-25 Tor Lillqvist <tml@iki.fi> * makefile.mingw.in: Fix missing end @ in @LT_CURRENT@. * makefile.msc.in: Use same DLL and import library names as libtool. gobject: 2001-09-25 Tor Lillqvist <tml@iki.fi> * Makefile.am: Use new macros for .def file, and check for MS_LIB_AVAILABLE, new rule to build MS import library. * makefile.msc.in: Use same DLL and import library names as libtool. gthread: 2001-09-25 Tor Lillqvist <tml@iki.fi> * Makefile.am: Use new macros for .def file, and check for MS_LIB_AVAILABLE, new rule to build MS import library. * makefile.msc.in: Use same DLL and import library names as libtool.
59 lines
1.7 KiB
Plaintext
59 lines
1.7 KiB
Plaintext
## Makefile for building the GLib test programs with Microsoft C
|
|
## Use: nmake -f makefile.msc check
|
|
|
|
TOP = ..\..
|
|
|
|
!INCLUDE $(TOP)\build\win32\make.msc
|
|
|
|
################################################################
|
|
|
|
INCLUDES = -I .. -I ..\glib -I ..\gmodule
|
|
DEFINES = -DHAVE_CONFIG_H
|
|
|
|
TESTS = \
|
|
testglib.exe \
|
|
testgdate.exe \
|
|
testgdateparser.exe \
|
|
array-test.exe \
|
|
date-test.exe \
|
|
dirname-test.exe\
|
|
gio-test.exe \
|
|
iochannel-test.exe \
|
|
hash-test.exe \
|
|
list-test.exe \
|
|
mainloop-test.exe\
|
|
markup-test.exe \
|
|
module-test.exe \
|
|
node-test.exe \
|
|
queue-test.exe \
|
|
rand-test.exe \
|
|
relation-test.exe\
|
|
shell-test.exe \
|
|
slist-test.exe \
|
|
spawn-test.exe \
|
|
# strfunc-test doesn't compile with MSVC
|
|
# strfunc-test.exe\
|
|
string-test.exe \
|
|
thread-test.exe \
|
|
threadpool-test.exe\
|
|
tree-test.exe \
|
|
type-test.exe \
|
|
unicode-encoding.exe \
|
|
libmoduletestplugin_a.dll \
|
|
libmoduletestplugin_b.dll
|
|
|
|
all : $(TESTS)
|
|
|
|
.c.exe :
|
|
$(CC) $(CFLAGS) -c $<
|
|
$(CC) $(CFLAGS) -Fe$@ $< ..\glib\glib-@GLIB_MAJOR_VERSION@.@GLIB_MINOR_VERSION@.lib ..\gmodule\gmodule-@GLIB_MAJOR_VERSION@.@GLIB_MINOR_VERSION@.lib ..\gthread\gthread-@GLIB_MAJOR_VERSION@.@GLIB_MINOR_VERSION@.lib $(LDFLAGS) user32.lib /subsystem:console
|
|
|
|
libmoduletestplugin_a.dll : libmoduletestplugin_a.obj
|
|
$(CC) $(CFLAGS) -LD libmoduletestplugin_a.obj ..\gmodule\gmodule-@GLIB_MAJOR_VERSION@.@GLIB_MINOR_VERSION@.lib ..\glib\glib-@GLIB_MAJOR_VERSION@.@GLIB_MINOR_VERSION@.lib $(LDFLAGS)
|
|
|
|
libmoduletestplugin_b.dll : libmoduletestplugin_b.obj
|
|
$(CC) $(CFLAGS) -LD libmoduletestplugin_b.obj ..\gmodule\gmodule-@GLIB_MAJOR_VERSION@.@GLIB_MINOR_VERSION@.lib ..\glib\glib-@GLIB_MAJOR_VERSION@.@GLIB_MINOR_VERSION@.lib $(LDFLAGS)
|
|
|
|
check: all
|
|
for %p in ($(TESTS)) do %p
|