mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-02 15:46:17 +01:00
aa410edee6
2004-10-29 Hans Breuer <hans@breuer.org> * glibconfig.h */makefile.msc.in : updated [and finally fixed my script to produce ready to go de-in(ed) files, w/o autotools] * */*.rc.in : updated copyrights to 2004 * glib/gutils.c : some CSIDL_* defines lacking from older SDK; use the same fallback mecahnism as on *NIX where ever applicable
32 lines
831 B
Plaintext
32 lines
831 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
|
|
|
|
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 \
|
|
..\glib\glib-2.0.lib $(LDFLAGS) /implib:gmodule-2.0.lib /def:gmodule.def
|
|
|
|
clean::
|
|
del gmoduleconf.h
|