Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/lgpl3/gmp makefile frontend to run gmp configure un...
details: https://anonhg.NetBSD.org/src/rev/1db7038c470f
branches: trunk
changeset: 770707:1db7038c470f
user: mrg <mrg%NetBSD.org@localhost>
date: Sun Oct 30 01:50:32 2011 +0000
description:
makefile frontend to run gmp configure under nbmake-$MACHINE.
diffstat:
external/lgpl3/gmp/Makefile.netbsd-gmp | 19 +++++++++++++++++++
1 files changed, 19 insertions(+), 0 deletions(-)
diffs (23 lines):
diff -r 1eda85bcf2a1 -r 1db7038c470f external/lgpl3/gmp/Makefile.netbsd-gmp
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/external/lgpl3/gmp/Makefile.netbsd-gmp Sun Oct 30 01:50:32 2011 +0000
@@ -0,0 +1,19 @@
+# $NetBSD: Makefile.netbsd-gmp,v 1.1 2011/10/30 01:50:32 mrg Exp $
+
+# hack makefile to help build gmp ./configure
+
+.include <bsd.own.mk>
+
+CCADDFLAGS= --sysroot=${DESTDIR} -L${DESTDIR}/lib -L${DESTDIR}/usr/lib -B${DESTDIR}/usr/lib/ -I${.OBJDIR}/.native/gcc/include
+
+TARGET=hppa-netbsd
+#TARGET=mips64el-netbsd
+ENV_ARGS=\
+ CC=${CC:Q}' '${CCADDFLAGS:Q} \
+ CPP=${CPP:Q}' '-I${DESTDIR}/usr/include \
+ AS=${AS:Q} AWK=${TOOL_AWK:Q} LD=${LD:Q} \
+ NM=${NM:Q} OBJDUMP=${OBJDUMP:Q} \
+ LIBS=-lintl
+
+all:
+ env ${ENV_ARGS} /usr/src3/external/lgpl3/gmp/dist/configure --host=${TARGET} --target=${TARGET}
Home |
Main Index |
Thread Index |
Old Index