summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorglebius <glebius@FreeBSD.org>2013-10-27 16:25:57 +0000
committerglebius <glebius@FreeBSD.org>2013-10-27 16:25:57 +0000
commite352aa585efbbc77678bddd33383368f65f11940 (patch)
treed018d2359cd89430bc204964f04874d868cfdd89 /include
parentb385bc7f3120f41d6df5d6fddd109ab27fce9851 (diff)
downloadFreeBSD-src-e352aa585efbbc77678bddd33383368f65f11940.zip
FreeBSD-src-e352aa585efbbc77678bddd33383368f65f11940.tar.gz
Move new pf includes to the pf directory. The pfvar.h remain
in net, to avoid compatibility breakage for no sake. The future plan is to split most of non-kernel parts of pfvar.h into pf.h, and then make pfvar.h a kernel only include breaking compatibility. Discussed with: bz
Diffstat (limited to 'include')
-rw-r--r--include/Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/Makefile b/include/Makefile
index 1f55f4e..76f521d 100644
--- a/include/Makefile
+++ b/include/Makefile
@@ -288,6 +288,13 @@ symlinks:
${DESTDIR}${INCLUDEDIR}/netinet; \
done
.endif
+.if ${MK_PF} != "no"
+ cd ${.CURDIR}/../sys/netpfil/pf; \
+ for h in *.h; do \
+ ln -fs ../../../../sys/netpfil/pf/$$h \
+ ${DESTDIR}${INCLUDEDIR}/netpfil/pf; \
+ done
+.endif
cd ${.CURDIR}/../sys/crypto; \
for h in rijndael/rijndael.h; do \
ln -fs ../../../sys/crypto/$$h \
OpenPOWER on IntegriCloud