Patrick Welche <prlw1@cam.ac.uk>
[netbsd-mini2440.git] / crypto / dist / ipsec-tools / src / libipsec / Makefile.am
blob6a4e3b3e632def690ab66d8c843897ca916d620c
2 #bin_PROGRAMS = test-policy test-policy-priority
3 lib_LTLIBRARIES = libipsec.la
5 libipsecdir = $(includedir)/libipsec
6 libipsec_HEADERS = libpfkey.h
8 man3_MANS = ipsec_set_policy.3 ipsec_strerror.3
10 AM_CFLAGS = @GLIBC_BUGS@
11 AM_YFLAGS = -d -p __libipsec
12 AM_LFLAGS = -P__libipsec -olex.yy.c
14 BUILT_SOURCES = policy_parse.h
16 libipsec_la_SOURCES = \
17   ipsec_dump_policy.c \
18   ipsec_get_policylen.c \
19   ipsec_strerror.c \
20   key_debug.c \
21   pfkey.c \
22   pfkey_dump.c \
23   policy_parse.y \
24   policy_token.l
26 # version is current:revision:age.
27 # See: http://www.gnu.org/manual/libtool-1.4.2/html_chapter/libtool_6.html#SEC32
28 libipsec_la_LDFLAGS = -version-info 0:1:0
29 libipsec_la_LIBADD = $(LEXLIB)
31 noinst_HEADERS = ipsec_strerror.h
33 #test_policy_SOURCES = test-policy.c
34 #test_policy_LDFLAGS = libipsec.la
36 #test_policy_priority_SOURCES = test-policy-priority.c
37 #test_policy_priority_LDFLAGS = libipsec.la
39 EXTRA_DIST = ${man3_MANS} test-policy.c