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.
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 \
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 \
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 \
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 \
config/te-vxworks.h \
config/te-wince-pe.h
+TARG_ENV_CFILES = \
+ config/te-vms.c
+
# Multi files in config
MULTI_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
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
$(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
$(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/