source: Makefile.am @ 0f9615e

abac0-leakabac0-meicompt_changesgec13mei-idmei-rt0-nmei_rt0mei_rt2mei_rt2_fix_1meiyap-rt1meiyap1rt2tvf-new-xml
Last change on this file since 0f9615e was 0f9615e, checked in by Ted Faber <faber@…>, 14 years ago

Rebuild the ABAC.py and ABAC.pm files for swig.

  • Property mode set to 100644
File size: 2.7 KB
Line 
1# libabac
2lib_LTLIBRARIES = libabac/libabac.la
3bin_PROGRAMS = libabac/abac_prover libabac/abac_prover_plus \
4               creddy/creddy
5
6BUILT_SOURCES = swig/python/ABAC.py swig/perl/ABAC.pm swig/python/abac_wrap.cxx swig/perl/abac_wrap.cxx
7
8libabac_libabac_la_SOURCES = \
9    libabac/abac.c \
10    libabac/abac.h \
11    libabac/abac_list.c \
12    libabac/abac_list.h \
13    libabac/abac_graph.c \
14    libabac/abac_graph.h \
15    libabac/abac_role.c \
16    libabac/abac_set.c \
17    libabac/abac_set.h \
18    libabac/abac_util.c \
19    libabac/abac_util.h \
20    libabac/abac_verifier.c \
21    libabac/abac_verifier.h \
22    libabac/uthash.h \
23    libabac/utlist.h
24
25libabac_libabac_la_LDFLAGS = -version-info 1:0:1
26libabac_libabac_la_LIBADD = -lstrongswan
27
28libabac_abac_prover_SOURCES = libabac/prover.c libabac/options.c libabac/abac.h
29libabac_abac_prover_LDADD = $(top_builddir)/libabac/libabac.la
30
31libabac_abac_prover_plus_SOURCES = libabac/prover_plus.cc libabac/options.c libabac/abac.hh
32libabac_abac_prover_plus_LDADD = $(top_builddir)/libabac/libabac.la
33
34# creddy
35creddy_creddy_SOURCES = \
36    creddy/attribute.c \
37    creddy/creddy.c \
38    creddy/creddy.h \
39    creddy/generate.c \
40    creddy/keyid.c \
41    creddy/roles.c \
42    creddy/verify.c
43
44creddy_creddy_LDADD = -lstrongswan
45
46man1_MANS = doc/creddy.1
47
48# python
49bin_SCRIPTS = swig/python/abac_prover.py
50python_PYTHON = swig/python/ABAC.py
51pyexec_LTLIBRARIES = swig/python/_ABAC.la
52swig_python__ABAC_la_SOURCES = swig/python/abac_wrap.cxx swig/python/ABAC.py
53swig_python__ABAC_la_CPPFLAGS = $(SWIG_PYTHON_CPPFLAGS)
54swig_python__ABAC_la_LDFLAGS = -module
55swig_python__ABAC_la_LIBADD = $(top_builddir)/libabac/libabac.la
56
57swig/python/ABAC.py swig/python/abac_wrap.cxx:  swig/python/abac.i
58        $(SWIG) $(SWIG_PYTHON_OPT) -o $@ $<
59
60# perl
61bin_SCRIPTS += swig/perl/abac_prover.pl
62perldir = /usr/local/lib/site_perl
63perl_SCRIPTS = swig/perl/ABAC.pm
64perl_LTLIBRARIES = swig/perl/ABAC.la
65swig_perl_ABAC_la_SOURCES = swig/perl/abac_wrap.cxx swig/perl/SSL_keyid.c swig/perl/ABAC.pm
66swig_perl_ABAC_la_CPPFLAGS = `perl -MExtUtils::Embed -e ccopts`
67swig_perl_ABAC_la_LDFLAGS = -module
68swig_perl_ABAC_la_LIBADD = $(top_builddir)/libabac/libabac.la -lssl
69
70swig/perl/ABAC.pm swig/perl/abac_wrap.cxx:      swig/perl/abac.i
71        $(SWIG) -c++ -perl -o $@ $<
72
73# preprove
74bin_SCRIPTS += preprover/abac_preprover_client.pl preprover/abac_preprover_server.pl
75
76# misc
77LIBSTRONGSWAN_source = @LIBSTRONGSWAN_source@
78
79INCLUDES = -I$(LIBSTRONGSWAN_source)/src/libstrongswan -I$(top_builddir)/libabac
80AM_CFLAGS = \
81        -DPLUGINS=\""${libstrongswan_plugins}\"" \
82        -DABAC_VERSION=\""${VERSION}\""
83
84ACLOCAL_AMFLAGS=-I m4
85
86CLEANFILES = $(perl_SCRIPTS) $(python_PYTHON)
87
88library_includedir=$(includedir)
89library_include_HEADERS = libabac/abac.h libabac/abac.hh
Note: See TracBrowser for help on using the repository browser.