xref: /netbsd-src/tools/file/Makefile (revision 89195d58508d530ebf6f1a669459a4bf0934e7a9)
1#	$NetBSD: Makefile,v 1.8 2018/09/28 14:45:16 maya 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 --disable-libseccomp
13
14.NOTPARALLEL:
15
16.include "${.CURDIR}/../Makefile.gnuhost"
17
18# Force avoiding possibly non-executable install-sh.
19CONFIGURE_ENV+= ac_cv_path_mkdir="${TOOLDIR}/bin/${MACHINE_GNU_PLATFORM}-install -d"
20