summaryrefslogtreecommitdiff
path: root/gobject/makefile.msc.in
diff options
context:
space:
mode:
authorHans Breuer <hans@breuer.org>2001-05-24 16:36:02 +0000
committerHans Breuer <hans@src.gnome.org>2001-05-24 16:36:02 +0000
commitc990a0c4c6a8147b6e5857acd23b8c9acfa86771 (patch)
treedb662d9ec4b2736872e95cc87c8268d0aca30cf1 /gobject/makefile.msc.in
parente181176f9012986b085aff588a91f43dffe32f6f (diff)
downloadglib-c990a0c4c6a8147b6e5857acd23b8c9acfa86771.tar.gz
changed depndencies to build glib-genmarshal first and statically linked
2001-05-24 Hans Breuer <hans@breuer.org> * makefile.msc.in : changed depndencies to build glib-genmarshal first and statically linked with glib, which makes it independent from the installed glib version. Added new object files to build. * gobject.def : updated
Diffstat (limited to 'gobject/makefile.msc.in')
-rw-r--r--gobject/makefile.msc.in13
1 files changed, 9 insertions, 4 deletions
diff --git a/gobject/makefile.msc.in b/gobject/makefile.msc.in
index e12652ade..88322682e 100644
--- a/gobject/makefile.msc.in
+++ b/gobject/makefile.msc.in
@@ -16,8 +16,10 @@ INCLUDES = -I .. -I .
DEFINES = -DHAVE_CONFIG_H -DGOBJECT_COMPILATION -DG_LOG_DOMAIN=g_log_domain_gruntime -DG_ENABLE_DEBUG
all : \
+ glib-genmarshal.exe \
+ gmarshal.h \
+ gmarshal.c \
gobject-$(GLIB_VER).dll \
- glib-genmarshal.exe
gobject_OBJECTS = \
gboxed.obj \
@@ -32,7 +34,9 @@ gobject_OBJECTS = \
gtypemodule.obj \
gtypeplugin.obj \
gvalue.obj \
- gvaluetypes.obj
+ gvaluearray.obj \
+ gvaluetypes.obj \
+ gvaluetransform.obj
gmarshal.h : gmarshal.list glib-genmarshal.exe
echo #ifndef __G_MARSHAL_H__ > xgen-gmh
@@ -51,5 +55,6 @@ makefile.msc: 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 glib-genmarshal.c ..\glib-$(GLIB_VER).lib
+# link glib's static version to avoid installing
+glib-genmarshal.exe : glib-genmarshal.c ..\glib-$(GLIB_VER)s.lib
+ $(CC) -Fe$@ $(CFLAGS) -UGOBJECT_COMPILATION glib-genmarshal.c ..\glib-$(GLIB_VER)s.lib user32.lib advapi32.lib $(INTL_LIBS)