1# |
2# $FreeBSD: head/Makefile.inc1 223148 2011-06-16 12:28:37Z ru $ |
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 11# -DNO_KERNELDEPEND do not run ${MAKE} depend in ${MAKE} buildkernel 12# -DNO_KERNELOBJ do not run ${MAKE} obj in ${MAKE} buildkernel 13# -DNO_PORTSUPDATE do not update ports in ${MAKE} update 14# -DNO_DOCUPDATE do not update doc in ${MAKE} update |
15# -DNO_WWWUPDATE do not update www in ${MAKE} update |
16# -DNO_CTF do not run the DTrace CTF conversion tools on built objects 17# LOCAL_DIRS="list of dirs" to add additional dirs to the SUBDIR list 18# TARGET="machine" to crossbuild world for a different machine type 19# TARGET_ARCH= may be required when a TARGET supports multiple endians 20 21# 22# The intended user-driven targets are: 23# buildworld - rebuild *everything*, including glue to help do upgrades --- 876 unchanged lines hidden (view full) --- 900 echo "You need doxygen (devel/doxygen) to generate the API documentation of the kernel." | /usr/bin/fmt; \ 901 exit 1; \ 902 fi 903 cd ${.CURDIR}/tools/kerneldoc/subsys && ${MAKE} obj all 904 905# 906# update 907# |
908# Update the source tree(s), by running cvsup/cvs/svn to update to the |
909# latest copy. 910# 911update: 912.if defined(SUP_UPDATE) 913 @echo "--------------------------------------------------------------" 914 @echo ">>> Running ${SUP}" 915 @echo "--------------------------------------------------------------" 916.if defined(SUPFILE) --- 6 unchanged lines hidden (view full) --- 923 @${SUP} ${SUPFLAGS} ${SUPFILE2} 924.endif 925.if defined(PORTSSUPFILE) && !defined(NO_PORTSUPDATE) 926 @${SUP} ${SUPFLAGS} ${PORTSSUPFILE} 927.endif 928.if defined(DOCSUPFILE) && !defined(NO_DOCUPDATE) 929 @${SUP} ${SUPFLAGS} ${DOCSUPFILE} 930.endif |
931.if defined(WWWSUPFILE) && !defined(NO_WWWUPDATE) 932 @${SUP} ${SUPFLAGS} ${WWWSUPFILE} |
933.endif |
934.endif |
935.if defined(CVS_UPDATE) 936 @cd ${.CURDIR} ; \ 937 if [ -d CVS ] ; then \ 938 echo "--------------------------------------------------------------" ; \ 939 echo ">>> Updating ${.CURDIR} from CVS repository" ${CVSROOT} ; \ 940 echo "--------------------------------------------------------------" ; \ 941 echo ${CVS} -R -q update ${CVSFLAGS} ; \ 942 ${CVS} -R -q update ${CVSFLAGS} ; \ --- 674 unchanged lines hidden --- |