Add Intel MCU support to bfd
[deliverable/binutils-gdb.git] / bfd / Makefile.am
index 6f64f0629732aea7b3f88e99771a9d4ede4b6c71..295a83adf59e3adc403363d3fc3dc3573ff9e926 100644 (file)
@@ -1,6 +1,6 @@
 ## Process this file with automake to generate Makefile.in
 #
-#   Copyright (C) 2012-2014 Free Software Foundation, Inc.
+#   Copyright (C) 2012-2015 Free Software Foundation, Inc.
 #
 # This file is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
@@ -43,9 +43,15 @@ noinst_LTLIBRARIES = libbfd.la
 libbfd_la_LDFLAGS += -rpath $(rpath_bfdlibdir)
 endif
 
+# This is where we get zlib from.  zlibdir is -L../zlib and zlibinc is
+# -I../zlib, unless we were configured with --with-system-zlib, in which
+# case both are empty.
+ZLIB = @zlibdir@ -lz
+ZLIBINC = @zlibinc@
+
 WARN_CFLAGS = @WARN_CFLAGS@
 NO_WERROR = @NO_WERROR@
-AM_CFLAGS = $(WARN_CFLAGS)
+AM_CFLAGS = $(WARN_CFLAGS) $(ZLIBINC)
 AM_CPPFLAGS = -DBINDIR='"$(bindir)"'
 if PLUGINS
 bfdinclude_HEADERS += $(INCDIR)/plugin-api.h
@@ -64,21 +70,19 @@ BFD_H = bfd.h
 # debugger).
 BFD32_LIBS = \
        archive.lo archures.lo bfd.lo bfdio.lo bfdwin.lo \
-       cache.lo coffgen.lo corefile.lo \
-       format.lo init.lo libbfd.lo opncls.lo reloc.lo \
-       section.lo syms.lo targets.lo hash.lo linker.lo \
-       srec.lo binary.lo tekhex.lo ihex.lo stabs.lo stab-syms.lo \
-       merge.lo dwarf2.lo simple.lo compress.lo verilog.lo
+       cache.lo coff-bfd.lo compress.lo corefile.lo format.lo hash.lo \
+       init.lo libbfd.lo linker.lo merge.lo opncls.lo reloc.lo \
+       section.lo simple.lo stab-syms.lo stabs.lo syms.lo targets.lo \
+       binary.lo ihex.lo srec.lo tekhex.lo verilog.lo
 
 BFD64_LIBS = archive64.lo
 
 BFD32_LIBS_CFILES = \
        archive.c archures.c bfd.c bfdio.c bfdwin.c \
-       cache.c coffgen.c corefile.c \
-       format.c init.c libbfd.c opncls.c reloc.c \
-       section.c syms.c targets.c hash.c linker.c \
-       srec.c binary.c tekhex.c ihex.c stabs.c stab-syms.c \
-       merge.c dwarf2.c simple.c compress.c verilog.c
+       cache.c coff-bfd.c compress.c corefile.c format.c hash.c \
+       init.c libbfd.c linker.c merge.c opncls.c reloc.c \
+       section.c simple.c stab-syms.c stabs.c syms.c targets.c \
+       binary.c ihex.c srec.c tekhex.c verilog.c
 
 BFD64_LIBS_CFILES = archive64.c
 
@@ -101,11 +105,13 @@ ALL_MACHINES = \
        cpu-epiphany.lo \
        cpu-fr30.lo \
        cpu-frv.lo \
+       cpu-ft32.lo \
        cpu-h8300.lo \
        cpu-h8500.lo \
        cpu-hppa.lo \
        cpu-i370.lo \
        cpu-i386.lo \
+       cpu-iamcu.lo \
        cpu-l1om.lo \
        cpu-k1om.lo \
        cpu-i860.lo \
@@ -159,6 +165,7 @@ ALL_MACHINES = \
        cpu-v850.lo \
        cpu-v850_rh850.lo \
        cpu-vax.lo \
+       cpu-visium.lo \
        cpu-w65.lo \
        cpu-we32k.lo \
        cpu-xc16x.lo \
@@ -185,11 +192,13 @@ ALL_MACHINES_CFILES = \
        cpu-epiphany.c \
        cpu-fr30.c \
        cpu-frv.c \
+       cpu-ft32.c \
        cpu-h8300.c \
        cpu-h8500.c \
        cpu-hppa.c \
        cpu-i370.c \
        cpu-i386.c \
+       cpu-iamcu.c \
        cpu-l1om.c \
        cpu-k1om.c \
        cpu-i860.c \
@@ -243,6 +252,7 @@ ALL_MACHINES_CFILES = \
        cpu-v850.c \
        cpu-v850_rh850.c \
        cpu-vax.c \
+       cpu-visium.c \
        cpu-w65.c \
        cpu-we32k.c \
        cpu-xc16x.c \
@@ -293,8 +303,10 @@ BFD32_BACKENDS = \
        coff-we32k.lo \
        coff-z80.lo \
        coff-z8k.lo \
+       coffgen.lo \
        cofflink.lo \
        dwarf1.lo \
+       dwarf2.lo \
        ecoff.lo \
        ecofflink.lo \
        elf-attrs.lo \
@@ -321,6 +333,7 @@ BFD32_BACKENDS = \
        elf32-epiphany.lo \
        elf32-fr30.lo \
        elf32-frv.lo \
+       elf32-ft32.lo \
        elf32-gen.lo \
        elf32-h8300.lo \
        elf32-hppa.lo \
@@ -364,6 +377,7 @@ BFD32_BACKENDS = \
        elf32-tilepro.lo \
        elf32-v850.lo \
        elf32-vax.lo \
+       elf32-visium.lo \
        elf32-xc16x.lo \
        elf32-xgate.lo \
        elf32-xstormy16.lo \
@@ -480,8 +494,10 @@ BFD32_BACKENDS_CFILES = \
        coff-we32k.c \
        coff-z80.c \
        coff-z8k.c \
+       coffgen.c \
        cofflink.c \
        dwarf1.c \
+       dwarf2.c \
        ecoff.c \
        ecofflink.c \
        elf-attrs.c \
@@ -508,6 +524,7 @@ BFD32_BACKENDS_CFILES = \
        elf32-epiphany.c \
        elf32-fr30.c \
        elf32-frv.c \
+       elf32-ft32.c \
        elf32-gen.c \
        elf32-h8300.c \
        elf32-hppa.c \
@@ -551,6 +568,7 @@ BFD32_BACKENDS_CFILES = \
        elf32-tilepro.c \
        elf32-v850.c \
        elf32-vax.c \
+       elf32-visium.c \
        elf32-xc16x.c \
        elf32-xgate.c \
        elf32-xstormy16.c \
@@ -830,7 +848,7 @@ ofiles: stamp-ofiles ; @true
 libbfd_la_SOURCES = $(BFD32_LIBS_CFILES)
 EXTRA_libbfd_la_SOURCES = $(CFILES)
 libbfd_la_DEPENDENCIES = $(OFILES) ofiles
-libbfd_la_LIBADD = `cat ofiles` @SHARED_LIBADD@ $(LIBDL)
+libbfd_la_LIBADD = `cat ofiles` @SHARED_LIBADD@ $(LIBDL) $(ZLIB)
 libbfd_la_LDFLAGS += -release `cat libtool-soversion` @SHARED_LDFLAGS@
 
 # libtool will build .libs/libbfd.a.  We create libbfd.a in the build
This page took 0.036152 seconds and 4 git commands to generate.