diff options
author | jb <jb@FreeBSD.org> | 1998-01-11 04:51:02 +0000 |
---|---|---|
committer | jb <jb@FreeBSD.org> | 1998-01-11 04:51:02 +0000 |
commit | f5bd562f4c81b5b879ff6b459844f3b79d8d4f03 (patch) | |
tree | 36a03798b8dcdcfb8388e84833c8167487fe3d66 /Makefile | |
parent | 4ddffa382cbf1705c6e4b80e565e9c82eab61c15 (diff) | |
download | FreeBSD-src-f5bd562f4c81b5b879ff6b459844f3b79d8d4f03.zip FreeBSD-src-f5bd562f4c81b5b879ff6b459844f3b79d8d4f03.tar.gz |
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.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 19 |
1 files changed, 15 insertions, 4 deletions
@@ -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> |