Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/gnu/lib/libopcodes build libopcodes separately from libbfd a...



details:   https://anonhg.NetBSD.org/src/rev/95bf2d3d0f4d
branches:  trunk
changeset: 543643:95bf2d3d0f4d
user:      mrg <mrg%NetBSD.org@localhost>
date:      Sat Mar 01 13:18:28 2003 +0000

description:
build libopcodes separately from libbfd as in binutils 2.13 they have
separate CFLAGS name spaces, and the old combined method no longer works.

diffstat:

 gnu/lib/libopcodes/Makefile              |   36 +++++++
 gnu/lib/libopcodes/arch/alpha/config.h   |  145 +++++++++++++++++++++++++++++++
 gnu/lib/libopcodes/arch/alpha/defs.mk    |    6 +
 gnu/lib/libopcodes/arch/arm/config.h     |  145 +++++++++++++++++++++++++++++++
 gnu/lib/libopcodes/arch/arm/defs.mk      |    6 +
 gnu/lib/libopcodes/arch/i386/config.h    |  145 +++++++++++++++++++++++++++++++
 gnu/lib/libopcodes/arch/i386/defs.mk     |    6 +
 gnu/lib/libopcodes/arch/m68000/config.h  |  145 +++++++++++++++++++++++++++++++
 gnu/lib/libopcodes/arch/m68000/defs.mk   |    6 +
 gnu/lib/libopcodes/arch/m68k/config.h    |  145 +++++++++++++++++++++++++++++++
 gnu/lib/libopcodes/arch/m68k/defs.mk     |    6 +
 gnu/lib/libopcodes/arch/mipseb/config.h  |  145 +++++++++++++++++++++++++++++++
 gnu/lib/libopcodes/arch/mipseb/defs.mk   |    6 +
 gnu/lib/libopcodes/arch/mipsel/config.h  |  145 +++++++++++++++++++++++++++++++
 gnu/lib/libopcodes/arch/mipsel/defs.mk   |    6 +
 gnu/lib/libopcodes/arch/powerpc/config.h |  145 +++++++++++++++++++++++++++++++
 gnu/lib/libopcodes/arch/powerpc/defs.mk  |    6 +
 gnu/lib/libopcodes/arch/sh3eb/config.h   |  145 +++++++++++++++++++++++++++++++
 gnu/lib/libopcodes/arch/sh3eb/defs.mk    |    6 +
 gnu/lib/libopcodes/arch/sh3el/config.h   |  145 +++++++++++++++++++++++++++++++
 gnu/lib/libopcodes/arch/sh3el/defs.mk    |    6 +
 gnu/lib/libopcodes/arch/sparc/config.h   |  145 +++++++++++++++++++++++++++++++
 gnu/lib/libopcodes/arch/sparc/defs.mk    |    6 +
 gnu/lib/libopcodes/arch/sparc64/config.h |  145 +++++++++++++++++++++++++++++++
 gnu/lib/libopcodes/arch/sparc64/defs.mk  |    6 +
 gnu/lib/libopcodes/arch/vax/config.h     |  145 +++++++++++++++++++++++++++++++
 gnu/lib/libopcodes/arch/vax/defs.mk      |    6 +
 27 files changed, 1999 insertions(+), 0 deletions(-)

diffs (truncated from 2107 to 300 lines):

diff -r aeb8801a3fa0 -r 95bf2d3d0f4d gnu/lib/libopcodes/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/gnu/lib/libopcodes/Makefile       Sat Mar 01 13:18:28 2003 +0000
@@ -0,0 +1,36 @@
+#      $NetBSD: Makefile,v 1.1 2003/03/01 13:18:28 mrg Exp $
+
+NOLINKLIB=     # defined
+NOLINT=                # defined
+NOMAN=         # defined
+NOPROFILE=     # defined
+
+.include <bsd.own.mk>
+
+LIB=           opcodes
+
+.if exists(${.CURDIR}/arch/${MACHINE_ARCH}/defs.mk)
+.include "${.CURDIR}/arch/${MACHINE_ARCH}/defs.mk"
+
+SHLIB_MAJOR=   0
+SHLIB_MINOR=   0
+
+DIST=          ${NETBSDSRCDIR}/gnu/dist/toolchain
+
+GCPPFLAGS=     ${G_archdefs} ${G_DEFS} ${G_INCLUDES} ${G_TDEFAULTS}
+CPPFLAGS+=     -I${.CURDIR}/arch/${MACHINE_ARCH} \
+               -I${.CURDIR}/../libbfd/arch/${MACHINE_ARCH} \
+               -I${DIST}/include -I. \
+               -I${DIST}/bfd ${GCPPFLAGS:M-D*} \
+               ${GCPPFLAGS:M-I*:N-I.*}
+
+GSRCS=         ${G_BFD_MACHINES}
+SRCS=          ${GSRCS:.lo=.c} ${G_libopcodes_la_SOURCES}
+
+.PATH: ${DIST}/opcodes
+
+.include <bsd.lib.mk>
+
+.else
+.include <bsd.prog.mk> # do nothing
+.endif
diff -r aeb8801a3fa0 -r 95bf2d3d0f4d gnu/lib/libopcodes/arch/alpha/config.h
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/gnu/lib/libopcodes/arch/alpha/config.h    Sat Mar 01 13:18:28 2003 +0000
@@ -0,0 +1,145 @@
+/* This file is automatically generated.  DO NOT EDIT! */
+/* Generated from:     NetBSD: mknative,v 1.9 2003/02/07 01:52:54 lukem Exp  */
+
+/* config.h.  Generated automatically by configure.  */
+/* config.in.  Generated automatically from configure.in by autoheader.  */
+
+/* Define if using alloca.c.  */
+/* #undef C_ALLOCA */
+
+/* Define to empty if the keyword does not work.  */
+/* #undef const */
+
+/* Define to one of _getb67, GETB67, getb67 for Cray-2 and Cray-YMP systems.
+   This function is required for alloca.c support on those systems.  */
+/* #undef CRAY_STACKSEG_END */
+
+/* Define if you have alloca, as a function or macro.  */
+#define HAVE_ALLOCA 1
+
+/* Define if you have <alloca.h> and it should be used (not on Ultrix).  */
+/* #undef HAVE_ALLOCA_H */
+
+/* Define if you have a working `mmap' system call.  */
+#define HAVE_MMAP 1
+
+/* Define as __inline if that's what the C compiler calls it.  */
+/* #undef inline */
+
+/* Define to `long' if <sys/types.h> doesn't define.  */
+/* #undef off_t */
+
+/* Define if you need to in order for stat and other things to work.  */
+/* #undef _POSIX_SOURCE */
+
+/* Define to `unsigned' if <sys/types.h> doesn't define.  */
+/* #undef size_t */
+
+/* If using the C implementation of alloca, define if you know the
+   direction of stack growth for your system; otherwise it will be
+   automatically deduced at run-time.
+ STACK_DIRECTION > 0 => grows toward higher addresses
+ STACK_DIRECTION < 0 => grows toward lower addresses
+ STACK_DIRECTION = 0 => direction of growth unknown
+ */
+/* #undef STACK_DIRECTION */
+
+/* Define if you have the ANSI C header files.  */
+#define STDC_HEADERS 1
+
+/* Define if you have the __argz_count function.  */
+/* #undef HAVE___ARGZ_COUNT */
+
+/* Define if you have the __argz_next function.  */
+/* #undef HAVE___ARGZ_NEXT */
+
+/* Define if you have the __argz_stringify function.  */
+/* #undef HAVE___ARGZ_STRINGIFY */
+
+/* Define if you have the dcgettext function.  */
+#define HAVE_DCGETTEXT 1
+
+/* Define if you have the getcwd function.  */
+#define HAVE_GETCWD 1
+
+/* Define if you have the getpagesize function.  */
+#define HAVE_GETPAGESIZE 1
+
+/* Define if you have the munmap function.  */
+#define HAVE_MUNMAP 1
+
+/* Define if you have the putenv function.  */
+#define HAVE_PUTENV 1
+
+/* Define if you have the setenv function.  */
+#define HAVE_SETENV 1
+
+/* Define if you have the setlocale function.  */
+#define HAVE_SETLOCALE 1
+
+/* Define if you have the stpcpy function.  */
+/* #undef HAVE_STPCPY */
+
+/* Define if you have the strcasecmp function.  */
+#define HAVE_STRCASECMP 1
+
+/* Define if you have the strchr function.  */
+#define HAVE_STRCHR 1
+
+/* Define if you have the <argz.h> header file.  */
+/* #undef HAVE_ARGZ_H */
+
+/* Define if you have the <limits.h> header file.  */
+#define HAVE_LIMITS_H 1
+
+/* Define if you have the <locale.h> header file.  */
+#define HAVE_LOCALE_H 1
+
+/* Define if you have the <malloc.h> header file.  */
+#define HAVE_MALLOC_H 1
+
+/* Define if you have the <nl_types.h> header file.  */
+#define HAVE_NL_TYPES_H 1
+
+/* Define if you have the <stdlib.h> header file.  */
+#define HAVE_STDLIB_H 1
+
+/* Define if you have the <string.h> header file.  */
+#define HAVE_STRING_H 1
+
+/* Define if you have the <strings.h> header file.  */
+#define HAVE_STRINGS_H 1
+
+/* Define if you have the <sys/param.h> header file.  */
+#define HAVE_SYS_PARAM_H 1
+
+/* Define if you have the <sys/stat.h> header file.  */
+#define HAVE_SYS_STAT_H 1
+
+/* Define if you have the <sys/types.h> header file.  */
+#define HAVE_SYS_TYPES_H 1
+
+/* Define if you have the <unistd.h> header file.  */
+#define HAVE_UNISTD_H 1
+
+/* Define if you have the <values.h> header file.  */
+/* #undef HAVE_VALUES_H */
+
+/* Name of package */
+#define PACKAGE "opcodes"
+
+/* Version number of package */
+#define VERSION "2.13.2.1"
+
+/* Define if you have the stpcpy function */
+/* #undef HAVE_STPCPY */
+
+/* Define if your locale.h file contains LC_MESSAGES. */
+#define HAVE_LC_MESSAGES 1
+
+/* Define to 1 if NLS is requested */
+#define ENABLE_NLS 1
+
+/* Define as 1 if you have gettext and don't want to use GNU gettext. */
+#define HAVE_GETTEXT 1
+
diff -r aeb8801a3fa0 -r 95bf2d3d0f4d gnu/lib/libopcodes/arch/alpha/defs.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/gnu/lib/libopcodes/arch/alpha/defs.mk     Sat Mar 01 13:18:28 2003 +0000
@@ -0,0 +1,6 @@
+# This file is automatically generated.  DO NOT EDIT!
+# Generated from:      NetBSD: mknative,v 1.9 2003/02/07 01:52:54 lukem Exp 
+#
+G_archdefs=-DARCH_alpha
+G_BFD_MACHINES=alpha-dis.lo alpha-opc.lo
+G_libopcodes_la_SOURCES=dis-buf.c disassemble.c
diff -r aeb8801a3fa0 -r 95bf2d3d0f4d gnu/lib/libopcodes/arch/arm/config.h
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/gnu/lib/libopcodes/arch/arm/config.h      Sat Mar 01 13:18:28 2003 +0000
@@ -0,0 +1,145 @@
+/* This file is automatically generated.  DO NOT EDIT! */
+/* Generated from:     NetBSD: mknative,v 1.9 2003/02/07 01:52:54 lukem Exp  */
+
+/* config.h.  Generated automatically by configure.  */
+/* config.in.  Generated automatically from configure.in by autoheader.  */
+
+/* Define if using alloca.c.  */
+/* #undef C_ALLOCA */
+
+/* Define to empty if the keyword does not work.  */
+/* #undef const */
+
+/* Define to one of _getb67, GETB67, getb67 for Cray-2 and Cray-YMP systems.
+   This function is required for alloca.c support on those systems.  */
+/* #undef CRAY_STACKSEG_END */
+
+/* Define if you have alloca, as a function or macro.  */
+#define HAVE_ALLOCA 1
+
+/* Define if you have <alloca.h> and it should be used (not on Ultrix).  */
+/* #undef HAVE_ALLOCA_H */
+
+/* Define if you have a working `mmap' system call.  */
+#define HAVE_MMAP 1
+
+/* Define as __inline if that's what the C compiler calls it.  */
+/* #undef inline */
+
+/* Define to `long' if <sys/types.h> doesn't define.  */
+/* #undef off_t */
+
+/* Define if you need to in order for stat and other things to work.  */
+/* #undef _POSIX_SOURCE */
+
+/* Define to `unsigned' if <sys/types.h> doesn't define.  */
+/* #undef size_t */
+
+/* If using the C implementation of alloca, define if you know the
+   direction of stack growth for your system; otherwise it will be
+   automatically deduced at run-time.
+ STACK_DIRECTION > 0 => grows toward higher addresses
+ STACK_DIRECTION < 0 => grows toward lower addresses
+ STACK_DIRECTION = 0 => direction of growth unknown
+ */
+/* #undef STACK_DIRECTION */
+
+/* Define if you have the ANSI C header files.  */
+#define STDC_HEADERS 1
+
+/* Define if you have the __argz_count function.  */
+/* #undef HAVE___ARGZ_COUNT */
+
+/* Define if you have the __argz_next function.  */
+/* #undef HAVE___ARGZ_NEXT */
+
+/* Define if you have the __argz_stringify function.  */
+/* #undef HAVE___ARGZ_STRINGIFY */
+
+/* Define if you have the dcgettext function.  */
+#define HAVE_DCGETTEXT 1
+
+/* Define if you have the getcwd function.  */
+#define HAVE_GETCWD 1
+
+/* Define if you have the getpagesize function.  */
+#define HAVE_GETPAGESIZE 1
+
+/* Define if you have the munmap function.  */
+#define HAVE_MUNMAP 1
+
+/* Define if you have the putenv function.  */
+#define HAVE_PUTENV 1
+
+/* Define if you have the setenv function.  */
+#define HAVE_SETENV 1
+
+/* Define if you have the setlocale function.  */
+#define HAVE_SETLOCALE 1
+
+/* Define if you have the stpcpy function.  */
+/* #undef HAVE_STPCPY */
+
+/* Define if you have the strcasecmp function.  */
+#define HAVE_STRCASECMP 1
+
+/* Define if you have the strchr function.  */
+#define HAVE_STRCHR 1
+
+/* Define if you have the <argz.h> header file.  */
+/* #undef HAVE_ARGZ_H */
+
+/* Define if you have the <limits.h> header file.  */
+#define HAVE_LIMITS_H 1
+
+/* Define if you have the <locale.h> header file.  */
+#define HAVE_LOCALE_H 1
+



Home | Main Index | Thread Index | Old Index