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