diff options
author | Doug Kwan <dougkwan@google.com> | 2009-06-23 18:10:42 +0000 |
---|---|---|
committer | Doug Kwan <dougkwan@google.com> | 2009-06-23 18:10:42 +0000 |
commit | 3d857b98f555ee56c6fa6ed90c024424215574ed (patch) | |
tree | c68df6e845e52dc25b22b566e7d61de85004920f /gold/Makefile.in | |
parent | 27aa8d6aa032b25160328cd92c78c4f8158fa0b7 (diff) | |
download | gdb-3d857b98f555ee56c6fa6ed90c024424215574ed.zip gdb-3d857b98f555ee56c6fa6ed90c024424215574ed.tar.gz gdb-3d857b98f555ee56c6fa6ed90c024424215574ed.tar.bz2 |
2009-06-23 Doug Kwan <dougkwan@google.com>
* Makefile.am (libgold_a_LIBADD): New.
(ld_new_DEPENDENCIES, ld_new_LDADD): Remove LIBOBJS
* Makefile.in: Regenerate.
* config.in (HAVE_DECL_MEMMEM, HAVE_DECL_STRNDUP): New.
* configure: Regenerate.
* configure.ac (AC_CHECK_DECLS): Add strndup and memmem.
* fileread.cc: Include sys/state.h
* gold.h: Declare memmem and strndup if found missing.
* gold_reloc.h: Include byteswap.h if HAVE_BYTESWAP_H is defined.
Diffstat (limited to 'gold/Makefile.in')
-rw-r--r-- | gold/Makefile.in | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/gold/Makefile.in b/gold/Makefile.in index a32de6b..2450074 100644 --- a/gold/Makefile.in +++ b/gold/Makefile.in @@ -74,7 +74,8 @@ LIBRARIES = $(noinst_LIBRARIES) AR = ar ARFLAGS = cru libgold_a_AR = $(AR) $(ARFLAGS) -libgold_a_LIBADD = +am__DEPENDENCIES_1 = @LIBOBJS@ +libgold_a_DEPENDENCIES = $(am__DEPENDENCIES_1) am__objects_1 = archive.$(OBJEXT) binary.$(OBJEXT) common.$(OBJEXT) \ compressed_output.$(OBJEXT) copy-relocs.$(OBJEXT) \ cref.$(OBJEXT) defstd.$(OBJEXT) descriptors.$(OBJEXT) \ @@ -99,12 +100,11 @@ PROGRAMS = $(noinst_PROGRAMS) am__objects_4 = main.$(OBJEXT) am_ld_new_OBJECTS = $(am__objects_4) ld_new_OBJECTS = $(am_ld_new_OBJECTS) -am__DEPENDENCIES_1 = -am__DEPENDENCIES_2 = ../libiberty/libiberty.a -am__DEPENDENCIES_3 = $(am__DEPENDENCIES_1) libgold.a \ - $(am__DEPENDENCIES_2) $(am__DEPENDENCIES_1) \ - $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) -am__DEPENDENCIES_4 = @LIBOBJS@ +am__DEPENDENCIES_2 = +am__DEPENDENCIES_3 = ../libiberty/libiberty.a +am__DEPENDENCIES_4 = $(am__DEPENDENCIES_2) libgold.a \ + $(am__DEPENDENCIES_3) $(am__DEPENDENCIES_2) \ + $(am__DEPENDENCIES_2) $(am__DEPENDENCIES_2) am__ld1_SOURCES_DIST = main.cc @GCC_TRUE@@NATIVE_LINKER_TRUE@am_ld1_OBJECTS = $(am__objects_4) ld1_OBJECTS = $(am_ld1_OBJECTS) @@ -416,14 +416,15 @@ ALL_TARGETOBJS = \ arm.$(OBJEXT) libgold_a_SOURCES = $(CCFILES) $(HFILES) $(YFILES) +libgold_a_LIBADD = $(LIBOBJS) sources_var = main.cc deps_var = $(TARGETOBJS) libgold.a $(LIBIBERTY) $(LIBINTL_DEP) ldadd_var = $(TARGETOBJS) libgold.a $(LIBIBERTY) $(LIBINTL) \ $(THREADSLIB) $(LIBDL) ld_new_SOURCES = $(sources_var) -ld_new_DEPENDENCIES = $(deps_var) $(LIBOBJS) -ld_new_LDADD = $(ldadd_var) $(LIBOBJS) +ld_new_DEPENDENCIES = $(deps_var) +ld_new_LDADD = $(ldadd_var) EXTRA_ld_new_SOURCES = $(TARGETSOURCES) POTFILES = $(CCFILES) $(HFILES) $(TARGETSOURCES) @GCC_TRUE@@NATIVE_LINKER_TRUE@ld1_SOURCES = $(sources_var) |