/[pdpsoft]/trunk/grid-mw-security/ees/plugin_examples/Makefile.am
ViewVC logotype

Contents of /trunk/grid-mw-security/ees/plugin_examples/Makefile.am

Parent Directory Parent Directory | Revision Log Revision Log


Revision 883 - (show annotations) (download)
Wed Oct 7 14:34:25 2009 UTC (12 years, 3 months ago) by aramv
File size: 1615 byte(s)
Renamed libnextgen to libeef
1 plugindir = $(MODULE_DIR)
2
3 #MAINTAINERCLEANFILES = Makefile.in
4
5 Plugin_LIBADD = \
6 $(top_builddir)/src/libeef.la
7
8 Plugin_CPPFLAGS = \
9 -I$(top_srcdir)/include/plugins/ \
10 -I$(top_srcdir)/include/library/ \
11 -I$(top_srcdir)/include/
12
13 Plugin_LDFLAGS = \
14 -version-info $(MAJOR_VERSION)
15
16 plugin_LTLIBRARIES = libexample_plugin.la libplugin_a.la libplugin_b.la liblcmaps_dummy_good.la
17 libexample_plugin_la_LIBADD = $(Plugin_LIBADD)
18 libexample_plugin_la_CPPFLAGS = $(Plugin_CPPFLAGS)
19 libexample_plugin_la_LDFLAGS = $(Plugin_LDFLAGS)
20 libexample_plugin_la_SOURCES = example_plugin/src/example_plugin.c
21
22 libplugin_a_la_LIBADD = $(Plugin_LIBADD)
23 libplugin_a_la_CPPFLAGS = $(Plugin_CPPFLAGS)
24 libplugin_a_la_LDFLAGS = $(Plugin_LDFLAGS)
25 libplugin_a_la_SOURCES = plugin_a/src/plugin_a.c
26
27 libplugin_b_la_LIBADD = $(Plugin_LIBADD)
28 libplugin_b_la_CPPFLAGS = $(Plugin_CPPFLAGS)
29 libplugin_b_la_LDFLAGS = $(Plugin_LDFLAGS)
30 libplugin_b_la_SOURCES = plugin_b/src/plugin_b.c
31
32 liblcmaps_dummy_good_la_LIBADD = $(Plugin_LIBADD)
33 liblcmaps_dummy_good_la_CPPFLAGS = $(Plugin_CPPFLAGS)
34 liblcmaps_dummy_good_la_LDFLAGS = $(Plugin_LDFLAGS)
35 liblcmaps_dummy_good_la_SOURCES = lcmaps_dummy_good/src/lcmaps_dummy_good.c
36
37 install-data-hook:
38 set -x ;\
39 ( \
40 cd $(DESTDIR)$(plugindir); \
41 for mod in exampleplugin plugin_a plugin_b lcmaps_dummy_good; do \
42 so_mod="lib$$mod.so.$(MAJOR_VERSION)" ; \
43 dylib_mod="lib$$mod.$(MAJOR_VERSION).dylib" ; \
44 if [ -f "$$so_mod" ] ; then \
45 plugin="$$so_mod" ; \
46 elif [ -f "$$dylib_mod" ] ; then \
47 plugin="$$dylib_mod" ; \
48 fi; \
49 rm -rf $$mod.mod; \
50 $(LN_S) $$plugin $$mod.mod;\
51 done \
52 )

grid.support@nikhef.nl
ViewVC Help
Powered by ViewVC 1.1.28