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
This commit is contained in:
Scott Long 2005-04-26 02:01:39 +00:00
parent 627e5814bc
commit f98a656c0a
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=145539

View File

@ -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 \