Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/lgpl3/gmp/lib/libgmp/arch make these look more like...
details: https://anonhg.NetBSD.org/src/rev/434b686f4436
branches: trunk
changeset: 767159:434b686f4436
user: mrg <mrg%NetBSD.org@localhost>
date: Sun Jul 10 02:41:50 2011 +0000
description:
make these look more like the sparc/powerpc ones.
XXX: a big chunk of these Makefile.inc's should promoted to the
XXX: main Makefile.
diffstat:
external/lgpl3/gmp/lib/libgmp/arch/arm/Makefile.inc | 10 ++++++++--
external/lgpl3/gmp/lib/libgmp/arch/armeb/Makefile.inc | 10 ++++++++--
2 files changed, 16 insertions(+), 4 deletions(-)
diffs (52 lines):
diff -r 06df6f1655dd -r 434b686f4436 external/lgpl3/gmp/lib/libgmp/arch/arm/Makefile.inc
--- a/external/lgpl3/gmp/lib/libgmp/arch/arm/Makefile.inc Sun Jul 10 02:39:57 2011 +0000
+++ b/external/lgpl3/gmp/lib/libgmp/arch/arm/Makefile.inc Sun Jul 10 02:41:50 2011 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.inc,v 1.2 2011/07/03 06:43:16 mrg Exp $
+# $NetBSD: Makefile.inc,v 1.3 2011/07/10 02:41:50 mrg Exp $
SRCS+= \
random.c \
@@ -170,9 +170,15 @@
${.OBJDIR}/config.m4: ${.CURDIR}/arch/${MACHINE_ARCH}/config.m4
cp ${.CURDIR}/arch/${MACHINE_ARCH}/config.m4 ${.TARGET}
+BUILD_S_INCS= -I${.CURDIR} -I${.OBJDIR}/dummy -I${DIST}/ -I${DIST}/mpn
+
+M4FLAGS= -DPIC
+COPTS+= -fPIC
.for _build _src in ${ASM_SRCS_LIST}
${_build:R}.s: Makefile dummy ${.OBJDIR}/config.m4
- ${TOOL_M4} -DCONFIG_TOP_SRCDIR=${DIST} -I${.CURDIR} -I${.OBJDIR}/dummy -I${DIST}/ -I${DIST}/mpn -DOPERATION_${.TARGET:R} ${DIST}/${_src} > ${.TARGET}
+ ${TOOL_M4} -DCONFIG_TOP_SRCDIR=${DIST} ${BUILD_S_INCS} \
+ ${M4FLAGS} ${M4FLAGS.${.TARGET:R}} \
+ -DOPERATION_${.TARGET:R} ${DIST}/${_src} > ${.TARGET}
SRCS+= ${_build:R}.s
CLEANFILES+= ${_build:R}.s
diff -r 06df6f1655dd -r 434b686f4436 external/lgpl3/gmp/lib/libgmp/arch/armeb/Makefile.inc
--- a/external/lgpl3/gmp/lib/libgmp/arch/armeb/Makefile.inc Sun Jul 10 02:39:57 2011 +0000
+++ b/external/lgpl3/gmp/lib/libgmp/arch/armeb/Makefile.inc Sun Jul 10 02:41:50 2011 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.inc,v 1.2 2011/07/03 06:43:16 mrg Exp $
+# $NetBSD: Makefile.inc,v 1.3 2011/07/10 02:41:50 mrg Exp $
SRCS+= \
random.c \
@@ -170,9 +170,15 @@
${.OBJDIR}/config.m4: ${.CURDIR}/arch/${MACHINE_ARCH}/config.m4
cp ${.CURDIR}/arch/${MACHINE_ARCH}/config.m4 ${.TARGET}
+BUILD_S_INCS= -I${.CURDIR} -I${.OBJDIR}/dummy -I${DIST}/ -I${DIST}/mpn
+
+M4FLAGS= -DPIC
+COPTS+= -fPIC
.for _build _src in ${ASM_SRCS_LIST}
${_build:R}.s: Makefile dummy ${.OBJDIR}/config.m4
- ${TOOL_M4} -DCONFIG_TOP_SRCDIR=${DIST} -I${.CURDIR} -I${.OBJDIR}/dummy -I${DIST}/ -I${DIST}/mpn -DOPERATION_${.TARGET:R} ${DIST}/${_src} > ${.TARGET}
+ ${TOOL_M4} -DCONFIG_TOP_SRCDIR=${DIST} ${BUILD_S_INCS} \
+ ${M4FLAGS} ${M4FLAGS.${.TARGET:R}} \
+ -DOPERATION_${.TARGET:R} ${DIST}/${_src} > ${.TARGET}
SRCS+= ${_build:R}.s
CLEANFILES+= ${_build:R}.s
Home |
Main Index |
Thread Index |
Old Index