version 1.180, 2002/06/26 16:28:18 |
version 1.184, 2002/08/26 04:40:20 |
|
|
# do-lib-csu: builds and installs prerequisites from lib/csu. |
# do-lib-csu: builds and installs prerequisites from lib/csu. |
# do-lib: builds and installs prerequisites from lib. |
# do-lib: builds and installs prerequisites from lib. |
# do-gnu-lib: builds and installs prerequisites from gnu/lib. |
# do-gnu-lib: builds and installs prerequisites from gnu/lib. |
|
# do-ld.elf_so: builds and installs prerequisites from libexec/ld.elf_so |
# do-build: builds and installs the entire system. |
# do-build: builds and installs the entire system. |
|
|
.if ${.MAKEFLAGS:M${.CURDIR}/share/mk} == "" |
.if ${.MAKEFLAGS:M${.CURDIR}/share/mk} == "" |
|
|
.endif |
.endif |
|
|
_SUBDIR= tools lib include gnu bin games libexec sbin usr.bin |
_SUBDIR= tools lib include gnu bin games libexec sbin usr.bin |
_SUBDIR+= usr.sbin share sys etc distrib regress |
_SUBDIR+= usr.sbin share rescue sys etc distrib regress |
|
|
# Weed out directories that don't exist. |
# Weed out directories that don't exist. |
|
|
Line 138 BUILDTARGETS+= do-distrib-dirs |
|
Line 139 BUILDTARGETS+= do-distrib-dirs |
|
.if !defined(NOINCLUDES) |
.if !defined(NOINCLUDES) |
BUILDTARGETS+= includes |
BUILDTARGETS+= includes |
.endif |
.endif |
BUILDTARGETS+= do-lib-csu do-lib do-gnu-lib do-build |
BUILDTARGETS+= do-lib-csu do-lib do-gnu-lib do-ld.elf_so do-build |
|
|
# Enforce proper ordering of some rules. |
# Enforce proper ordering of some rules. |
|
|
|
|
distribution: |
distribution: |
(cd ${.CURDIR} && ${MAKE} NOPOSTINSTALL=1 build) |
(cd ${.CURDIR} && ${MAKE} NOPOSTINSTALL=1 build) |
(cd ${.CURDIR}/etc && ${MAKE} INSTALL_DONE=1 distribution) |
(cd ${.CURDIR}/etc && ${MAKE} INSTALL_DONE=1 distribution) |
|
.if defined(DESTDIR) && ${DESTDIR} != "" && ${DESTDIR} != "/" |
|
(cd ${.CURDIR}/distrib/sets && ${MAKE} checkflist) |
|
.endif |
|
|
# Build a release or snapshot (implies "make build"). |
# Build a release or snapshot (implies "make build"). Note that |
|
# in this case, the set lists will be checked before the tar files |
|
# are made. |
|
|
release snapshot: |
release snapshot: |
(cd ${.CURDIR} && ${MAKE} NOPOSTINSTALL=1 build) |
(cd ${.CURDIR} && ${MAKE} NOPOSTINSTALL=1 build) |
Line 198 do-${dir:S/\//-/}: |
|
Line 204 do-${dir:S/\//-/}: |
|
.endfor |
.endfor |
.endfor |
.endfor |
|
|
|
do-ld.elf_so: |
|
.for targ in dependall install |
|
(cd ${.CURDIR}/libexec/ld.elf_so && ${MAKE} ${targ}) |
|
.endfor |
|
|
do-build: |
do-build: |
.for targ in dependall install |
.for targ in dependall install |
(cd ${.CURDIR} && ${MAKE} ${targ} BUILD_tools=no BUILD_lib=no) |
(cd ${.CURDIR} && ${MAKE} ${targ} BUILD_tools=no BUILD_lib=no) |