mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-10 11:26:16 +01:00
4f76917c6a
2000-11-11 Tor Lillqvist <tml@iki.fi> * gfileutils.c (g_mkstemp): Improve chance to generate unique names with less effort a bit. * gfileutils.h: Add g_file_open_tmp() declaration. * testglib.c: Include <io.h> on Win32. * makefile.mingw.in: Correct the way to invoke sub-makes. 2000-11-11 Tor Lillqvist <tml@iki.fi> * gtypemodule.c: Include stdlib.h for exit(). * makefile.{mingw,msc}.in (gobject_OBJECTS): Add gtypemodule. * gobject.def: Add new functions.
46 lines
1.3 KiB
Plaintext
46 lines
1.3 KiB
Plaintext
## Makefile for building the gobject dll with Microsoft C
|
|
## Use: nmake -f makefile.msc install
|
|
|
|
TOP = ..\..
|
|
|
|
!INCLUDE $(TOP)\build\win32\make.msc
|
|
|
|
# Possibly override GLib version in build\win32\object.defs
|
|
GLIB_VER = @GLIB_MAJOR_VERSION@.@GLIB_MINOR_VERSION@
|
|
|
|
################################################################
|
|
|
|
# Nothing much configurable below
|
|
|
|
INCLUDES = -I .. -I .
|
|
DEFINES = -DHAVE_CONFIG_H -DGOBJECT_COMPILATION -DG_LOG_DOMAIN=g_log_domain_gobject
|
|
|
|
all : \
|
|
gobject-$(GLIB_VER).dll \
|
|
glib-genmarshal.exe
|
|
|
|
gobject_OBJECTS = \
|
|
gboxed.obj \
|
|
gbsearcharray.obj \
|
|
gclosure.obj \
|
|
genums.obj \
|
|
gobject.obj \
|
|
gparam.obj \
|
|
gparamspecs.obj \
|
|
gsignal.obj \
|
|
gtype.obj \
|
|
gtypemodule.obj \
|
|
gtypeplugin.obj \
|
|
gvalue.obj \
|
|
gvaluetypes.obj
|
|
|
|
makefile.msc: makefile.msc.in
|
|
$(SED) -e s,@GLIB[_]MAJOR_VERSION@,@GLIB_MAJOR_VERSION@, \
|
|
-e s,@GLIB[_]MINOR_VERSION@,@GLIB_MINOR_VERSION@, <makefile.msc.in >$@
|
|
|
|
gobject-$(GLIB_VER).dll : $(gobject_OBJECTS) gobject.def
|
|
$(CC) $(CFLAGS) -LD -Fegobject-$(GLIB_VER).dll $(gobject_OBJECTS) ..\glib-$(GLIB_VER).lib $(LDFLAGS) /def:gobject.def
|
|
|
|
glib-genmarshal.exe : glib-genmarshal.c
|
|
$(CC) -Fe$@ $(CFLAGS) -UGOBJECT_COMPILATION -DG_LOG_DOMAIN=\"glib-genmarshal\" glib-genmarshal.c ..\glib-$(GLIB_VER).lib gobject-$(GLIB_VER).lib
|