1 ## Makefile for building the gobject DLL with gcc for mingw. The build
2 ## uses tools running on cygwin, however.
4 ## Use: make -f makefile.mingw
6 GLIB_VER = @GLIB_MAJOR_VERSION@.@GLIB_MINOR_VERSION@
10 include $(TOP)/build/win32/make.mingw
12 ################################################################
14 # Nothing much configurable below
17 DEFINES = -DHAVE_CONFIG_H -DG_LOG_DOMAIN=g_log_domain_gobject
19 BUILD_DLL = ../build-dll
22 gobject-$(GLIB_VER).dll
24 makefile.mingw: makefile.mingw.in
25 sed -e 's,@GLIB[_]MAJOR_VERSION@,@GLIB_MAJOR_VERSION@,' \
26 -e 's,@GLIB[_]MINOR_VERSION@,@GLIB_MINOR_VERSION@,' <$< >$@
36 gobject-$(GLIB_VER).dll : $(gobject_OBJECTS) gobject.def
37 $(BUILD_DLL) gobject $(GLIB_VER) gobject.def $(gobject_OBJECTS) -L .. -lglib-$(GLIB_VER)