1 ## Process this file with automake to produce Makefile.in
3 INCLUDES = -I$(top_srcdir) -I$(top_srcdir)/gmodule -DG_LOG_DOMAIN=g_log_domain_gmodule
13 BUILT_SOURCES = gmoduleconf.h
14 gmoduleconf.h: gmoduleconf.h.in
19 libglib = $(top_builddir)/libglib.la # -lglib
21 lib_LTLIBRARIES = libgmodule.la libgplugin_a.la libgplugin_b.la
23 libgmodule_la_SOURCES = gmodule.c
24 libgmodule_la_LDFLAGS = \
26 -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) \
27 -release $(LT_RELEASE)
29 libgmodule_la_LIBADD = @G_MODULE_LIBS@ # $(libglib)
30 # we should really depend on $(libglib) for libgmodule.la, but libtool has a
31 # problem with this ;(
33 libgplugin_a_la_SOURCES = libgplugin_a.c
34 libgplugin_a_la_LDFLAGS = @G_MODULE_LDFLAGS@
35 libgplugin_a_la_LIBADD = @G_MODULE_LIBS@ # $(libglib)
37 libgplugin_b_la_SOURCES = libgplugin_b.c
38 libgplugin_b_la_LDFLAGS = @G_MODULE_LDFLAGS@
39 libgplugin_b_la_LIBADD = @G_MODULE_LIBS@ # $(libglib)
41 noinst_PROGRAMS = testgmodule
42 testgmodule_LDFLAGS += @G_MODULE_LDFLAGS@
43 testgmodule_LDADD = libgmodule.la $(libglib) @G_MODULE_LIBS@
48 @files=`ls $(DISTFILES) 2> /dev/null `; for p in $$files; do \
52 install-libLTLIBRARIES: libgmodule.la
54 $(mkinstalldirs) $(DESTDIR)$(libdir)
55 @list='libgmodule.la'; for p in $$list; do \
56 if test -f $$p; then \
57 echo "$(LIBTOOL) --mode=install $(INSTALL_DATA) $$p $(DESTDIR)$(libdir)/$$p"; \
58 $(LIBTOOL) --mode=install $(INSTALL_DATA) $$p $(DESTDIR)$(libdir)/$$p; \
63 $(MAKE) dist distdir=$(PACKAGE)`date +"%y%m%d"`