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