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

Diff for /src/Makefile between version 1.36 and 1.41

version 1.36, 1998/05/18 17:37:04 version 1.41, 1998/09/30 13:27:28
Line 17 
Line 17 
 # well as populate the /usr/obj properly with directories for the  # well as populate the /usr/obj properly with directories for the
 # objects.  # objects.
 #  #
 # 3) If you are reasonably sure that things will compile OK, use the  # 3) It is strongly recommended that you build and install a new kernel
   # before rebuilding your system. Some of the new programs may use new
   # functionality or depend on API changes that your old kernel doesn't have.
   #
   # 4) If you are reasonably sure that things will compile OK, use the
 # "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"
   # 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
   # a set of compilation tools along with the includes in the /usr/cross/<target>
   # directory.
   #
   
 .include <bsd.own.mk>   # for NOMAN, if it's there.  .include <bsd.own.mk>   # for NOMAN, if it's there.
   
Line 65 
Line 76 
 .ifdef GLOBAL_AUTOCONF_CACHE  .ifdef GLOBAL_AUTOCONF_CACHE
         rm -f ${GLOBAL_AUTOCONF_CACHE}          rm -f ${GLOBAL_AUTOCONF_CACHE}
 .endif  .endif
         (cd ${.CURDIR}/share/mk && ${MAKE} install)          (cd ${.CURDIR}/share/mk && ${SUDO} ${MAKE} install)
         (cd ${.CURDIR}/include; ${MAKE} includes)          (cd ${.CURDIR}/include; ${SUDO} ${MAKE} includes)
         ${MAKE} cleandir          ${MAKE} cleandir
         (cd ${.CURDIR}/lib && ${MAKE} depend && ${MAKE} && ${MAKE} install)          (cd ${.CURDIR}/lib && ${MAKE} depend && ${MAKE} && \
         (cd ${.CURDIR}/gnu/lib && ${MAKE} depend && ${MAKE} && ${MAKE} install)              ${SUDO} ${MAKE} install)
           (cd ${.CURDIR}/gnu/lib && ${MAKE} depend && ${MAKE} && \
               ${SUDO} ${MAKE} install)
 .if (${MACHINE_ARCH} == "mips")  .if (${MACHINE_ARCH} == "mips")
         ldconfig          ldconfig
 .endif  .endif
Line 79 
Line 92 
 .if (${MACHINE_ARCH} == "mips")  .if (${MACHINE_ARCH} == "mips")
         ldconfig          ldconfig
 .endif  .endif
         ${MAKE} depend && ${MAKE} && ${MAKE} install          ${MAKE} depend && ${MAKE} && ${SUDO} ${MAKE} install
   
 .if !defined(TARGET)  .if !defined(TARGET)
 cross-tools:  cross-tools:
Line 131 
Line 144 
             /bin/sh ${BSDSRCDIR}/gnu/usr.bin/binutils/configure \              /bin/sh ${BSDSRCDIR}/gnu/usr.bin/binutils/configure \
             --prefix ${CROSSDIR}/usr \              --prefix ${CROSSDIR}/usr \
             --target `cat ${CROSSDIR}/TARGET_CANON` && \              --target `cat ${CROSSDIR}/TARGET_CANON` && \
             ${MAKE} && ${MAKE} install)              ${MAKE} CFLAGS=${CFLAGS} && ${MAKE} DESTDIR=${CROSSDIR} install)
         ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 755 \          ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 755 \
             ${.CURDIR}/usr.bin/lorder/lorder.sh.gnm \              ${.CURDIR}/usr.bin/lorder/lorder.sh.gnm \
             ${CROSSDIR}/usr/bin/`cat ${CROSSDIR}/TARGET_CANON`-lorder              ${CROSSDIR}/usr/bin/`cat ${CROSSDIR}/TARGET_CANON`-lorder
Line 149 
Line 162 
             ${CROSSDIR}/usr/bin/ranlib              ${CROSSDIR}/usr/bin/ranlib
         ln -sf ${CROSSDIR}/usr/bin/`cat ${CROSSDIR}/TARGET_CANON`-nm \          ln -sf ${CROSSDIR}/usr/bin/`cat ${CROSSDIR}/TARGET_CANON`-nm \
             ${CROSSDIR}/usr/bin/nm              ${CROSSDIR}/usr/bin/nm
           ln -sf ${CROSSDIR}/usr/bin/`cat ${CROSSDIR}/TARGET_CANON`-strings \
               ${CROSSDIR}/usr/bin/strings
         ln -sf ${CROSSDIR}/usr/bin/`cat ${CROSSDIR}/TARGET_CANON`-lorder \          ln -sf ${CROSSDIR}/usr/bin/`cat ${CROSSDIR}/TARGET_CANON`-lorder \
             ${CROSSDIR}/usr/bin/lorder              ${CROSSDIR}/usr/bin/lorder
           ln -sf ${CROSSDIR}/usr/bin/`cat ${CROSSDIR}/TARGET_CANON`-objcopy \
               ${CROSSDIR}/usr/bin/objcopy
           ln -sf ${CROSSDIR}/usr/bin/`cat ${CROSSDIR}/TARGET_CANON`-objdump \
               ${CROSSDIR}/usr/bin/objdump
           ln -sf ${CROSSDIR}/usr/bin/`cat ${CROSSDIR}/TARGET_CANON`-gdb \
               ${CROSSDIR}/usr/bin/gdb
   
 cross-binutils-old: cross-gas cross-ar cross-ld cross-strip cross-size \  cross-binutils-old: cross-gas cross-ar cross-ld cross-strip cross-size \
         cross-ranlib cross-nm          cross-ranlib cross-nm
Line 295 
Line 316 
                 (cd $$lib; \                  (cd $$lib; \
                     ${CROSSENV} MAKEOBJDIR=obj.${MACHINE}.${TARGET} \                      ${CROSSENV} MAKEOBJDIR=obj.${MACHINE}.${TARGET} \
                     ${MAKE} NOMAN=; \                      ${MAKE} NOMAN=; \
                     DESTDIR=${CROSSDIR} MAKEOBJDIR=obj.${MACHINE}.${TARGET} \                      ${CROSSENV} MAKEOBJDIR=obj.${MACHINE}.${TARGET} \
                     ${MAKE} NOMAN= install); \                      DESTDIR=${CROSSDIR} ${MAKE} NOMAN= install); \
             done; \              done; \
             ${CROSSENV} MAKEOBJDIR=obj.${MACHINE}.${TARGET} ${MAKE} NOMAN=; \              ${CROSSENV} MAKEOBJDIR=obj.${MACHINE}.${TARGET} ${MAKE} NOMAN=; \
             MAKEOBJDIR=obj.${MACHINE}.${TARGET} DESTDIR=${CROSSDIR} \              ${CROSSENV} MAKEOBJDIR=obj.${MACHINE}.${TARGET} \
             SKIPDIR=libocurses/PSD.doc ${MAKE} NOMAN= install)              DESTDIR=${CROSSDIR} SKIPDIR=libocurses/PSD.doc \
               ${MAKE} NOMAN= install)
         ln -sf ${CROSSDIR}/usr/lib \          ln -sf ${CROSSDIR}/usr/lib \
             ${CROSSDIR}/usr/`cat ${CROSSDIR}/TARGET_CANON`/lib              ${CROSSDIR}/usr/`cat ${CROSSDIR}/TARGET_CANON`/lib
   

Legend:
Removed from v.1.36  
changed lines
  Added in v.1.41