Home | History | Annotate | Line # | Download | only in tools
Makefile revision 1.18
      1  1.18  jmc #	$NetBSD: Makefile,v 1.18 2001/11/22 00:13:10 jmc Exp $
      2   1.1   tv 
      3   1.3   tv .include <bsd.own.mk>
      4   1.3   tv 
      5  1.16   tv # Dependencies in SUBDIR below ordered to maximize parallel ability.
      6  1.14   tv .if !defined(NOSUBDIR)
      7  1.16   tv SUBDIR=	mkdep .WAIT \
      8  1.16   tv 	binstall .WAIT \
      9  1.16   tv 		crunchgen gencat lint lint2 lorder mtree rpcgen \
     10  1.16   tv 		texinfo tsort \
     11  1.16   tv 	toolchain .WAIT \
     12  1.16   tv 		dbsym mdsetimage \
     13  1.16   tv 	yacc .WAIT \
     14  1.16   tv 		groff \
     15  1.16   tv 	lex .WAIT \
     16  1.16   tv 		asn1_compile compile_et config lint1 msgc menuc mklocale
     17  1.17   tv .endif
     18  1.17   tv 
     19  1.18  jmc .if ${MKTOOLS:Uyes} == "no" || ${USETOOLS} != "yes"
     20  1.17   tv realall install: _warn
     21  1.18  jmc .if ${MKTOOLS} == "no"
     22  1.17   tv _warn:
     23  1.17   tv 	@echo '*** WARNING: "MKTOOLS" is set to "no"; this will prevent building and'
     24  1.17   tv 	@echo '*** updating your host toolchain.  This should be used only as a'
     25  1.17   tv 	@echo '*** temporary workaround for toolchain problems, as it will result'
     26  1.17   tv 	@echo '*** in version skew and build errors onver time!'
     27  1.18  jmc .else
     28  1.18  jmc _warn:
     29  1.18  jmc .endif
     30  1.17   tv 
     31  1.17   tv .for dir in ${SUBDIR:N.WAIT}
     32  1.17   tv all-${dir} depend-${dir} dependall-${dir} install-${dir}:
     33  1.17   tv 	@true
     34  1.17   tv .endfor
     35  1.14   tv .endif
     36   1.1   tv 
     37   1.1   tv .include <bsd.subdir.mk>
     38  1.11   tv .include <bsd.obj.mk>
     39  1.16   tv 
     40  1.16   tv # For each .WAIT point, make sure the previous target is installed before
     41  1.16   tv # building a dependent target.
     42  1.16   tv _dep:=
     43  1.16   tv _last:=
     44  1.16   tv .for d in ${SUBDIR}
     45  1.16   tv _this:=		${d}
     46  1.16   tv .if ${_this} == ".WAIT"
     47  1.16   tv _dep:=		${_dep} install-${_last}
     48  1.16   tv .else
     49  1.16   tv _last:=		${d}
     50  1.16   tv depend-${d} all-${d} dependall-${d}: ${_dep}
     51  1.16   tv .endif
     52  1.16   tv .endfor
     53  1.12   tv 
     54  1.12   tv cleantools:
     55  1.12   tv 	rm -r -f tools.${HOST_OSTYPE}
     56