1# |
2# $FreeBSD: head/Makefile.inc1 156854 2006-03-18 21:37:05Z 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# -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 --- 158 unchanged lines hidden (view full) --- 173 PATH=${BPATH}:${PATH} \ 174 WORLDTMP=${WORLDTMP} \ 175 MAKEFLAGS="-m ${.CURDIR}/tools/build/mk ${.MAKEFLAGS}" 176BMAKE= MAKEOBJDIRPREFIX=${WORLDTMP} \ 177 ${BMAKEENV} ${MAKE} -f Makefile.inc1 \ 178 DESTDIR= \ 179 BOOTSTRAPPING=${OSRELDATE} \ 180 -DWITHOUT_HTML -DWITHOUT_INFO -DNO_LINT -DWITHOUT_MAN \ |
181 -DWITHOUT_NLS -DNO_PIC -DWITHOUT_PROFILE -DNO_SHARED \ |
182 -DNO_CPU_CFLAGS -DNO_WARNS 183 184# build-tools stage 185TMAKE= MAKEOBJDIRPREFIX=${OBJTREE} \ 186 ${BMAKEENV} ${MAKE} -f Makefile.inc1 \ 187 DESTDIR= \ 188 BOOTSTRAPPING=${OSRELDATE} -DNO_LINT -DNO_CPU_CFLAGS -DNO_WARNS 189 --- 175 unchanged lines hidden (view full) --- 365 ${_+_}cd ${.CURDIR}; ${WMAKE} SHARED=symlinks par-includes 366_libraries: 367 @echo 368 @echo "--------------------------------------------------------------" 369 @echo ">>> stage 4.2: building libraries" 370 @echo "--------------------------------------------------------------" 371 ${_+_}cd ${.CURDIR}; \ 372 ${WMAKE} -DNO_FSCHG -DWITHOUT_HTML -DWITHOUT_INFO -DNO_LINT \ |
373 -DWITHOUT_MAN -DWITHOUT_NLS -DWITHOUT_PROFILE libraries |
374_depend: 375 @echo 376 @echo "--------------------------------------------------------------" 377 @echo ">>> stage 4.3: make dependencies" 378 @echo "--------------------------------------------------------------" 379 ${_+_}cd ${.CURDIR}; ${WMAKE} par-depend 380everything: 381 @echo --- 73 unchanged lines hidden (view full) --- 455.if !defined(SUBDIR_OVERRIDE) 456WMAKE_TGTS+= _worldtmp _legacy _bootstrap-tools 457.endif 458WMAKE_TGTS+= _cleanobj _obj _build-tools 459.if !defined(SUBDIR_OVERRIDE) 460WMAKE_TGTS+= _cross-tools 461.endif 462WMAKE_TGTS+= _includes _libraries _depend everything |
463.if ${TARGET_ARCH} == "amd64" && ${MK_LIB32} != "no" |
464WMAKE_TGTS+= build32 465.endif 466 467buildworld: ${WMAKE_TGTS} 468.ORDER: ${WMAKE_TGTS} 469 470buildenv: 471 @echo Entering world for ${TARGET_ARCH}:${TARGET} --- 84 unchanged lines hidden (view full) --- 556 @echo ">>> Making hierarchy" 557 @echo "--------------------------------------------------------------" 558 ${_+_}cd ${.CURDIR}; ${MAKE} -f Makefile.inc1 hierarchy 559 @echo 560 @echo "--------------------------------------------------------------" 561 @echo ">>> Installing everything" 562 @echo "--------------------------------------------------------------" 563 ${_+_}cd ${.CURDIR}; ${MAKE} -f Makefile.inc1 install |
564.if ${TARGET_ARCH} == "amd64" && ${MK_LIB32} != "no" |
565 ${_+_}cd ${.CURDIR}; ${MAKE} -f Makefile.inc1 install32 566.endif 567 568redistribute: 569 @echo "--------------------------------------------------------------" 570 @echo ">>> Distributing everything" 571 @echo "--------------------------------------------------------------" 572 ${_+_}cd ${.CURDIR}; ${MAKE} -f Makefile.inc1 distribute |
573.if ${TARGET_ARCH} == "amd64" && ${MK_LIB32} != "no" |
574 ${_+_}cd ${.CURDIR}; ${MAKE} -f Makefile.inc1 distribute32 DISTRIBUTION=lib32 575.endif 576 577distrib-dirs distribution: 578 cd ${.CURDIR}/etc; ${CROSSENV} PATH=${TMPPATH} ${MAKE} ${.TARGET} 579 580# 581# buildkernel and installkernel --- 600 unchanged lines hidden --- |