xref: /minix3/tools/file/Makefile (revision 9152e1c5a7225885973292842eaa6ab5121d1a38)
1#	$NetBSD: Makefile,v 1.7 2012/04/15 08:37:33 mrg Exp $
2#
3
4GNUHOSTDIST=	${.CURDIR}/../../external/bsd/file/dist
5
6CONFIGURE_ENV+=	CC=${HOST_CC:Q} \
7		CFLAGS=${HOST_CFLAGS:Q} \
8		CPPFLAGS=${HOST_CPPFLAGS:Q} \
9		CXX=${HOST_CXX:Q}
10
11CONFIGURE_ARGS=	--program-prefix=${_TOOL_PREFIX} --disable-shared \
12		--disable-warnings
13
14.NOTPARALLEL:
15
16.include "${.CURDIR}/../Makefile.gnuhost"
17
18.if ${HOST_OSTYPE:C/\-.*//} != "Minix"
19# Force avoiding possibly non-executable install-sh.
20CONFIGURE_ENV+= ac_cv_path_mkdir="${TOOLDIR}/bin/${MACHINE_GNU_PLATFORM}-install -d"
21.endif
22