version bump to 1.1.3, binary age 0, interface age 0.
[platform/upstream/glib.git] / gmodule / Makefile.am
1 ## Process this file with automake to produce Makefile.in
2
3 INCLUDES = -I$(top_srcdir) -I$(top_srcdir)/gmodule
4 DEFS += -DG_LOG_DOMAIN=g_log_domain_gmodule
5
6 EXTRA_DIST =    \
7                 gmoduleconf.h.in
8
9 BUILT_SOURCES = gmoduleconf.h
10 gmoduleconf.h:  gmoduleconf.h.in
11
12 include_HEADERS = \
13                 gmodule.h
14
15 libglib = $(top_builddir)/libglib-@LT_RELEASE@.la # -lglib-@LT_RELEASE@
16
17 lib_LTLIBRARIES = libgmodule-1.1.la libgplugin_a.la libgplugin_b.la
18
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 ;(
24
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)
28
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)
32
33 noinst_PROGRAMS = testgmodule
34 testgmodule_LDFLAGS += @G_MODULE_LDFLAGS@
35 testgmodule_LDADD = libgmodule-@LT_RELEASE@.la $(libglib) @G_MODULE_LIBS@
36
37 .PHONY: files release
38
39 files:
40         @files=`ls $(DISTFILES) 2> /dev/null `; for p in $$files; do \
41           echo $$p; \
42         done
43
44 install-libLTLIBRARIES: libgmodule-1.1.la
45         @$(NORMAL_INSTALL)
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; \
51          else :; fi; \
52         done
53
54 release:
55         $(MAKE) dist distdir=$(PACKAGE)`date +"%y%m%d"`