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
9 BUILT_SOURCES = gmoduleconf.h
10 gmoduleconf.h: gmoduleconf.h.in
15 libglib = $(top_builddir)/libglib-@LT_RELEASE@.la # -lglib-@LT_RELEASE@
17 lib_LTLIBRARIES = libgmodule-1.1.la libgplugin_a.la libgplugin_b.la
19 libgmodule_1_1_la_SOURCES = gmodule.c
20 libgmodule_1_1_la_LDFLAGS = @G_MODULE_LDFLAGS@ -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE)
21 libgmodule_1_1_la_LIBADD = @G_MODULE_LIBS@ # $(libglib)
22 # we should really depend on $(libglib) for libgmodule-1.1.la, but libtool has a
23 # problem with this ;(
25 libgplugin_a_la_SOURCES = libgplugin_a.c
26 libgplugin_a_la_LDFLAGS = @G_MODULE_LDFLAGS@
27 libgplugin_a_la_LIBADD = @G_MODULE_LIBS@ # $(libglib)
29 libgplugin_b_la_SOURCES = libgplugin_b.c
30 libgplugin_b_la_LDFLAGS = @G_MODULE_LDFLAGS@
31 libgplugin_b_la_LIBADD = @G_MODULE_LIBS@ # $(libglib)
33 noinst_PROGRAMS = testgmodule
34 testgmodule_LDFLAGS += @G_MODULE_LDFLAGS@
35 testgmodule_LDADD = libgmodule-@LT_RELEASE@.la $(libglib) @G_MODULE_LIBS@
40 @files=`ls $(DISTFILES) 2> /dev/null `; for p in $$files; do \
44 install-libLTLIBRARIES: libgmodule-1.1.la
46 $(mkinstalldirs) $(DESTDIR)$(libdir)
47 @list='libgmodule-1.1.la'; for p in $$list; do \
48 if test -f $$p; then \
49 echo "$(LIBTOOL) --mode=install $(INSTALL_DATA) $$p $(DESTDIR)$(libdir)/$$p"; \
50 $(LIBTOOL) --mode=install $(INSTALL_DATA) $$p $(DESTDIR)$(libdir)/$$p; \
55 $(MAKE) dist distdir=$(PACKAGE)`date +"%y%m%d"`