Test for ${MACHINE} == "alpha" and include the bootstrap makefile instead

of doing the normal build. When the alpha bootstrap is complete (there
is more work to do!), the alpha will build like the i386 does now.
I changed i386 references to ${MACHINE} now that we're multi-architecture.
This commit is contained in:
John Birrell 1998-01-11 04:51:02 +00:00
parent 451b485e95
commit cf763a57d2
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=32427

View File

@ -1,5 +1,12 @@
#
# $Id: Makefile,v 1.154 1997/10/07 11:32:05 bde Exp $
# $Id: Makefile,v 1.155 1997/10/10 13:02:36 asami Exp $
#
# While porting to the Alpha architecture include the bootstrap instead
# of the normal build.
#
.if ${MACHINE} == "alpha"
.include "Makefile.alpha"
.else
#
# Make command line options:
# -DCLOBBER will remove /usr/include
@ -484,7 +491,9 @@ includes:
.else
cd ${.CURDIR}/lib/libtelnet && ${MAKE} beforeinstall
.endif
cd ${.CURDIR}/lib/csu/i386 && ${MAKE} beforeinstall
.if exists(${.CURDIR}/lib/csu/${MACHINE})
cd ${.CURDIR}/lib/csu/${MACHINE} && ${MAKE} beforeinstall
.endif
cd ${.CURDIR}/lib/libalias && ${MAKE} beforeinstall
cd ${.CURDIR}/lib/libc && ${MAKE} beforeinstall
cd ${.CURDIR}/lib/libcurses && ${MAKE} beforeinstall
@ -544,8 +553,8 @@ lib-tools:
# libraries - build and install the libraries
#
libraries:
.if exists(lib/csu/i386)
cd ${.CURDIR}/lib/csu/i386 && ${MAKE} depend && \
.if exists(lib/csu/${MACHINE})
cd ${.CURDIR}/lib/csu/${MACHINE} && ${MAKE} depend && \
${MAKE} ${MK_FLAGS} all && \
${MAKE} ${MK_FLAGS} -B install ${CLEANDIR} ${OBJDIR}
.endif
@ -684,4 +693,6 @@ ${entry}.${__target}__D: .PHONY
par-${__target}: ${SUBDIR:S/$/.${__target}__D/}
.endfor
.endif
.include <bsd.subdir.mk>