2010-05-15 Michael Snyder <msnyder@vmware.com>
[deliverable/binutils-gdb.git] / gas / Makefile.am
index b78527685051155a3d186f87178efa1d8c867271..af6cad42c5c1e85884854db8a2fe34fc957a8ddc 100644 (file)
@@ -36,141 +36,6 @@ IT_SRCS=itbl-parse.c itbl-lex.c $(srcdir)/itbl-ops.c
 IT_DEPS=$(srcdir)/itbl-parse.y $(srcdir)/itbl-lex.l $(srcdir)/config/itbl-@target_cpu_type@.h
 IT_OBJS=itbl-parse.o itbl-lex.o itbl-ops.o
 
-# CPU types.  This is only used for dependency information.
-
-CPU_TYPES = \
-       alpha \
-       arc \
-       arm \
-       avr \
-       bfin \
-       cr16 \
-       cris \
-       crx \
-       d10v \
-       d30v \
-       dlx \
-       fr30 \
-       frv \
-       h8300 \
-       hppa \
-       i370 \
-       i386 \
-       i860 \
-       i960 \
-       ia64 \
-       ip2k \
-       lm32 \
-       m32c \
-       m32r \
-       m68hc11 \
-       m68k \
-       maxq \
-       mcore \
-       mep \
-       microblaze \
-       mips \
-       mmix \
-       mn10200 \
-       mn10300 \
-       msp430 \
-       mt \
-       ns32k \
-       openrisc \
-       or32 \
-       pdp11 \
-       pj \
-       ppc \
-       s390 \
-       score \
-       sh \
-       sh64 \
-       sparc \
-       spu \
-       tic30 \
-       tic4x \
-       tic54x \
-       v850 \
-       vax \
-       xc16x \
-       xstormy16 \
-       xtensa \
-       z80 \
-       z8k
-
-# Object format types.  This is only used for dependency information.
-# We deliberately omit SOM, since it does not work as a cross assembler.
-
-OBJ_FORMATS = \
-       aout \
-       coff \
-       ecoff \
-       elf \
-       evax \
-       macho
-
-# This is an sh case which sets valid according to whether the CPU
-# type in the shell variable c and the OS type in the shell variable o
-# are supported.  This helps cuts down on the amount of dependency
-# information.
-
-CPU_OBJ_VALID = \
-       valid= ; \
-       case $$o in \
-       aout) \
-         case $$c in \
-         arm | cris | i386 | m68k | ns32k | pdp11 | sparc | tic30 | vax) \
-           valid=yes ;; \
-         esac ;; \
-       coff) \
-         case $$c in \
-         arm | h8300 | i386 | i960 | m68k | maxq | mcore | mips | or32 \
-               | ppc | sh | sparc | tic* | xscale | z80 | z8k) \
-           valid=yes ;; \
-         esac ;; \
-       ecoff) \
-         case $$c in \
-         mips | alpha) valid=yes ;; \
-         esac ;; \
-       elf) valid=yes ; \
-         case $$c in \
-         maxq | ns32k | tic* | z80 | z8k) valid= ;; \
-         esac ;; \
-       evax) \
-         case $$c in \
-         alpha) valid=yes ;; \
-         esac ;; \
-       macho) \
-         case $$c in \
-         i386) valid=yes ;; \
-         esac ;; \
-       vms) \
-         case $$c in \
-         vax) valid=yes ;; \
-         esac ;; \
-       esac;
-
-# These are like CPU_TYPES and CPU_OBJ_VALID, for the obj=multi case.
-
-MULTI_CPU_TYPES = i386 mips cris
-
-MULTI_CPU_OBJ_VALID = \
-       valid= ; \
-       case $$o in \
-       aout) \
-         case $$c in \
-         i386 | cris) valid=yes ;; \
-         esac ;; \
-       coff) \
-         case $$c in \
-         i386 | mips) valid=yes ;; \
-         esac ;; \
-       ecoff) \
-         case $$c in \
-         mips) valid=yes ;; \
-         esac ;; \
-       elf) valid=yes ;; \
-       esac;
 
 # Regular source files.
 
@@ -284,6 +149,7 @@ TARGET_CPU_CFILES = \
        config/tc-pdp11.c \
        config/tc-pj.c \
        config/tc-ppc.c \
+       config/tc-rx.c \
        config/tc-s390.c \
        config/tc-score.c \
        config/tc-sh.c \
@@ -293,6 +159,7 @@ TARGET_CPU_CFILES = \
        config/tc-tic30.c \
        config/tc-tic4x.c \
        config/tc-tic54x.c \
+       config/tc-tic6x.c \
        config/tc-vax.c \
        config/tc-v850.c \
        config/tc-xstormy16.c \
@@ -346,6 +213,7 @@ TARGET_CPU_HFILES = \
        config/tc-pdp11.h \
        config/tc-pj.h \
        config/tc-ppc.h \
+       config/tc-rx.h \
        config/tc-s390.h \
        config/tc-score.h \
        config/tc-sh.h \
@@ -355,6 +223,7 @@ TARGET_CPU_HFILES = \
        config/tc-tic30.h \
        config/tc-tic4x.h \
        config/tc-tic54x.h \
+       config/tc-tic6x.h \
        config/tc-vax.h \
        config/tc-v850.h \
        config/tc-xstormy16.h \
@@ -427,6 +296,9 @@ TARG_ENV_HFILES = \
        config/te-vxworks.h \
        config/te-wince-pe.h
 
+TARG_ENV_CFILES = \
+       config/te-vms.c
+
 # Multi files in config
 
 MULTI_CFILES = \
@@ -481,7 +353,8 @@ CONFIG_ATOF_CFILES = \
 
 OBJS = $(CONFIG_OBJS) $(GENERIC_OBJS)
 
-POTFILES = $(MULTI_CFILES) $(CONFIG_ATOF_CFILES) $(TARG_ENV_HFILES) $(OBJ_FORMAT_HFILES) \
+POTFILES = $(MULTI_CFILES) $(CONFIG_ATOF_CFILES) \
+       $(TARG_ENV_HFILES) $(TARG_ENV_CFILES) $(OBJ_FORMAT_HFILES) \
        $(OBJ_FORMAT_CFILES) $(TARGET_CPU_HFILES) $(TARGET_CPU_CFILES) \
        $(HFILES) $(CFILES)
 po/POTFILES.in: @MAINT@ Makefile
@@ -495,7 +368,8 @@ noinst_SCRIPTS = $(GDBINIT)
 EXTRA_SCRIPTS = .gdbinit
 
 EXTRA_DIST = m68k-parse.c itbl-parse.c itbl-parse.h itbl-lex.c \
-       bfin-parse.c bfin-parse.h bfin-lex.c
+       bfin-parse.c bfin-parse.h bfin-lex.c \
+       rx-parse.c rx-parse.h
 
 diststuff: $(EXTRA_DIST) info
 
@@ -531,7 +405,7 @@ as_new_DEPENDENCIES = $(TARG_CPU_O) $(OBJ_FORMAT_O) $(ATOF_TARG_O) \
        $(extra_objects) $(GASLIBS) $(LIBINTL_DEP)
 EXTRA_as_new_SOURCES = $(CFILES) $(HFILES) $(TARGET_CPU_CFILES) \
        $(TARGET_CPU_HFILES) $(OBJ_FORMAT_CFILES) $(OBJ_FORMAT_HFILES) \
-       $(CONFIG_ATOF_CFILES) $(MULTI_CFILES)
+       $(TARG_ENV_CFILES) $(CONFIG_ATOF_CFILES) $(MULTI_CFILES)
 
 EXPECT = expect
 RUNTEST = runtest
@@ -624,6 +498,15 @@ endif
        $(COMPILE) -c `test -f bfin-lex.c || echo $(srcdir)/`bfin-lex.c $(NO_WERROR)
 endif
 
+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.o: 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
+
 # The instruction table specification lexical analyzer and parser.
 
 # Disable -Werror, if it has been enabled, since old versions of bison/
This page took 0.024759 seconds and 4 git commands to generate.