From b68831134f6086fb6ed8b58b7bdd21334ee03870 Mon Sep 17 00:00:00 2001 From: Sean Bruno Date: Fri, 1 Nov 2013 00:32:26 +0000 Subject: [PATCH] Install include files for netpfil/pf when requested by the Makefile Reviewed by: glebius --- include/Makefile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/include/Makefile b/include/Makefile index 76f521d22227..61435ccd40d0 100644 --- a/include/Makefile +++ b/include/Makefile @@ -194,6 +194,11 @@ copies: cd ${.CURDIR}/../sys/contrib/ipfilter/netinet; \ ${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 *.h \ ${DESTDIR}${INCLUDEDIR}/netinet +.endif +.if ${MK_PF} != "no" + cd ${.CURDIR}/../sys/netpfil/pf; \ + ${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 *.h \ + ${DESTDIR}${INCLUDEDIR}/netpfil/pf .endif cd ${.CURDIR}/../sys/crypto; \ ${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 rijndael/rijndael.h \