Run --gc-sections tests only if supported.
[deliverable/binutils-gdb.git] / bfd / Makefile.am
index e6259305a8e3aae72b27b15c33f1bf026a6f24e4..8610d5e361f7ac5234c7ab2dacea27864bed926d 100644 (file)
@@ -23,6 +23,7 @@ else !INSTALL_LIBBFD
 # Empty these so that the respective installation directories will not be created.
 bfdlibdir =
 bfdincludedir =
+bfdinclude_HEADERS =
 rpath_bfdlibdir = @bfdlibdir@
 noinst_LTLIBRARIES = libbfd.la
 libbfd_la_LDFLAGS += -rpath $(rpath_bfdlibdir)
@@ -33,6 +34,7 @@ NO_WERROR = @NO_WERROR@
 AM_CFLAGS = $(WARN_CFLAGS)
 AM_CPPFLAGS = -DBINDIR='"$(bindir)"'
 if PLUGINS
+bfdinclude_HEADERS += $(INCDIR)/plugin-api.h
 LIBDL = -ldl
 endif
 
@@ -89,6 +91,7 @@ ALL_MACHINES = \
        cpu-i370.lo \
        cpu-i386.lo \
        cpu-l1om.lo \
+       cpu-k1om.lo \
        cpu-i860.lo \
        cpu-i960.lo \
        cpu-ia64.lo \
@@ -103,7 +106,6 @@ ALL_MACHINES = \
        cpu-m68hc12.lo \
        cpu-m68k.lo \
        cpu-m88k.lo \
-       cpu-maxq.lo \
        cpu-mcore.lo \
        cpu-mep.lo \
        cpu-microblaze.lo \
@@ -131,6 +133,8 @@ ALL_MACHINES = \
        cpu-tic54x.lo \
        cpu-tic6x.lo \
        cpu-tic80.lo \
+       cpu-tilegx.lo \
+       cpu-tilepro.lo \
        cpu-v850.lo \
        cpu-vax.lo \
        cpu-w65.lo \
@@ -162,6 +166,7 @@ ALL_MACHINES_CFILES = \
        cpu-i370.c \
        cpu-i386.c \
        cpu-l1om.c \
+       cpu-k1om.c \
        cpu-i860.c \
        cpu-i960.c \
        cpu-ia64.c \
@@ -176,7 +181,6 @@ ALL_MACHINES_CFILES = \
        cpu-m68hc12.c \
        cpu-m68k.c \
        cpu-m88k.c \
-       cpu-maxq.c \
        cpu-mcore.c \
        cpu-mep.c \
        cpu-microblaze.c \
@@ -204,6 +208,8 @@ ALL_MACHINES_CFILES = \
        cpu-tic54x.c \
        cpu-tic6x.c \
        cpu-tic80.c \
+       cpu-tilegx.c \
+       cpu-tilepro.c \
        cpu-v850.c \
        cpu-vax.c \
        cpu-w65.c \
@@ -240,7 +246,6 @@ BFD32_BACKENDS = \
        coff-i960.lo \
        coff-m68k.lo \
        coff-m88k.lo \
-       coff-maxq.lo \
        coff-mips.lo \
        coff-or32.lo \
        coff-rs6000.lo \
@@ -320,6 +325,8 @@ BFD32_BACKENDS = \
        elf32-sparc.lo \
        elf32-spu.lo \
        elf32-tic6x.lo \
+       elf32-tilegx.lo \
+       elf32-tilepro.lo \
        elf32-v850.lo \
        elf32-vax.lo \
        elf32-xc16x.lo \
@@ -329,6 +336,7 @@ BFD32_BACKENDS = \
        elflink.lo \
        elfxx-mips.lo \
        elfxx-sparc.lo \
+       elfxx-tilegx.lo \
        epoc-pe-arm.lo \
        epoc-pei-arm.lo \
        hp300bsd.lo \
@@ -391,7 +399,6 @@ BFD32_BACKENDS = \
        vaxbsd.lo \
        vaxnetbsd.lo \
        versados.lo \
-       vms-alpha.lo \
        vms-lib.lo \
        vms-misc.lo \
        xcofflink.lo \
@@ -423,7 +430,6 @@ BFD32_BACKENDS_CFILES = \
        coff-i960.c \
        coff-m68k.c \
        coff-m88k.c \
-       coff-maxq.c \
        coff-mips.c \
        coff-or32.c \
        coff-rs6000.c \
@@ -503,6 +509,8 @@ BFD32_BACKENDS_CFILES = \
        elf32-sparc.c \
        elf32-spu.c \
        elf32-tic6x.c \
+       elf32-tilegx.c \
+       elf32-tilepro.c \
        elf32-v850.c \
        elf32-vax.c \
        elf32-xc16x.c \
@@ -512,6 +520,7 @@ BFD32_BACKENDS_CFILES = \
        elflink.c \
        elfxx-mips.c \
        elfxx-sparc.c \
+       elfxx-tilegx.c \
        epoc-pe-arm.c \
        epoc-pei-arm.c \
        hp300bsd.c \
@@ -573,7 +582,6 @@ BFD32_BACKENDS_CFILES = \
        vaxbsd.c \
        vaxnetbsd.c \
        versados.c \
-       vms-alpha.c \
        vms-lib.c \
        vms-misc.c \
        xcofflink.c \
@@ -606,9 +614,11 @@ BFD64_BACKENDS = \
        elf64-s390.lo \
        elf64-sh64.lo \
        elf64-sparc.lo \
+       elf64-tilegx.lo \
        elf64-x86-64.lo \
        elf64.lo \
        elfn32-mips.lo \
+       elfxx-ia64.lo \
        mach-o-x86-64.lo \
        mmo.lo \
        nlm32-alpha.lo \
@@ -617,7 +627,8 @@ BFD64_BACKENDS = \
        pei-ia64.lo \
        pei-x86_64.lo \
        pepigen.lo \
-       pex64igen.lo
+       pex64igen.lo \
+       vms-alpha.lo
 
 BFD64_BACKENDS_CFILES = \
        aix5ppc-core.c \
@@ -637,16 +648,19 @@ BFD64_BACKENDS_CFILES = \
        elf64-s390.c \
        elf64-sh64.c \
        elf64-sparc.c \
+       elf64-tilegx.c \
        elf64-x86-64.c \
        elf64.c \
        elfn32-mips.c \
+       elfxx-ia64.c \
        mach-o-x86-64.c \
        mmo.c \
        nlm32-alpha.c \
        nlm64.c \
        pe-x86_64.c \
        pei-ia64.c \
-       pei-x86_64.c
+       pei-x86_64.c \
+       vms-alpha.c
 
 OPTIONAL_BACKENDS = \
        aix386-core.lo \
@@ -655,6 +669,7 @@ OPTIONAL_BACKENDS = \
        irix-core.lo \
        lynx-core.lo \
        osf-core.lo \
+       rs6000-core.lo \
        sco5-core.lo \
        trad-core.lo
 
@@ -665,6 +680,7 @@ OPTIONAL_BACKENDS_CFILES = \
        irix-core.c \
        lynx-core.c \
        osf-core.c \
+       rs6000-core.c \
        sco5-core.c \
        trad-core.c
 
@@ -711,7 +727,7 @@ SOURCE_HFILES = \
        libnlm.h liboasys.h libpei.h libxcoff.h mach-o.h \
        netbsd.h nlm-target.h nlmcode.h nlmswap.h ns32k.h \
        pef.h pef-traceback.h peicode.h som.h version.h \
-       vms.h xcoff-target.h xsym.h
+       vms.h xsym.h
 
 ## ... and all .h files which are in the build tree.
 BUILD_HFILES = \
@@ -845,14 +861,14 @@ elf64-target.h : elfxx-target.h
        sed -e s/NN/64/g < $(srcdir)/elfxx-target.h > elf64-target.new
        mv -f elf64-target.new elf64-target.h
 
-elf32-ia64.c : elfxx-ia64.c
+elf32-ia64.c : elfnn-ia64.c
        rm -f elf32-ia64.c
-       sed -e s/NN/32/g < $(srcdir)/elfxx-ia64.c > elf32-ia64.new
+       sed -e s/NN/32/g < $(srcdir)/elfnn-ia64.c > elf32-ia64.new
        mv -f elf32-ia64.new elf32-ia64.c
 
-elf64-ia64.c : elfxx-ia64.c
+elf64-ia64.c : elfnn-ia64.c
        rm -f elf64-ia64.c
-       sed -e s/NN/64/g < $(srcdir)/elfxx-ia64.c > elf64-ia64.new
+       sed -e s/NN/64/g < $(srcdir)/elfnn-ia64.c > elf64-ia64.new
        mv -f elf64-ia64.new elf64-ia64.c
 
 peigen.c : peXXigen.c
@@ -964,3 +980,19 @@ bfdver.h: $(srcdir)/version.h $(srcdir)/Makefile.in
            -e "s,@report_bugs_to@,$$report_bugs_to," \
            < $(srcdir)/version.h > $@; \
        echo "$${bfd_soversion}" > libtool-soversion
+
+# Disable -Werror, if it has been enabled, since coffswap.h won't
+# compile with gcc 4.5 and above.
+coff-tic4x.lo: coff-tic4x.c
+@am__fastdepCC_TRUE@   $(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< $(NO_WERROR)
+@am__fastdepCC_TRUE@   $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
+@AMDEP_TRUE@@am__fastdepCC_FALSE@      source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@  $(LTCOMPILE) -c -o $@ $< $(NO_WERROR)
+
+coff-tic54x.lo: coff-tic54x.c
+@am__fastdepCC_TRUE@   $(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< $(NO_WERROR)
+@am__fastdepCC_TRUE@   $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
+@AMDEP_TRUE@@am__fastdepCC_FALSE@      source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@  $(LTCOMPILE) -c -o $@ $< $(NO_WERROR)
This page took 0.02614 seconds and 4 git commands to generate.