summaryrefslogtreecommitdiff
path: root/include/Makefile
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2010-02-03 20:49:59 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2010-02-03 20:49:59 +0000
commit24e03fe005f782f4bcaae859840a6733a22ce867 (patch)
tree8383839ef3293503cb6b141bb024bd0bdde046a4 /include/Makefile
parenta0067f51183d8b472112a095c7c0d32145ff98b3 (diff)
MACHINE_ARCH -> MACHINE_CPU when applicable.
** it is necessary to update make(1) before building now **
Diffstat (limited to 'include/Makefile')
-rw-r--r--include/Makefile30
1 files changed, 15 insertions, 15 deletions
diff --git a/include/Makefile b/include/Makefile
index 39e787f8fde..58c1b16782b 100644
--- a/include/Makefile
+++ b/include/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.152 2009/06/24 13:04:24 millert Exp $
+# $OpenBSD: Makefile,v 1.153 2010/02/03 20:49:58 miod Exp $
# $NetBSD: Makefile,v 1.59 1996/05/15 21:36:43 jtc Exp $
# @(#)Makefile 5.45.1.1 (Berkeley) 5/6/91
@@ -102,8 +102,8 @@ includes:
done; \
done
@rm -rf ${DESTDIR}/usr/include/openssl ${DESTDIR}/usr/include/ssl \
- ${DESTDIR}/usr/libdata/perl5/site_perl/${MACHINE_ARCH}-openbsd/ssl \
- ${DESTDIR}/usr/libdata/perl5/site_perl/${MACHINE_ARCH}-openbsd/openssl
+ ${DESTDIR}/usr/libdata/perl5/site_perl/${MACHINE_CPU}-openbsd/ssl \
+ ${DESTDIR}/usr/libdata/perl5/site_perl/${MACHINE_CPU}-openbsd/openssl
@mkdir ${DESTDIR}/usr/include/openssl
@ln -sf openssl ${DESTDIR}/usr/include/ssl
@echo installing ${LFILES}
@@ -141,19 +141,19 @@ copies:
pax -rw -pa -L \
`find ${LDIRS} -follow -type f -name '*.h' \
'!' -path 'dev/microcode/*' -print` ${DESTDIR}/usr/include
- cd ${DESTDIR}/usr/include && rm -rf ${MACHINE} ${MACHINE_ARCH} machine
+ cd ${DESTDIR}/usr/include && rm -rf ${MACHINE} ${MACHINE_CPU} machine
${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 \
${DESTDIR}/usr/include/${MACHINE}
- if test ${MACHINE} != ${MACHINE_ARCH} -a \
- -d ../sys/arch/${MACHINE_ARCH}/include; then \
+ if test ${MACHINE} != ${MACHINE_CPU} -a \
+ -d ../sys/arch/${MACHINE_CPU}/include; then \
${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 \
- ${DESTDIR}/usr/include/${MACHINE_ARCH}; \
+ ${DESTDIR}/usr/include/${MACHINE_CPU}; \
+ pax -rw -pa -s "|\.\./sys/arch/${MACHINE_CPU}/include||" \
+ ../sys/arch/${MACHINE_CPU}/include/*.h \
+ ${DESTDIR}/usr/include/${MACHINE_CPU}; \
fi
ln -sf ${MACHINE} ${DESTDIR}/usr/include/machine; \
@@ -163,12 +163,12 @@ symlinks:
rm -rf ${DESTDIR}/usr/include/$$i && \
ln -s /sys/$$i ${DESTDIR}/usr/include/$$i; \
done
- cd ${DESTDIR}/usr/include && rm -rf ${MACHINE} ${MACHINE_ARCH} machine
+ cd ${DESTDIR}/usr/include && rm -rf ${MACHINE} ${MACHINE_CPU} machine
ln -s /sys/arch/${MACHINE}/include ${DESTDIR}/usr/include/${MACHINE}
- if test ${MACHINE} != ${MACHINE_ARCH} -a \
- -d ../sys/arch/${MACHINE_ARCH}/include ; then \
- ln -s /sys/arch/${MACHINE_ARCH}/include \
- ${DESTDIR}/usr/include/${MACHINE_ARCH} ; \
+ if test ${MACHINE} != ${MACHINE_CPU} -a \
+ -d ../sys/arch/${MACHINE_CPU}/include ; then \
+ ln -s /sys/arch/${MACHINE_CPU}/include \
+ ${DESTDIR}/usr/include/${MACHINE_CPU} ; \
fi
ln -sf ${MACHINE} ${DESTDIR}/usr/include/machine