diff options
author | Ian Lance Taylor <iant@google.com> | 2007-09-30 23:41:32 +0000 |
---|---|---|
committer | Ian Lance Taylor <iant@google.com> | 2007-09-30 23:41:32 +0000 |
commit | 6df6da4a619b2ff8556d9979003601c99b2b4d2d (patch) | |
tree | 914da273a2afa3eb063fdd45d13ec8ee027afe5e /gold/Makefile.in | |
parent | 07e8d93c1c9b260b004cbaa61a02cfd4b15e5936 (diff) | |
download | gdb-6df6da4a619b2ff8556d9979003601c99b2b4d2d.zip gdb-6df6da4a619b2ff8556d9979003601c99b2b4d2d.tar.gz gdb-6df6da4a619b2ff8556d9979003601c99b2b4d2d.tar.bz2 |
Clean up target handling--only build required files, warn about
unsupported targets.
Diffstat (limited to 'gold/Makefile.in')
-rw-r--r-- | gold/Makefile.in | 42 |
1 files changed, 24 insertions, 18 deletions
diff --git a/gold/Makefile.in b/gold/Makefile.in index 3213572..3ca6b8c 100644 --- a/gold/Makefile.in +++ b/gold/Makefile.in @@ -84,18 +84,18 @@ am_libgold_a_OBJECTS = $(am__objects_1) $(am__objects_2) \ $(am__objects_3) libgold_a_OBJECTS = $(am_libgold_a_OBJECTS) PROGRAMS = $(noinst_PROGRAMS) -am__objects_4 = i386.$(OBJEXT) -am__objects_5 = main.$(OBJEXT) $(am__objects_4) -am_ld_new_OBJECTS = $(am__objects_5) +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 = libgold.a $(am__DEPENDENCIES_1) +am__DEPENDENCIES_2 = $(am__DEPENDENCIES_1) libgold.a \ + $(am__DEPENDENCIES_1) am__DEPENDENCIES_3 = @LIBOBJS@ -am__ld1_SOURCES_DIST = main.cc i386.cc -@GCC_TRUE@@NATIVE_LINKER_TRUE@am_ld1_OBJECTS = $(am__objects_5) +am__ld1_SOURCES_DIST = main.cc +@GCC_TRUE@@NATIVE_LINKER_TRUE@am_ld1_OBJECTS = $(am__objects_4) ld1_OBJECTS = $(am_ld1_OBJECTS) -am__ld2_SOURCES_DIST = main.cc i386.cc -@GCC_TRUE@@NATIVE_LINKER_TRUE@am_ld2_OBJECTS = $(am__objects_5) +am__ld2_SOURCES_DIST = main.cc +@GCC_TRUE@@NATIVE_LINKER_TRUE@am_ld2_OBJECTS = $(am__objects_4) ld2_OBJECTS = $(am_ld2_OBJECTS) DEFAULT_INCLUDES = -I. -I$(srcdir) -I. depcomp = $(SHELL) $(top_srcdir)/../depcomp @@ -110,10 +110,11 @@ CXXLD = $(CXX) CXXLINK = $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(AM_LDFLAGS) $(LDFLAGS) \ -o $@ YACCCOMPILE = $(YACC) $(YFLAGS) $(AM_YFLAGS) -SOURCES = $(libgold_a_SOURCES) $(ld_new_SOURCES) $(ld1_SOURCES) \ - $(ld2_SOURCES) +SOURCES = $(libgold_a_SOURCES) $(ld_new_SOURCES) \ + $(EXTRA_ld_new_SOURCES) $(ld1_SOURCES) $(ld2_SOURCES) DIST_SOURCES = $(libgold_a_SOURCES) $(ld_new_SOURCES) \ - $(am__ld1_SOURCES_DIST) $(am__ld2_SOURCES_DIST) + $(EXTRA_ld_new_SOURCES) $(am__ld1_SOURCES_DIST) \ + $(am__ld2_SOURCES_DIST) RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \ html-recursive info-recursive install-data-recursive \ install-exec-recursive install-info-recursive \ @@ -202,6 +203,7 @@ RANLIB = @RANLIB@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ +TARGETOBJS = @TARGETOBJS@ USE_NLS = @USE_NLS@ VERSION = @VERSION@ WARN_CFLAGS = @WARN_CFLAGS@ @@ -318,21 +320,25 @@ HFILES = \ target-select.h \ workqueue.h -TARGETFILES = \ - i386.cc - YFILES = \ yyscript.y EXTRA_DIST = yyscript.c yyscript.h +TARGETSOURCES = \ + i386.cc + +ALL_TARGETOBJS = \ + i386.$(OBJEXT) + libgold_a_SOURCES = $(CCFILES) $(HFILES) $(YFILES) -sources_var = main.cc $(TARGETFILES) -deps_var = libgold.a $(LIBINTL_DEP) -ldadd_var = libgold.a $(LIBINTL) +sources_var = main.cc +deps_var = $(TARGETOBJS) libgold.a $(LIBINTL_DEP) +ldadd_var = $(TARGETOBJS) libgold.a $(LIBINTL) ld_new_SOURCES = $(sources_var) ld_new_DEPENDENCIES = $(deps_var) $(LIBOBJS) ld_new_LDADD = $(ldadd_var) $(LIBOBJS) -POTFILES = $(CCFILES) $(HFILES) $(TARGETFILES) +EXTRA_ld_new_SOURCES = $(TARGETSOURCES) +POTFILES = $(CCFILES) $(HFILES) $(TARGETSOURCES) @GCC_TRUE@@NATIVE_LINKER_TRUE@ld1_SOURCES = $(sources_var) @GCC_TRUE@@NATIVE_LINKER_TRUE@ld1_DEPENDENCIES = $(deps_var) gcctestdir1/ld @GCC_TRUE@@NATIVE_LINKER_TRUE@ld1_LDADD = $(ldadd_var) |