aboutsummaryrefslogtreecommitdiff
path: root/sim/v850/local.mk
diff options
context:
space:
mode:
Diffstat (limited to 'sim/v850/local.mk')
-rw-r--r--sim/v850/local.mk26
1 files changed, 26 insertions, 0 deletions
diff --git a/sim/v850/local.mk b/sim/v850/local.mk
index 2c27d0c..769c603 100644
--- a/sim/v850/local.mk
+++ b/sim/v850/local.mk
@@ -16,6 +16,32 @@
## You should have received a copy of the GNU General Public License
## along with this program. If not, see <http://www.gnu.org/licenses/>.
+%C%_libsim_a_SOURCES =
+%C%_libsim_a_LIBADD = \
+ $(common_libcommon_a_OBJECTS) \
+ $(patsubst %,%D%/%,$(SIM_NEW_COMMON_OBJS)) \
+ $(patsubst %,%D%/dv-%.o,$(SIM_HW_DEVICES)) \
+ %D%/simops.o \
+ %D%/interp.o \
+ %D%/itable.o \
+ %D%/semantics.o \
+ %D%/idecode.o \
+ %D%/icache.o \
+ %D%/engine.o \
+ %D%/irun.o \
+ %D%/support.o \
+ %D%/modules.o \
+ %D%/sim-resume.o
+$(%C%_libsim_a_OBJECTS) $(%C%_libsim_a_LIBADD): %D%/hw-config.h
+
+noinst_LIBRARIES += %D%/libsim.a
+
+%D%/%.o: %D%/%.c
+ $(AM_V_at)$(MAKE) $(AM_MAKEFLAGS) -C $(@D) $(@F)
+
+%D%/%.o: common/%.c
+ $(AM_V_at)$(MAKE) $(AM_MAKEFLAGS) -C $(@D) $(@F)
+
%C%_run_SOURCES =
%C%_run_LDADD = \
%D%/nrun.o \