[BACK]Return to Makefile CVS log [TXT][DIR] Up to [local] / src

Diff for /src/Makefile between version 1.80 and 1.85

version 1.80, 2001/09/25 09:43:22 version 1.85, 2002/06/09 05:52:06
Line 4 
Line 4 
 # For more information on building in tricky environments, please see  # For more information on building in tricky environments, please see
 # the list of possible environment variables described in  # the list of possible environment variables described in
 # /usr/share/mk/bsd.README.  # /usr/share/mk/bsd.README.
 #  #
 # Building recommendations:  # Building recommendations:
 #  #
 # 1) If at all possible, put this source tree in /usr/src.  If /usr/src  # 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.  # must be a symbolic link, setenv BSDSRCDIR to point to the real location.
 #  #
Line 25 
Line 25 
 # "make build" target supplied here. Good luck.  # "make build" target supplied here. Good luck.
 #  #
 # 5) If you want to setup a cross-build environment, there is a "cross-tools"  # 5) If you want to setup a cross-build environment, there is a "cross-tools"
 # target available which upon completion of "make TARGET=<target> cross-tools"  # target available which upon completion of "make TARGET=<target> cross-tools"
 # (where <target> is one of the names in the /sys/arch directory) will produce  # (where <target> 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/<target>  # a set of compilation tools along with the includes in the /usr/cross/<target>
 # directory.  # directory.
Line 47 
Line 47 
 .endif  .endif
   
 .if   make(clean) || make(cleandir) || make(obj)  .if   make(clean) || make(cleandir) || make(obj)
 SUBDIR+= distrib  SUBDIR+= distrib regress
 .endif  .endif
   
 .if exists(regress)  .if exists(regress)
 .ifmake !(install)  
 SUBDIR+= regress  
 .endif  
   
 regression-tests:  regression-tests:
         @echo Running regression tests...          @echo Running regression tests...
         @cd ${.CURDIR}/regress && exec ${MAKE} regress          @cd ${.CURDIR}/regress && ${MAKE} depend && exec ${MAKE} regress
 .endif  .endif
   
 includes:  includes:
Line 77 
Line 73 
         cp /dev/null ${GLOBAL_AUTOCONF_CACHE}          cp /dev/null ${GLOBAL_AUTOCONF_CACHE}
 .endif  .endif
         cd ${.CURDIR}/share/mk && exec ${SUDO} ${MAKE} install          cd ${.CURDIR}/share/mk && exec ${SUDO} ${MAKE} install
         cd ${.CURDIR}/gnu/share && exec ${SUDO} ${MAKE} install  
         cd ${.CURDIR}/include && ${MAKE} prereq && exec ${SUDO} ${MAKE} includes          cd ${.CURDIR}/include && ${MAKE} prereq && exec ${SUDO} ${MAKE} includes
         ${SUDO} ${MAKE} cleandir          ${SUDO} ${MAKE} cleandir
         cd ${.CURDIR}/lib && ${MAKE} depend && ${MAKE} && \          cd ${.CURDIR}/lib && ${MAKE} depend && ${MAKE} && \
Line 172 
Line 167 
 cross-binutils: cross-binutils-old cross-binutils-links  cross-binutils: cross-binutils-old cross-binutils-links
 .endif  .endif
   
 cross-binutils-new:     cross-dirs  cross-binutils-new:     cross-dirs
         export BSDSRCDIR=`pwd`; \          export BSDSRCDIR=`pwd`; \
             (cd ${.CURDIR}/gnu/usr.bin/binutils; \              (cd ${.CURDIR}/gnu/usr.bin/binutils; \
             BSDOBJDIR=${CROSSDIR}/usr/obj \              BSDOBJDIR=${CROSSDIR}/usr/obj \
Line 189 
Line 184 
         cross-ranlib cross-nm          cross-ranlib cross-nm
   
 cross-binutils-links: cross-dirs  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 \              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 \                  ln -sf ${CROSSDIR}/usr/bin/`cat ${CROSSDIR}/TARGET_CANON`-$$cmd \
                 ${CROSSDIR}/usr/bin/$$cmd ;\                  ${CROSSDIR}/usr/bin/$$cmd ;\

Legend:
Removed from v.1.80  
changed lines
  Added in v.1.85