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