Makefile.inc1 (259312) | Makefile.inc1 (260013) |
---|---|
1# | 1# |
2# $FreeBSD: stable/10/Makefile.inc1 259312 2013-12-13 17:00:25Z ian $ | 2# $FreeBSD: stable/10/Makefile.inc1 260013 2013-12-28 20:05:31Z jmmv $ |
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} --- 69 unchanged lines hidden (view full) --- 80SUBDIR+=sbin 81.if ${MK_CRYPT} != "no" 82SUBDIR+=secure 83.endif 84.if !defined(NO_SHARE) 85SUBDIR+=share 86.endif 87SUBDIR+=sys usr.bin usr.sbin | 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} --- 69 unchanged lines hidden (view full) --- 80SUBDIR+=sbin 81.if ${MK_CRYPT} != "no" 82SUBDIR+=secure 83.endif 84.if !defined(NO_SHARE) 85SUBDIR+=share 86.endif 87SUBDIR+=sys usr.bin usr.sbin |
88.if ${MK_TESTS} != "no" 89SUBDIR+= tests 90.endif |
|
88.if ${MK_OFED} != "no" 89SUBDIR+=contrib/ofed 90.endif 91# 92# We must do etc/ last for install/distribute to work. 93# 94SUBDIR+=etc 95 --- 388 unchanged lines hidden (view full) --- 484 ln -sf ${.CURDIR}/sys ${WORLDTMP} 485.if ${MK_DEBUG_FILES} != "no" 486 # We could instead disable debug files for these build stages 487 mtree -deU -f ${.CURDIR}/etc/mtree/BSD.debug.dist \ 488 -p ${WORLDTMP}/legacy/usr/lib >/dev/null 489 mtree -deU -f ${.CURDIR}/etc/mtree/BSD.debug.dist \ 490 -p ${WORLDTMP}/usr/lib >/dev/null 491.endif | 91.if ${MK_OFED} != "no" 92SUBDIR+=contrib/ofed 93.endif 94# 95# We must do etc/ last for install/distribute to work. 96# 97SUBDIR+=etc 98 --- 388 unchanged lines hidden (view full) --- 487 ln -sf ${.CURDIR}/sys ${WORLDTMP} 488.if ${MK_DEBUG_FILES} != "no" 489 # We could instead disable debug files for these build stages 490 mtree -deU -f ${.CURDIR}/etc/mtree/BSD.debug.dist \ 491 -p ${WORLDTMP}/legacy/usr/lib >/dev/null 492 mtree -deU -f ${.CURDIR}/etc/mtree/BSD.debug.dist \ 493 -p ${WORLDTMP}/usr/lib >/dev/null 494.endif |
495.if ${MK_TESTS} != "no" 496 mtree -deU -f ${.CURDIR}/etc/mtree/BSD.tests.dist \ 497 -p ${WORLDTMP}${TESTSBASE} >/dev/null 498.endif |
|
492.for _mtree in ${LOCAL_MTREE} 493 mtree -deU -f ${.CURDIR}/${_mtree} -p ${WORLDTMP} > /dev/null 494.endfor 495_legacy: 496 @echo 497 @echo "--------------------------------------------------------------" 498 @echo ">>> stage 1.1: legacy release compatibility shims" 499 @echo "--------------------------------------------------------------" --- 982 unchanged lines hidden (view full) --- 1482 lib/libopie lib/libpam ${_lib_libthr} \ 1483 lib/libradius lib/libsbuf lib/libtacplus \ 1484 ${_cddl_lib_libumem} ${_cddl_lib_libnvpair} \ 1485 ${_cddl_lib_libzfs_core} \ 1486 lib/libutil ${_lib_libypclnt} lib/libz lib/msun \ 1487 ${_secure_lib_libcrypto} ${_lib_libldns} \ 1488 ${_secure_lib_libssh} ${_secure_lib_libssl} 1489 | 499.for _mtree in ${LOCAL_MTREE} 500 mtree -deU -f ${.CURDIR}/${_mtree} -p ${WORLDTMP} > /dev/null 501.endfor 502_legacy: 503 @echo 504 @echo "--------------------------------------------------------------" 505 @echo ">>> stage 1.1: legacy release compatibility shims" 506 @echo "--------------------------------------------------------------" --- 982 unchanged lines hidden (view full) --- 1489 lib/libopie lib/libpam ${_lib_libthr} \ 1490 lib/libradius lib/libsbuf lib/libtacplus \ 1491 ${_cddl_lib_libumem} ${_cddl_lib_libnvpair} \ 1492 ${_cddl_lib_libzfs_core} \ 1493 lib/libutil ${_lib_libypclnt} lib/libz lib/msun \ 1494 ${_secure_lib_libcrypto} ${_lib_libldns} \ 1495 ${_secure_lib_libssh} ${_secure_lib_libssl} 1496 |
1490.if ${MK_ATF} != "no" | 1497.if ${MK_TESTS} != "no" |
1491_lib_atf_libatf_c= lib/atf/libatf-c 1492.endif 1493 1494.if ${MK_LIBTHR} != "no" 1495_lib_libthr= lib/libthr 1496.endif 1497 1498.if ${MK_OFED} != "no" --- 93 unchanged lines hidden (view full) --- 1592lib/libradius__L: lib/libmd__L 1593.endif 1594 1595.for _lib in ${_prereq_libs} 1596${_lib}__PL: .PHONY .MAKE 1597.if exists(${.CURDIR}/${_lib}) 1598 ${_+_}@${ECHODIR} "===> ${_lib} (obj,depend,all,install)"; \ 1599 cd ${.CURDIR}/${_lib} && \ | 1498_lib_atf_libatf_c= lib/atf/libatf-c 1499.endif 1500 1501.if ${MK_LIBTHR} != "no" 1502_lib_libthr= lib/libthr 1503.endif 1504 1505.if ${MK_OFED} != "no" --- 93 unchanged lines hidden (view full) --- 1599lib/libradius__L: lib/libmd__L 1600.endif 1601 1602.for _lib in ${_prereq_libs} 1603${_lib}__PL: .PHONY .MAKE 1604.if exists(${.CURDIR}/${_lib}) 1605 ${_+_}@${ECHODIR} "===> ${_lib} (obj,depend,all,install)"; \ 1606 cd ${.CURDIR}/${_lib} && \ |
1600 ${MAKE} DIRPRFX=${_lib}/ obj && \ 1601 ${MAKE} DIRPRFX=${_lib}/ depend && \ 1602 ${MAKE} -DNO_PROFILE -DNO_PIC DIRPRFX=${_lib}/ all && \ 1603 ${MAKE} -DNO_PROFILE -DNO_PIC DIRPRFX=${_lib}/ install | 1607 ${MAKE} -DNO_TESTS DIRPRFX=${_lib}/ obj && \ 1608 ${MAKE} -DNO_TESTS DIRPRFX=${_lib}/ depend && \ 1609 ${MAKE} -DNO_TESTS -DNO_PROFILE -DNO_PIC \ 1610 DIRPRFX=${_lib}/ all && \ 1611 ${MAKE} -DNO_TESTS -DNO_PROFILE -DNO_PIC \ 1612 DIRPRFX=${_lib}/ install |
1604.endif 1605.endfor 1606 1607.for _lib in ${_startup_libs} ${_prebuild_libs:Nlib/libpam} ${_generic_libs} 1608${_lib}__L: .PHONY .MAKE 1609.if exists(${.CURDIR}/${_lib}) 1610 ${_+_}@${ECHODIR} "===> ${_lib} (obj,depend,all,install)"; \ 1611 cd ${.CURDIR}/${_lib} && \ | 1613.endif 1614.endfor 1615 1616.for _lib in ${_startup_libs} ${_prebuild_libs:Nlib/libpam} ${_generic_libs} 1617${_lib}__L: .PHONY .MAKE 1618.if exists(${.CURDIR}/${_lib}) 1619 ${_+_}@${ECHODIR} "===> ${_lib} (obj,depend,all,install)"; \ 1620 cd ${.CURDIR}/${_lib} && \ |
1612 ${MAKE} DIRPRFX=${_lib}/ obj && \ 1613 ${MAKE} DIRPRFX=${_lib}/ depend && \ 1614 ${MAKE} DIRPRFX=${_lib}/ all && \ 1615 ${MAKE} DIRPRFX=${_lib}/ install | 1621 ${MAKE} -DNO_TESTS DIRPRFX=${_lib}/ obj && \ 1622 ${MAKE} -DNO_TESTS DIRPRFX=${_lib}/ depend && \ 1623 ${MAKE} -DNO_TESTS DIRPRFX=${_lib}/ all && \ 1624 ${MAKE} -DNO_TESTS DIRPRFX=${_lib}/ install |
1616.endif 1617.endfor 1618 1619# libpam is special: we need to build static PAM modules before 1620# static PAM library, and dynamic PAM library before dynamic PAM 1621# modules. 1622lib/libpam__L: .PHONY .MAKE 1623 ${_+_}@${ECHODIR} "===> lib/libpam (obj,depend,all,install)"; \ 1624 cd ${.CURDIR}/lib/libpam && \ | 1625.endif 1626.endfor 1627 1628# libpam is special: we need to build static PAM modules before 1629# static PAM library, and dynamic PAM library before dynamic PAM 1630# modules. 1631lib/libpam__L: .PHONY .MAKE 1632 ${_+_}@${ECHODIR} "===> lib/libpam (obj,depend,all,install)"; \ 1633 cd ${.CURDIR}/lib/libpam && \ |
1625 ${MAKE} DIRPRFX=lib/libpam/ obj && \ 1626 ${MAKE} DIRPRFX=lib/libpam/ depend && \ 1627 ${MAKE} DIRPRFX=lib/libpam/ -D_NO_LIBPAM_SO_YET all && \ 1628 ${MAKE} DIRPRFX=lib/libpam/ -D_NO_LIBPAM_SO_YET install | 1634 ${MAKE} -DNO_TESTS DIRPRFX=lib/libpam/ obj && \ 1635 ${MAKE} -DNO_TESTS DIRPRFX=lib/libpam/ depend && \ 1636 ${MAKE} -DNO_TESTS DIRPRFX=lib/libpam/ \ 1637 -D_NO_LIBPAM_SO_YET all && \ 1638 ${MAKE} -DNO_TESTS DIRPRFX=lib/libpam/ \ 1639 -D_NO_LIBPAM_SO_YET install |
1629 1630_prereq_libs: ${_prereq_libs:S/$/__PL/} 1631_startup_libs: ${_startup_libs:S/$/__L/} 1632_prebuild_libs: ${_prebuild_libs:S/$/__L/} 1633_generic_libs: ${_generic_libs:S/$/__L/} 1634 1635.for __target in all clean cleandepend cleandir depend includes obj 1636.for entry in ${SUBDIR} --- 330 unchanged lines hidden --- | 1640 1641_prereq_libs: ${_prereq_libs:S/$/__PL/} 1642_startup_libs: ${_startup_libs:S/$/__L/} 1643_prebuild_libs: ${_prebuild_libs:S/$/__L/} 1644_generic_libs: ${_generic_libs:S/$/__L/} 1645 1646.for __target in all clean cleandepend cleandir depend includes obj 1647.for entry in ${SUBDIR} --- 330 unchanged lines hidden --- |