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
25 BUILT_SOURCES = gmoduleconf.h
26 gmoduleconf.h: gmoduleconf.h.in
28 glibincludedir=$(includedir)/glib-2.0
29 glibinclude_HEADERS = \
32 libglib = $(top_builddir)/glib/libglib-2.0.la
34 top_builddir_full=`cd \$(top_builddir); pwd`
36 lib_LTLIBRARIES = libgmodule-2.0.la
39 noinst_DATA = gmodule-2.0.lib
42 $(INSTALL) gmodule-2.0.lib $(DESTDIR)$(libdir)
45 -rm $(DESTDIR)$(libdir)/gmodule-2.0.lib
52 no_undefined = -no-undefined
56 export_symbols = -export-symbols gmodule.def
58 install-libtool-import-lib:
59 $(INSTALL) .libs/libgmodule-2.0.dll.a $(DESTDIR)$(libdir)
60 $(INSTALL) gmodule.def $(DESTDIR)$(libdir)/gmodule-2.0.def
62 uninstall-libtool-import-lib:
63 -rm $(DESTDIR)$(libdir)/libgmodule-2.0.dll.a $(DESTDIR)$(libdir)/gmodule-2.0.def
65 install-libtool-import-lib:
66 uninstall-libtool-import-lib:
69 libgmodule_2_0_la_SOURCES = gmodule.c
70 libgmodule_2_0_la_LDFLAGS = \
72 -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) \
73 -export-dynamic $(no_undefined) $(export_symbols)
75 libgmodule_2_0_la_LIBADD = $(G_MODULE_WIN32_RESOURCE) $(G_MODULE_LIBS_EXTRA) $(G_MODULE_LIBS) $(libglib)
77 libgmodule_2_0_la_DEPENDENCIES = $(G_MODULE_WIN32_RESOURCE) $(GMODULE_DEF)
80 $(G_MODULE_WIN32_RESOURCE): gmodule.rc
81 $(top_srcdir)/build/win32/lt-compile-resource gmodule.rc $@
84 gmodule-2.0.lib: libgmodule-2.0.la gmodule.def
85 lib -name:libgmodule-2.0-$(LT_CURRENT_MINUS_AGE).dll -def:gmodule.def -out:$@
90 @files=`ls $(DISTFILES) 2> /dev/null `; for p in $$files; do \
95 $(MAKE) dist distdir=$(PACKAGE)`date +"%y%m%d"`
97 dist-hook: $(BUILT_EXTRA_DIST)
98 @files='$(BUILT_EXTRA_DIST)'; \
99 for f in $$files; do \
100 if test -f $$f; then d=.; else d=$(srcdir); fi; \
101 cp $$d/$$f $(distdir) || exit 1; done
104 install-data-local: install-ms-lib install-libtool-import-lib
106 uninstall-local: uninstall-ms-lib uninstall-libtool-import-lib