Makefile.inc1 (218936) | Makefile.inc1 (218941) |
---|---|
1# | 1# |
2# $FreeBSD: head/Makefile.inc1 218936 2011-02-22 04:49:57Z imp $ | 2# $FreeBSD: head/Makefile.inc1 218941 2011-02-22 08:13:49Z uqs $ |
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 --- 197 unchanged lines hidden (view full) --- 208# 209 210BOOTSTRAPPING?= 0 211 212# Common environment for world related stages 213CROSSENV= MAKEOBJDIRPREFIX=${OBJTREE} \ 214 MACHINE_ARCH=${TARGET_ARCH} \ 215 MACHINE=${TARGET} \ | 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 --- 197 unchanged lines hidden (view full) --- 208# 209 210BOOTSTRAPPING?= 0 211 212# Common environment for world related stages 213CROSSENV= MAKEOBJDIRPREFIX=${OBJTREE} \ 214 MACHINE_ARCH=${TARGET_ARCH} \ 215 MACHINE=${TARGET} \ |
216 CPUTYPE=${TARGET_CPUTYPE} \ 217 GROFF_BIN_PATH=${WORLDTMP}/legacy/usr/bin \ 218 GROFF_FONT_PATH=${WORLDTMP}/legacy/usr/share/groff_font \ 219 GROFF_TMAC_PATH=${WORLDTMP}/legacy/usr/share/tmac | 216 CPUTYPE=${TARGET_CPUTYPE} |
220.if ${OSRELDATE} < 700044 221CROSSENV+= AR=gnu-ar RANLIB=gnu-ranlib 222.endif | 217.if ${OSRELDATE} < 700044 218CROSSENV+= AR=gnu-ar RANLIB=gnu-ranlib 219.endif |
220.if ${MK_GROFF} != "no" 221CROSSENV+= GROFF_BIN_PATH=${WORLDTMP}/legacy/usr/bin \ 222 GROFF_FONT_PATH=${WORLDTMP}/legacy/usr/share/groff_font \ 223 GROFF_TMAC_PATH=${WORLDTMP}/legacy/usr/share/tmac 224.endif |
|
223 224# bootstrap-tools stage 225BMAKEENV= INSTALL="sh ${.CURDIR}/tools/install.sh" \ 226 PATH=${BPATH}:${PATH} \ 227 WORLDTMP=${WORLDTMP} \ 228 VERSION="${VERSION}" \ 229 MAKEFLAGS="-m ${.CURDIR}/tools/build/mk ${.MAKEFLAGS}" 230BMAKE= MAKEOBJDIRPREFIX=${WORLDTMP} \ --- 128 unchanged lines hidden (view full) --- 359 rm -f ${OBJTREE}${.CURDIR}/usr.bin/truss/ioctl.c 360.endif 361.for _dir in \ 362 lib usr legacy/usr 363 mkdir -p ${WORLDTMP}/${_dir} 364.endfor 365 mtree -deU -f ${.CURDIR}/etc/mtree/BSD.usr.dist \ 366 -p ${WORLDTMP}/legacy/usr >/dev/null | 225 226# bootstrap-tools stage 227BMAKEENV= INSTALL="sh ${.CURDIR}/tools/install.sh" \ 228 PATH=${BPATH}:${PATH} \ 229 WORLDTMP=${WORLDTMP} \ 230 VERSION="${VERSION}" \ 231 MAKEFLAGS="-m ${.CURDIR}/tools/build/mk ${.MAKEFLAGS}" 232BMAKE= MAKEOBJDIRPREFIX=${WORLDTMP} \ --- 128 unchanged lines hidden (view full) --- 361 rm -f ${OBJTREE}${.CURDIR}/usr.bin/truss/ioctl.c 362.endif 363.for _dir in \ 364 lib usr legacy/usr 365 mkdir -p ${WORLDTMP}/${_dir} 366.endfor 367 mtree -deU -f ${.CURDIR}/etc/mtree/BSD.usr.dist \ 368 -p ${WORLDTMP}/legacy/usr >/dev/null |
369.if ${MK_GROFF} != "no" 370 mtree -deU -f ${.CURDIR}/etc/mtree/BSD.groff.dist \ 371 -p ${WORLDTMP}/legacy/usr >/dev/null 372.endif |
|
367 mtree -deU -f ${.CURDIR}/etc/mtree/BSD.usr.dist \ 368 -p ${WORLDTMP}/usr >/dev/null 369 mtree -deU -f ${.CURDIR}/etc/mtree/BSD.include.dist \ 370 -p ${WORLDTMP}/usr/include >/dev/null 371 ln -sf ${.CURDIR}/sys ${WORLDTMP} 372.if ${MK_BIND_LIBS} != "no" 373 mtree -deU -f ${.CURDIR}/etc/mtree/BIND.include.dist \ 374 -p ${WORLDTMP}/usr/include >/dev/null --- 557 unchanged lines hidden (view full) --- 932# bootstrap-tools: Build tools needed for compatibility 933# 934.if ${MK_GAMES} != "no" 935_strfile= games/fortune/strfile 936.endif 937 938.if ${MK_CXX} != "no" 939_gperf= gnu/usr.bin/gperf | 373 mtree -deU -f ${.CURDIR}/etc/mtree/BSD.usr.dist \ 374 -p ${WORLDTMP}/usr >/dev/null 375 mtree -deU -f ${.CURDIR}/etc/mtree/BSD.include.dist \ 376 -p ${WORLDTMP}/usr/include >/dev/null 377 ln -sf ${.CURDIR}/sys ${WORLDTMP} 378.if ${MK_BIND_LIBS} != "no" 379 mtree -deU -f ${.CURDIR}/etc/mtree/BIND.include.dist \ 380 -p ${WORLDTMP}/usr/include >/dev/null --- 557 unchanged lines hidden (view full) --- 938# bootstrap-tools: Build tools needed for compatibility 939# 940.if ${MK_GAMES} != "no" 941_strfile= games/fortune/strfile 942.endif 943 944.if ${MK_CXX} != "no" 945_gperf= gnu/usr.bin/gperf |
940.if ${BOOTSTRAPPING} < 700004 | 946.endif 947 948.if ${MK_GROFF} != "no" |
941_groff= gnu/usr.bin/groff | 949_groff= gnu/usr.bin/groff |
942.else 943_groff= gnu/usr.bin/groff/tmac | |
944.endif | 950.endif |
945.endif | |
946 947.if ${BOOTSTRAPPING} >= 700044 && ${BOOTSTRAPPING} < 800022 948_ar= usr.bin/ar 949.endif 950 951.if ${BOOTSTRAPPING} < 800013 952_mklocale= usr.bin/mklocale 953.endif --- 569 unchanged lines hidden --- | 951 952.if ${BOOTSTRAPPING} >= 700044 && ${BOOTSTRAPPING} < 800022 953_ar= usr.bin/ar 954.endif 955 956.if ${BOOTSTRAPPING} < 800013 957_mklocale= usr.bin/mklocale 958.endif --- 569 unchanged lines hidden --- |