aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSam Leffler <sam@FreeBSD.org>2002-11-21 23:50:17 +0000
committerSam Leffler <sam@FreeBSD.org>2002-11-21 23:50:17 +0000
commitc0b85cddb5bee3598ad76938479e0031ab495267 (patch)
treeda7b8622ac8702a53fa1c1d12f8486a1bbdfa2d0 /include
parentca33fe05460cbf9aa72556f74c3c2c2d4e9e21c2 (diff)
Notes
Diffstat (limited to 'include')
-rw-r--r--include/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/include/Makefile b/include/Makefile
index e95d75faebf3..08ae4d566f4f 100644
--- a/include/Makefile
+++ b/include/Makefile
@@ -78,7 +78,7 @@ INCSLINKS+= posix4/$i ${INCLUDEDIR}/$i
.endfor
copies:
-.for i in ${LDIRS} ${LSYMSUBDIRS} machine
+.for i in ${LDIRS} ${LSYMSUBDIRS} machine crypto
if [ -h ${DESTDIR}/usr/include/$i ]; then \
rm -f ${DESTDIR}/usr/include/$i; \
fi
@@ -90,6 +90,9 @@ copies:
${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 $i/*.h \
${DESTDIR}/usr/include/$i
.endfor
+ cd ${.CURDIR}/../sys; \
+ ${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 opencrypto/*.h \
+ ${DESTDIR}/usr/include/crypto
.if exists(${.CURDIR}/../sys/${MACHINE_ARCH}/include)
cd ${.CURDIR}/../sys/${MACHINE_ARCH}/include; \
${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 *.h \
@@ -110,6 +113,8 @@ symlinks:
rm -rf ${DESTDIR}/usr/include/$i
ln -s ../../sys/$i ${DESTDIR}/usr/include/$i
.endfor
+ rm -rf ${DESTDIR}/usr/include/crypto
+ ln -s ../../sys/opencrypto ${DESTDIR}/usr/include/crypto
.for i in ${LSYMSUBDIRS}
rm -rf ${DESTDIR}/usr/include/$i
ln -s ../../../sys/$i ${DESTDIR}/usr/include/$i