Updates to Tomato RAF including NGINX && PHP
[tomato.git] / release / src / router / glib / gmodule / Makefile.am
blob5f0ce56e612a0d3d42dfa562099aeb1c3467d7e5
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@
6 EXTRA_DIST =    \
7                 gmoduleconf.h.in \
8                 gmodule.def     \
9                 gmodule-dl.c    \
10                 gmodule-dld.c   \
11                 gmodule-win32.c \
12                 gmoduleconf.h.win32
14 BUILT_SOURCES = gmoduleconf.h
15 gmoduleconf.h:  gmoduleconf.h.in
17 glibincludedir=$(includedir)/glib-1.2
18 glibinclude_HEADERS =           \
19                 gmodule.h
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 = \
27         @G_MODULE_LDFLAGS@ \
28         -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) \
29         -release $(LT_RELEASE) \
30         -export-dynamic
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@
48 .PHONY: files release
50 files:
51         @files=`ls $(DISTFILES) 2> /dev/null `; for p in $$files; do \
52           echo $$p; \
53         done
55 install-libLTLIBRARIES: libgmodule.la
56         @$(NORMAL_INSTALL)
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; \
62          else :; fi; \
63         done
65 release:
66         $(MAKE) dist distdir=$(PACKAGE)`date +"%y%m%d"`