Auto-generated dependencies for rx-parse.o and rl78-parse.o
[deliverable/binutils-gdb.git] / gas / Makefile.am
index 020e7cf9802a75ecfeac9dbec50aa8bf1475f81d..6fa32ea05fabfcf5d7ecf91bd7e4da2a42f61a6f 100644 (file)
@@ -1,4 +1,21 @@
 ## Process this file with automake to generate Makefile.in
+#
+#   Copyright (C) 2012-2016 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
+# the Free Software Foundation; either version 3 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; see the file COPYING3.  If not see
+# <http://www.gnu.org/licenses/>.
+#
 
 AUTOMAKE_OPTIONS = 1.11 dejagnu foreign no-dist
 ACLOCAL_AMFLAGS = -I .. -I ../config -I ../bfd
@@ -7,6 +24,11 @@ SUBDIRS = doc po
 
 tooldir = $(exec_prefix)/$(target_alias)
 
+# 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.
+ZLIBINC = @zlibinc@
+
 YACC = `if [ -f ../bison/bison ] ; then echo ../bison/bison -y -L../bison/bison ; else echo @YACC@ ; fi`
 LEX = `if [ -f ../flex/flex ] ; then echo ../flex/flex ; else echo @LEX@ ; fi`
 
@@ -15,9 +37,9 @@ LEX = `if [ -f ../flex/flex ] ; then echo ../flex/flex ; else echo @LEX@ ; fi`
 am__skiplex =
 am__skipyacc =
 
-WARN_CFLAGS = @WARN_CFLAGS@
+WARN_CFLAGS = @WARN_CFLAGS@ @WARN_WRITE_STRINGS@
 NO_WERROR = @NO_WERROR@
-AM_CFLAGS = $(WARN_CFLAGS)
+AM_CFLAGS = $(WARN_CFLAGS) $(ZLIBINC)
 
 TARG_CPU = @target_cpu_type@
 TARG_CPU_C = $(srcdir)/config/tc-@target_cpu_type@.c
@@ -107,6 +129,7 @@ HFILES = \
 # CPU files in config.
 
 TARGET_CPU_CFILES = \
+       config/tc-aarch64.c \
        config/tc-alpha.c \
        config/tc-arc.c \
        config/tc-arm.c \
@@ -121,6 +144,7 @@ TARGET_CPU_CFILES = \
        config/tc-epiphany.c \
        config/tc-fr30.c \
        config/tc-frv.c \
+       config/tc-ft32.c \
        config/tc-h8300.c \
        config/tc-hppa.c \
        config/tc-ia64.c \
@@ -137,6 +161,7 @@ TARGET_CPU_CFILES = \
        config/tc-m68k.c \
        config/tc-mcore.c \
        config/tc-mep.c \
+       config/tc-metag.c \
        config/tc-microblaze.c \
        config/tc-mips.c \
        config/tc-mmix.c \
@@ -145,9 +170,10 @@ TARGET_CPU_CFILES = \
        config/tc-moxie.c \
        config/tc-msp430.c \
        config/tc-mt.c \
+       config/tc-nds32.c \
+       config/tc-nios2.c \
        config/tc-ns32k.c \
-       config/tc-openrisc.c \
-       config/tc-or32.c \
+       config/tc-or1k.c \
        config/tc-pdp11.c \
        config/tc-pj.c \
        config/tc-ppc.c \
@@ -165,8 +191,9 @@ TARGET_CPU_CFILES = \
        config/tc-tic6x.c \
        config/tc-tilegx.c \
        config/tc-tilepro.c \
-       config/tc-vax.c \
        config/tc-v850.c \
+       config/tc-vax.c \
+       config/tc-visium.c \
        config/tc-xstormy16.c \
        config/tc-xc16x.c \
        config/tc-xgate.c \
@@ -176,6 +203,7 @@ TARGET_CPU_CFILES = \
        config/xtensa-relax.c
 
 TARGET_CPU_HFILES = \
+       config/tc-aarch64.h \
        config/tc-alpha.h \
        config/tc-arc.h \
        config/tc-arm.h \
@@ -190,6 +218,7 @@ TARGET_CPU_HFILES = \
        config/tc-epiphany.h \
        config/tc-fr30.h \
        config/tc-frv.h \
+       config/tc-ft32.h \
        config/tc-h8300.h \
        config/tc-hppa.h \
        config/tc-ia64.h \
@@ -206,6 +235,7 @@ TARGET_CPU_HFILES = \
        config/tc-m68k.h \
        config/tc-mcore.h \
        config/tc-mep.h \
+       config/tc-metag.h \
        config/tc-microblaze.h \
        config/tc-mips.h \
        config/tc-mmix.h \
@@ -213,9 +243,10 @@ TARGET_CPU_HFILES = \
        config/tc-mn10300.h \
        config/tc-msp430.h \
        config/tc-mt.h \
+       config/tc-nds32.h \
+       config/tc-nios2.h \
        config/tc-ns32k.h \
-       config/tc-openrisc.h \
-       config/tc-or32.h \
+       config/tc-or1k.h \
        config/tc-pdp11.h \
        config/tc-pj.h \
        config/tc-ppc.h \
@@ -233,8 +264,9 @@ TARGET_CPU_HFILES = \
        config/tc-tic6x.h \
        config/tc-tilegx.h \
        config/tc-tilepro.h \
-       config/tc-vax.h \
        config/tc-v850.h \
+       config/tc-vax.h \
+       config/tc-visium.h \
        config/tc-xstormy16.h \
        config/tc-xc16x.h \
        config/tc-xgate.h \
@@ -273,6 +305,8 @@ TARG_ENV_HFILES = \
        config/te-386bsd.h \
        config/te-aix5.h \
        config/te-armeabi.h \
+       config/te-armfbsdeabi.h \
+       config/te-armfbsdvfp.h \
        config/te-armlinuxeabi.h \
        config/te-dynix.h \
        config/te-epoc-pe.h \
@@ -286,7 +320,6 @@ TARG_ENV_HFILES = \
        config/te-i386aix.h \
        config/te-ia64aix.h \
        config/te-interix.h \
-       config/te-lnews.h \
        config/te-lynx.h \
        config/te-mach.h \
        config/te-macos.h \
@@ -317,7 +350,6 @@ MULTI_CFILES = \
        config/e-i386aout.c \
        config/e-i386coff.c \
        config/e-i386elf.c \
-       config/e-mipsecoff.c \
        config/e-mipself.c
 
 CONFIG_ATOF_CFILES = \
@@ -405,7 +437,7 @@ check-DEJAGNU: site.exp
 
 # The m68k operand parser.
 
-EXTRA_as_new_SOURCES += config/m68k-parse.y config/bfin-parse.y
+EXTRA_as_new_SOURCES += config/m68k-parse.y
 
 # If m68k-parse.y is in a different directory, then ylwrap will use an
 # absolute path when it invokes yacc, which will cause yacc to put the
@@ -447,13 +479,10 @@ endif
 m68k-parse.h: ; @true
 $(srcdir)/config/m68k-parse.h: ; @true
 
+EXTRA_as_new_SOURCES += config/bfin-parse.y
 bfin-parse.c: $(srcdir)/config/bfin-parse.y
        $(SHELL) $(YLWRAP) $(srcdir)/config/bfin-parse.y y.tab.c bfin-parse.c y.tab.h bfin-parse.h -- $(YACCCOMPILE) -d ;
 bfin-parse.h: bfin-parse.c
-bfin-parse.@OBJEXT@: bfin-parse.c \
- $(srcdir)/config/bfin-aux.h $(srcdir)/config/bfin-defs.h \
- $(INCDIR)/elf/common.h $(INCDIR)/elf/bfin.h $(BFDDIR)/libbfd.h
-
 bfin-parse.h: ; @true
 $(srcdir)/config/bfin-parse.h: ; @true
 
@@ -471,20 +500,17 @@ endif
        $(COMPILE) -c $(srcdir)/config/bfin-lex-wrapper.c $(NO_WERROR)
 endif
 
+EXTRA_as_new_SOURCES += config/rl78-parse.y
 rl78-parse.c: $(srcdir)/config/rl78-parse.y
        $(SHELL) $(YLWRAP) $(srcdir)/config/rl78-parse.y y.tab.c rl78-parse.c y.tab.h rl78-parse.h -- $(YACCCOMPILE) -d ;
 rl78-parse.h: rl78-parse.c
-rl78-parse.@OBJEXT@: rl78-parse.c rl78-parse.h $(srcdir)/config/rl78-defs.h \
- $(INCDIR)/elf/common.h $(INCDIR)/elf/rl78.h $(BFDDIR)/libbfd.h
-
 rl78-defs.h: ; @true
+$(srcdir)/config/rl78-defs.h: ; @true
 
+EXTRA_as_new_SOURCES += config/rx-parse.y
 rx-parse.c: $(srcdir)/config/rx-parse.y
        $(SHELL) $(YLWRAP) $(srcdir)/config/rx-parse.y y.tab.c rx-parse.c y.tab.h rx-parse.h -- $(YACCCOMPILE) -d ;
 rx-parse.h: rx-parse.c
-rx-parse.@OBJEXT@: rx-parse.c rx-parse.h $(srcdir)/config/rx-defs.h \
- $(INCDIR)/elf/common.h $(INCDIR)/elf/rx.h $(BFDDIR)/libbfd.h
-
 rx-defs.h: ; @true
 $(srcdir)/config/rx-defs.h: ; @true
 
@@ -579,8 +605,8 @@ install-exec-bindir: $(noinst_PROGRAMS)
        $(mkinstalldirs) $(DESTDIR)$(bindir)
        @list='$(noinst_PROGRAMS)'; for p in $$list; do \
          if test -f $$p; then \
-           echo " $(LIBTOOL)  --mode=install $(INSTALL_PROGRAM) $$p $(bindir)/`echo $$p|sed -e 's/$(EXEEXT)$$//' -e 's/-new//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`"; \
-           $(LIBTOOL)  --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed -e 's/$(EXEEXT)$$//' -e 's/-new//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \
+           echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL)  --mode=install $(INSTALL_PROGRAM) $$p $(bindir)/`echo $$p|sed -e 's/$(EXEEXT)$$//' -e 's/-new//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`"; \
+           $(INSTALL_PROGRAM_ENV) $(LIBTOOL)  --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed -e 's/$(EXEEXT)$$//' -e 's/-new//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \
          else :; fi; \
        done
 
@@ -590,7 +616,7 @@ install-exec-tooldir: install-exec-bindir $(noinst_PROGRAMS)
        if [ "$(bindir)/$$n$(EXEEXT)" != "$(tooldir)/bin/as$(EXEEXT)" ]; then \
          rm -f $(DESTDIR)$(tooldir)/bin/as$(EXEEXT); \
          ln $(DESTDIR)$(bindir)/$$n$(EXEEXT) $(DESTDIR)$(tooldir)/bin/as$(EXEEXT) >/dev/null 2>/dev/null \
-           || $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) as-new$(EXEEXT) $(DESTDIR)$(tooldir)/bin/as$(EXEEXT); \
+           || $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) as-new$(EXEEXT) $(DESTDIR)$(tooldir)/bin/as$(EXEEXT); \
        else \
          true ; \
        fi
@@ -599,7 +625,7 @@ install-exec-tooldir: install-exec-bindir $(noinst_PROGRAMS)
 
 .PHONY: bootstrap bootstrap2 bootstrap3 stage1 stage2 stage3 comparison
 
-bootstrap: as-new
+bootstrap: as-new$(EXEEXT)
        $(MAKE) stage1
        rm -f stage && ln -s stage1 stage
        $(MAKE) CC="$(CC)" CFLAGS="-O -Bstage/ $(CFLAGS)" libdir=$(libdir) ALLOCA= $(noinst_PROGRAMS)
@@ -672,4 +698,6 @@ de-stage3:
        - (cd stage3 ; rm -f as$(EXEEXT) ; mv -f * ..)
        - rmdir stage3
 
-CONFIG_STATUS_DEPENDENCIES = $(BFDDIR)/configure.in $(srcdir)/configure.tgt
+# Reconfigure if configure.tgt changes.
+# development.sh is used to determine -Werror default.
+CONFIG_STATUS_DEPENDENCIES = $(srcdir)/configure.tgt $(BFDDIR)/development.sh
This page took 0.027058 seconds and 4 git commands to generate.