| version 1.155, 2001/11/13 17:47:16 |
version 1.156, 2001/11/15 19:32:19 |
|
|
| |
|
| # Targets (in order!) called by "make build". |
# Targets (in order!) called by "make build". |
| |
|
| |
BUILDTARGETS+= check-tools |
| .if !defined(UPDATE) && !defined(NOCLEANDIR) |
.if !defined(UPDATE) && !defined(NOCLEANDIR) |
| BUILDTARGETS+= cleandir |
BUILDTARGETS+= cleandir |
| .endif |
.endif |
|
|
| .else |
.else |
| @echo -n "Build started at: " && date |
@echo -n "Build started at: " && date |
| .for tgt in ${BUILDTARGETS} |
.for tgt in ${BUILDTARGETS} |
| (cd ${.CURDIR} && ${MAKE} ${_J} ${tgt}) |
@(cd ${.CURDIR} && ${MAKE} ${_J} ${tgt}) |
| .endfor |
.endfor |
| @echo -n "Build finished at: " && date |
@echo -n "Build finished at: " && date |
| .endif |
.endif |
| Line 145 release snapshot: build |
|
| Line 146 release snapshot: build |
|
| |
|
| # Special components of the "make build" process. |
# Special components of the "make build" process. |
| |
|
| |
check-tools: |
| |
.if defined(USE_NEW_TOOLCHAIN) && (${USE_NEW_TOOLCHAIN} != "nowarn") |
| |
@echo '*** WARNING: Building on MACHINE=${MACHINE} with USE_NEW_TOOLCHAIN.' |
| |
@echo '*** This platform is not yet verified to work with the new toolchain,' |
| |
@echo '*** and may result in a failed build or corrupt binaries!' |
| |
.endif |
| |
|
| do-distrib-dirs: |
do-distrib-dirs: |
| .if !defined(DESTDIR) || ${DESTDIR} == "" |
.if !defined(DESTDIR) || ${DESTDIR} == "" |
| (cd ${.CURDIR}/etc && ${MAKE} DESTDIR=/ distrib-dirs) |
(cd ${.CURDIR}/etc && ${MAKE} DESTDIR=/ distrib-dirs) |