1# |
2# $FreeBSD: head/Makefile.inc1 158962 2006-05-26 18:10:06Z netchild $ |
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# -DNO_KERNELCONFIG do not run config in ${MAKE} buildkernel 9# -DNO_KERNELCLEAN do not run ${MAKE} clean in ${MAKE} buildkernel 10# -DNO_KERNELDEPEND do not run ${MAKE} depend in ${MAKE} buildkernel 11# -DNO_PORTSUPDATE do not update ports in ${MAKE} update 12# -DNO_DOCUPDATE do not update doc in ${MAKE} update 13# LOCAL_DIRS="list of dirs" to add additional dirs to the SUBDIR list 14# TARGET_ARCH="arch" to crossbuild world to a different arch 15 16# 17# The intended user-driven targets are: 18# buildworld - rebuild *everything*, including glue to help do upgrades 19# installworld- install everything built by "buildworld" |
20# doxygen - build API documentation of the kernel |
21# update - convenient way to update your source tree (eg: cvsup/cvs) 22# 23# Standard targets (not defined here) are documented in the makefiles in 24# /usr/share/mk. These include: 25# obj depend all install clean cleandepend cleanobj 26 27.include <bsd.own.mk> 28 --- 678 unchanged lines hidden (view full) --- 707 @echo "--------------------------------------------------------------" 708 @echo ">>> Installing kernel" 709 @echo "--------------------------------------------------------------" 710 cd ${KRNLOBJDIR}/${INSTALLKERNEL}; \ 711 ${CROSSENV} PATH=${TMPPATH} \ 712 ${MAKE} KERNEL=${INSTKERNNAME} ${.TARGET:S/kernel//} 713 714# |
715# doxygen 716# 717# Build the API documentation with doxygen 718# 719doxygen: 720 @if [ ! -x `/usr/bin/which doxygen` ]; then \ 721 echo "You need doxygen (devel/doxygen) to generate the API documentation of the kernel." | /usr/bin/fmt; \ 722 exit 1; \ 723 fi 724 cd ${.CURDIR}/sys/doc/subsys && ${MAKE} obj all 725 726# |
727# update 728# 729# Update the source tree, by running cvsup and/or running cvs to update to the 730# latest copy. 731# 732update: 733.if defined(SUP_UPDATE) 734 @echo "--------------------------------------------------------------" --- 460 unchanged lines hidden --- |