Version 11, interface, binary age 0.
[platform/upstream/glib.git] / gmodule / makefile.msc.in
1 ## Makefile for building the gmodule dll with Microsoft C
2 ## Use: nmake -f makefile.msc install
3
4 TOP = ..\..
5
6 !INCLUDE ..\build\win32\make.msc
7
8 ################################################################
9
10 INCLUDES = -I .. -I . -I ..\glib
11 DEFINES = -DHAVE_CONFIG_H -DG_LOG_DOMAIN=\"GModule\"
12
13 all : \
14         gmoduleconf.h \
15         libgmodule-@GLIB_MAJOR_VERSION@.@GLIB_MINOR_VERSION@-@LT_CURRENT_MINUS_AGE@.dll
16
17 gmodule_OBJECTS = \
18         gmodule.obj
19
20 gmoduleconf.h: gmoduleconf.h.win32
21         copy gmoduleconf.h.win32 gmoduleconf.h
22
23 libgmodule-@GLIB_MAJOR_VERSION@.@GLIB_MINOR_VERSION@-@LT_CURRENT_MINUS_AGE@.dll : $(gmodule_OBJECTS) gmodule.def
24         $(CC) $(CFLAGS) -LD -Fe$@ $(gmodule_OBJECTS) \
25         ..\glib\glib-$(GLIB_VER).lib $(LDFLAGS) /implib:gmodule-@GLIB_MAJOR_VERSION@.@GLIB_MINOR_VERSION@.lib /def:gmodule.def
26
27 clean::
28         del gmoduleconf.h