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 libadd_libglib = $(libglib)
39 no_undefined = -no-undefined
42 export_symbols = -export-symbols gmodule.def
45 libgmodule_1_3_la_SOURCES = gmodule.c
46 libgmodule_1_3_la_LDFLAGS = \
48 -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) \
49 -export-dynamic $(no_undefined) $(export_symbols)
51 libgmodule_1_3_la_LIBADD = @G_MODULE_LIBS_EXTRA@ @G_MODULE_LIBS@ $(libadd_libglib)
53 libgplugin_a_la_SOURCES = libgplugin_a.c
54 libgplugin_a_la_LDFLAGS = @G_MODULE_LDFLAGS@ -avoid-version -module $(no_undefined)
55 libgplugin_a_la_LIBADD = @G_MODULE_LIBS@ @G_MODULE_LIBS_EXTRA@ @G_MODULE_PLUGIN_LIBS@ libgmodule-1.3.la $(libadd_libglib)
57 libgplugin_b_la_SOURCES = libgplugin_b.c
58 libgplugin_b_la_LDFLAGS = @G_MODULE_LDFLAGS@ -avoid-version -module $(no_undefined)
59 libgplugin_b_la_LIBADD = @G_MODULE_LIBS@ @G_MODULE_LIBS_EXTRA@ @G_MODULE_PLUGIN_LIBS@ libgmodule-1.3.la $(libadd_libglib)
61 noinst_PROGRAMS = testgmodule
62 testgmodule_LDFLAGS += @G_MODULE_LDFLAGS@
63 testgmodule_LDADD = libgmodule-1.3.la $(libglib) @G_MODULE_LIBS@
65 gmodule.rc: $(top_builddir)/config.status $(top_srcdir)/gmodule/gmodule.rc.in
66 cd $(top_builddir) && CONFIG_FILES=gmodule/$@ CONFIG_HEADERS= $(SHELL) ./config.status
68 makefile.mingw: $(top_builddir)/config.status $(top_srcdir)/gmodule/makefile.mingw.in
69 cd $(top_builddir) && CONFIG_FILES=gmodule/$@ CONFIG_HEADERS= $(SHELL) ./config.status
71 makefile.msc: $(top_builddir)/config.status $(top_srcdir)/gmodule/makefile.msc.in
72 cd $(top_builddir) && CONFIG_FILES=gmodule/$@ CONFIG_HEADERS= $(SHELL) ./config.status
77 @files=`ls $(DISTFILES) 2> /dev/null `; for p in $$files; do \
81 install-libLTLIBRARIES: libgmodule-1.3.la
83 $(mkinstalldirs) $(DESTDIR)$(libdir)
84 @list='libgmodule-1.3.la'; for p in $$list; do \
85 if test -f $$p; then \
86 echo "$(LIBTOOL) --mode=install $(INSTALL_DATA) $$p $(DESTDIR)$(libdir)/$$p"; \
87 $(LIBTOOL) --mode=install $(INSTALL_DATA) $$p $(DESTDIR)$(libdir)/$$p; \
92 $(MAKE) dist distdir=$(PACKAGE)`date +"%y%m%d"`
94 dist-hook: $(BUILT_EXTRA_DIST)
95 @files='$(BUILT_EXTRA_DIST)'; \
96 for f in $$files; do \
97 if test -f $$f; then d=.; else d=$(srcdir); fi; \
98 cp $$d/$$f $(distdir) || exit 1; done