1 ## Process this file with automake to produce Makefile.in
3 INCLUDES = -I$(top_srcdir) -I$(top_srcdir)/gmodule \
4 -DG_LOG_DOMAIN=\"GModule\" @GLIB_DEBUG_FLAGS@
24 BUILT_SOURCES = gmoduleconf.h
25 gmoduleconf.h: gmoduleconf.h.in
27 glibincludedir=$(includedir)/glib-2.0
28 glibinclude_HEADERS = \
31 libglib = $(top_builddir)/libglib-1.3.la
33 top_builddir_full=`cd \$(top_builddir); pwd`
35 lib_LTLIBRARIES = libgmodule-1.3.la libgplugin_a.la libgplugin_b.la
38 no_undefined = -no-undefined
41 export_symbols = -export-symbols gmodule.def
44 libgmodule_1_3_la_SOURCES = gmodule.c
45 libgmodule_1_3_la_LDFLAGS = \
47 -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) \
48 -export-dynamic $(no_undefined) $(export_symbols)
50 libgmodule_1_3_la_LIBADD = @G_MODULE_LIBS_EXTRA@ @G_MODULE_LIBS@ $(libglib)
51 # we should really depend on $(libglib) for libgmodule.la, but libtool has a
52 # problem with this ;( Ummm? Does it?
54 libgplugin_a_la_SOURCES = libgplugin_a.c
55 libgplugin_a_la_LDFLAGS = @G_MODULE_LDFLAGS@ -avoid-version -module $(no_undefined)
56 libgplugin_a_la_LIBADD = @G_MODULE_LIBS@ @G_MODULE_LIBS_EXTRA@ @G_MODULE_PLUGIN_LIBS@ libgmodule-1.3.la $(libglib)
58 libgplugin_b_la_SOURCES = libgplugin_b.c
59 libgplugin_b_la_LDFLAGS = @G_MODULE_LDFLAGS@ -avoid-version -module $(no_undefined)
60 libgplugin_b_la_LIBADD = @G_MODULE_LIBS@ @G_MODULE_LIBS_EXTRA@ @G_MODULE_PLUGIN_LIBS@ libgmodule-1.3.la $(libglib)
62 noinst_PROGRAMS = testgmodule
63 testgmodule_LDFLAGS += @G_MODULE_LDFLAGS@
64 testgmodule_LDADD = libgmodule-1.3.la $(libglib) @G_MODULE_LIBS@
66 gmodule.rc: $(top_builddir)/config.status $(top_srcdir)/gmodule/gmodule.rc.in
67 cd $(top_builddir) && CONFIG_FILES=gmodule/$@ CONFIG_HEADERS= $(SHELL) ./config.status
69 makefile.mingw: $(top_builddir)/config.status $(top_srcdir)/gmodule/makefile.mingw.in
70 cd $(top_builddir) && CONFIG_FILES=gmodule/$@ CONFIG_HEADERS= $(SHELL) ./config.status
72 makefile.msc: $(top_builddir)/config.status $(top_srcdir)/gmodule/makefile.msc.in
73 cd $(top_builddir) && CONFIG_FILES=gmodule/$@ CONFIG_HEADERS= $(SHELL) ./config.status
78 @files=`ls $(DISTFILES) 2> /dev/null `; for p in $$files; do \
82 install-libLTLIBRARIES: libgmodule-1.3.la
84 $(mkinstalldirs) $(DESTDIR)$(libdir)
85 @list='libgmodule-1.3.la'; for p in $$list; do \
86 if test -f $$p; then \
87 echo "$(LIBTOOL) --mode=install $(INSTALL_DATA) $$p $(DESTDIR)$(libdir)/$$p"; \
88 $(LIBTOOL) --mode=install $(INSTALL_DATA) $$p $(DESTDIR)$(libdir)/$$p; \
93 $(MAKE) dist distdir=$(PACKAGE)`date +"%y%m%d"`
95 dist-hook: $(BUILT_EXTRA_DIST)
96 @files='$(BUILT_EXTRA_DIST)'; \
97 for f in $$files; do \
98 if test -f $$f; then d=.; else d=$(srcdir); fi; \
99 cp $$d/$$f $(distdir) || exit 1; done