1#
2# $FreeBSD: head/Makefile.inc1 219136 2011-03-01 14:53:36Z jhb $
3#
4# Make command line options:
5# -DNO_CLEANDIR run ${MAKE} clean, instead of ${MAKE} cleandir
6# -DNO_CLEAN do not clean at all
7# -DNO_SHARE do not go into share subdir
8# -DKERNFAST define NO_KERNEL{CONFIG,CLEAN,DEPEND,OBJ}
9# -DNO_KERNELCONFIG do not run config in ${MAKE} buildkernel
10# -DNO_KERNELCLEAN do not run ${MAKE} clean in ${MAKE} buildkernel
--- 615 unchanged lines hidden (view full) ---
626# distributeworld
627#
628# Distributes everything compiled by a `buildworld'.
629#
630# installworld
631#
632# Installs everything compiled by a 'buildworld'.
633#
634distributeworld installworld: installcheck
635 mkdir -p ${INSTALLTMP}
636 progs=$$(for prog in ${ITOOLS}; do \
637 if progpath=`which $$prog`; then \
638 echo $$progpath; \
639 else \
640 echo "Required tool $$prog not found in PATH." >&2; \
641 exit 1; \
--- 6 unchanged lines hidden (view full) ---
648 echo $$2; \
649 else \
650 echo "Required library $$1 not found." >&2; \
651 exit 1; \
652 fi; \
653 done); \
654 cp $$libs $$progs ${INSTALLTMP}
655 cp -R $${PATH_LOCALE:-"/usr/share/locale"} ${INSTALLTMP}/locale
656 ${_+_}cd ${.CURDIR}; ${IMAKE} re${.TARGET:S/world$//}; \
657 ${IMAKEENV} rm -rf ${INSTALLTMP}
658
659#
660# reinstall
661#
662# If you have a build server, you can NFS mount the source and obj directories
663# and do a 'make reinstall' on the *client* to install new binaries from the
664# most recent server build.
665#
666reinstall:
--- 168 unchanged lines hidden (view full) ---
835.endif
836 @echo "--------------------------------------------------------------"
837 @echo ">>> Installing kernel"
838 @echo "--------------------------------------------------------------"
839 cd ${KRNLOBJDIR}/${INSTALLKERNEL}; \
840 ${CROSSENV} PATH=${TMPPATH} \
841 ${MAKE} KERNEL=${INSTKERNNAME} ${.TARGET:S/kernel//}
842
843#
844# doxygen
845#
846# Build the API documentation with doxygen
847#
848doxygen:
849 @if [ ! -x `/usr/bin/which doxygen` ]; then \
850 echo "You need doxygen (devel/doxygen) to generate the API documentation of the kernel." | /usr/bin/fmt; \
--- 676 unchanged lines hidden ---
2# $FreeBSD: head/Makefile.inc1 219136 2011-03-01 14:53:36Z jhb $
3#
4# Make command line options:
5# -DNO_CLEANDIR run ${MAKE} clean, instead of ${MAKE} cleandir
6# -DNO_CLEAN do not clean at all
7# -DNO_SHARE do not go into share subdir
8# -DKERNFAST define NO_KERNEL{CONFIG,CLEAN,DEPEND,OBJ}
9# -DNO_KERNELCONFIG do not run config in ${MAKE} buildkernel
10# -DNO_KERNELCLEAN do not run ${MAKE} clean in ${MAKE} buildkernel
--- 615 unchanged lines hidden (view full) ---
626# distributeworld
627#
628# Distributes everything compiled by a `buildworld'.
629#
630# installworld
631#
632# Installs everything compiled by a 'buildworld'.
633#
634distributeworld installworld: installcheck
635 mkdir -p ${INSTALLTMP}
636 progs=$$(for prog in ${ITOOLS}; do \
637 if progpath=`which $$prog`; then \
638 echo $$progpath; \
639 else \
640 echo "Required tool $$prog not found in PATH." >&2; \
641 exit 1; \
--- 6 unchanged lines hidden (view full) ---
648 echo $$2; \
649 else \
650 echo "Required library $$1 not found." >&2; \
651 exit 1; \
652 fi; \
653 done); \
654 cp $$libs $$progs ${INSTALLTMP}
655 cp -R $${PATH_LOCALE:-"/usr/share/locale"} ${INSTALLTMP}/locale
656 ${_+_}cd ${.CURDIR}; ${IMAKE} re${.TARGET:S/world$//}; \
657 ${IMAKEENV} rm -rf ${INSTALLTMP}
658
659#
660# reinstall
661#
662# If you have a build server, you can NFS mount the source and obj directories
663# and do a 'make reinstall' on the *client* to install new binaries from the
664# most recent server build.
665#
666reinstall:
--- 168 unchanged lines hidden (view full) ---
835.endif
836 @echo "--------------------------------------------------------------"
837 @echo ">>> Installing kernel"
838 @echo "--------------------------------------------------------------"
839 cd ${KRNLOBJDIR}/${INSTALLKERNEL}; \
840 ${CROSSENV} PATH=${TMPPATH} \
841 ${MAKE} KERNEL=${INSTKERNNAME} ${.TARGET:S/kernel//}
842
843#
844# doxygen
845#
846# Build the API documentation with doxygen
847#
848doxygen:
849 @if [ ! -x `/usr/bin/which doxygen` ]; then \
850 echo "You need doxygen (devel/doxygen) to generate the API documentation of the kernel." | /usr/bin/fmt; \
--- 676 unchanged lines hidden ---