mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-26 23:46:15 +01:00
1a5e888b63
2002-11-21 Tor Lillqvist <tml@iki.fi> * {glib,gmodule,gobject,gthread}/makefile.{mingw,msc}.in: Hardcode 2.0 in the names, as that is what Makefile.am does.
29 lines
731 B
Plaintext
29 lines
731 B
Plaintext
## Makefile for building the gmodule dll with Microsoft C
|
|
## Use: nmake -f makefile.msc install
|
|
|
|
TOP = ..\..
|
|
|
|
!INCLUDE ..\build\win32\make.msc
|
|
|
|
################################################################
|
|
|
|
INCLUDES = -FImsvc_recommended_pragmas.h -I .. -I . -I ..\glib
|
|
DEFINES = -DHAVE_CONFIG_H -DG_LOG_DOMAIN=\"GModule\"
|
|
|
|
all : \
|
|
gmoduleconf.h \
|
|
libgmodule-2.0-@LT_CURRENT_MINUS_AGE@.dll
|
|
|
|
gmodule_OBJECTS = \
|
|
gmodule.obj
|
|
|
|
gmoduleconf.h: gmoduleconf.h.win32
|
|
copy gmoduleconf.h.win32 gmoduleconf.h
|
|
|
|
libgmodule-2.0-@LT_CURRENT_MINUS_AGE@.dll : $(gmodule_OBJECTS) gmodule.def
|
|
$(CC) $(CFLAGS) -LD -Fe$@ $(gmodule_OBJECTS) \
|
|
..\glib\glib-2.0.lib $(LDFLAGS) /implib:gmodule-2.0.lib /def:gmodule.def
|
|
|
|
clean::
|
|
del gmoduleconf.h
|