=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/Makefile,v retrieving revision 1.83 retrieving revision 1.86 diff -u -r1.83 -r1.86 --- src/Makefile 2002/02/22 23:31:11 1.83 +++ src/Makefile 2002/08/11 22:48:05 1.86 @@ -1,12 +1,12 @@ -# $OpenBSD: Makefile,v 1.83 2002/02/22 23:31:11 art Exp $ +# $OpenBSD: Makefile,v 1.86 2002/08/11 22:48:05 art Exp $ # # For more information on building in tricky environments, please see # the list of possible environment variables described in # /usr/share/mk/bsd.README. -# +# # Building recommendations: -# +# # 1) If at all possible, put this source tree in /usr/src. If /usr/src # must be a symbolic link, setenv BSDSRCDIR to point to the real location. # @@ -25,7 +25,7 @@ # "make build" target supplied here. Good luck. # # 5) If you want to setup a cross-build environment, there is a "cross-tools" -# target available which upon completion of "make TARGET= cross-tools" +# target available which upon completion of "make TARGET= cross-tools" # (where is one of the names in the /sys/arch directory) will produce # a set of compilation tools along with the includes in the /usr/cross/ # directory. @@ -161,13 +161,13 @@ ${MAKE} DESTDIR=${CROSSDIR} includes .if ${TARGET} == "macppc" || ${TARGET} == "alpha" || ${TARGET} == "hppa" || \ - ${TARGET} == "sparc64"|| ${TARGET} == "mvmeppc" + ${TARGET} == "sparc64"|| ${TARGET} == "mvmeppc" || ${TARGET} == "sparc" cross-binutils: cross-binutils-new cross-binutils-links .else cross-binutils: cross-binutils-old cross-binutils-links .endif -cross-binutils-new: cross-dirs +cross-binutils-new: cross-dirs export BSDSRCDIR=`pwd`; \ (cd ${.CURDIR}/gnu/usr.bin/binutils; \ BSDOBJDIR=${CROSSDIR}/usr/obj \ @@ -184,7 +184,7 @@ cross-ranlib cross-nm cross-binutils-links: cross-dirs - for cmd in ar as ld nm ranlib size strip; do \ + for cmd in ar as ld nm ranlib objcopy objdump size strings strip; do \ if [ ! -e ${CROSSDIR}/usr/bin/$$cmd -a -e ${CROSSDIR}/usr/bin/`cat ${CROSSDIR}/TARGET_CANON`-$$cmd ]; then \ ln -sf ${CROSSDIR}/usr/bin/`cat ${CROSSDIR}/TARGET_CANON`-$$cmd \ ${CROSSDIR}/usr/bin/$$cmd ;\