CVS commit: src/external/lgpl2/mpc/lib/libmpc

2011-06-22 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Thu Jun 23 04:39:24 UTC 2011

Modified Files:
src/external/lgpl2/mpc/lib/libmpc: Makefile

Log Message:
fix the file list and make this work.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/external/lgpl2/mpc/lib/libmpc/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/lgpl2/mpc/lib/libmpc/Makefile
diff -u src/external/lgpl2/mpc/lib/libmpc/Makefile:1.1 src/external/lgpl2/mpc/lib/libmpc/Makefile:1.2
--- src/external/lgpl2/mpc/lib/libmpc/Makefile:1.1	Tue Jun 21 04:23:56 2011
+++ src/external/lgpl2/mpc/lib/libmpc/Makefile	Thu Jun 23 04:39:24 2011
@@ -1,82 +1,85 @@
-#	$NetBSD: Makefile,v 1.1 2011/06/21 04:23:56 mrg Exp $
+#	$NetBSD: Makefile,v 1.2 2011/06/23 04:39:24 mrg Exp $
 
 .include 
 
 LIB=	mpc
 
-SRCS=			\
-	abs.c		\
-	acos.c		\
-	acosh.c		\
-	add.c		\
-	add_fr.c	\
-	add_ui.c	\
-	arg.c		\
-	asin.c		\
-	asinh.c		\
-	atan.c		\
-	atanh.c		\
-	clear.c		\
-	cmp.c		\
-	cmp_si_si.c	\
-	conj.c		\
-	cos.c		\
-	cosh.c		\
-	div.c		\
-	div_2exp.c	\
-	div_fr.c	\
-	div_ui.c	\
-	exp.c		\
-	fr_div.c	\
-	fr_sub.c	\
-	get_prec.c	\
-	get_prec2.c	\
-	get_str.c	\
-	get_version.c	\
-	imag.c		\
-	init2.c		\
-	init3.c		\
-	inp_str.c	\
-	log.c		\
-	mem.c		\
-	mul.c		\
-	mul_2exp.c	\
-	mul_fr.c	\
-	mul_i.c		\
-	mul_si.c	\
-	mul_ui.c	\
-	neg.c		\
-	norm.c		\
-	out_str.c	\
-	pow.c		\
-	pow_d.c		\
-	pow_fr.c	\
-	pow_ld.c	\
-	pow_si.c	\
-	pow_ui.c	\
-	pow_z.c		\
-	proj.c		\
-	real.c		\
-	set.c		\
-	set_prec.c	\
-	set_str.c	\
-	set_x.c		\
-	set_x_x.c	\
-	sin.c		\
-	sinh.c		\
-	sqr.c		\
-	sqrt.c		\
-	strtoc.c	\
-	sub.c		\
-	sub_fr.c	\
-	sub_ui.c	\
-	swap.c		\
-	tan.c		\
-	tanh.c		\
-	uceil_log2.c	\
-	ui_div.c	\
-	ui_ui_sub.c	\
-	urandom.c
+SRCS=	\
+	abs.c \
+	acos.c \
+	acosh.c \
+	add.c \
+	add_fr.c \
+	add_si.c \
+	add_ui.c \
+	arg.c \
+	asin.c \
+	asinh.c \
+	atan.c \
+	atanh.c \
+	clear.c \
+	cmp.c \
+	cmp_si_si.c \
+	conj.c \
+	cosh.c \
+	div_2exp.c \
+	div.c \
+	div_fr.c \
+	div_ui.c \
+	exp.c \
+	fma.c \
+	fr_div.c \
+	fr_sub.c \
+	get.c \
+	get_prec2.c \
+	get_prec.c \
+	get_str.c \
+	get_version.c \
+	imag.c \
+	init2.c \
+	init3.c \
+	inp_str.c \
+	log.c \
+	mem.c \
+	mul_2exp.c \
+	mul.c \
+	mul_fr.c \
+	mul_i.c \
+	mul_si.c \
+	mul_ui.c \
+	neg.c \
+	norm.c \
+	out_str.c \
+	pow.c \
+	pow_fr.c \
+	pow_ld.c \
+	pow_d.c \
+	pow_si.c \
+	pow_ui.c \
+	pow_z.c \
+	proj.c \
+	real.c \
+	urandom.c \
+	set.c \
+	set_prec.c \
+	set_str.c \
+	set_x.c \
+	set_x_x.c \
+	sin_cos.c \
+	sinh.c \
+	sqr.c \
+	sqrt.c \
+	strtoc.c \
+	sub.c \
+	sub_fr.c \
+	sub_ui.c \
+	swap.c \
+	tan.c \
+	tanh.c \
+	uceil_log2.c \
+	ui_div.c \
+	ui_ui_sub.c
+
 
 INCS=		mpc.h mpc-log.h
 INCSDIR=	/usr/include
@@ -84,3 +87,5 @@
 CPPFLAGS+=	-I${.CURDIR}
 
 .include 
+
+.PATH: ${.CURDIR}/../../dist/src



CVS commit: src/external/lgpl2/mpc/lib/libmpc

2013-08-04 Thread Matt Thomas
Module Name:src
Committed By:   matt
Date:   Mon Aug  5 01:53:42 UTC 2013

Modified Files:
src/external/lgpl2/mpc/lib/libmpc: Makefile

Log Message:
Use GMP_MACHINE_ARCH which is MACHINE_ARCH with arm substituted for armv[467].


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/external/lgpl2/mpc/lib/libmpc/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/lgpl2/mpc/lib/libmpc/Makefile
diff -u src/external/lgpl2/mpc/lib/libmpc/Makefile:1.5 src/external/lgpl2/mpc/lib/libmpc/Makefile:1.6
--- src/external/lgpl2/mpc/lib/libmpc/Makefile:1.5	Wed Sep 21 02:06:42 2011
+++ src/external/lgpl2/mpc/lib/libmpc/Makefile	Mon Aug  5 01:53:42 2013
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.5 2011/09/21 02:06:42 mrg Exp $
+#	$NetBSD: Makefile,v 1.6 2013/08/05 01:53:42 matt Exp $
 
 .include 
 
@@ -94,7 +94,8 @@ SRCS=	\
 CPPFLAGS+=	-I${.CURDIR}
 
 # Find  and 
-CPPFLAGS+=	-I${NETBSDSRCDIR}/external/lgpl3/gmp/lib/libgmp/arch/${MACHINE_ARCH}
+GMP_MACHINE_ARCH=${MACHINE_ARCH:C/armv[467]/arm/}
+CPPFLAGS+=	-I${NETBSDSRCDIR}/external/lgpl3/gmp/lib/libgmp/arch/${GMP_MACHINE_ARCH}
 CPPFLAGS+=	-I${NETBSDSRCDIR}/external/lgpl3/mpfr/dist
 
 .include