Module Name: src Committed By: mrg Date: Tue Jun 28 10:15:16 UTC 2011
Modified Files: src/external/gpl3/gcc/usr.bin: Makefile.inc Added Files: src/external/gpl3/gcc/usr.bin: Makefile.libdecnumber src/external/gpl3/gcc/usr.bin/libdecnumber: Makefile src/external/gpl3/gcc/usr.bin/libdecnumber/arch/x86_64: config.h Log Message: build libdecnumber. To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6 src/external/gpl3/gcc/usr.bin/Makefile.inc cvs rdiff -u -r0 -r1.1 src/external/gpl3/gcc/usr.bin/Makefile.libdecnumber cvs rdiff -u -r0 -r1.1 src/external/gpl3/gcc/usr.bin/libdecnumber/Makefile cvs rdiff -u -r0 -r1.1 \ src/external/gpl3/gcc/usr.bin/libdecnumber/arch/x86_64/config.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/external/gpl3/gcc/usr.bin/Makefile.inc diff -u src/external/gpl3/gcc/usr.bin/Makefile.inc:1.5 src/external/gpl3/gcc/usr.bin/Makefile.inc:1.6 --- src/external/gpl3/gcc/usr.bin/Makefile.inc:1.5 Tue Jun 28 09:28:22 2011 +++ src/external/gpl3/gcc/usr.bin/Makefile.inc Tue Jun 28 10:15:15 2011 @@ -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 Added files: Index: src/external/gpl3/gcc/usr.bin/Makefile.libdecnumber diff -u /dev/null src/external/gpl3/gcc/usr.bin/Makefile.libdecnumber:1.1 --- /dev/null Tue Jun 28 10:15:16 2011 +++ src/external/gpl3/gcc/usr.bin/Makefile.libdecnumber Tue Jun 28 10:15:15 2011 @@ -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 Index: src/external/gpl3/gcc/usr.bin/libdecnumber/Makefile diff -u /dev/null src/external/gpl3/gcc/usr.bin/libdecnumber/Makefile:1.1 --- /dev/null Tue Jun 28 10:15:16 2011 +++ src/external/gpl3/gcc/usr.bin/libdecnumber/Makefile Tue Jun 28 10:15:15 2011 @@ -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 Index: src/external/gpl3/gcc/usr.bin/libdecnumber/arch/x86_64/config.h diff -u /dev/null src/external/gpl3/gcc/usr.bin/libdecnumber/arch/x86_64/config.h:1.1 --- /dev/null Tue Jun 28 10:15:16 2011 +++ src/external/gpl3/gcc/usr.bin/libdecnumber/arch/x86_64/config.h Tue Jun 28 10:15:16 2011 @@ -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-b...@gcc.gnu.org" + +/* 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 */