gdb: add target_ops::supports_displaced_step
[deliverable/binutils-gdb.git] / bfd / Makefile.am
index f31a7345994d0275169d62a09989781cd637619c..b6088a3c4a86048b4d0ad37c49bbf7c515f1f36a 100644 (file)
@@ -1,6 +1,6 @@
 ## Process this file with automake to generate Makefile.in
 #
-#   Copyright (C) 2012-2019 Free Software Foundation, Inc.
+#   Copyright (C) 2012-2020 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
@@ -53,7 +53,7 @@ ZLIBINC = @zlibinc@
 WARN_CFLAGS = @WARN_CFLAGS@
 NO_WERROR = @NO_WERROR@
 AM_CFLAGS = $(WARN_CFLAGS) $(ZLIBINC)
-AM_CPPFLAGS = -DBINDIR='"$(bindir)"'
+AM_CPPFLAGS = -DBINDIR='"$(bindir)"' -DLIBDIR='"$(libdir)"'
 if PLUGINS
 bfdinclude_HEADERS += $(INCDIR)/plugin-api.h
 LIBDL = @lt_cv_dlopen_libs@
@@ -98,7 +98,6 @@ ALL_MACHINES = \
        cpu-bfin.lo \
        cpu-bpf.lo \
        cpu-cr16.lo \
-       cpu-cr16c.lo \
        cpu-cris.lo \
        cpu-crx.lo \
        cpu-csky.lo \
@@ -145,7 +144,6 @@ ALL_MACHINES = \
        cpu-or1k.lo \
        cpu-pdp11.lo \
        cpu-pj.lo \
-       cpu-plugin.lo \
        cpu-powerpc.lo \
        cpu-pru.lo \
        cpu-rs6000.lo \
@@ -161,7 +159,6 @@ ALL_MACHINES = \
        cpu-tic4x.lo \
        cpu-tic54x.lo \
        cpu-tic6x.lo \
-       cpu-tic80.lo \
        cpu-tilegx.lo \
        cpu-tilepro.lo \
        cpu-v850.lo \
@@ -185,7 +182,6 @@ ALL_MACHINES_CFILES = \
        cpu-bfin.c \
        cpu-bpf.c \
        cpu-cr16.c \
-       cpu-cr16c.c \
        cpu-cris.c \
        cpu-crx.c \
        cpu-csky.c \
@@ -232,7 +228,6 @@ ALL_MACHINES_CFILES = \
        cpu-or1k.c \
        cpu-pdp11.c \
        cpu-pj.c \
-       cpu-plugin.c \
        cpu-powerpc.c \
        cpu-pru.c \
        cpu-rs6000.c \
@@ -248,7 +243,6 @@ ALL_MACHINES_CFILES = \
        cpu-tic4x.c \
        cpu-tic54x.c \
        cpu-tic6x.c \
-       cpu-tic80.c \
        cpu-tilegx.c \
        cpu-tilepro.c \
        cpu-v850.c \
@@ -280,7 +274,6 @@ BFD32_BACKENDS = \
        coff-tic30.lo \
        coff-tic4x.lo \
        coff-tic54x.lo \
-       coff-tic80.lo \
        coff-z80.lo \
        coff-z8k.lo \
        coffgen.lo \
@@ -304,7 +297,6 @@ BFD32_BACKENDS = \
        elf32-avr.lo \
        elf32-bfin.lo \
        elf32-cr16.lo \
-       elf32-cr16c.lo \
        elf32-cris.lo \
        elf32-crx.lo \
        elf32-csky.lo \
@@ -360,6 +352,7 @@ BFD32_BACKENDS = \
        elf32-xgate.lo \
        elf32-xstormy16.lo \
        elf32-xtensa.lo \
+       elf32-z80.lo \
        elf32.lo \
        elflink.lo \
        elfxx-sparc.lo \
@@ -417,7 +410,6 @@ BFD32_BACKENDS_CFILES = \
        coff-tic30.c \
        coff-tic4x.c \
        coff-tic54x.c \
-       coff-tic80.c \
        coff-z80.c \
        coff-z8k.c \
        coffgen.c \
@@ -441,7 +433,6 @@ BFD32_BACKENDS_CFILES = \
        elf32-avr.c \
        elf32-bfin.c \
        elf32-cr16.c \
-       elf32-cr16c.c \
        elf32-cris.c \
        elf32-crx.c \
        elf32-csky.c \
@@ -497,6 +488,7 @@ BFD32_BACKENDS_CFILES = \
        elf32-xgate.c \
        elf32-xstormy16.c \
        elf32-xtensa.c \
+       elf32-z80.c \
        elf32.c \
        elflink.c \
        elfxx-sparc.c \
@@ -835,63 +827,46 @@ endif
 endif
 
 elf32-target.h : elfxx-target.h
-       rm -f elf32-target.h
-       $(SED) -e s/NN/32/g < $(srcdir)/elfxx-target.h > elf32-target.new
-       mv -f elf32-target.new elf32-target.h
+       $(SED) -e s/NN/32/g < $< > $@
 
 elf64-target.h : elfxx-target.h
-       rm -f elf64-target.h
-       $(SED) -e s/NN/64/g < $(srcdir)/elfxx-target.h > elf64-target.new
-       mv -f elf64-target.new elf64-target.h
+       $(SED) -e s/NN/64/g < $< > $@
 
 elf32-aarch64.c : elfnn-aarch64.c
-       rm -f elf32-aarch64.c
-       echo "#line 1 \"$(srcdir)/elfnn-aarch64.c\"" > elf32-aarch64.new
-       $(SED) -e s/NN/32/g < $(srcdir)/elfnn-aarch64.c >> elf32-aarch64.new
-       mv -f elf32-aarch64.new elf32-aarch64.c
+       echo "#line 1 \"elfnn-aarch64.c\"" > $@
+       $(SED) -e s/NN/32/g < $< >> $@
 
 elf64-aarch64.c : elfnn-aarch64.c
-       rm -f elf64-aarch64.c
-       echo "#line 1 \"$(srcdir)/elfnn-aarch64.c\"" > elf64-aarch64.new
-       $(SED) -e s/NN/64/g < $(srcdir)/elfnn-aarch64.c >> elf64-aarch64.new
-       mv -f elf64-aarch64.new elf64-aarch64.c
+       echo "#line 1 \"elfnn-aarch64.c\"" > $@
+       $(SED) -e s/NN/64/g < $< >> $@
 
 elf32-ia64.c : elfnn-ia64.c
-       rm -f elf32-ia64.c
-       $(SED) -e s/NN/32/g < $(srcdir)/elfnn-ia64.c > elf32-ia64.new
-       mv -f elf32-ia64.new elf32-ia64.c
+       echo "#line 1 \"elfnn-ia64.c\"" > $@
+       $(SED) -e s/NN/32/g < $< >> $@
 
 elf64-ia64.c : elfnn-ia64.c
-       rm -f elf64-ia64.c
-       $(SED) -e s/NN/64/g < $(srcdir)/elfnn-ia64.c > elf64-ia64.new
-       mv -f elf64-ia64.new elf64-ia64.c
+       echo "#line 1 \"elfnn-ia64.c\"" > $@
+       $(SED) -e s/NN/64/g < $< >> $@
 
 elf32-riscv.c : elfnn-riscv.c
-       rm -f elf32-riscv.c
-       echo "#line 1 \"$(srcdir)/elfnn-riscv.c\"" > elf32-riscv.new
-       sed -e s/NN/32/g < $(srcdir)/elfnn-riscv.c >> elf32-riscv.new
-       mv -f elf32-riscv.new elf32-riscv.c
+       echo "#line 1 \"elfnn-riscv.c\"" > $@
+       $(SED) -e s/NN/32/g < $< >> $@
 
 elf64-riscv.c : elfnn-riscv.c
-       rm -f elf64-riscv.c
-       echo "#line 1 \"$(srcdir)/elfnn-riscv.c\"" > elf64-riscv.new
-       sed -e s/NN/64/g < $(srcdir)/elfnn-riscv.c >> elf64-riscv.new
-       mv -f elf64-riscv.new elf64-riscv.c
+       echo "#line 1 \"elfnn-riscv.c\"" > $@
+       $(SED) -e s/NN/64/g < $< >> $@
 
 peigen.c : peXXigen.c
-       rm -f peigen.c
-       $(SED) -e s/XX/pe/g < $(srcdir)/peXXigen.c > peigen.new
-       mv -f peigen.new peigen.c
+       echo "#line 1 \"peXXigen.c\"" > $@
+       $(SED) -e s/XX/pe/g < $< >> $@
 
 pepigen.c : peXXigen.c
-       rm -f pepigen.c
-       $(SED) -e s/XX/pep/g < $(srcdir)/peXXigen.c > pepigen.new
-       mv -f pepigen.new pepigen.c
+       echo "#line 1 \"peXXigen.c\"" > $@
+       $(SED) -e s/XX/pep/g < $< >> $@
 
 pex64igen.c: peXXigen.c
-       rm -f pex64igen.c
-       $(SED) -e s/XX/pex64/g < $(srcdir)/peXXigen.c > pex64igen.new
-       mv -f pex64igen.new pex64igen.c
+       echo "#line 1 \"peXXigen.c\"" > $@
+       $(SED) -e s/XX/pex64/g < $< >> $@
 
 BFD_H_DEPS= $(INCDIR)/ansidecl.h $(INCDIR)/symcat.h $(INCDIR)/diagnostics.h
 LOCAL_H_DEPS= libbfd.h sysdep.h config.h bfd_stdint.h
This page took 0.04126 seconds and 4 git commands to generate.