From e352aa585efbbc77678bddd33383368f65f11940 Mon Sep 17 00:00:00 2001 From: glebius Date: Sun, 27 Oct 2013 16:25:57 +0000 Subject: 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 --- include/Makefile | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'include') 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 \ -- cgit v1.1