diff options
author | sam <sam@FreeBSD.org> | 2002-10-04 20:44:28 +0000 |
---|---|---|
committer | sam <sam@FreeBSD.org> | 2002-10-04 20:44:28 +0000 |
commit | 80ef0853a6b5df5922412e430642bc76786d42a3 (patch) | |
tree | d913642a52b20fbae635b81149defe37eea0dcae /include/Makefile | |
parent | 0b72e3a745bfbb73ed4736d49cf0be8a3b451a34 (diff) | |
download | FreeBSD-src-80ef0853a6b5df5922412e430642bc76786d42a3.zip FreeBSD-src-80ef0853a6b5df5922412e430642bc76786d42a3.tar.gz |
install sys/opencrypto include files in /usr/include/crypto
Diffstat (limited to 'include/Makefile')
-rw-r--r-- | include/Makefile | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/include/Makefile b/include/Makefile index 19f6189..ef1af38 100644 --- a/include/Makefile +++ b/include/Makefile @@ -83,7 +83,7 @@ INCSLINKS+= posix4/$i ${INCLUDEDIR}/$i .endfor copies: -.for i in ${LDIRS} ${LSYMSUBDIRS} machine +.for i in ${LDIRS} ${LSYMSUBDIRS} machine crypto if [ -L ${DESTDIR}/usr/include/$i ]; then \ rm -f ${DESTDIR}/usr/include/$i; \ fi @@ -95,6 +95,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 \ @@ -112,6 +115,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 |