=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/Makefile,v retrieving revision 1.82 retrieving revision 1.85 diff -u -r1.82 -r1.85 --- src/Makefile 2002/01/03 02:19:20 1.82 +++ src/Makefile 2002/06/09 05:52:06 1.85 @@ -1,12 +1,12 @@ -# $OpenBSD: Makefile,v 1.82 2002/01/03 02:19:20 art Exp $ +# $OpenBSD: Makefile,v 1.85 2002/06/09 05:52:06 todd 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. @@ -53,7 +53,7 @@ .if exists(regress) regression-tests: @echo Running regression tests... - @cd ${.CURDIR}/regress && exec ${MAKE} regress + @cd ${.CURDIR}/regress && ${MAKE} depend && exec ${MAKE} regress .endif includes: @@ -167,7 +167,7 @@ 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 ;\