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
|
|
|
|
|
2004-10-29 22:58:04 +02:00
|
|
|
gmodule.res : gmodule.rc
|
|
|
|
rc -DBUILDNUMBER=0 -r -fo gmodule.res gmodule.rc
|
|
|
|
|
|
|
|
libgmodule-2.0-@LT_CURRENT_MINUS_AGE@.dll : $(gmodule_OBJECTS) gmodule.def gmodule.res
|
|
|
|
$(CC) $(CFLAGS) -LD -Fe$@ $(gmodule_OBJECTS) gmodule.res \
|
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
|