1 ## Makefile for building the GLib DLL with gcc for mingw. The build
2 ## uses tools running on cygwin, however.
4 ## Use: make -f makefile.mingw
8 include ../build/win32/make.mingw
10 ################################################################
12 # Nothing much configurable below
15 DEFINES = -DHAVE_CONFIG_H -DGLIB_COMPILATION -DG_LOG_DOMAIN=\"GLib\" -DG_ENABLE_DEBUG -DDLL_EXPORT
16 DEPCFLAGS = $(INTL_CFLAGS) $(LIBICONV_CFLAGS)
22 gspawn-win32-helper.exe
72 ../glibconfig.h: ../glibconfig.h.win32
75 ../config.h: ../config.h.win32
78 localcharset.c : libcharset/localcharset.c
81 ################ The glib DLL
83 libglib-2.0.a : $(glib_OBJECTS) glib.def glib-2.0.rc
84 $(BUILD_DLL) glib-2.0 @LT_CURRENT@:@LT_REVISION@:@LT_AGE@ glib.def $(glib_OBJECTS) $(INTL_LIBS) $(LIBICONV_LIBS) -luser32 -lwsock32
89 gspawn-win32-helper.exe : gspawn-win32-helper.c
90 $(CC) $(CFLAGS) -mwindows -DG_LOG_DOMAIN=\"gspawn-win32-helper\" -o $@ $< -L . -lglib-2.0