When printing errors, handle NULL returns from g_type_debug(). (#73559,
[glib.git] / gmodule / makefile.mingw.in
blob7fcebc370cb36970851266b665ac90570bedb90a
1 ## Makefile for building the gmodule DLL with gcc for mingw. The build
2 ## uses tools running on cygwin, however.
4 ## Use: make -f makefile.mingw
6 TOP = ../..
8 include ../build/win32/make.mingw
10 ################################################################
12 # Nothing much configurable below
14 INCLUDES = -I .. -I ../glib -I .
15 DEFINES = -DHAVE_CONFIG_H -DG_LOG_DOMAIN=\"GModule\" -DG_ENABLE_DEBUG
17 all : \
18         gmoduleconf.h \
19         libgmodule-@GLIB_MAJOR_VERSION@.@GLIB_MINOR_VERSION@.a
21 gmodule_OBJECTS = \
22         gmodule.o
24 gmoduleconf.h: gmoduleconf.h.win32
25         cp $< $@
27 ################ The gmodule DLL
29 libgmodule-@GLIB_MAJOR_VERSION@.@GLIB_MINOR_VERSION@.a : $(gmodule_OBJECTS) gmodule.def gmodule-@GLIB_MAJOR_VERSION@.@GLIB_MINOR_VERSION@.rc
30         $(BUILD_DLL) gmodule-@GLIB_MAJOR_VERSION@.@GLIB_MINOR_VERSION@ @LT_CURRENT@:@LT_REVISION@:@LT_AGE@ $(CFLAGS) gmodule.def $(gmodule_OBJECTS) -L ../glib -lglib-@GLIB_MAJOR_VERSION@.@GLIB_MINOR_VERSION@
32 gmodule-@GLIB_MAJOR_VERSION@.@GLIB_MINOR_VERSION@.rc : gmodule.rc
33         cp $< $@
35 ################ Other stuff
37 clean::
38         -rm gmoduleconf.h