|
|
@ -1,4 +1,4 @@ |
|
|
|
# $OpenBSD: Makefile,v 1.31 1996/11/16 21:53:10 downsj Exp $
|
|
|
|
# $OpenBSD: Makefile,v 1.32 1996/12/08 15:26:51 downsj Exp $
|
|
|
|
# $NetBSD: Makefile,v 1.59 1996/05/15 21:36:43 jtc Exp $
|
|
|
|
|
|
|
|
# @(#)Makefile 5.45.1.1 (Berkeley) 5/6/91
|
|
|
@ -51,15 +51,15 @@ includes: |
|
|
|
@echo installing ${FILES} |
|
|
|
@-for i in ${FILES}; do \
|
|
|
|
cmp -s $$i ${DESTDIR}/usr/include/$$i || \
|
|
|
|
install -c -m 444 $$i ${DESTDIR}/usr/include/$$i; \
|
|
|
|
${INSTALL} ${COPY} -m 444 $$i ${DESTDIR}/usr/include/$$i; \
|
|
|
|
done |
|
|
|
@echo installing ${DIRS} |
|
|
|
@-for i in ${DIRS}; do \
|
|
|
|
install -d -o ${BINOWN} -g ${BINGRP} -m 755 \
|
|
|
|
${INSTALL} -d -o ${BINOWN} -g ${BINGRP} -m 755 \
|
|
|
|
${DESTDIR}/usr/include/$$i; \
|
|
|
|
(cd $$i; for j in *.[ih]; do \
|
|
|
|
cmp -s $$j ${DESTDIR}/usr/include/$$i/$$j || \
|
|
|
|
install -c -m 444 $$j ${DESTDIR}/usr/include/$$i/$$j; \
|
|
|
|
${INSTALL} ${COPY} -m 444 $$j ${DESTDIR}/usr/include/$$i/$$j; \
|
|
|
|
done); \
|
|
|
|
done |
|
|
|
@echo installing ${LFILES} |
|
|
@ -86,7 +86,7 @@ copies: |
|
|
|
@echo copies: ${LDIRS} |
|
|
|
@-for i in ${LDIRS}; do \
|
|
|
|
rm -rf ${DESTDIR}/usr/include/$$i; \
|
|
|
|
install -d -o ${BINOWN} -g ${BINGRP} -m 755 \
|
|
|
|
${INSTALL} -d -o ${BINOWN} -g ${BINGRP} -m 755 \
|
|
|
|
${DESTDIR}/usr/include/$$i ; \
|
|
|
|
done |
|
|
|
cd ../sys; \
|
|
|
@ -94,7 +94,7 @@ copies: |
|
|
|
`find ${LDIRS} -follow -type f -name '*.h' '!' -path \
|
|
|
|
'netiso/xebec/*' -print` ${DESTDIR}/usr/include |
|
|
|
rm -rf ${DESTDIR}/usr/include/machine |
|
|
|
install -d -o ${BINOWN} -g ${BINGRP} -m 755 \
|
|
|
|
${INSTALL} -d -o ${BINOWN} -g ${BINGRP} -m 755 \
|
|
|
|
${DESTDIR}/usr/include/machine |
|
|
|
pax -rw -pa -s "|../sys/arch/${MACHINE}/include||" \
|
|
|
|
../sys/arch/${MACHINE}/include/*.h \
|
|
|
@ -102,7 +102,7 @@ copies: |
|
|
|
rm -rf ${DESTDIR}/usr/include/${MACHINE_ARCH} |
|
|
|
if test ${MACHINE} != ${MACHINE_ARCH} -a \
|
|
|
|
-d ../sys/arch/${MACHINE_ARCH}/include; then \
|
|
|
|
install -d -o ${BINOWN} -g ${BINGRP} -m 755 \
|
|
|
|
${INSTALL} -d -o ${BINOWN} -g ${BINGRP} -m 755 \
|
|
|
|
${DESTDIR}/usr/include/${MACHINE_ARCH}; \
|
|
|
|
pax -rw -pa -s "|../sys/arch/${MACHINE_ARCH}/include||" \
|
|
|
|
../sys/arch/${MACHINE_ARCH}/include/*.h \
|
|
|
|