2000-10-06 23:32:59 +02:00
|
|
|
## Makefile for building the gmodule dll with Microsoft C
|
|
|
|
## Use: nmake -f makefile.msc install
|
|
|
|
|
|
|
|
TOP = ..\..
|
|
|
|
|
2001-10-26 01:40:38 +02:00
|
|
|
!INCLUDE ..\build\win32\make.msc
|
2000-10-06 23:32:59 +02:00
|
|
|
|
|
|
|
################################################################
|
|
|
|
|
2002-01-05 19:54:59 +01:00
|
|
|
INCLUDES = -FImsvc_recommended_pragmas.h -I .. -I . -I ..\glib
|
2001-07-20 19:01:30 +02:00
|
|
|
DEFINES = -DHAVE_CONFIG_H -DG_LOG_DOMAIN=\"GModule\"
|
2000-10-06 23:32:59 +02:00
|
|
|
|
|
|
|
all : \
|
|
|
|
gmoduleconf.h \
|
2002-11-21 04:25:35 +01:00
|
|
|
libgmodule-2.0-@LT_CURRENT_MINUS_AGE@.dll
|
2000-10-06 23:32:59 +02:00
|
|
|
|
|
|
|
gmodule_OBJECTS = \
|
|
|
|
gmodule.obj
|
|
|
|
|
|
|
|
gmoduleconf.h: gmoduleconf.h.win32
|
|
|
|
copy gmoduleconf.h.win32 gmoduleconf.h
|
|
|
|
|
2002-11-21 04:25:35 +01:00
|
|
|
libgmodule-2.0-@LT_CURRENT_MINUS_AGE@.dll : $(gmodule_OBJECTS) gmodule.def
|
More Win32 automake macros. For .def files: GLIB_DEF, GMODULE_DEF,
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.
2001-09-25 08:03:23 +02:00
|
|
|
$(CC) $(CFLAGS) -LD -Fe$@ $(gmodule_OBJECTS) \
|
2002-11-21 04:25:35 +01:00
|
|
|
..\glib\glib-2.0.lib $(LDFLAGS) /implib:gmodule-2.0.lib /def:gmodule.def
|
2000-10-06 23:32:59 +02:00
|
|
|
|
|
|
|
clean::
|
|
|
|
del gmoduleconf.h
|