1 2 #bin_PROGRAMS = test-policy test-policy-priority 3 lib_LTLIBRARIES = libipsec.la 4 5 libipsecdir = $(includedir)/libipsec 6 libipsec_HEADERS = libpfkey.h 7 8 man3_MANS = ipsec_set_policy.3 ipsec_strerror.3 9 10 AM_CFLAGS = @GLIBC_BUGS@ 11 AM_YFLAGS = -d -p __libipsec 12 AM_LFLAGS = -P__libipsec -olex.yy.c 13 14 BUILT_SOURCES = policy_parse.h 15 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 25 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) 30 31 noinst_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 39 EXTRA_DIST = ${man3_MANS} test-policy.c 40