diff options
author | jdp <jdp@FreeBSD.org> | 1998-03-01 23:41:17 +0000 |
---|---|---|
committer | jdp <jdp@FreeBSD.org> | 1998-03-01 23:41:17 +0000 |
commit | 8222bc81a24ad204d76d22477847c9e34a4bbac2 (patch) | |
tree | 8e555b486be69941abe80170ece6786d775cecae /gnu/usr.bin/binutils/libbinutils | |
parent | e83b4a256a4fbf16c7d0826da378236eb4c51061 (diff) | |
download | FreeBSD-src-8222bc81a24ad204d76d22477847c9e34a4bbac2.zip FreeBSD-src-8222bc81a24ad204d76d22477847c9e34a4bbac2.tar.gz |
Add bmakefiles for building binutils from the contrib tree.
This finishes up the binutils import. But I am leaving it disabled
in "src/gnu/usr.bin/Makefile" for now. It is not used by anything
yet, so I'll take this opportunity to run one more round of tests
before enabling it.
Diffstat (limited to 'gnu/usr.bin/binutils/libbinutils')
-rw-r--r-- | gnu/usr.bin/binutils/libbinutils/Makefile | 32 | ||||
-rw-r--r-- | gnu/usr.bin/binutils/libbinutils/config.h | 87 |
2 files changed, 119 insertions, 0 deletions
diff --git a/gnu/usr.bin/binutils/libbinutils/Makefile b/gnu/usr.bin/binutils/libbinutils/Makefile new file mode 100644 index 0000000..2c5f41a --- /dev/null +++ b/gnu/usr.bin/binutils/libbinutils/Makefile @@ -0,0 +1,32 @@ +# +# $Id$ +# + +.include "../Makefile.inc0" + +.PATH: ${SRCDIR}/binutils + +LIB= binutils +SRCS= arlex.l arparse.y arsup.c bucomm.c debug.c filemode.c \ + ieee.c rdcoff.c rddbg.c stabs.c wrstabs.c version.c +CFLAGS+= -DTARGET=\"${TARGET}\" +CFLAGS+= -DVERSION=\"${VERSION}\" +CFLAGS+= -I${SRCDIR}/binutils +CFLAGS+= -I${SRCDIR}/bfd +NOPROFILE= true +NOPIC= true +CLEANFILES+= arlex.c arparse.c arparse.h + +beforedepend: arlex.c arparse.c arparse.h + +arlex.o: arparse.h + +arparse.c arparse.h: arparse.y + ${YACC} -d -o arparse.c ${.IMPSRC} + +# This rule is an attempt to cause "make -j" to work. +arparse.h: arparse.c + +install: + +.include <bsd.lib.mk> diff --git a/gnu/usr.bin/binutils/libbinutils/config.h b/gnu/usr.bin/binutils/libbinutils/config.h new file mode 100644 index 0000000..fbabaab --- /dev/null +++ b/gnu/usr.bin/binutils/libbinutils/config.h @@ -0,0 +1,87 @@ +/* config.h. Generated automatically by configure. */ +/* config.in. Generated automatically from configure.in by autoheader. */ + +/* Whether strstr must be declared even if <string.h> is included. */ +/* #undef NEED_DECLARATION_STRSTR */ + +/* Whether fprintf must be declared even if <stdio.h> is included. */ +/* #undef NEED_DECLARATION_FPRINTF */ + +/* Whether sbrk must be declared even if <unistd.h> is included. */ +/* #undef NEED_DECLARATION_SBRK */ + +/* Whether getenv must be declared even if <stdlib.h> is included. */ +/* #undef NEED_DECLARATION_GETENV */ + +/* Define if using alloca.c. */ +/* #undef C_ALLOCA */ + +/* 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 <sys/wait.h> that is POSIX.1 compatible. */ +#define HAVE_SYS_WAIT_H 1 + +/* Define if you have <vfork.h>. */ +/* #undef HAVE_VFORK_H */ + +/* Define to `int' if <sys/types.h> doesn't define. */ +/* #undef pid_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 vfork as fork if vfork does not work. */ +/* #undef vfork */ + +/* Is the type time_t defined in <time.h>? */ +#define HAVE_TIME_T_IN_TIME_H 1 + +/* Is the type time_t defined in <sys/types.h>? */ +#define HAVE_TIME_T_IN_TYPES_H 1 + +/* Does <utime.h> define struct utimbuf? */ +#define HAVE_GOOD_UTIME_H 1 + +/* Do we need to use the b modifier when opening binary files? */ +/* #undef USE_BINARY_FOPEN */ + +/* Define if you have the sbrk function. */ +#define HAVE_SBRK 1 + +/* Define if you have the utimes function. */ +#define HAVE_UTIMES 1 + +/* Define if you have the <fcntl.h> header file. */ +#define HAVE_FCNTL_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/file.h> header file. */ +#define HAVE_SYS_FILE_H 1 + +/* Define if you have the <unistd.h> header file. */ +#define HAVE_UNISTD_H 1 |