1#
2# $FreeBSD: head/Makefile.inc1 156840 2006-03-18 14:30:23Z 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_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 \
182 -DWITHOUT_NLS -DNO_PIC -DNO_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 \
374 -DWITHOUT_MAN -DWITHOUT_NLS -DNO_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
464.if ${TARGET_ARCH} == "amd64" && !defined(NO_LIB32)
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
565.if ${TARGET_ARCH} == "amd64" && !defined(NO_LIB32)
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
574.if ${TARGET_ARCH} == "amd64" && !defined(NO_LIB32)
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 ---
2# $FreeBSD: head/Makefile.inc1 156840 2006-03-18 14:30:23Z 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_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 \
182 -DWITHOUT_NLS -DNO_PIC -DNO_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 \
374 -DWITHOUT_MAN -DWITHOUT_NLS -DNO_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
464.if ${TARGET_ARCH} == "amd64" && !defined(NO_LIB32)
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
565.if ${TARGET_ARCH} == "amd64" && !defined(NO_LIB32)
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
574.if ${TARGET_ARCH} == "amd64" && !defined(NO_LIB32)
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 ---