mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-26 15:36:14 +01:00
f42bc93186
2000-10-26 Tor Lillqvist <tml@iki.fi> * gbsearcharray.c (bsearch_array_insert): Fix gccisms (pointer arithmetic on void pointer, label without statement following. * gtype.c (type_node_fundamental_info): Don't apply unary minus to result of sizeof operator, it can be unsigned. Cast first to gssize. * gobject.def: Add new functions. * makefile.{mingw,msc}.in: Add new objects.
40 lines
1.0 KiB
Plaintext
40 lines
1.0 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
|
|
|
|
gobject_OBJECTS = \
|
|
gboxed.obj \
|
|
gbsearcharray.obj \
|
|
gclosure.obj \
|
|
genums.obj \
|
|
gobject.obj \
|
|
gparam.obj \
|
|
gparamspecs.obj \
|
|
gsignal.obj \
|
|
gtype.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
|