$NetBSD: patch-aa,v 1.1.1.1 2005/06/06 22:34:10 kristerw Exp $

--- ../usr/src/tools/Makefile.orig	Thu Dec 26 08:53:20 2002
+++ ../usr/src/tools/Makefile	Sat Jan  1 21:50:13 2005
@@ -4,42 +4,18 @@
 
 # XXX We can't currently build the toolchain for x86-64.
 .if ${MACHINE_ARCH} != "x86_64"
-TOOLCHAIN_BITS= toolchain .WAIT dbsym mdsetimage
+TOOLCHAIN_BITS= toolchain .WAIT
 .endif
 
 # Dependencies in SUBDIR below ordered to maximize parallel ability.
 .if !defined(NOSUBDIR)					# {
 
 SUBDIR=	host-mkdep .WAIT compat .WAIT \
-	binstall .WAIT mktemp .WAIT \
-		cap_mkdb crunchgen ctags gencat lint lint2 lorder \
-		m4 makewhatis mkdep mtree rpcgen tsort uudecode \
+	binstall .WAIT \
 	texinfo .WAIT \
 	yacc .WAIT \
 	lex .WAIT \
-	${TOOLCHAIN_BITS} \
-		asn1_compile cat cksum compile_et config installboot lint1 \
-		makefs menuc mklocale msgc pax pwd_mkdb sunlabel zic
-
-.if ${MKMAN} != "no"
-SUBDIR+=	groff
-.endif
-
-.if ${MKMAINTAINERTOOLS:Uno} != "no"
-SUBDIR+=	autoconf gettext
-.endif
-
-.if ${MACHINE} == prep
-SUBDIR+=	prep-mkbootimage
-.endif
-
-.if (${MACHINE_ARCH} == "mipsel" || ${MACHINE_ARCH} == "mipseb")
-SUBDIR+=	mips-elf2ecoff
-.endif
-
-.if (${MACHINE} == "sparc" || ${MACHINE} == "sparc64")
-SUBDIR+=	fgen
-.endif
+	${TOOLCHAIN_BITS}
 
 .endif	# ! NOSUBDIR					# }
 
