source: Makefile.am @ 48fa0ee

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

Fix a few configure bugs:

Find lib strongswan if it is in /usr/local/lib and give a user
override

Find the site_prel directory and give the user an override

Make the ABAC.py and ABAC.pm swig entries

Find python libraries correctly on FreeBSD
(m4/ac_python_devel.m4)

  • Property mode set to 100644
File size: 2.8 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
57# ABAC.py is created as a side effect
58swig/python/ABAC.py swig/python/abac_wrap.cxx:  swig/python/abac.i
59        $(SWIG) $(SWIG_PYTHON_OPT) -o swig/python/abac_wrap.cxx swig/python/abac.i
60
61# perl
62bin_SCRIPTS += swig/perl/abac_prover.pl
63perldir = @SITE_PERL@
64perl_SCRIPTS = swig/perl/ABAC.pm
65perl_LTLIBRARIES = swig/perl/ABAC.la
66swig_perl_ABAC_la_SOURCES = swig/perl/abac_wrap.cxx swig/perl/SSL_keyid.c swig/perl/ABAC.pm
67swig_perl_ABAC_la_CPPFLAGS = `perl -MExtUtils::Embed -e ccopts`
68swig_perl_ABAC_la_LDFLAGS = -module
69swig_perl_ABAC_la_LIBADD = $(top_builddir)/libabac/libabac.la -lssl
70
71# ABAC.pm is created as a side effect
72swig/perl/ABAC.pm swig/perl/abac_wrap.cxx:
73        $(SWIG) -perl -o swig/perl/abac_wrap.cxx swig/perl/abac.i
74
75# preprove
76bin_SCRIPTS += preprover/abac_preprover_client.pl preprover/abac_preprover_server.pl
77
78# misc
79LIBSTRONGSWAN_source = @LIBSTRONGSWAN_source@
80
81INCLUDES = -I$(LIBSTRONGSWAN_source)/src/libstrongswan -I$(top_builddir)/libabac
82AM_CFLAGS = \
83        -DPLUGINS=\""${libstrongswan_plugins}\"" \
84        -DABAC_VERSION=\""${VERSION}\""
85
86ACLOCAL_AMFLAGS=-I m4
87
88CLEANFILES = $(perl_SCRIPTS) $(python_PYTHON)
89
90library_includedir=$(includedir)
91library_include_HEADERS = libabac/abac.h libabac/abac.hh
Note: See TracBrowser for help on using the repository browser.