Makefile revision 1.22
11.22Stv# $NetBSD: Makefile,v 1.22 2001/12/11 21:17:56 tv Exp $ 21.1Stv 31.3Stv.include <bsd.own.mk> 41.3Stv 51.16Stv# Dependencies in SUBDIR below ordered to maximize parallel ability. 61.14Stv.if !defined(NOSUBDIR) 71.22StvSUBDIR= mkdep .WAIT compat .WAIT \ 81.16Stv binstall .WAIT \ 91.16Stv crunchgen gencat lint lint2 lorder mtree rpcgen \ 101.20Sthorpej texinfo tsort makewhatis \ 111.16Stv toolchain .WAIT \ 121.16Stv dbsym mdsetimage \ 131.16Stv yacc .WAIT \ 141.16Stv groff \ 151.16Stv lex .WAIT \ 161.21Sjmc asn1_compile compile_et config lint1 msgc menuc mklocale \ 171.21Sjmc pwd_mkdb 181.22Stv 191.22Stv.if ${MKMAINTAINERTOOLS:Uno} != "no" 201.22StvSUBDIR+= m4 .WAIT autoconf 211.22Stv.endif 221.17Stv.endif 231.17Stv 241.18Sjmc.if ${MKTOOLS:Uyes} == "no" || ${USETOOLS} != "yes" 251.17Stvrealall install: _warn 261.19Sjmc.if ${MKTOOLS:Uyes} == "no" 271.17Stv_warn: 281.17Stv @echo '*** WARNING: "MKTOOLS" is set to "no"; this will prevent building and' 291.17Stv @echo '*** updating your host toolchain. This should be used only as a' 301.17Stv @echo '*** temporary workaround for toolchain problems, as it will result' 311.17Stv @echo '*** in version skew and build errors onver time!' 321.18Sjmc.else 331.18Sjmc_warn: 341.18Sjmc.endif 351.17Stv 361.17Stv.for dir in ${SUBDIR:N.WAIT} 371.17Stvall-${dir} depend-${dir} dependall-${dir} install-${dir}: 381.17Stv @true 391.17Stv.endfor 401.14Stv.endif 411.1Stv 421.1Stv.include <bsd.subdir.mk> 431.11Stv.include <bsd.obj.mk> 441.16Stv 451.16Stv# For each .WAIT point, make sure the previous target is installed before 461.16Stv# building a dependent target. 471.16Stv_dep:= 481.16Stv_last:= 491.16Stv.for d in ${SUBDIR} 501.16Stv_this:= ${d} 511.16Stv.if ${_this} == ".WAIT" 521.16Stv_dep:= ${_dep} install-${_last} 531.16Stv.else 541.16Stv_last:= ${d} 551.16Stvdepend-${d} all-${d} dependall-${d}: ${_dep} 561.16Stv.endif 571.16Stv.endfor 581.12Stv 591.12Stvcleantools: 601.12Stv rm -r -f tools.${HOST_OSTYPE} 61