diff options
author | scottl <scottl@FreeBSD.org> | 2005-04-26 02:01:39 +0000 |
---|---|---|
committer | scottl <scottl@FreeBSD.org> | 2005-04-26 02:01:39 +0000 |
commit | 8392ca289b957058518eb8b74dc13ebaaea85157 (patch) | |
tree | 261dd7ded540118e615bd7d7056809ea376c0bd4 /include | |
parent | 9c272696326a2e1c0cb1bd7d7fa1188d37904f47 (diff) | |
download | FreeBSD-src-8392ca289b957058518eb8b74dc13ebaaea85157.zip FreeBSD-src-8392ca289b957058518eb8b74dc13ebaaea85157.tar.gz |
Conditionalize the ipfilter header files on NO_IPFILTER. While normally these
should be harmless, the kdump(1) build does evil things with collecting
system header files, and thus would unconditionally collect and process these.
MFC After: 3 days
Diffstat (limited to 'include')
-rw-r--r-- | include/Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/Makefile b/include/Makefile index 448fb7d..c7df6f5 100644 --- a/include/Makefile +++ b/include/Makefile @@ -141,9 +141,11 @@ copies: cd ${.CURDIR}/../sys/contrib/altq/altq; \ ${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 *.h \ ${DESTDIR}${INCLUDEDIR}/altq +.if !defined(NO_IPFILTER) cd ${.CURDIR}/../sys/contrib/ipfilter/netinet; \ ${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 *.h \ ${DESTDIR}${INCLUDEDIR}/netinet +.endif cd ${.CURDIR}/../sys/contrib/pf/net; \ ${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 *.h \ ${DESTDIR}${INCLUDEDIR}/net @@ -211,11 +213,13 @@ symlinks: ln -fs ../../../sys/contrib/altq/altq/$$h \ ${DESTDIR}${INCLUDEDIR}/altq; \ done +.if !defined(NO_IPFILTER) cd ${.CURDIR}/../sys/contrib/ipfilter/netinet; \ for h in *.h; do \ ln -fs ../../../sys/contrib/ipfilter/netinet/$$h \ ${DESTDIR}${INCLUDEDIR}/netinet; \ done +.endif cd ${.CURDIR}/../sys/contrib/pf/net; \ for h in *.h; do \ ln -fs ../../../sys/contrib/pf/net/$$h \ |