1 # $NetBSD: Makefile.netbsd-gmp,v 1.4 2014/03/18 18:20:36 riastradh Exp $
3 # hack makefile to help build gmp ./configure
7 CCADDFLAGS= --sysroot=${DESTDIR} -L${DESTDIR}/lib -L${DESTDIR}/usr/lib -B${DESTDIR}/usr/lib/ -I${.OBJDIR}/.native/gcc/include
9 TARGET?=${MACHINE_GNU_PLATFORM}
10 #TARGET=mips64el-netbsd
12 CC=${CC:Q}' '${CCADDFLAGS:Q} \
13 CPP=${CPP:Q}' '-I${DESTDIR}/usr/include \
14 AS=${AS:Q} AWK=${TOOL_AWK:Q} LD=${LD:Q} \
15 NM=${NM:Q} OBJDUMP=${OBJDUMP:Q} \
19 env ${ENV_ARGS} ${NETBSDSRCDIR}/external/lgpl3/gmp/dist/configure --host=${TARGET} --target=${TARGET}