1 ## Makefile for building the gmodule dll with Microsoft C
2 ## Use: nmake -f makefile.msc install
6 !INCLUDE ..\build\win32\make.msc
8 ################################################################
10 INCLUDES = -FImsvc_recommended_pragmas.h -I .. -I . -I ..\glib
11 DEFINES = -DHAVE_CONFIG_H -DG_LOG_DOMAIN=\"GModule\"
15 libgmodule-2.0-@LT_CURRENT_MINUS_AGE@.dll
20 gmoduleconf.h: gmoduleconf.h.win32
21 copy gmoduleconf.h.win32 gmoduleconf.h
23 gmodule.res : gmodule.rc
24 rc -DBUILDNUMBER=0 -r -fo gmodule.res gmodule.rc
26 libgmodule-2.0-@LT_CURRENT_MINUS_AGE@.dll : $(gmodule_OBJECTS) gmodule.def gmodule.res
27 $(CC) $(CFLAGS) -LD -Fe$@ $(gmodule_OBJECTS) gmodule.res \
28 ..\glib\glib-2.0.lib $(LDFLAGS) /implib:gmodule-2.0.lib /def:gmodule.def