Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/gpl3/gcc/usr.bin build libdecnumber.
details: https://anonhg.NetBSD.org/src/rev/344d30825f1a
branches: trunk
changeset: 766593:344d30825f1a
user: mrg <mrg%NetBSD.org@localhost>
date: Tue Jun 28 10:15:15 2011 +0000
description:
build libdecnumber.
diffstat:
external/gpl3/gcc/usr.bin/Makefile.inc | 4 +-
external/gpl3/gcc/usr.bin/Makefile.libdecnumber | 4 +
external/gpl3/gcc/usr.bin/libdecnumber/Makefile | 20 ++
external/gpl3/gcc/usr.bin/libdecnumber/arch/x86_64/config.h | 99 +++++++++++++
4 files changed, 125 insertions(+), 2 deletions(-)
diffs (153 lines):
diff -r fcdf5e5db009 -r 344d30825f1a external/gpl3/gcc/usr.bin/Makefile.inc
--- a/external/gpl3/gcc/usr.bin/Makefile.inc Tue Jun 28 10:14:41 2011 +0000
+++ b/external/gpl3/gcc/usr.bin/Makefile.inc Tue Jun 28 10:15:15 2011 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.inc,v 1.5 2011/06/28 09:28:22 mrg Exp $
+# $NetBSD: Makefile.inc,v 1.6 2011/06/28 10:15:15 mrg Exp $
.include <bsd.own.mk>
@@ -22,7 +22,7 @@
FRONTENDOBJ!= cd ${.CURDIR}/../frontend && ${PRINTOBJDIR}
BACKENDOBJ!= cd ${.CURDIR}/../backend && ${PRINTOBJDIR}
LIBCPPOBJ!= cd ${.CURDIR}/../libcpp && ${PRINTOBJDIR}
-LIBDECNUMBEROBJ!= cd ${.CURDIR}/../../lib/libdecnumber && ${PRINTOBJDIR}
+LIBDECNUMBEROBJ!= cd ${.CURDIR}/../libdecnumber && ${PRINTOBJDIR}
HOSTLIBIBERTYOBJ!= cd ${.CURDIR}/../host-libiberty && ${PRINTOBJDIR}
HOSTLIBIBERTY= ${HOSTLIBIBERTYOBJ}/libiberty/libiberty.a
diff -r fcdf5e5db009 -r 344d30825f1a external/gpl3/gcc/usr.bin/Makefile.libdecnumber
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/external/gpl3/gcc/usr.bin/Makefile.libdecnumber Tue Jun 28 10:15:15 2011 +0000
@@ -0,0 +1,4 @@
+# $NetBSD: Makefile.libdecnumber,v 1.1 2011/06/28 10:15:15 mrg Exp $
+
+DPADD+= ${LIBDECNUMBEROBJ}/libdecnumber.a
+LDADD+= ${LIBDECNUMBEROBJ}/libdecnumber.a
diff -r fcdf5e5db009 -r 344d30825f1a external/gpl3/gcc/usr.bin/libdecnumber/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/external/gpl3/gcc/usr.bin/libdecnumber/Makefile Tue Jun 28 10:15:15 2011 +0000
@@ -0,0 +1,20 @@
+# $NetBSD
+
+DIST= ${NETBSDSRCDIR}/external/gpl3/gcc/dist
+GNUHOSTDIST= ${DIST}
+
+NOLINT= # defined
+NOPIC= # defined
+NOPROFILE= # defined
+
+.include <bsd.own.mk>
+
+LIB= decnumber
+
+SRCS= decNumber.c decContext.c decimal32.c decimal64.c decimal128.c
+CPPFLAGS+= -I${.CURDIR}/arch/${MACHINE_ARCH} -I${DIST}/libdecnumber
+CPPFLAGS+= -I${DIST}/libgcc
+
+.include <bsd.lib.mk>
+
+.PATH: ${DIST}/libdecnumber ${DIST}/libdecnumber/dpd
diff -r fcdf5e5db009 -r 344d30825f1a external/gpl3/gcc/usr.bin/libdecnumber/arch/x86_64/config.h
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/external/gpl3/gcc/usr.bin/libdecnumber/arch/x86_64/config.h Tue Jun 28 10:15:15 2011 +0000
@@ -0,0 +1,99 @@
+/* This file is automatically generated. DO NOT EDIT! */
+/* Generated from: NetBSD: mknative-gcc,v 1.50 2011/06/28 04:30:32 mrg Exp */
+/* Generated from: NetBSD: mknative.common,v 1.9 2007/02/05 18:26:01 apb Exp */
+
+/* config.h. Generated from config.in by configure. */
+/* config.in. Generated from configure.ac by autoheader. */
+
+/* Define if building universal (internal helper macro) */
+/* #undef AC_APPLE_UNIVERSAL_BUILD */
+
+/* Define to 1 if you have the <ctype.h> header file. */
+#define HAVE_CTYPE_H 1
+
+/* Define to 1 if you have the <inttypes.h> header file. */
+#define HAVE_INTTYPES_H 1
+
+/* Define to 1 if you have the <memory.h> header file. */
+#define HAVE_MEMORY_H 1
+
+/* Define to 1 if you have the <stddef.h> header file. */
+#define HAVE_STDDEF_H 1
+
+/* Define to 1 if you have the <stdint.h> header file. */
+#define HAVE_STDINT_H 1
+
+/* Define to 1 if you have the <stdio.h> header file. */
+#define HAVE_STDIO_H 1
+
+/* Define to 1 if you have the <stdlib.h> header file. */
+#define HAVE_STDLIB_H 1
+
+/* Define to 1 if you have the <strings.h> header file. */
+#define HAVE_STRINGS_H 1
+
+/* Define to 1 if you have the <string.h> header file. */
+#define HAVE_STRING_H 1
+
+/* Define to 1 if you have the <sys/stat.h> header file. */
+#define HAVE_SYS_STAT_H 1
+
+/* Define to 1 if you have the <sys/types.h> header file. */
+#define HAVE_SYS_TYPES_H 1
+
+/* Define to 1 if you have the <unistd.h> header file. */
+#define HAVE_UNISTD_H 1
+
+/* Define to the address where bug reports for this package should be sent. */
+#define PACKAGE_BUGREPORT "gcc-bugs%gcc.gnu.org@localhost"
+
+/* Define to the full name of this package. */
+#define PACKAGE_NAME "libdecnumber"
+
+/* Define to the full name and version of this package. */
+#define PACKAGE_STRING "libdecnumber "
+
+/* Define to the one symbol short name of this package. */
+#define PACKAGE_TARNAME "libdecnumber"
+
+/* Define to the home page for this package. */
+#define PACKAGE_URL ""
+
+/* Define to the version of this package. */
+#define PACKAGE_VERSION " "
+
+/* The size of `char', as computed by sizeof. */
+/* #undef SIZEOF_CHAR */
+
+/* The size of `int', as computed by sizeof. */
+#define SIZEOF_INT 4
+
+/* The size of `long', as computed by sizeof. */
+#define SIZEOF_LONG 8
+
+/* The size of `short', as computed by sizeof. */
+/* #undef SIZEOF_SHORT */
+
+/* The size of `void *', as computed by sizeof. */
+/* #undef SIZEOF_VOID_P */
+
+/* Define to 1 if you have the ANSI C header files. */
+#define STDC_HEADERS 1
+
+/* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
+ significant byte first (like Motorola and SPARC, unlike Intel). */
+#if defined AC_APPLE_UNIVERSAL_BUILD
+# if defined __BIG_ENDIAN__
+# define WORDS_BIGENDIAN 1
+# endif
+#else
+# ifndef WORDS_BIGENDIAN
+/* # undef WORDS_BIGENDIAN */
+# endif
+#endif
+
+/* Define to empty if `const' does not conform to ANSI C. */
+/* #undef const */
+
+/* Define to `long int' if <sys/types.h> does not define. */
+/* #undef off_t */
Home |
Main Index |
Thread Index |
Old Index