• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1
2#bin_PROGRAMS = test-policy test-policy-priority
3lib_LTLIBRARIES = libipsec.la
4
5libipsecdir = $(includedir)/libipsec
6libipsec_HEADERS = libpfkey.h
7
8man3_MANS = ipsec_set_policy.3 ipsec_strerror.3
9
10AM_CFLAGS = @GLIBC_BUGS@
11AM_YFLAGS = -d -p __libipsec
12AM_LFLAGS = -P__libipsec -olex.yy.c
13
14BUILT_SOURCES = policy_parse.h
15
16libipsec_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
25
26# version is current:revision:age.
27# See: http://www.gnu.org/manual/libtool-1.4.2/html_chapter/libtool_6.html#SEC32
28libipsec_la_LDFLAGS = -version-info 0:1:0
29libipsec_la_LIBADD = $(LEXLIB)
30
31noinst_HEADERS = ipsec_strerror.h
32
33#test_policy_SOURCES = test-policy.c
34#test_policy_LDFLAGS = libipsec.la
35
36#test_policy_priority_SOURCES = test-policy-priority.c
37#test_policy_priority_LDFLAGS = libipsec.la
38
39EXTRA_DIST = ${man3_MANS} test-policy.c
40