1 1.16 tv # $NetBSD: Makefile,v 1.16 2001/11/12 23:16:22 tv 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.14 tv .endif 18 1.1 tv 19 1.1 tv .include <bsd.subdir.mk> 20 1.11 tv .include <bsd.obj.mk> 21 1.16 tv 22 1.16 tv # For each .WAIT point, make sure the previous target is installed before 23 1.16 tv # building a dependent target. 24 1.16 tv _dep:= 25 1.16 tv _last:= 26 1.16 tv .for d in ${SUBDIR} 27 1.16 tv _this:= ${d} 28 1.16 tv .if ${_this} == ".WAIT" 29 1.16 tv _dep:= ${_dep} install-${_last} 30 1.16 tv .else 31 1.16 tv _last:= ${d} 32 1.16 tv depend-${d} all-${d} dependall-${d}: ${_dep} 33 1.16 tv .endif 34 1.16 tv .endfor 35 1.12 tv 36 1.12 tv cleantools: 37 1.12 tv rm -r -f tools.${HOST_OSTYPE} 38