1 ## Process this file with automake to produce Makefile.in
3 INCLUDES = -I$(top_srcdir) -I$(top_srcdir)/glib -I$(top_srcdir)/gmodule \
4 -DG_LOG_DOMAIN=\"GModule\" @GLIB_DEBUG_FLAGS@ -DG_DISABLE_DEPRECATED
24 BUILT_SOURCES = gmoduleconf.h
25 gmoduleconf.h: gmoduleconf.h.in
27 glibincludedir=$(includedir)/glib-2.0
28 glibinclude_HEADERS = \
31 libglib = $(top_builddir)/glib/libglib-2.0.la
33 top_builddir_full=`cd \$(top_builddir); pwd`
35 lib_LTLIBRARIES = libgmodule-2.0.la
38 noinst_DATA = gmodule-2.0.lib
41 $(INSTALL) gmodule-2.0.lib $(DESTDIR)$(libdir)
44 -rm $(DESTDIR)$(libdir)/gmodule-2.0.lib
51 no_undefined = -no-undefined
55 export_symbols = -export-symbols $(srcdir)/gmodule.def
58 $(INSTALL) $(srcdir)/gmodule.def $(DESTDIR)$(libdir)/gmodule-2.0.def
61 -rm $(DESTDIR)$(libdir)/gmodule-2.0.def
68 gmodule_win32_res = gmodule-win32-res.o
69 gmodule_win32_res_ldflag = -Wl,$(gmodule_win32_res)
72 libgmodule_2_0_la_SOURCES = gmodule.c
73 libgmodule_2_0_la_LDFLAGS = \
74 $(gmodule_win32_res_ldflag) \
76 -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) \
77 -export-dynamic $(no_undefined) $(export_symbols)
79 libgmodule_2_0_la_LIBADD = $(G_MODULE_LIBS_EXTRA) $(G_MODULE_LIBS) $(libglib)
81 libgmodule_2_0_la_DEPENDENCIES = $(gmodule_win32_res) $(GMODULE_DEF)
84 gmodule-win32-res.o: gmodule.rc
85 $(WINDRES) gmodule.rc $@
88 gmodule-2.0.lib: libgmodule-2.0.la gmodule.def
89 lib -name:libgmodule-2.0-$(LT_CURRENT_MINUS_AGE).dll -def:gmodule.def -out:$@
94 @files=`ls $(DISTFILES) 2> /dev/null `; for p in $$files; do \
99 $(MAKE) dist distdir=$(PACKAGE)`date +"%y%m%d"`
101 dist-hook: $(BUILT_EXTRA_DIST)
102 @files='$(BUILT_EXTRA_DIST)'; \
103 for f in $$files; do \
104 if test -f $$f; then d=.; else d=$(srcdir); fi; \
105 cp $$d/$$f $(distdir) || exit 1; done
108 install-data-local: install-ms-lib install-def-file
110 uninstall-local: uninstall-ms-lib uninstall-def-file