mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-09-05 23:48:44 +02:00
Hacky script to fix up your .msc.in files on windows. Dunno if this is a
2001-08-04 Alexander Larsson <alexl@redhat.com> * win32-fixup.pl: Hacky script to fix up your .msc.in files on windows. Dunno if this is a good solution yet. * build/win32/module.defs: Back down libiconv version to 1.3, since that is what tor distributes. * glib/glib.def: Update * gobject/makefile.msc.in: build gobject-query.exe and gmarshal.strings, add libiconv dependency to linklines. * gobject/marshal-genstrings.pl: New file. perl script to generate gmarshal.strings.
This commit is contained in:
committed by
Alexander Larsson
parent
1ff027aa2d
commit
3339995d87
@@ -19,9 +19,10 @@ DEFINES = -DHAVE_CONFIG_H -DGOBJECT_COMPILATION -DG_LOG_DOMAIN=g_log_domain_grun
|
||||
# -DG_DISABLE_CAST_CHECKS
|
||||
|
||||
all : \
|
||||
glib-genmarshal.exe \
|
||||
gmarshal.h \
|
||||
gmarshal.c \
|
||||
glib-genmarshal.exe \
|
||||
gobject-query.exe \
|
||||
gmarshal.h \
|
||||
gmarshal.c \
|
||||
gobject-$(GLIB_VER).dll \
|
||||
gobject-$(GLIB_VER)s.lib
|
||||
|
||||
@@ -64,6 +65,15 @@ gobject-$(GLIB_VER)s.lib : $(gobject_OBJECTS)
|
||||
lib /out:gobject-$(GLIB_VER)s.lib $(gobject_OBJECTS)
|
||||
|
||||
# link glib's static version to avoid installing
|
||||
glib-genmarshal.exe : glib-genmarshal.c ..\glib\glib-$(GLIB_VER)s.lib
|
||||
glib-genmarshal.exe : glib-genmarshal.c ..\glib\glib-$(GLIB_VER)s.lib gmarshal.strings
|
||||
$(CC) -Fe$@ $(CFLAGS) -UGOBJECT_COMPILATION glib-genmarshal.c \
|
||||
..\glib\glib-$(GLIB_VER)s.lib user32.lib advapi32.lib $(INTL_LIBS)
|
||||
..\glib\glib-$(GLIB_VER)s.lib user32.lib advapi32.lib $(INTL_LIBS) $(LIBICONV_LIBS)
|
||||
|
||||
gobject-query.exe : gobject-query.c ..\glib\glib-$(GLIB_VER).lib gobject-$(GLIB_VER).dll
|
||||
$(CC) -Fe$@ $(CFLAGS) -UGOBJECT_COMPILATION gobject-query.c \
|
||||
..\glib\glib-$(GLIB_VER).lib gobject-$(GLIB_VER).lib user32.lib advapi32.lib $(INTL_LIBS) $(LIBICONV_LIBS)
|
||||
|
||||
gmarshal.strings : gmarshal.list
|
||||
perl marshal-genstrings.pl > gmarshal.strings
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user