head	1.8;
access;
symbols
	netbsd-11-0-RC4:1.8
	netbsd-11-0-RC3:1.8
	netbsd-11-0-RC2:1.8
	netbsd-11-0-RC1:1.8
	perseant-exfatfs-base-20250801:1.8
	netbsd-11:1.8.0.14
	netbsd-11-base:1.8
	netbsd-10-1-RELEASE:1.8
	perseant-exfatfs-base-20240630:1.8
	perseant-exfatfs:1.8.0.12
	perseant-exfatfs-base:1.8
	netbsd-8-3-RELEASE:1.7
	netbsd-9-4-RELEASE:1.8
	netbsd-10-0-RELEASE:1.8
	netbsd-10-0-RC6:1.8
	netbsd-10-0-RC5:1.8
	netbsd-10-0-RC4:1.8
	netbsd-10-0-RC3:1.8
	netbsd-10-0-RC2:1.8
	netbsd-10-0-RC1:1.8
	netbsd-10:1.8.0.10
	netbsd-10-base:1.8
	netbsd-9-3-RELEASE:1.8
	cjep_sun2x-base1:1.8
	cjep_sun2x:1.8.0.8
	cjep_sun2x-base:1.8
	cjep_staticlib_x-base1:1.8
	netbsd-9-2-RELEASE:1.8
	cjep_staticlib_x:1.8.0.6
	cjep_staticlib_x-base:1.8
	netbsd-9-1-RELEASE:1.8
	phil-wifi-20200421:1.8
	phil-wifi-20200411:1.8
	is-mlppp:1.8.0.4
	is-mlppp-base:1.8
	phil-wifi-20200406:1.8
	netbsd-8-2-RELEASE:1.7
	netbsd-9-0-RELEASE:1.8
	netbsd-9-0-RC2:1.8
	netbsd-9-0-RC1:1.8
	phil-wifi-20191119:1.8
	netbsd-9:1.8.0.2
	netbsd-9-base:1.8
	phil-wifi-20190609:1.8
	netbsd-8-1-RELEASE:1.7
	netbsd-8-1-RC1:1.7
	pgoyette-compat-merge-20190127:1.7.30.1
	pgoyette-compat-20190127:1.8
	pgoyette-compat-20190118:1.8
	pgoyette-compat-1226:1.8
	pgoyette-compat-1126:1.8
	pgoyette-compat-1020:1.8
	pgoyette-compat-0930:1.8
	pgoyette-compat-0906:1.7
	netbsd-7-2-RELEASE:1.7
	pgoyette-compat-0728:1.7
	netbsd-8-0-RELEASE:1.7
	phil-wifi:1.7.0.32
	phil-wifi-base:1.7
	pgoyette-compat-0625:1.7
	netbsd-8-0-RC2:1.7
	pgoyette-compat-0521:1.7
	pgoyette-compat-0502:1.7
	pgoyette-compat-0422:1.7
	netbsd-8-0-RC1:1.7
	pgoyette-compat-0415:1.7
	pgoyette-compat-0407:1.7
	pgoyette-compat-0330:1.7
	pgoyette-compat-0322:1.7
	pgoyette-compat-0315:1.7
	netbsd-7-1-2-RELEASE:1.7
	pgoyette-compat:1.7.0.30
	pgoyette-compat-base:1.7
	netbsd-7-1-1-RELEASE:1.7
	matt-nb8-mediatek:1.7.0.28
	matt-nb8-mediatek-base:1.7
	perseant-stdc-iso10646:1.7.0.26
	perseant-stdc-iso10646-base:1.7
	netbsd-8:1.7.0.24
	netbsd-8-base:1.7
	prg-localcount2-base3:1.7
	prg-localcount2-base2:1.7
	prg-localcount2-base1:1.7
	prg-localcount2:1.7.0.22
	prg-localcount2-base:1.7
	pgoyette-localcount-20170426:1.7
	bouyer-socketcan-base1:1.7
	pgoyette-localcount-20170320:1.7
	netbsd-7-1:1.7.0.20
	netbsd-7-1-RELEASE:1.7
	netbsd-7-1-RC2:1.7
	netbsd-7-nhusb-base-20170116:1.7
	bouyer-socketcan:1.7.0.18
	bouyer-socketcan-base:1.7
	pgoyette-localcount-20170107:1.7
	netbsd-7-1-RC1:1.7
	pgoyette-localcount-20161104:1.7
	netbsd-7-0-2-RELEASE:1.7
	localcount-20160914:1.7
	netbsd-7-nhusb:1.7.0.16
	netbsd-7-nhusb-base:1.7
	pgoyette-localcount-20160806:1.7
	pgoyette-localcount-20160726:1.7
	pgoyette-localcount:1.7.0.14
	pgoyette-localcount-base:1.7
	netbsd-7-0-1-RELEASE:1.7
	netbsd-7-0:1.7.0.12
	netbsd-7-0-RELEASE:1.7
	netbsd-7-0-RC3:1.7
	netbsd-7-0-RC2:1.7
	netbsd-7-0-RC1:1.7
	netbsd-5-2-3-RELEASE:1.5
	netbsd-5-1-5-RELEASE:1.5
	netbsd-6-0-6-RELEASE:1.6.8.1
	netbsd-6-1-5-RELEASE:1.6.8.1
	netbsd-7:1.7.0.10
	netbsd-7-base:1.7
	yamt-pagecache-base9:1.7
	yamt-pagecache-tag8:1.6.6.1
	netbsd-6-1-4-RELEASE:1.6.8.1
	netbsd-6-0-5-RELEASE:1.6.8.1
	tls-earlyentropy:1.7.0.8
	tls-earlyentropy-base:1.7
	riastradh-xf86-video-intel-2-7-1-pre-2-21-15:1.7
	riastradh-drm2-base3:1.7
	netbsd-6-1-3-RELEASE:1.6.8.1
	netbsd-6-0-4-RELEASE:1.6.8.1
	netbsd-5-2-2-RELEASE:1.5
	netbsd-5-1-4-RELEASE:1.5
	netbsd-6-1-2-RELEASE:1.6.8.1
	netbsd-6-0-3-RELEASE:1.6.8.1
	netbsd-5-2-1-RELEASE:1.5
	netbsd-5-1-3-RELEASE:1.5
	netbsd-6-1-1-RELEASE:1.6.8.1
	riastradh-drm2-base2:1.7
	riastradh-drm2-base1:1.7
	riastradh-drm2:1.7.0.4
	riastradh-drm2-base:1.7
	netbsd-6-1:1.6.8.1.0.6
	netbsd-6-0-2-RELEASE:1.6.8.1
	netbsd-6-1-RELEASE:1.6.8.1
	netbsd-6-1-RC4:1.6.8.1
	netbsd-6-1-RC3:1.6.8.1
	agc-symver:1.7.0.6
	agc-symver-base:1.7
	netbsd-6-1-RC2:1.6.8.1
	netbsd-6-1-RC1:1.6.8.1
	yamt-pagecache-base8:1.7
	netbsd-5-2:1.5.0.2
	netbsd-6-0-1-RELEASE:1.6.8.1
	yamt-pagecache-base7:1.7
	netbsd-5-2-RELEASE:1.5
	netbsd-5-2-RC1:1.5
	matt-nb6-plus-nbase:1.6.8.1
	yamt-pagecache-base6:1.7
	netbsd-6-0:1.6.8.1.0.4
	netbsd-6-0-RELEASE:1.6.8.1
	netbsd-6-0-RC2:1.6.8.1
	tls-maxphys:1.7.0.2
	tls-maxphys-base:1.7
	matt-nb6-plus:1.6.8.1.0.2
	matt-nb6-plus-base:1.6.8.1
	netbsd-6-0-RC1:1.6.8.1
	yamt-pagecache-base5:1.7
	yamt-pagecache-base4:1.7
	netbsd-6:1.6.0.8
	netbsd-6-base:1.6
	netbsd-5-1-2-RELEASE:1.5
	netbsd-5-1-1-RELEASE:1.5
	yamt-pagecache-base3:1.6
	yamt-pagecache-base2:1.6
	yamt-pagecache:1.6.0.6
	yamt-pagecache-base:1.6
	cherry-xenmp:1.6.0.4
	cherry-xenmp-base:1.6
	bouyer-quota2-nbase:1.6
	bouyer-quota2:1.6.0.2
	bouyer-quota2-base:1.6
	matt-mips64-premerge-20101231:1.6
	matt-nb5-mips64-premerge-20101231:1.5
	matt-nb5-pq3:1.5.0.14
	matt-nb5-pq3-base:1.5
	netbsd-5-1:1.5.0.12
	netbsd-5-1-RELEASE:1.5
	netbsd-5-1-RC4:1.5
	matt-nb5-mips64-k15:1.5
	netbsd-5-1-RC3:1.5
	netbsd-5-1-RC2:1.5
	netbsd-5-1-RC1:1.5
	netbsd-5-0-2-RELEASE:1.5
	matt-nb5-mips64-premerge-20091211:1.5
	matt-premerge-20091211:1.6
	matt-nb5-mips64-u2-k2-k4-k7-k8-k9:1.5
	matt-nb4-mips64-k7-u2a-k9b:1.5
	matt-nb5-mips64-u1-k1-k5:1.5
	matt-nb5-mips64:1.5.0.10
	netbsd-5-0-1-RELEASE:1.5
	jym-xensuspend-nbase:1.6
	netbsd-5-0:1.5.0.8
	netbsd-5-0-RELEASE:1.5
	netbsd-5-0-RC4:1.5
	netbsd-5-0-RC3:1.5
	netbsd-5-0-RC2:1.5
	jym-xensuspend:1.5.0.6
	jym-xensuspend-base:1.6
	netbsd-5-0-RC1:1.5
	netbsd-5:1.5.0.4
	netbsd-5-base:1.5
	matt-mips64-base2:1.5
	matt-mips64:1.4.0.22
	netbsd-4-0-1-RELEASE:1.4
	wrstuden-revivesa-base-3:1.5
	wrstuden-revivesa-base-2:1.5
	wrstuden-fixsa-newbase:1.4
	wrstuden-revivesa-base-1:1.4
	yamt-pf42-base4:1.4
	yamt-pf42-base3:1.4
	hpcarm-cleanup-nbase:1.4
	yamt-pf42-baseX:1.4
	yamt-pf42-base2:1.4
	wrstuden-revivesa:1.4.0.20
	wrstuden-revivesa-base:1.4
	yamt-pf42:1.4.0.18
	yamt-pf42-base:1.4
	keiichi-mipv6-nbase:1.4
	keiichi-mipv6:1.4.0.16
	keiichi-mipv6-base:1.4
	matt-armv6-nbase:1.4
	matt-armv6-prevmlocking:1.4
	wrstuden-fixsa-base-1:1.4
	netbsd-4-0:1.4.0.14
	netbsd-4-0-RELEASE:1.4
	cube-autoconf:1.4.0.12
	cube-autoconf-base:1.4
	netbsd-4-0-RC5:1.4
	netbsd-4-0-RC4:1.4
	netbsd-4-0-RC3:1.4
	netbsd-4-0-RC2:1.4
	netbsd-4-0-RC1:1.4
	matt-armv6:1.4.0.10
	matt-armv6-base:1.4
	matt-mips64-base:1.4
	hpcarm-cleanup:1.4.0.8
	hpcarm-cleanup-base:1.4
	netbsd-3-1-1-RELEASE:1.3.6.1
	netbsd-3-0-3-RELEASE:1.3.4.1
	wrstuden-fixsa:1.4.0.6
	wrstuden-fixsa-base:1.4
	abandoned-netbsd-4-base:1.4
	abandoned-netbsd-4:1.4.0.2
	netbsd-3-1:1.3.0.6
	netbsd-3-1-RELEASE:1.3
	netbsd-3-0-2-RELEASE:1.3
	netbsd-3-1-RC4:1.3
	netbsd-3-1-RC3:1.3
	netbsd-3-1-RC2:1.3
	netbsd-3-1-RC1:1.3
	netbsd-4:1.4.0.4
	netbsd-4-base:1.4
	netbsd-3-0-1-RELEASE:1.3
	netbsd-3-0:1.3.0.4
	netbsd-3-0-RELEASE:1.3
	netbsd-3-0-RC6:1.3
	netbsd-3-0-RC5:1.3
	netbsd-3-0-RC4:1.3
	netbsd-3-0-RC3:1.3
	netbsd-3-0-RC2:1.3
	netbsd-3-0-RC1:1.3
	netbsd-2-0-3-RELEASE:1.2
	netbsd-2-1:1.2.0.6
	netbsd-2-1-RELEASE:1.2
	netbsd-2-1-RC6:1.2
	netbsd-2-1-RC5:1.2
	netbsd-2-1-RC4:1.2
	netbsd-2-1-RC3:1.2
	netbsd-2-1-RC2:1.2
	netbsd-2-1-RC1:1.2
	netbsd-2-0-2-RELEASE:1.2
	netbsd-3:1.3.0.2
	netbsd-3-base:1.3
	netbsd-2-0-1-RELEASE:1.2
	netbsd-2:1.2.0.4
	netbsd-2-base:1.2
	netbsd-2-0-RELEASE:1.2
	netbsd-2-0-RC5:1.2
	netbsd-2-0-RC4:1.2
	netbsd-2-0-RC3:1.2
	netbsd-2-0-RC2:1.2
	netbsd-2-0-RC1:1.2
	netbsd-2-0:1.2.0.2
	netbsd-2-0-base:1.2;
locks; strict;
comment	@# @;


1.8
date	2018.09.28.14.45.16;	author maya;	state Exp;
branches;
next	1.7;
commitid	kb1LjFPS17akFSTA;

1.7
date	2012.04.15.08.37.33;	author mrg;	state Exp;
branches
	1.7.30.1
	1.7.32.1;
next	1.6;

1.6
date	2009.05.08.17.45.22;	author christos;	state Exp;
branches
	1.6.6.1
	1.6.8.1;
next	1.5;

1.5
date	2008.08.31.00.31.22;	author lukem;	state Exp;
branches
	1.5.6.1;
next	1.4;

1.4
date	2005.05.08.01.47.33;	author chs;	state Exp;
branches
	1.4.20.1;
next	1.3;

1.3
date	2005.02.11.15.01.57;	author jmc;	state Exp;
branches
	1.3.2.1
	1.3.4.1
	1.3.6.1;
next	1.2;

1.2
date	2003.07.08.03.41.34;	author gson;	state Exp;
branches;
next	1.1;

1.1
date	2003.03.25.23.43.50;	author pooka;	state Exp;
branches;
next	;

1.7.30.1
date	2018.09.30.01.45.59;	author pgoyette;	state Exp;
branches;
next	;
commitid	SQ44grEPCeKPh4UA;

1.7.32.1
date	2019.06.10.22.10.14;	author christos;	state Exp;
branches;
next	;
commitid	jtc8rnCzWiEEHGqB;

1.6.6.1
date	2012.04.17.00.09.27;	author yamt;	state Exp;
branches;
next	;

1.6.8.1
date	2012.05.07.03.08.35;	author riz;	state Exp;
branches;
next	;

1.5.6.1
date	2009.05.13.19.19.42;	author jym;	state Exp;
branches;
next	;

1.4.20.1
date	2008.09.18.04.37.35;	author wrstuden;	state Exp;
branches;
next	;

1.3.2.1
date	2007.06.24.19.42.10;	author ghen;	state Exp;
branches;
next	;

1.3.4.1
date	2007.06.24.19.43.44;	author ghen;	state Exp;
branches;
next	;

1.3.6.1
date	2007.06.24.19.45.41;	author ghen;	state Exp;
branches;
next	;


desc
@@


1.8
log
@force disable seccomp, in case it gets detected.

the configuration in this version of file is non-functional and results
in build failure if detected. The next version should be fine, but let's
ensure nobody runs into this build failure until it's imported.

reported by e3ef13f4ff44 on freenode.
@
text
@#	$NetBSD: Makefile,v 1.7 2012/04/15 08:37:33 mrg Exp $
#

GNUHOSTDIST=	${.CURDIR}/../../external/bsd/file/dist

CONFIGURE_ENV+=	CC=${HOST_CC:Q} \
		CFLAGS=${HOST_CFLAGS:Q} \
		CPPFLAGS=${HOST_CPPFLAGS:Q} \
		CXX=${HOST_CXX:Q}

CONFIGURE_ARGS=	--program-prefix=${_TOOL_PREFIX} --disable-shared \
		--disable-warnings --disable-libseccomp

.NOTPARALLEL:

.include "${.CURDIR}/../Makefile.gnuhost"

# Force avoiding possibly non-executable install-sh.
CONFIGURE_ENV+= ac_cv_path_mkdir="${TOOLDIR}/bin/${MACHINE_GNU_PLATFORM}-install -d"
@


1.7
log
@force set ac_cv_mkdir_path to our install -d program.
fixes the remaining issues with 'sourcesets' and 'tools'.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.6 2009/05/08 17:45:22 christos Exp $
d12 1
a12 1
		--disable-warnings
@


1.7.32.1
log
@Sync with HEAD
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.8 2018/09/28 14:45:16 maya Exp $
d12 1
a12 1
		--disable-warnings --disable-libseccomp
@


1.7.30.1
log
@Ssync with HEAD
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.8 2018/09/28 14:45:16 maya Exp $
d12 1
a12 1
		--disable-warnings --disable-libseccomp
@


1.6
log
@use new file
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.5 2008/08/31 00:31:22 lukem Exp $
d17 3
@


1.6.8.1
log
@Pull up following revision(s) (requested by mrg in ticket #207):
	tools/gmp/Makefile: revision 1.2
	tools/mpfr/Makefile: revision 1.2
	tools/file/Makefile: revision 1.7
	tools/binutils/Makefile: revision 1.22
	tools/mpc/Makefile: revision 1.2
force ac_cv_path_mkdir to be set to nbinstall -d.  this will avoid
gmp/configure from trying to use its install-sh for mkdir -p, and
should fix sourcesets created tarball builds.
force set ac_cv_mkdir_path to our install -d program.
fixes the remaining issues with 'sourcesets' and 'tools'.
@
text
@d1 1
a1 1
#	$NetBSD$
a16 3

# Force avoiding possibly non-executable install-sh.
CONFIGURE_ENV+= ac_cv_path_mkdir="${TOOLDIR}/bin/${MACHINE_GNU_PLATFORM}-install -d"
@


1.6.6.1
log
@sync with head
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.6 2009/05/08 17:45:22 christos Exp $
a16 3

# Force avoiding possibly non-executable install-sh.
CONFIGURE_ENV+= ac_cv_path_mkdir="${TOOLDIR}/bin/${MACHINE_GNU_PLATFORM}-install -d"
@


1.5
log
@Configure with --disable-warnings; cross-compiling on NetBSD 3.1
with gcc 3.3.3 doesn't support -Wextra
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.4 2005/05/08 01:47:33 chs Exp $
d4 1
a4 1
GNUHOSTDIST=	${.CURDIR}/../../dist/file
@


1.5.6.1
log
@Sync with HEAD.

Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.6 2009/05/08 17:45:22 christos Exp $
d4 1
a4 1
GNUHOSTDIST=	${.CURDIR}/../../external/bsd/file/dist
@


1.4
log
@don't build a shared lib for the host-tool, it doesn't work on hp700
and isn't needed anyway.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.3 2005/02/11 15:01:57 jmc Exp $
d11 2
a12 1
CONFIGURE_ARGS=	--program-prefix=${_TOOL_PREFIX} --disable-shared
@


1.4.20.1
log
@Sync with wrstuden-revivesa-base-2.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.4 2005/05/08 01:47:33 chs Exp $
d11 1
a11 2
CONFIGURE_ARGS=	--program-prefix=${_TOOL_PREFIX} --disable-shared \
		--disable-warnings
@


1.3
log
@Pass CC,CXX and a few other vars along to configure so file can find the c++
preprocessor (which of course it doesn't even use...)
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.2 2003/07/08 03:41:34 gson Exp $
d11 1
a11 1
CONFIGURE_ARGS=	--program-prefix=${_TOOL_PREFIX}
@


1.3.6.1
log
@Pull up following revision(s) (requested by pooka in ticket #1804):
	dist/file/: synced with HEAD on 20070615
	distrib/sets/lists/base/shl.elf: revision 1.222
	distrib/sets/lists/base/shl.mi: revision 1.375 via patch
	lib/Makefile: revision 1.108 via patch
	lib/libmagic/Makefile: revision 1.5
	lib/libmagic/config.h: patch
	lib/libmagic/shlib_version: revision 1.3-1.4
	tools/file/Makefile: revision 1.4
	usr.bin/file/Makefile: revision 1.51-1.53
Update file(1) to version 4.21, including security fixes (CVE-2007-1536 and
CVE-2007-2799).
@
text
@d1 1
a1 1
#	$NetBSD$
d11 1
a11 1
CONFIGURE_ARGS=	--program-prefix=${_TOOL_PREFIX} --disable-shared
@


1.3.4.1
log
@Pull up following revision(s) (requested by pooka in ticket #1804):
	dist/file/: synced with HEAD on 20070615
	distrib/sets/lists/base/shl.elf: revision 1.222
	distrib/sets/lists/base/shl.mi: revision 1.375 via patch
	lib/Makefile: revision 1.108 via patch
	lib/libmagic/Makefile: revision 1.5
	lib/libmagic/config.h: patch
	lib/libmagic/shlib_version: revision 1.3-1.4
	tools/file/Makefile: revision 1.4
	usr.bin/file/Makefile: revision 1.51-1.53
Update file(1) to version 4.21, including security fixes (CVE-2007-1536 and
CVE-2007-2799).
@
text
@d1 1
a1 1
#	$NetBSD$
d11 1
a11 1
CONFIGURE_ARGS=	--program-prefix=${_TOOL_PREFIX} --disable-shared
@


1.3.2.1
log
@Pull up following revision(s) (requested by pooka in ticket #1804):
	dist/file/: synced with HEAD on 20070615
	distrib/sets/lists/base/shl.elf: revision 1.222
	distrib/sets/lists/base/shl.mi: revision 1.375 via patch
	lib/Makefile: revision 1.108 via patch
	lib/libmagic/Makefile: revision 1.5
	lib/libmagic/config.h: patch
	lib/libmagic/shlib_version: revision 1.3-1.4
	tools/file/Makefile: revision 1.4
	usr.bin/file/Makefile: revision 1.51-1.53
Update file(1) to version 4.21, including security fixes (CVE-2007-1536 and
CVE-2007-2799).
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.3 2005/02/11 15:01:57 jmc Exp $
d11 1
a11 1
CONFIGURE_ARGS=	--program-prefix=${_TOOL_PREFIX} --disable-shared
@


1.2
log
@When building with "-j 2", linking the "file" tool failed because
libmagic.la hadn't been built yet.  Work around by adding a .NOTPARALLEL
target.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.1 2003/03/25 23:43:50 pooka Exp $
d6 5
@


1.1
log
@build file(1) as a host tool (for compiling magic files)
@
text
@d1 1
a1 1
#	$NetBSD$
d7 2
@
