Makefile revision 1.2
11.2Smrg#	$NetBSD: Makefile,v 1.2 2012/04/12 01:05:31 mrg 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.1Smrg		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