Makefile.inc1 (3611ec604864a7d4dcc9a3ea898c80eb35eef8a0) | Makefile.inc1 (4acc8a67bad0a91dd9dbe07f2904a5dfdf313817) |
---|---|
1# 2# $FreeBSD$ 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# -DDB_FROM_SRC use the user/group databases in src/etc instead of 8# the system database when installing. --- 954 unchanged lines hidden (view full) --- 963.endfor 964.endif # ${USING_SYSTEM_COMPILER} == "yes" 965.if ${USING_SYSTEM_LINKER} == "yes" 966 @rm -f ${WORLDTMP}/usr/bin/ld ${WORLDTMP}/usr/bin/ld.lld 967.endif # ${USING_SYSTEM_LINKER} == "yes" 968.endif # !defined(NO_CLEAN) 969 @mkdir -p ${WORLDTMP} 970 @touch ${WORLDTMP}/${.TARGET} | 1# 2# $FreeBSD$ 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# -DDB_FROM_SRC use the user/group databases in src/etc instead of 8# the system database when installing. --- 954 unchanged lines hidden (view full) --- 963.endfor 964.endif # ${USING_SYSTEM_COMPILER} == "yes" 965.if ${USING_SYSTEM_LINKER} == "yes" 966 @rm -f ${WORLDTMP}/usr/bin/ld ${WORLDTMP}/usr/bin/ld.lld 967.endif # ${USING_SYSTEM_LINKER} == "yes" 968.endif # !defined(NO_CLEAN) 969 @mkdir -p ${WORLDTMP} 970 @touch ${WORLDTMP}/${.TARGET} |
971 972.for _dir in \ 973 lib lib/casper lib/geom usr legacy/bin legacy/usr 974 mkdir -p ${WORLDTMP}/${_dir} 975.endfor 976 ${WORLDTMP_MTREE} -f ${.CURDIR}/etc/mtree/BSD.usr.dist \ 977 -p ${WORLDTMP}/legacy/usr >/dev/null 978 ${WORLDTMP_MTREE} -f ${.CURDIR}/etc/mtree/BSD.include.dist \ 979 -p ${WORLDTMP}/legacy/usr/include >/dev/null 980 ${WORLDTMP_MTREE} -f ${.CURDIR}/etc/mtree/BSD.usr.dist \ 981 -p ${WORLDTMP}/usr >/dev/null 982 ${WORLDTMP_MTREE} -f ${.CURDIR}/etc/mtree/BSD.include.dist \ 983 -p ${WORLDTMP}/usr/include >/dev/null 984 ln -sf ${.CURDIR}/sys ${WORLDTMP} 985.if ${MK_DEBUG_FILES} != "no" 986 ${WORLDTMP_MTREE} -f ${.CURDIR}/etc/mtree/BSD.debug.dist \ 987 -p ${WORLDTMP}/legacy/usr/lib >/dev/null 988 ${WORLDTMP_MTREE} -f ${.CURDIR}/etc/mtree/BSD.debug.dist \ 989 -p ${WORLDTMP}/usr/lib >/dev/null 990.endif 991.for _mtree in ${LOCAL_MTREE} 992 ${WORLDTMP_MTREE} -f ${.CURDIR}/${_mtree} -p ${WORLDTMP} > /dev/null 993.endfor | 971# We can't use mtree to create the worldtmp directories since it may not be 972# available on the target system (this happens e.g. when building on non-FreeBSD) 973 cd ${.CURDIR}/tools/build; \ 974 ${MAKE} DIRPRFX=tools/build/ DESTDIR=${WORLDTMP}/legacy installdirs |
994_legacy: 995 @echo 996 @echo "--------------------------------------------------------------" 997 @echo ">>> stage 1.1: legacy release compatibility shims" 998 @echo "--------------------------------------------------------------" 999 ${_+_}cd ${.CURDIR}; ${BMAKE} legacy 1000_bootstrap-tools: 1001 @echo 1002 @echo "--------------------------------------------------------------" 1003 @echo ">>> stage 1.2: bootstrap tools" 1004 @echo "--------------------------------------------------------------" 1005 ${_+_}cd ${.CURDIR}; ${BMAKE} bootstrap-tools | 975_legacy: 976 @echo 977 @echo "--------------------------------------------------------------" 978 @echo ">>> stage 1.1: legacy release compatibility shims" 979 @echo "--------------------------------------------------------------" 980 ${_+_}cd ${.CURDIR}; ${BMAKE} legacy 981_bootstrap-tools: 982 @echo 983 @echo "--------------------------------------------------------------" 984 @echo ">>> stage 1.2: bootstrap tools" 985 @echo "--------------------------------------------------------------" 986 ${_+_}cd ${.CURDIR}; ${BMAKE} bootstrap-tools |
987 mkdir -p ${WORLDTMP}/usr ${WORLDTMP}/lib/casper ${WORLDTMP}/lib/geom 988 ${WORLDTMP_MTREE} -f ${.CURDIR}/etc/mtree/BSD.usr.dist \ 989 -p ${WORLDTMP}/usr >/dev/null 990 ${WORLDTMP_MTREE} -f ${.CURDIR}/etc/mtree/BSD.include.dist \ 991 -p ${WORLDTMP}/usr/include >/dev/null 992 ln -sf ${.CURDIR}/sys ${WORLDTMP} 993.if ${MK_DEBUG_FILES} != "no" 994 ${WORLDTMP_MTREE} -f ${.CURDIR}/etc/mtree/BSD.debug.dist \ 995 -p ${WORLDTMP}/usr/lib >/dev/null 996.endif 997.for _mtree in ${LOCAL_MTREE} 998 ${WORLDTMP_MTREE} -f ${.CURDIR}/${_mtree} -p ${WORLDTMP} > /dev/null 999.endfor |
|
1006_cleanobj: 1007.if !defined(NO_CLEAN) 1008 @echo 1009 @echo "--------------------------------------------------------------" 1010 @echo ">>> stage 2.1: cleaning up the object tree" 1011 @echo "--------------------------------------------------------------" 1012 ${_+_}cd ${.CURDIR}; ${WMAKE} ${CLEANDIR} 1013.if defined(LIBCOMPAT) --- 2128 unchanged lines hidden --- | 1000_cleanobj: 1001.if !defined(NO_CLEAN) 1002 @echo 1003 @echo "--------------------------------------------------------------" 1004 @echo ">>> stage 2.1: cleaning up the object tree" 1005 @echo "--------------------------------------------------------------" 1006 ${_+_}cd ${.CURDIR}; ${WMAKE} ${CLEANDIR} 1007.if defined(LIBCOMPAT) --- 2128 unchanged lines hidden --- |