Updated Translation
[glib.git] / gmodule / makefile.mingw.in
blobbc0e83b04de1da9a377ecc5461b58eb9b361cbfe
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-2.0.a
21 gmodule_OBJECTS = \
22         gmodule.o
24 gmoduleconf.h: gmoduleconf.h.win32
25         cp $< $@
27 ################ The gmodule DLL
29 libgmodule-2.0.a : $(gmodule_OBJECTS) gmodule.def gmodule-2.0.rc
30         $(BUILD_DLL) gmodule-2.0 @LT_CURRENT@:@LT_REVISION@:@LT_AGE@ $(CFLAGS) gmodule.def $(gmodule_OBJECTS) -L ../glib -lglib-2.0
32 gmodule-2.0.rc : gmodule.rc
33         cp $< $@
35 ################ Other stuff
37 clean::
38         -rm gmoduleconf.h