Deleted Added
full compact
Makefile.inc1 (291812) Makefile.inc1 (291976)
1#
1#
2# $FreeBSD: stable/10/Makefile.inc1 291812 2015-12-04 18:48:08Z bdrewery $
2# $FreeBSD: stable/10/Makefile.inc1 291976 2015-12-08 00:27:35Z bdrewery $
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.
9# -DNO_SHARE do not go into share subdir
10# -DKERNFAST define NO_KERNEL{CONFIG,CLEAN,DEPEND,OBJ}

--- 1151 unchanged lines hidden (view full) ---

1162#
1163# Build the API documentation with doxygen
1164#
1165doxygen: .PHONY
1166 @if [ ! -x `/usr/bin/which doxygen` ]; then \
1167 echo "You need doxygen (devel/doxygen) to generate the API documentation of the kernel." | /usr/bin/fmt; \
1168 exit 1; \
1169 fi
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.
9# -DNO_SHARE do not go into share subdir
10# -DKERNFAST define NO_KERNEL{CONFIG,CLEAN,DEPEND,OBJ}

--- 1151 unchanged lines hidden (view full) ---

1162#
1163# Build the API documentation with doxygen
1164#
1165doxygen: .PHONY
1166 @if [ ! -x `/usr/bin/which doxygen` ]; then \
1167 echo "You need doxygen (devel/doxygen) to generate the API documentation of the kernel." | /usr/bin/fmt; \
1168 exit 1; \
1169 fi
1170 ${_+_}cd ${.CURDIR}/tools/kerneldoc/subsys && ${MAKE} obj all
1170 ${_+_}cd ${.CURDIR}/tools/kerneldoc/subsys; ${MAKE} obj all
1171
1172#
1173# update
1174#
1175# Update the source tree(s), by running svn/svnup to update to the
1176# latest copy.
1177#
1178update:
1179.if (defined(CVS_UPDATE) || defined(SUP_UPDATE)) && !defined(SVN_UPDATE)
1180 @echo "--------------------------------------------------------------"
1181 @echo "CVS_UPDATE and SUP_UPDATE are no longer supported."
1182 @echo "Please see: https://wiki.freebsd.org/CvsIsDeprecated"
1183 @echo "--------------------------------------------------------------"
1184 @exit 1
1185.endif
1186.if defined(SVN_UPDATE)
1187 @echo "--------------------------------------------------------------"
1188 @echo ">>> Updating ${.CURDIR} using Subversion"
1189 @echo "--------------------------------------------------------------"
1171
1172#
1173# update
1174#
1175# Update the source tree(s), by running svn/svnup to update to the
1176# latest copy.
1177#
1178update:
1179.if (defined(CVS_UPDATE) || defined(SUP_UPDATE)) && !defined(SVN_UPDATE)
1180 @echo "--------------------------------------------------------------"
1181 @echo "CVS_UPDATE and SUP_UPDATE are no longer supported."
1182 @echo "Please see: https://wiki.freebsd.org/CvsIsDeprecated"
1183 @echo "--------------------------------------------------------------"
1184 @exit 1
1185.endif
1186.if defined(SVN_UPDATE)
1187 @echo "--------------------------------------------------------------"
1188 @echo ">>> Updating ${.CURDIR} using Subversion"
1189 @echo "--------------------------------------------------------------"
1190 @(cd ${.CURDIR} && ${SVN} update ${SVNFLAGS})
1190 @(cd ${.CURDIR}; ${SVN} update ${SVNFLAGS})
1191.endif
1192
1193#
1194# ------------------------------------------------------------------------
1195#
1196# From here onwards are utility targets used by the 'make world' and
1197# related targets. If your 'world' breaks, you may like to try to fix
1198# the problem and manually run the following targets to attempt to

--- 7 unchanged lines hidden (view full) ---

1206#
1207legacy:
1208.if ${BOOTSTRAPPING} < 700055 && ${BOOTSTRAPPING} != 0
1209 @echo "ERROR: Source upgrades from versions prior to 7.0 not supported."; \
1210 false
1211.endif
1212.for _tool in tools/build
1213 ${_+_}@${ECHODIR} "===> ${_tool} (obj,includes,depend,all,install)"; \
1191.endif
1192
1193#
1194# ------------------------------------------------------------------------
1195#
1196# From here onwards are utility targets used by the 'make world' and
1197# related targets. If your 'world' breaks, you may like to try to fix
1198# the problem and manually run the following targets to attempt to

--- 7 unchanged lines hidden (view full) ---

1206#
1207legacy:
1208.if ${BOOTSTRAPPING} < 700055 && ${BOOTSTRAPPING} != 0
1209 @echo "ERROR: Source upgrades from versions prior to 7.0 not supported."; \
1210 false
1211.endif
1212.for _tool in tools/build
1213 ${_+_}@${ECHODIR} "===> ${_tool} (obj,includes,depend,all,install)"; \
1214 cd ${.CURDIR}/${_tool} && \
1215 ${MAKE} DIRPRFX=${_tool}/ obj && \
1216 ${MAKE} DIRPRFX=${_tool}/ DESTDIR=${MAKEOBJDIRPREFIX}/legacy includes && \
1217 ${MAKE} DIRPRFX=${_tool}/ depend && \
1218 ${MAKE} DIRPRFX=${_tool}/ all && \
1214 cd ${.CURDIR}/${_tool}; \
1215 ${MAKE} DIRPRFX=${_tool}/ obj; \
1216 ${MAKE} DIRPRFX=${_tool}/ DESTDIR=${MAKEOBJDIRPREFIX}/legacy includes; \
1217 ${MAKE} DIRPRFX=${_tool}/ depend; \
1218 ${MAKE} DIRPRFX=${_tool}/ all; \
1219 ${MAKE} DIRPRFX=${_tool}/ DESTDIR=${MAKEOBJDIRPREFIX}/legacy install
1220.endfor
1221
1222#
1223# bootstrap-tools: Build tools needed for compatibility
1224#
1225_bt= _bootstrap-tools
1226

--- 147 unchanged lines hidden (view full) ---

1374 ${_gensnmptree} \
1375 usr.sbin/config \
1376 ${_crunch} \
1377 ${_nmtree} \
1378 ${_texinfo} \
1379 ${_vtfontcvt}
1380${_bt}-${_tool}: .PHONY .MAKE
1381 ${_+_}@${ECHODIR} "===> ${_tool} (obj,depend,all,install)"; \
1219 ${MAKE} DIRPRFX=${_tool}/ DESTDIR=${MAKEOBJDIRPREFIX}/legacy install
1220.endfor
1221
1222#
1223# bootstrap-tools: Build tools needed for compatibility
1224#
1225_bt= _bootstrap-tools
1226

--- 147 unchanged lines hidden (view full) ---

1374 ${_gensnmptree} \
1375 usr.sbin/config \
1376 ${_crunch} \
1377 ${_nmtree} \
1378 ${_texinfo} \
1379 ${_vtfontcvt}
1380${_bt}-${_tool}: .PHONY .MAKE
1381 ${_+_}@${ECHODIR} "===> ${_tool} (obj,depend,all,install)"; \
1382 cd ${.CURDIR}/${_tool} && \
1383 ${MAKE} DIRPRFX=${_tool}/ obj && \
1384 ${MAKE} DIRPRFX=${_tool}/ depend && \
1385 ${MAKE} DIRPRFX=${_tool}/ all && \
1382 cd ${.CURDIR}/${_tool}; \
1383 ${MAKE} DIRPRFX=${_tool}/ obj; \
1384 ${MAKE} DIRPRFX=${_tool}/ depend; \
1385 ${MAKE} DIRPRFX=${_tool}/ all; \
1386 ${MAKE} DIRPRFX=${_tool}/ DESTDIR=${MAKEOBJDIRPREFIX}/legacy install
1387
1388bootstrap-tools: ${_bt}-${_tool}
1389.endfor
1390
1391#
1392# build-tools: Build special purpose build tools
1393#

--- 19 unchanged lines hidden (view full) ---

1413 lib/ncurses/ncursesw \
1414 ${_share} \
1415 usr.bin/awk \
1416 lib/libmagic \
1417 usr.bin/mkesdb_static \
1418 usr.bin/mkcsmapper_static \
1419 usr.bin/vi/catalog
1420 ${_+_}@${ECHODIR} "===> ${_tool} (obj,build-tools)"; \
1386 ${MAKE} DIRPRFX=${_tool}/ DESTDIR=${MAKEOBJDIRPREFIX}/legacy install
1387
1388bootstrap-tools: ${_bt}-${_tool}
1389.endfor
1390
1391#
1392# build-tools: Build special purpose build tools
1393#

--- 19 unchanged lines hidden (view full) ---

1413 lib/ncurses/ncursesw \
1414 ${_share} \
1415 usr.bin/awk \
1416 lib/libmagic \
1417 usr.bin/mkesdb_static \
1418 usr.bin/mkcsmapper_static \
1419 usr.bin/vi/catalog
1420 ${_+_}@${ECHODIR} "===> ${_tool} (obj,build-tools)"; \
1421 cd ${.CURDIR}/${_tool} && \
1422 ${MAKE} DIRPRFX=${_tool}/ obj && \
1421 cd ${.CURDIR}/${_tool}; \
1422 ${MAKE} DIRPRFX=${_tool}/ obj; \
1423 ${MAKE} DIRPRFX=${_tool}/ build-tools
1424.endfor
1425.for _tool in \
1426 ${_gcc_tools}
1427 ${_+_}@${ECHODIR} "===> ${_tool} (obj,depend,all)"; \
1423 ${MAKE} DIRPRFX=${_tool}/ build-tools
1424.endfor
1425.for _tool in \
1426 ${_gcc_tools}
1427 ${_+_}@${ECHODIR} "===> ${_tool} (obj,depend,all)"; \
1428 cd ${.CURDIR}/${_tool} && \
1429 ${MAKE} DIRPRFX=${_tool}/ obj && \
1430 ${MAKE} DIRPRFX=${_tool}/ depend && \
1428 cd ${.CURDIR}/${_tool}; \
1429 ${MAKE} DIRPRFX=${_tool}/ obj; \
1430 ${MAKE} DIRPRFX=${_tool}/ depend; \
1431 ${MAKE} DIRPRFX=${_tool}/ all
1432.endfor
1433
1434
1435#
1436# kernel-tools: Build kernel-building tools
1437#
1438kernel-tools:

--- 47 unchanged lines hidden (view full) ---

1486 ${_clang} \
1487 ${_binutils} \
1488 ${_cc} \
1489 usr.bin/xlint/lint1 usr.bin/xlint/lint2 usr.bin/xlint/xlint \
1490 ${_btxld} \
1491 ${_crunchide} \
1492 ${_kgzip}
1493 ${_+_}@${ECHODIR} "===> ${_tool} (obj,depend,all,install)"; \
1431 ${MAKE} DIRPRFX=${_tool}/ all
1432.endfor
1433
1434
1435#
1436# kernel-tools: Build kernel-building tools
1437#
1438kernel-tools:

--- 47 unchanged lines hidden (view full) ---

1486 ${_clang} \
1487 ${_binutils} \
1488 ${_cc} \
1489 usr.bin/xlint/lint1 usr.bin/xlint/lint2 usr.bin/xlint/xlint \
1490 ${_btxld} \
1491 ${_crunchide} \
1492 ${_kgzip}
1493 ${_+_}@${ECHODIR} "===> ${_tool} (obj,depend,all,install)"; \
1494 cd ${.CURDIR}/${_tool} && \
1495 ${MAKE} DIRPRFX=${_tool}/ obj && \
1496 ${MAKE} DIRPRFX=${_tool}/ depend && \
1497 ${MAKE} DIRPRFX=${_tool}/ all && \
1494 cd ${.CURDIR}/${_tool}; \
1495 ${MAKE} DIRPRFX=${_tool}/ obj; \
1496 ${MAKE} DIRPRFX=${_tool}/ depend; \
1497 ${MAKE} DIRPRFX=${_tool}/ all; \
1498 ${MAKE} DIRPRFX=${_tool}/ DESTDIR=${MAKEOBJDIRPREFIX} install
1499.endfor
1500
1501NXBENV= MAKEOBJDIRPREFIX=${OBJTREE}/nxb \
1502 INSTALL="sh ${.CURDIR}/tools/install.sh" \
1503 VERSION="${VERSION}"
1504NXBMAKE= ${NXBENV} ${MAKE} \
1505 TBLGEN=${OBJTREE}/nxb-bin/usr/bin/tblgen \

--- 68 unchanged lines hidden (view full) ---

1574 usr.bin/uniq \
1575 usr.bin/unzip \
1576 usr.bin/xargs \
1577 usr.bin/xinstall \
1578 usr.bin/xz \
1579 usr.bin/yacc \
1580 usr.sbin/chown
1581 ${_+_}@${ECHODIR} "===> ${_tool} (obj,depend,all,install)"; \
1498 ${MAKE} DIRPRFX=${_tool}/ DESTDIR=${MAKEOBJDIRPREFIX} install
1499.endfor
1500
1501NXBENV= MAKEOBJDIRPREFIX=${OBJTREE}/nxb \
1502 INSTALL="sh ${.CURDIR}/tools/install.sh" \
1503 VERSION="${VERSION}"
1504NXBMAKE= ${NXBENV} ${MAKE} \
1505 TBLGEN=${OBJTREE}/nxb-bin/usr/bin/tblgen \

--- 68 unchanged lines hidden (view full) ---

1574 usr.bin/uniq \
1575 usr.bin/unzip \
1576 usr.bin/xargs \
1577 usr.bin/xinstall \
1578 usr.bin/xz \
1579 usr.bin/yacc \
1580 usr.sbin/chown
1581 ${_+_}@${ECHODIR} "===> ${_tool} (obj,depend,all,install)"; \
1582 cd ${.CURDIR}/${_tool} && \
1583 ${NXBMAKE} DIRPRFX=${_tool}/ obj && \
1584 ${NXBMAKE} DIRPRFX=${_tool}/ depend && \
1585 ${NXBMAKE} DIRPRFX=${_tool}/ all && \
1582 cd ${.CURDIR}/${_tool}; \
1583 ${NXBMAKE} DIRPRFX=${_tool}/ obj; \
1584 ${NXBMAKE} DIRPRFX=${_tool}/ depend; \
1585 ${NXBMAKE} DIRPRFX=${_tool}/ all; \
1586 ${NXBMAKE} DIRPRFX=${_tool}/ DESTDIR=${OBJTREE}/nxb-bin install
1587.endfor
1588
1589#
1590# hierarchy - ensure that all the needed directories are present
1591#
1592hierarchy hier: .MAKE .PHONY
1586 ${NXBMAKE} DIRPRFX=${_tool}/ DESTDIR=${OBJTREE}/nxb-bin install
1587.endfor
1588
1589#
1590# hierarchy - ensure that all the needed directories are present
1591#
1592hierarchy hier: .MAKE .PHONY
1593 ${_+_}cd ${.CURDIR}/etc && ${HMAKE} distrib-dirs
1593 ${_+_}cd ${.CURDIR}/etc; ${HMAKE} distrib-dirs
1594
1595#
1596# libraries - build all libraries, and install them under ${DESTDIR}.
1597#
1598# The list of libraries with dependents (${_prebuild_libs}) and their
1599# interdependencies (__L) are built automatically by the
1600# ${.CURDIR}/tools/make_libdeps.sh script.
1601#
1602libraries: .MAKE .PHONY
1594
1595#
1596# libraries - build all libraries, and install them under ${DESTDIR}.
1597#
1598# The list of libraries with dependents (${_prebuild_libs}) and their
1599# interdependencies (__L) are built automatically by the
1600# ${.CURDIR}/tools/make_libdeps.sh script.
1601#
1602libraries: .MAKE .PHONY
1603 ${_+_}cd ${.CURDIR} && \
1604 ${MAKE} -f Makefile.inc1 _prereq_libs && \
1605 ${MAKE} -f Makefile.inc1 _startup_libs && \
1606 ${MAKE} -f Makefile.inc1 _prebuild_libs && \
1603 ${_+_}cd ${.CURDIR}; \
1604 ${MAKE} -f Makefile.inc1 _prereq_libs; \
1605 ${MAKE} -f Makefile.inc1 _startup_libs; \
1606 ${MAKE} -f Makefile.inc1 _prebuild_libs; \
1607 ${MAKE} -f Makefile.inc1 _generic_libs
1608
1609#
1610# static libgcc.a prerequisite for shared libc
1611#
1612_prereq_libs= gnu/lib/libssp/libssp_nonshared gnu/lib/libgcc lib/libcompiler_rt
1613
1614# These dependencies are not automatically generated:

--- 185 unchanged lines hidden (view full) ---

1800.endif
1801
1802gnu/lib/libdialog__L: lib/msun__L lib/ncurses/ncursesw__L
1803
1804.for _lib in ${_prereq_libs}
1805${_lib}__PL: .PHONY .MAKE
1806.if exists(${.CURDIR}/${_lib})
1807 ${_+_}@${ECHODIR} "===> ${_lib} (obj,depend,all,install)"; \
1607 ${MAKE} -f Makefile.inc1 _generic_libs
1608
1609#
1610# static libgcc.a prerequisite for shared libc
1611#
1612_prereq_libs= gnu/lib/libssp/libssp_nonshared gnu/lib/libgcc lib/libcompiler_rt
1613
1614# These dependencies are not automatically generated:

--- 185 unchanged lines hidden (view full) ---

1800.endif
1801
1802gnu/lib/libdialog__L: lib/msun__L lib/ncurses/ncursesw__L
1803
1804.for _lib in ${_prereq_libs}
1805${_lib}__PL: .PHONY .MAKE
1806.if exists(${.CURDIR}/${_lib})
1807 ${_+_}@${ECHODIR} "===> ${_lib} (obj,depend,all,install)"; \
1808 cd ${.CURDIR}/${_lib} && \
1809 ${MAKE} -DNO_TESTS DIRPRFX=${_lib}/ obj && \
1810 ${MAKE} -DNO_TESTS DIRPRFX=${_lib}/ depend && \
1808 cd ${.CURDIR}/${_lib}; \
1809 ${MAKE} -DNO_TESTS DIRPRFX=${_lib}/ obj; \
1810 ${MAKE} -DNO_TESTS DIRPRFX=${_lib}/ depend; \
1811 ${MAKE} -DNO_TESTS -DNO_PROFILE -DNO_PIC \
1811 ${MAKE} -DNO_TESTS -DNO_PROFILE -DNO_PIC \
1812 DIRPRFX=${_lib}/ all && \
1812 DIRPRFX=${_lib}/ all; \
1813 ${MAKE} -DNO_TESTS -DNO_PROFILE -DNO_PIC \
1814 DIRPRFX=${_lib}/ install
1815.endif
1816.endfor
1817
1818.for _lib in ${_startup_libs} ${_prebuild_libs:Nlib/libpam} ${_generic_libs}
1819${_lib}__L: .PHONY .MAKE
1820.if exists(${.CURDIR}/${_lib})
1821 ${_+_}@${ECHODIR} "===> ${_lib} (obj,depend,all,install)"; \
1813 ${MAKE} -DNO_TESTS -DNO_PROFILE -DNO_PIC \
1814 DIRPRFX=${_lib}/ install
1815.endif
1816.endfor
1817
1818.for _lib in ${_startup_libs} ${_prebuild_libs:Nlib/libpam} ${_generic_libs}
1819${_lib}__L: .PHONY .MAKE
1820.if exists(${.CURDIR}/${_lib})
1821 ${_+_}@${ECHODIR} "===> ${_lib} (obj,depend,all,install)"; \
1822 cd ${.CURDIR}/${_lib} && \
1823 ${MAKE} -DNO_TESTS DIRPRFX=${_lib}/ obj && \
1824 ${MAKE} -DNO_TESTS DIRPRFX=${_lib}/ depend && \
1825 ${MAKE} -DNO_TESTS DIRPRFX=${_lib}/ all && \
1822 cd ${.CURDIR}/${_lib}; \
1823 ${MAKE} -DNO_TESTS DIRPRFX=${_lib}/ obj; \
1824 ${MAKE} -DNO_TESTS DIRPRFX=${_lib}/ depend; \
1825 ${MAKE} -DNO_TESTS DIRPRFX=${_lib}/ all; \
1826 ${MAKE} -DNO_TESTS DIRPRFX=${_lib}/ install
1827.endif
1828.endfor
1829
1830# libpam is special: we need to build static PAM modules before
1831# static PAM library, and dynamic PAM library before dynamic PAM
1832# modules.
1833lib/libpam__L: .PHONY .MAKE
1834 ${_+_}@${ECHODIR} "===> lib/libpam (obj,depend,all,install)"; \
1826 ${MAKE} -DNO_TESTS DIRPRFX=${_lib}/ install
1827.endif
1828.endfor
1829
1830# libpam is special: we need to build static PAM modules before
1831# static PAM library, and dynamic PAM library before dynamic PAM
1832# modules.
1833lib/libpam__L: .PHONY .MAKE
1834 ${_+_}@${ECHODIR} "===> lib/libpam (obj,depend,all,install)"; \
1835 cd ${.CURDIR}/lib/libpam && \
1836 ${MAKE} -DNO_TESTS DIRPRFX=lib/libpam/ obj && \
1837 ${MAKE} -DNO_TESTS DIRPRFX=lib/libpam/ depend && \
1835 cd ${.CURDIR}/lib/libpam; \
1836 ${MAKE} -DNO_TESTS DIRPRFX=lib/libpam/ obj; \
1837 ${MAKE} -DNO_TESTS DIRPRFX=lib/libpam/ depend; \
1838 ${MAKE} -DNO_TESTS DIRPRFX=lib/libpam/ \
1838 ${MAKE} -DNO_TESTS DIRPRFX=lib/libpam/ \
1839 -D_NO_LIBPAM_SO_YET all && \
1839 -D_NO_LIBPAM_SO_YET all; \
1840 ${MAKE} -DNO_TESTS DIRPRFX=lib/libpam/ \
1841 -D_NO_LIBPAM_SO_YET install
1842
1843_prereq_libs: ${_prereq_libs:S/$/__PL/}
1844_startup_libs: ${_startup_libs:S/$/__L/}
1845_prebuild_libs: ${_prebuild_libs:S/$/__L/}
1846_generic_libs: ${_generic_libs:S/$/__L/}
1847

--- 255 unchanged lines hidden (view full) ---

2103 mkdir -p ${CDTMP}/usr
2104 mtree -deU -f ${.CURDIR}/etc/mtree/BSD.usr.dist \
2105 -p ${CDTMP}/usr >/dev/null
2106
2107_xb-bootstrap-tools: .PHONY
2108.for _tool in \
2109 ${_clang_tblgen}
2110 ${_+_}@${ECHODIR} "===> ${_tool} (obj,depend,all,install)"; \
1840 ${MAKE} -DNO_TESTS DIRPRFX=lib/libpam/ \
1841 -D_NO_LIBPAM_SO_YET install
1842
1843_prereq_libs: ${_prereq_libs:S/$/__PL/}
1844_startup_libs: ${_startup_libs:S/$/__L/}
1845_prebuild_libs: ${_prebuild_libs:S/$/__L/}
1846_generic_libs: ${_generic_libs:S/$/__L/}
1847

--- 255 unchanged lines hidden (view full) ---

2103 mkdir -p ${CDTMP}/usr
2104 mtree -deU -f ${.CURDIR}/etc/mtree/BSD.usr.dist \
2105 -p ${CDTMP}/usr >/dev/null
2106
2107_xb-bootstrap-tools: .PHONY
2108.for _tool in \
2109 ${_clang_tblgen}
2110 ${_+_}@${ECHODIR} "===> ${_tool} (obj,depend,all,install)"; \
2111 cd ${.CURDIR}/${_tool} && \
2112 ${CDMAKE} DIRPRFX=${_tool}/ obj && \
2113 ${CDMAKE} DIRPRFX=${_tool}/ depend && \
2114 ${CDMAKE} DIRPRFX=${_tool}/ all && \
2111 cd ${.CURDIR}/${_tool}; \
2112 ${CDMAKE} DIRPRFX=${_tool}/ obj; \
2113 ${CDMAKE} DIRPRFX=${_tool}/ depend; \
2114 ${CDMAKE} DIRPRFX=${_tool}/ all; \
2115 ${CDMAKE} DIRPRFX=${_tool}/ DESTDIR=${CDTMP} install
2116.endfor
2117
2118_xb-build-tools: .PHONY
2119 ${_+_}@cd ${.CURDIR}; \
2120 ${CDBENV} ${MAKE} -f Makefile.inc1 ${NOFUN} build-tools
2121
2122_xb-cross-tools: .PHONY
2123.for _tool in \
2124 ${_binutils} \
2125 usr.bin/ar \
2126 ${_clang_libs} \
2127 ${_clang} \
2128 ${_cc}
2129 ${_+_}@${ECHODIR} "===> xdev ${_tool} (obj,depend,all)"; \
2115 ${CDMAKE} DIRPRFX=${_tool}/ DESTDIR=${CDTMP} install
2116.endfor
2117
2118_xb-build-tools: .PHONY
2119 ${_+_}@cd ${.CURDIR}; \
2120 ${CDBENV} ${MAKE} -f Makefile.inc1 ${NOFUN} build-tools
2121
2122_xb-cross-tools: .PHONY
2123.for _tool in \
2124 ${_binutils} \
2125 usr.bin/ar \
2126 ${_clang_libs} \
2127 ${_clang} \
2128 ${_cc}
2129 ${_+_}@${ECHODIR} "===> xdev ${_tool} (obj,depend,all)"; \
2130 cd ${.CURDIR}/${_tool} && \
2131 ${CDMAKE} DIRPRFX=${_tool}/ obj && \
2132 ${CDMAKE} DIRPRFX=${_tool}/ depend && \
2130 cd ${.CURDIR}/${_tool}; \
2131 ${CDMAKE} DIRPRFX=${_tool}/ obj; \
2132 ${CDMAKE} DIRPRFX=${_tool}/ depend; \
2133 ${CDMAKE} DIRPRFX=${_tool}/ all
2134.endfor
2135
2136_xi-mtree: .PHONY
2137 ${_+_}@${ECHODIR} "mtree populating ${XDDESTDIR}"
2138 mkdir -p ${XDDESTDIR}
2139 mtree -deU -f ${.CURDIR}/etc/mtree/BSD.root.dist \
2140 -p ${XDDESTDIR} >/dev/null

--- 47 unchanged lines hidden ---
2133 ${CDMAKE} DIRPRFX=${_tool}/ all
2134.endfor
2135
2136_xi-mtree: .PHONY
2137 ${_+_}@${ECHODIR} "mtree populating ${XDDESTDIR}"
2138 mkdir -p ${XDDESTDIR}
2139 mtree -deU -f ${.CURDIR}/etc/mtree/BSD.root.dist \
2140 -p ${XDDESTDIR} >/dev/null

--- 47 unchanged lines hidden ---