summaryrefslogtreecommitdiffstats
path: root/include/Makefile.am
blob: 07c88b901e80869c174838eb38857c937257e8d0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# -*- Makefile -*-

include_HEADERS = xtables.h
nodist_include_HEADERS = xtables-version.h

if ENABLE_LIBIPQ
include_HEADERS += libipq/libipq.h
endif

nobase_include_HEADERS = \
	libiptc/ipt_kernel_headers.h libiptc/libiptc.h \
	libiptc/libip6tc.h libiptc/libxtc.h libiptc/xtcshared.h

EXTRA_DIST = iptables linux iptables.h ip6tables.h

uninstall-hook:
	dir=${includedir}/libiptc; { \
		test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; \
	} || rmdir -p --ignore-fail-on-non-empty "$$dir"