Makefile.am 750 Bytes
Newer Older
1
2
3
4
5
6
7
8
# -*- Makefile -*-

AM_CFLAGS = ${regular_CFLAGS}
AM_CPPFLAGS = ${regular_CPPFLAGS} -I${top_builddir}/include \
              -I${top_srcdir}/include ${libnfnetlink_CFLAGS}

sbin_PROGRAMS =
pkgdata_DATA =
9
man_MANS =
10
11

if HAVE_LIBNFNETLINK
12
man_MANS += nfnl_osf.8
13
14
15
16
sbin_PROGRAMS += nfnl_osf
pkgdata_DATA += pf.os

nfnl_osf_LDADD = ${libnfnetlink_LIBS}
17
18
19
20
21

uninstall-hook:
	dir=${DESTDIR}${pkgdatadir}; { \
		test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; \
	} || rmdir -p --ignore-fail-on-non-empty "$$dir"
22
23
24
endif

if ENABLE_BPFC
25
man_MANS += nfbpf_compile.8
26
27
28
29
30
31
32
33
sbin_PROGRAMS += nfbpf_compile
nfbpf_compile_LDADD = -lpcap
endif

if ENABLE_SYNCONF
sbin_PROGRAMS += nfsynproxy
nfsynproxy_LDADD = -lpcap
endif
34

35
CLEANFILES = nfnl_osf.8 nfbpf_compile.8