Change i386 in a few paths to ${MACHINE} to support MACHINE=pc98.
This commit is contained in:
parent
270f65a70c
commit
c2c43bd135
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=38994
@ -1,5 +1,5 @@
|
||||
# From: @(#)Makefile 8.2 (Berkeley) 1/4/94
|
||||
# $Id: Makefile,v 1.80 1998/08/01 13:42:12 alex Exp $
|
||||
# $Id: Makefile,v 1.81 1998/09/09 01:21:19 jdp Exp $
|
||||
#
|
||||
# Doing a make install builds /usr/include
|
||||
#
|
||||
@ -114,8 +114,8 @@ copies:
|
||||
${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 $i/*.h \
|
||||
${DESTDIR}/usr/include/$i
|
||||
.endfor
|
||||
.if exists(${.CURDIR}/../sys/${MACHINE}/include)
|
||||
cd ${.CURDIR}/../sys/${MACHINE}/include; \
|
||||
.if exists(${.CURDIR}/../sys/${MACHINE_ARCH}/include)
|
||||
cd ${.CURDIR}/../sys/${MACHINE_ARCH}/include; \
|
||||
${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 *.h \
|
||||
${DESTDIR}/usr/include/machine
|
||||
.endif
|
||||
@ -127,6 +127,6 @@ symlinks:
|
||||
ln -s ../../sys/$i ${DESTDIR}/usr/include/$i
|
||||
.endfor
|
||||
rm -rf ${DESTDIR}/usr/include/machine
|
||||
ln -s ../../sys/${MACHINE}/include ${DESTDIR}/usr/include/machine
|
||||
ln -s ../../sys/${MACHINE_ARCH}/include ${DESTDIR}/usr/include/machine
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user