aboutsummaryrefslogtreecommitdiff
path: root/include/Makefile
diff options
context:
space:
mode:
authorSimon J. Gerraty <sjg@FreeBSD.org>2014-04-28 07:50:45 +0000
committerSimon J. Gerraty <sjg@FreeBSD.org>2014-04-28 07:50:45 +0000
commit3b8f08459569bf0faa21473e5cec2491e95c9349 (patch)
tree80f45dd81ca716bcd7ca9674581e1fc40b93cd34 /include/Makefile
parent9d2ab4a62d6733c45958627ac113bdbd818d1e2a (diff)
parentb2ba55951383498f252746f618d513139da06e8e (diff)
Notes
Diffstat (limited to 'include/Makefile')
-rw-r--r--include/Makefile36
1 files changed, 18 insertions, 18 deletions
diff --git a/include/Makefile b/include/Makefile
index d260f542f9c0..991c78366b88 100644
--- a/include/Makefile
+++ b/include/Makefile
@@ -36,10 +36,8 @@ PHDRS= sched.h _semaphore.h
LHDRS= aio.h errno.h fcntl.h linker_set.h poll.h stdatomic.h stdint.h \
syslog.h ucontext.h
-LDIRS= bsm cam geom net net80211 netatalk netgraph netinet netinet6 \
- netipsec ${_netipx} netnatm netsmb \
- nfs nfsclient nfsserver \
- sys vm
+LDIRS= bsm cam geom net net80211 netgraph netinet netinet6 \
+ netipsec netnatm netsmb nfs nfsclient nfsserver sys vm
LSUBDIRS= cam/ata cam/scsi \
dev/acpica dev/agp dev/an dev/bktr dev/ciss dev/filemon dev/firewire \
@@ -76,22 +74,9 @@ INCS+= hesiod.h
LSUBSUBDIRS+= netgraph/bluetooth/include
.endif
-# XXX unconditionally needed by <netsmb/netbios.h>
-#.if ${MK_IPX} != "no"
-_netipx= netipx
-#.endif
-
# Handle the #define aliases for libiconv
.if ${MK_ICONV} == "yes"
-CLEANFILES+= _libiconv_compat.h
-INCS+= _libiconv_compat.h iconv.h
-_libiconv_compat.h: ${.CURDIR}/Makefile
- echo "/* Indicate whether libiconv symbols are present */" > _libiconv_compat.h
-.if ${MK_LIBICONV_COMPAT} == "yes"
- echo "#define __LIBICONV_COMPAT" >> _libiconv_compat.h
-.else
- echo "#undef __LIBICONV_COMPAT" >> _libiconv_compat.h
-.endif
+INCS+= iconv.h
.endif
@@ -220,6 +205,11 @@ copies:
${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 \
${DESTDIR}${INCLUDEDIR}/crypto
@@ -253,6 +243,9 @@ copies:
cd ${.CURDIR}/../sys/rpc; \
${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 types.h \
${DESTDIR}${INCLUDEDIR}/rpc
+ cd ${.CURDIR}/../sys/teken; \
+ ${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 teken.h \
+ ${DESTDIR}${INCLUDEDIR}/teken
.if ${MK_META_MODE} == "yes"
touch ${.TARGET}
.endif
@@ -316,6 +309,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 \