From 8daae68793af1ea3088f0cb8bad08fc3ae8d6aea Mon Sep 17 00:00:00 2001 From: pooka Date: Tue, 25 Mar 2003 23:43:49 +0000 Subject: [PATCH] build file(1) as a host tool (for compiling magic files) --- tools/Makefile | 6 +++--- tools/file/Makefile | 8 ++++++++ 2 files changed, 11 insertions(+), 3 deletions(-) create mode 100644 tools/file/Makefile diff --git a/tools/Makefile b/tools/Makefile index 3b05b8ed420e..420f66f660e8 100644 --- a/tools/Makefile +++ b/tools/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.62 2003/03/07 01:14:30 thorpej Exp $ +# $NetBSD: Makefile,v 1.63 2003/03/25 23:43:49 pooka Exp $ .include @@ -19,8 +19,8 @@ SUBDIR= host-mkdep .WAIT compat .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 + asn1_compile cat cksum compile_et config file installboot \ + lint1 makefs menuc mklocale msgc pax pwd_mkdb sunlabel zic .if ${MKMAN} != "no" SUBDIR+= groff diff --git a/tools/file/Makefile b/tools/file/Makefile new file mode 100644 index 000000000000..647c31582928 --- /dev/null +++ b/tools/file/Makefile @@ -0,0 +1,8 @@ +# $NetBSD: Makefile,v 1.1 2003/03/25 23:43:50 pooka Exp $ +# + +GNUHOSTDIST= ${.CURDIR}/../../dist/file + +CONFIGURE_ARGS= --program-prefix=${_TOOL_PREFIX} + +.include "${.CURDIR}/../Makefile.gnuhost"