version 1.142, 2001/10/24 02:45:34 |
version 1.143, 2001/10/24 03:21:20 |
|
|
# do-make-tools: builds host toolchain. |
# do-make-tools: builds host toolchain. |
# do-distrib-dirs: creates the distribution directories. |
# do-distrib-dirs: creates the distribution directories. |
# includes: installs include files. |
# includes: installs include files. |
|
# do-lib-csu: builds and installs prerequisites from lib/csu. |
|
# do-lib: builds and installs prerequisites from lib. |
|
# do-gnu-lib: builds and installs prerequisites from gnu/lib. |
# do-build: builds and installs the entire system. |
# do-build: builds and installs the entire system. |
|
|
.include "${.CURDIR}/share/mk/bsd.own.mk" |
.include "${.CURDIR}/share/mk/bsd.own.mk" |
Line 113 BUILDTARGETS+= do-distrib-dirs |
|
Line 116 BUILDTARGETS+= do-distrib-dirs |
|
.if !defined(NOINCLUDES) |
.if !defined(NOINCLUDES) |
BUILDTARGETS+= includes |
BUILDTARGETS+= includes |
.endif |
.endif |
BUILDTARGETS+= do-build |
BUILDTARGETS+= do-lib-csu do-lib do-gnu-lib do-build |
|
|
# Enforce proper ordering of some rules. |
# Enforce proper ordering of some rules. |
|
|
|
|
do-distrib-dirs: |
do-distrib-dirs: |
cd ${.CURDIR}/etc && ${MAKE} ${_M} DESTDIR=${DESTDIR} distrib-dirs |
cd ${.CURDIR}/etc && ${MAKE} ${_M} DESTDIR=${DESTDIR} distrib-dirs |
|
|
do-build: |
|
.for dir in lib/csu lib gnu/lib |
.for dir in lib/csu lib gnu/lib |
|
do-${dir:S/\//-/}: |
.for targ in dependall install |
.for targ in dependall install |
cd ${.CURDIR}/${dir} && \ |
cd ${.CURDIR}/${dir} && \ |
${MAKE} ${_M} ${_J} MKSHARE=no MKLINT=no ${targ} |
${MAKE} ${_M} ${_J} MKSHARE=no MKLINT=no ${targ} |
.endfor |
.endfor |
.endfor |
.endfor |
|
|
|
do-build: |
${MAKE} ${_M} ${_J} dependall |
${MAKE} ${_M} ${_J} dependall |
${MAKE} ${_M} ${_J} install |
${MAKE} ${_M} ${_J} install |
|
|