Say we require autoconf 2.52 as that is what configure.in does.
[platform/upstream/glib.git] / gmodule / makefile.mingw.in
1 ## Makefile for building the gmodule DLL with gcc for mingw. The build
2 ## uses tools running on cygwin, however.
3
4 ## Use: make -f makefile.mingw
5
6 TOP = ../..
7
8 include ../build/win32/make.mingw
9
10 ################################################################
11
12 # Nothing much configurable below
13
14 INCLUDES = -I .. -I ../glib -I .
15 DEFINES = -DHAVE_CONFIG_H -DG_LOG_DOMAIN=\"GModule\" -DG_ENABLE_DEBUG
16
17 all : \
18         gmoduleconf.h \
19         libgmodule-@GLIB_MAJOR_VERSION@.@GLIB_MINOR_VERSION@.a
20
21 gmodule_OBJECTS = \
22         gmodule.o
23
24 gmoduleconf.h: gmoduleconf.h.win32
25         cp $< $@
26
27 ################ The gmodule DLL
28
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@
31
32 gmodule-@GLIB_MAJOR_VERSION@.@GLIB_MINOR_VERSION@.rc : gmodule.rc
33         cp $< $@
34
35 ################ Other stuff
36
37 clean::
38         -rm gmoduleconf.h