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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1760 - (hide annotations) (download)
Fri Jun 11 15:43:02 2010 UTC (11 years, 7 months ago) by aramv
File size: 3533 byte(s)
added dummy_obligations plugin for stress testing
1 aramv 1729 plugindir = $(MODULE_DIR)
2 aramv 425
3 aramv 586 Plugin_LIBADD = \
4 aramv 883 $(top_builddir)/src/libeef.la
5 aramv 586
6     Plugin_CPPFLAGS = \
7     -I$(top_srcdir)/include/plugins/ \
8 aramv 1469 -I$(top_srcdir)/include/private/ \
9 aramv 586 -I$(top_srcdir)/include/library/ \
10     -I$(top_srcdir)/include/
11    
12     Plugin_LDFLAGS = \
13 aramv 627 -version-info $(MAJOR_VERSION)
14 aramv 586
15 aramv 1760 plugin_LTLIBRARIES = libees_example_plugin.la libees_plugin_a.la libees_plugin_b.la libees_dummy_good.la libees_dummy_obligations.la libees_posix_enf.la libees_localaccount.la
16 aramv 1367
17 aramv 1729 libees_example_plugin_la_LIBADD = $(Plugin_LIBADD)
18     libees_example_plugin_la_CPPFLAGS = $(Plugin_CPPFLAGS)
19     libees_example_plugin_la_LDFLAGS = $(Plugin_LDFLAGS)
20     libees_example_plugin_la_SOURCES = example_plugin/src/example_plugin.c
21 aramv 851
22 aramv 1729 libees_plugin_a_la_LIBADD = $(Plugin_LIBADD)
23     libees_plugin_a_la_CPPFLAGS = $(Plugin_CPPFLAGS)
24     libees_plugin_a_la_LDFLAGS = $(Plugin_LDFLAGS)
25     libees_plugin_a_la_SOURCES = plugin_a/src/plugin_a.c
26 aramv 425
27 aramv 1729 libees_plugin_b_la_LIBADD = $(Plugin_LIBADD)
28     libees_plugin_b_la_CPPFLAGS = $(Plugin_CPPFLAGS)
29     libees_plugin_b_la_LDFLAGS = $(Plugin_LDFLAGS)
30     libees_plugin_b_la_SOURCES = plugin_b/src/plugin_b.c
31 aramv 425
32 aramv 1760 libees_dummy_good_la_LIBADD = $(Plugin_LIBADD)
33     libees_dummy_good_la_CPPFLAGS = $(Plugin_CPPFLAGS)
34     libees_dummy_good_la_LDFLAGS = $(Plugin_LDFLAGS)
35     libees_dummy_good_la_SOURCES = ees_dummy_good/src/ees_dummy_good.c
36 aramv 586
37 aramv 1760 libees_dummy_obligations_la_LIBADD = $(Plugin_LIBADD)
38     libees_dummy_obligations_la_CPPFLAGS = $(Plugin_CPPFLAGS)
39     libees_dummy_obligations_la_LDFLAGS = $(Plugin_LDFLAGS)
40     libees_dummy_obligations_la_SOURCES = ees_dummy_obligations/src/ees_dummy_obligations.c
41    
42 aramv 1729 libees_posix_enf_la_LIBADD = $(Plugin_LIBADD)
43     libees_posix_enf_la_CPPFLAGS = $(Plugin_CPPFLAGS) \
44 aramv 1705 -I$(top_srcdir)/src/cgul/unixprivs/
45 aramv 1729 libees_posix_enf_la_LDFLAGS = $(Plugin_LDFLAGS)
46     libees_posix_enf_la_SOURCES = posix_enf/src/posix_enf.c \
47 aramv 1669 $(top_srcdir)/src/cgul/unixprivs/unixpriv.c
48 aramv 1367
49 aramv 1729 libees_localaccount_la_LIBADD = $(Plugin_LIBADD) $(GLOBUS_LIBRARIES)
50     libees_localaccount_la_CPPFLAGS = $(Plugin_CPPFLAGS) \
51 aramv 1661 -I$(top_srcdir)/src/cgul/log_to_file/ \
52 aramv 1681 -I$(top_srcdir)/src/cgul/gridmapfile/ \
53 aramv 1661 -I$(top_srcdir)/src/cgul/fileutil/ \
54     -Ilocalaccount/src/safefile-1.0/
55 aramv 1729 libees_localaccount_la_LDFLAGS = $(Plugin_LDFLAGS)
56     libees_localaccount_la_SOURCES = localaccount/src/localaccount.c \
57 aramv 1669 localaccount/src/safefile-1.0/safe_open.c \
58     localaccount/src/safefile-1.0/safe_id_range_list.c \
59 aramv 1661 localaccount/src/safefile-1.0/safe_is_path_trusted.c \
60 aramv 1669 $(top_srcdir)/src/cgul/unixprivs/unixpriv.c \
61     $(top_srcdir)/src/cgul/log_to_file/log_to_file.c \
62 aramv 1681 $(top_srcdir)/src/cgul/gridmapfile/gridmapfile.c \
63 aramv 1661 $(top_srcdir)/src/cgul/fileutil/fileutil.c
64    
65 aramv 1684
66 aramv 441 install-data-hook:
67 aramv 443 set -x ;\
68 aramv 441 ( \
69     cd $(DESTDIR)$(plugindir); \
70 aramv 1760 for mod in ees_example_plugin ees_plugin_a ees_plugin_b ees_dummy_good ees_dummy_obligations ees_posix_enf ees_localaccount ; do \
71 aramv 627 so_mod="lib$$mod.so.$(MAJOR_VERSION)" ; \
72     dylib_mod="lib$$mod.$(MAJOR_VERSION).dylib" ; \
73 aramv 443 if [ -f "$$so_mod" ] ; then \
74     plugin="$$so_mod" ; \
75     elif [ -f "$$dylib_mod" ] ; then \
76     plugin="$$dylib_mod" ; \
77     fi; \
78 aramv 441 rm -rf $$mod.mod; \
79 aramv 443 $(LN_S) $$plugin $$mod.mod;\
80 aramv 441 done \
81     )

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