Makefile revision 1.3
11.3Schristos#	$NetBSD: Makefile,v 1.3 2016/01/09 01:13:42 christos Exp $
21.1Smrg#
31.1Smrg
41.1SmrgGNUHOSTDIST=   ${.CURDIR}/../../external/lgpl3/gmp/dist
51.1Smrg
61.1SmrgCONFIGURE_ARGS+=--disable-shared
71.1Smrg
81.1Smrg.include "${.CURDIR}/../Makefile.gnuhost"
91.1Smrg
101.1Smrg# Don't override CFLAGS and CXXFLAGS, it breaks ABI detection.
111.1Smrg# PATH needs special treating since "make" tries to expand $PATH
121.1Smrg# when variable is used.
131.1SmrgCONFIGURE_ENV:=	${CONFIGURE_ENV:NPATH=*:NCFLAGS=*:NCXXFLAGS=*} \
141.3Schristos		PATH="${TOOLDIR:Q}/bin:$$PATH"
151.2Smrg
161.2Smrg# Force avoiding possibly non-executable install-sh.
171.2SmrgCONFIGURE_ENV+=	ac_cv_path_mkdir="${TOOLDIR}/bin/${MACHINE_GNU_PLATFORM}-install -d"
18