|
|
@ -1,4 +1,4 @@ |
|
|
|
# $OpenBSD: Makefile,v 1.110 2002/06/09 18:33:36 itojun Exp $
|
|
|
|
# $OpenBSD: Makefile,v 1.111 2002/06/09 18:40:35 itojun Exp $
|
|
|
|
# $NetBSD: Makefile,v 1.59 1996/05/15 21:36:43 jtc Exp $
|
|
|
|
|
|
|
|
# @(#)Makefile 5.45.1.1 (Berkeley) 5/6/91
|
|
|
@ -132,14 +132,16 @@ copies: |
|
|
|
cd ${DESTDIR}/usr/include && rm -rf ${MACHINE} ${MACHINE_ARCH} machine |
|
|
|
${INSTALL} -d -o ${BINOWN} -g ${BINGRP} -m 755 \
|
|
|
|
${DESTDIR}/usr/include/${MACHINE} |
|
|
|
(cd ../sys/arch/${MACHINE}/include; \
|
|
|
|
pax -rw -pa *.h ${DESTDIR}/usr/include/${MACHINE}) |
|
|
|
pax -rw -pa -s "|\.\./sys/arch/${MACHINE}/include||" \
|
|
|
|
../sys/arch/${MACHINE}/include/*.h \
|
|
|
|
${DESTDIR}/usr/include/${MACHINE} |
|
|
|
if test ${MACHINE} != ${MACHINE_ARCH} -a \
|
|
|
|
-d ../sys/arch/${MACHINE_ARCH}/include; then \
|
|
|
|
${INSTALL} -d -o ${BINOWN} -g ${BINGRP} -m 755 \
|
|
|
|
${DESTDIR}/usr/include/${MACHINE_ARCH}; \
|
|
|
|
(cd ../sys/arch/${MACHINE_ARCH}/include; \
|
|
|
|
pax -rw -pa *.h ${DESTDIR}/usr/include/${MACHINE_ARCH}); \
|
|
|
|
pax -rw -pa -s "|\.\./sys/arch/${MACHINE_ARCH}/include||" \
|
|
|
|
../sys/arch/${MACHINE_ARCH}/include/*.h \
|
|
|
|
${DESTDIR}/usr/include/${MACHINE_ARCH}; \
|
|
|
|
fi |
|
|
|
ln -sf ${MACHINE} ${DESTDIR}/usr/include/machine; \
|
|
|
|
|
|
|
|