SIM_MIPS_IGEN_FLAGS = @SIM_MIPS_IGEN_FLAGS@
SIM_MIPS_M16_FLAGS = @SIM_MIPS_M16_FLAGS@
-SIM_MIPS_MICROMIPS_FLAGS = @SIM_MIPS_MICROMIPS_FLAGS@
-SIM_MIPS_MICROMIPS16_FLAGS = @SIM_MIPS_MICROMIPS16_FLAGS@
SIM_MIPS_GEN = @SIM_MIPS_GEN@
SIM_MIPS_MULTI_FLAGS = @SIM_MIPS_MULTI_FLAGS@
SIM_MIPS_MULTI_IGEN_CONFIGS = @SIM_MIPS_MULTI_IGEN_CONFIGS@
itable.o \
m16run.o \
-SIM_MICROMIPS_OBJ = \
- micromips16_support.o \
- micromips16_semantics.o \
- micromips16_idecode.o \
- micromips16_icache.o \
- \
- micromips32_support.o \
- micromips32_semantics.o \
- micromips32_idecode.o \
- micromips32_icache.o \
- \
- micromips_m32_support.o \
- micromips_m32_semantics.o \
- micromips_m32_idecode.o \
- micromips_m32_icache.o \
- \
- itable.o \
- micromipsrun.o \
-
-
SIM_MULTI_OBJ = $(SIM_MIPS_MULTI_OBJ) \
itable.o \
multi-run.o \
SIM_IGEN_ALL = tmp-igen
SIM_M16_ALL = tmp-m16
-SIM_MICROMIPS_ALL = tmp-micromips
SIM_MULTI_ALL = tmp-multi
$(BUILT_SRC_FROM_GEN): $(SIM_$(SIM_MIPS_GEN)_ALL)
#
$(SILENCE) touch $@
-BUILT_SRC_FROM_MICROMIPS = \
- micromips16_icache.h \
- micromips16_icache.c \
- micromips16_idecode.h \
- micromips16_idecode.c \
- micromips16_semantics.h \
- micromips16_semantics.c \
- micromips16_model.h \
- micromips16_model.c \
- micromips16_support.h \
- micromips16_support.c \
- \
- micromips32_icache.h \
- micromips32_icache.c \
- micromips32_idecode.h \
- micromips32_idecode.c \
- micromips32_semantics.h \
- micromips32_semantics.c \
- micromips32_model.h \
- micromips32_model.c \
- micromips32_support.h \
- micromips32_support.c \
- \
- micromips_m32_icache.h \
- micromips_m32_icache.c \
- micromips_m32_idecode.h \
- micromips_m32_idecode.c \
- micromips_m32_semantics.h \
- micromips_m32_semantics.c \
- micromips_m32_model.h \
- micromips_m32_model.c \
- micromips_m32_support.h \
- micromips_m32_support.c \
-
-$(BUILT_SRC_FROM_MICROMIPS): tmp-micromips
-
-tmp-micromips: $(IGEN_INSN) $(IGEN_DC) $(IGEN) $(IGEN_INCLUDE)
- $(ECHO_IGEN) $(IGEN_RUN) \
- $(IGEN_TRACE) \
- -I $(srcdir) \
- -Werror \
- -Wnodiscard \
- $(SIM_MIPS_MICROMIPS16_FLAGS) \
- -G gen-direct-access \
- -G gen-zero-r0 \
- -B 16 \
- -H 15 \
- -i $(IGEN_INSN) \
- -o $(MICROMIPS16_DC) \
- -P micromips16_ \
- -x \
- -n micromips16_icache.h -hc micromips16_icache.h \
- -n micromips16_icache.c -c micromips16_icache.c \
- -n micromips16_semantics.h -hs micromips16_semantics.h \
- -n micromips16_semantics.c -s micromips16_semantics.c \
- -n micromips16_idecode.h -hd micromips16_idecode.h \
- -n micromips16_idecode.c -d micromips16_idecode.c \
- -n micromips16_model.h -hm micromips16_model.h \
- -n micromips16_model.c -m micromips16_model.c \
- -n micromips16_support.h -hf micromips16_support.h \
- -n micromips16_support.c -f micromips16_support.c \
- #
- $(ECHO_IGEN) $(IGEN_RUN) \
- $(IGEN_TRACE) \
- -I $(srcdir) \
- -Werror \
- -Wnodiscard \
- $(SIM_MIPS_MICROMIPS_FLAGS) \
- -G gen-direct-access \
- -G gen-zero-r0 \
- -B 32 \
- -H 31 \
- -i $(IGEN_INSN) \
- -o $(MICROMIPS32_DC) \
- -P micromips32_ \
- -x \
- -n micromips32_icache.h -hc micromips32_icache.h \
- -n micromips32_icache.c -c micromips32_icache.c \
- -n micromips32_semantics.h -hs micromips32_semantics.h \
- -n micromips32_semantics.c -s micromips32_semantics.c \
- -n micromips32_idecode.h -hd micromips32_idecode.h \
- -n micromips32_idecode.c -d micromips32_idecode.c \
- -n micromips32_model.h -hm micromips32_model.h \
- -n micromips32_model.c -m micromips32_model.c \
- -n micromips32_support.h -hf micromips32_support.h \
- -n micromips32_support.c -f micromips32_support.c \
- #
- $(ECHO_IGEN) $(IGEN_RUN) \
- $(IGEN_TRACE) \
- -I $(srcdir) \
- -Werror \
- -Wnodiscard \
- $(SIM_MIPS_IGEN_FLAGS) \
- -G gen-direct-access \
- -G gen-zero-r0 \
- -B 32 \
- -H 31 \
- -i $(IGEN_INSN) \
- -o $(IGEN_DC) \
- -P micromips_m32_ \
- -x \
- -n micromips_m32_icache.h -hc micromips_m32_icache.h \
- -n micromips_m32_icache.c -c micromips_m32_icache.c \
- -n micromips_m32_semantics.h -hs micromips_m32_semantics.h \
- -n micromips_m32_semantics.c -s micromips_m32_semantics.c \
- -n micromips_m32_idecode.h -hd micromips_m32_idecode.h \
- -n micromips_m32_idecode.c -d micromips_m32_idecode.c \
- -n micromips_m32_model.h -hm micromips_m32_model.h \
- -n micromips_m32_model.c -m micromips_m32_model.c \
- -n micromips_m32_support.h -hf micromips_m32_support.h \
- -n micromips_m32_support.c -f micromips_m32_support.c \
- #
- $(ECHO_IGEN) $(IGEN_RUN) \
- $(IGEN_TRACE) \
- -I $(srcdir) \
- -Werror \
- -Wnodiscard \
- -Wnowidth \
- $(SIM_MIPS_IGEN_FLAGS) $(SIM_MIPS_MICROMIPS_FLAGS) $(SIM_MIPS_MICROMIPS16_FLAGS) \
- -G gen-direct-access \
- -G gen-zero-r0 \
- -i $(IGEN_INSN) \
- -n itable.h -ht itable.h \
- -n itable.c -t itable.c \
- #
- $(SILENCE) touch $@
-
BUILT_SRC_FROM_MULTI = $(SIM_MIPS_MULTI_SRC)
$(BUILT_SRC_FROM_MULTI): tmp-multi
rm -f $(BUILT_SRC_FROM_GEN)
rm -f $(BUILT_SRC_FROM_IGEN)
rm -f $(BUILT_SRC_FROM_M16)
- rm -f $(BUILT_SRC_FROM_MICROMIPS)
rm -f $(BUILT_SRC_FROM_MULTI)
rm -f tmp-*
rm -f micromips16*.o micromips32*.o m16*.o m32*.o itable*.o