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