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@
14 BUILT_SOURCES = gmoduleconf.h
15 gmoduleconf.h: gmoduleconf.h.in
17 glibincludedir=$(includedir)/glib-1.2
18 glibinclude_HEADERS = \
21 libglib = $(top_builddir)/libglib.la # -lglib
23 lib_LTLIBRARIES = libgmodule.la libgplugin_a.la libgplugin_b.la
25 libgmodule_la_SOURCES = gmodule.c
26 libgmodule_la_LDFLAGS = \
28 -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) \
29 -release $(LT_RELEASE) \
32 libgmodule_la_LIBADD = @G_MODULE_LIBS@ # $(libglib)
33 # we should really depend on $(libglib) for libgmodule.la, but libtool has a
34 # problem with this ;(
36 libgplugin_a_la_SOURCES = libgplugin_a.c
37 libgplugin_a_la_LDFLAGS = @G_MODULE_LDFLAGS@ -avoid-version -module
38 libgplugin_a_la_LIBADD = @G_MODULE_LIBS@ # $(libglib)
40 libgplugin_b_la_SOURCES = libgplugin_b.c
41 libgplugin_b_la_LDFLAGS = @G_MODULE_LDFLAGS@ -avoid-version -module
42 libgplugin_b_la_LIBADD = @G_MODULE_LIBS@ # $(libglib)
44 noinst_PROGRAMS = testgmodule
45 testgmodule_LDFLAGS = @G_MODULE_LDFLAGS@
46 testgmodule_LDADD = libgmodule.la $(libglib) @G_MODULE_LIBS@
51 @files=`ls $(DISTFILES) 2> /dev/null `; for p in $$files; do \
55 install-libLTLIBRARIES: libgmodule.la
57 $(mkinstalldirs) $(DESTDIR)$(libdir)
58 @list='libgmodule.la'; for p in $$list; do \
59 if test -f $$p; then \
60 echo "$(LIBTOOL) --mode=install $(INSTALL_DATA) $$p $(DESTDIR)$(libdir)/$$p"; \
61 $(LIBTOOL) --mode=install $(INSTALL_DATA) $$p $(DESTDIR)$(libdir)/$$p; \
66 $(MAKE) dist distdir=$(PACKAGE)`date +"%y%m%d"`