1# -*- Makefile -*- 2 3AM_CFLAGS = ${regular_CFLAGS} 4AM_CPPFLAGS = ${regular_CPPFLAGS} -I${top_builddir}/include \ 5 -I${top_srcdir}/include ${libnfnetlink_CFLAGS} 6 7sbin_PROGRAMS = 8pkgdata_DATA = 9man_MANS = 10 11if HAVE_LIBNFNETLINK 12man_MANS += nfnl_osf.8 13sbin_PROGRAMS += nfnl_osf 14pkgdata_DATA += pf.os 15 16nfnl_osf_LDADD = ${libnfnetlink_LIBS} 17 18uninstall-hook: 19 dir=${DESTDIR}${pkgdatadir}; { \ 20 test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; \ 21 } || rmdir -p --ignore-fail-on-non-empty "$$dir" 22endif 23 24if ENABLE_BPFC 25man_MANS += nfbpf_compile.8 26sbin_PROGRAMS += nfbpf_compile 27nfbpf_compile_LDADD = -lpcap 28endif 29 30if ENABLE_SYNCONF 31sbin_PROGRAMS += nfsynproxy 32nfsynproxy_LDADD = -lpcap 33endif 34 35CLEANFILES = nfnl_osf.8 nfbpf_compile.8 36