| version 1.241, 2006/01/04 15:30:02 |
version 1.242, 2006/01/21 19:01:15 |
|
|
| .endfor |
.endfor |
| |
|
| .if exists(regress) |
.if exists(regress) |
| regression-tests: .PHONY |
regression-tests: .PHONY .MAKE |
| @echo Running regression tests... |
@echo Running regression tests... |
| ${MAKEDIRTARGET} regress regress |
${MAKEDIRTARGET} regress regress |
| .endif |
.endif |
| Line 135 regression-tests: .PHONY |
|
| Line 135 regression-tests: .PHONY |
|
| NOPOSTINSTALL= # defined |
NOPOSTINSTALL= # defined |
| .endif |
.endif |
| |
|
| afterinstall: .PHONY |
afterinstall: .PHONY .MAKE |
| .if ${MKMAN} != "no" |
.if ${MKMAN} != "no" |
| ${MAKEDIRTARGET} share/man makedb |
${MAKEDIRTARGET} share/man makedb |
| .endif |
.endif |
| Line 220 includes-gnu: .PHONY includes-lib |
|
| Line 220 includes-gnu: .PHONY includes-lib |
|
| |
|
| START_TIME!= date |
START_TIME!= date |
| |
|
| build: .PHONY |
build: .PHONY .MAKE |
| .if defined(BUILD_DONE) |
.if defined(BUILD_DONE) |
| @echo "Build already installed into ${DESTDIR}" |
@echo "Build already installed into ${DESTDIR}" |
| .else |
.else |
|
|
| # ${RELEASEDIR}). "buildworld" enforces a build to ${DESTDIR} != / |
# ${RELEASEDIR}). "buildworld" enforces a build to ${DESTDIR} != / |
| # |
# |
| |
|
| distribution buildworld: .PHONY |
distribution buildworld: .PHONY .MAKE |
| .if make(buildworld) && \ |
.if make(buildworld) && \ |
| (!defined(DESTDIR) || ${DESTDIR} == "" || ${DESTDIR} == "/") |
(!defined(DESTDIR) || ${DESTDIR} == "" || ${DESTDIR} == "/") |
| @echo "Won't make ${.TARGET} with DESTDIR=/" |
@echo "Won't make ${.TARGET} with DESTDIR=/" |
| Line 262 distribution buildworld: .PHONY |
|
| Line 262 distribution buildworld: .PHONY |
|
| HOST_UNAME_S!= uname -s |
HOST_UNAME_S!= uname -s |
| HOST_UNAME_M!= uname -m |
HOST_UNAME_M!= uname -m |
| |
|
| installworld: .PHONY |
installworld: .PHONY .MAKE |
| .if (!defined(DESTDIR) || ${DESTDIR} == "" || ${DESTDIR} == "/") |
.if (!defined(DESTDIR) || ${DESTDIR} == "" || ${DESTDIR} == "/") |
| @echo "Can't make ${.TARGET} to DESTDIR=/" |
@echo "Can't make ${.TARGET} to DESTDIR=/" |
| @false |
@false |
| Line 289 installworld: .PHONY |
|
| Line 289 installworld: .PHONY |
|
| # |
# |
| |
|
| .for tgt in sets sourcesets syspkgs |
.for tgt in sets sourcesets syspkgs |
| ${tgt}: .PHONY |
${tgt}: .PHONY .MAKE |
| ${MAKEDIRTARGET} distrib/sets ${tgt} |
${MAKEDIRTARGET} distrib/sets ${tgt} |
| .endfor |
.endfor |
| |
|
|
|
| # are made. |
# are made. |
| # |
# |
| |
|
| release snapshot: .PHONY |
release snapshot: .PHONY .MAKE |
| ${MAKEDIRTARGET} . distribution |
${MAKEDIRTARGET} . distribution |
| ${MAKEDIRTARGET} etc release DISTRIBUTION_DONE=1 |
${MAKEDIRTARGET} etc release DISTRIBUTION_DONE=1 |
| @echo "make ${.TARGET} started at: ${START_TIME}" |
@echo "make ${.TARGET} started at: ${START_TIME}" |
| Line 320 check-tools: .PHONY |
|
| Line 320 check-tools: .PHONY |
|
| @echo '*** WARNING: NBUILDJOBS is obsolete; use -j directly instead!' |
@echo '*** WARNING: NBUILDJOBS is obsolete; use -j directly instead!' |
| .endif |
.endif |
| |
|
| do-distrib-dirs: .PHONY |
do-distrib-dirs: .PHONY .MAKE |
| .if !defined(DESTDIR) || ${DESTDIR} == "" |
.if !defined(DESTDIR) || ${DESTDIR} == "" |
| ${MAKEDIRTARGET} etc distrib-dirs DESTDIR=/ |
${MAKEDIRTARGET} etc distrib-dirs DESTDIR=/ |
| .else |
.else |
| Line 333 do-${targ}: .PHONY ${targ} |
|
| Line 333 do-${targ}: .PHONY ${targ} |
|
| .endfor |
.endfor |
| |
|
| .for dir in tools tools/compat lib/csu gnu/lib/crtstuff${LIBGCC_EXT} gnu/lib/libgcc${LIBGCC_EXT} lib/libc lib/libdes lib gnu/lib |
.for dir in tools tools/compat lib/csu gnu/lib/crtstuff${LIBGCC_EXT} gnu/lib/libgcc${LIBGCC_EXT} lib/libc lib/libdes lib gnu/lib |
| do-${dir:S/\//-/g}: .PHONY |
do-${dir:S/\//-/g}: .PHONY .MAKE |
| .for targ in dependall install |
.for targ in dependall install |
| ${MAKEDIRTARGET} ${dir} ${targ} |
${MAKEDIRTARGET} ${dir} ${targ} |
| .endfor |
.endfor |
| .endfor |
.endfor |
| |
|
| do-ld.so: .PHONY |
do-ld.so: .PHONY .MAKE |
| .for targ in dependall install |
.for targ in dependall install |
| .if (${OBJECT_FMT} == "a.out") |
.if (${OBJECT_FMT} == "a.out") |
| ${MAKEDIRTARGET} libexec/ld.aout_so ${targ} |
${MAKEDIRTARGET} libexec/ld.aout_so ${targ} |
| Line 349 do-ld.so: .PHONY |
|
| Line 349 do-ld.so: .PHONY |
|
| .endif |
.endif |
| .endfor |
.endfor |
| |
|
| do-build: .PHONY |
do-build: .PHONY .MAKE |
| .for targ in dependall install |
.for targ in dependall install |
| ${MAKEDIRTARGET} . ${targ} BUILD_tools=no BUILD_lib=no |
${MAKEDIRTARGET} . ${targ} BUILD_tools=no BUILD_lib=no |
| .endfor |
.endfor |
| |
|
| do-x11: .PHONY |
do-x11: .PHONY .MAKE |
| ${MAKEDIRTARGET} x11 build |
${MAKEDIRTARGET} x11 build |
| |
|
| do-obsolete: .PHONY |
do-obsolete: .PHONY .MAKE |
| ${MAKEDIRTARGET} etc install-obsolete-lists |
${MAKEDIRTARGET} etc install-obsolete-lists |
| |
|
| # |
# |
| Line 395 ${.CURDIR}/BUILDING: doc/BUILDING.mdoc |
|
| Line 395 ${.CURDIR}/BUILDING: doc/BUILDING.mdoc |
|
| # |
# |
| # Display current make(1) parameters |
# Display current make(1) parameters |
| # |
# |
| params: .PHONY |
params: .PHONY .MAKE |
| ${MAKEDIRTARGET} etc params |
${MAKEDIRTARGET} etc params |