xref: /aosp_15_r20/external/iptables/include/Makefile.am (revision a71a954618bbadd4a345637e5edcf36eec826889)
1# -*- Makefile -*-
2
3include_HEADERS = xtables.h
4nodist_include_HEADERS = xtables-version.h
5
6if ENABLE_LIBIPQ
7include_HEADERS += libipq/libipq.h
8endif
9
10nobase_include_HEADERS = \
11	libiptc/ipt_kernel_headers.h libiptc/libiptc.h \
12	libiptc/libip6tc.h libiptc/libxtc.h libiptc/xtcshared.h
13
14EXTRA_DIST = iptables linux iptables.h ip6tables.h
15
16uninstall-hook:
17	dir=${includedir}/libiptc; { \
18		test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; \
19	} || rmdir -p --ignore-fail-on-non-empty "$$dir"
20