MAKEINFO = makeinfo
# Each simulator's Makefile.in defines one or more of these variables
-# to override our settings as necessary.
+# to override our settings as necessary. There is no need to define these
+# in the simulator's Makefile.in if one is using the default value. In fact
+# it's preferable not to.
# List of object files, less common parts.
SIM_OBJS =
$(srcdir)/../common/sim-config.h \
$(srcdir)/../common/sim-base.h \
$(srcdir)/../common/sim-basics.h \
+ $(srcdir)/../common/sim-trace.h \
tconfig.h
sim-assert_h = $(srcdir)/../common/sim-assert.h
cat $(srcdir)/../common/$@ >> tmp-$@
$(srcdir)/../../move-if-change tmp-$@ $@
+sim-options.o: $(srcdir)/../common/sim-options.c $(sim_headers) \
+ $(srcdir)/../common/sim-options.h
+ $(CC) -c $(srcdir)/../common/sim-options.c $(ALL_CFLAGS)
+
sim-utils.o: $(srcdir)/../common/sim-utils.c $(sim_main_headers) \
$(SIM_EXTRA_DEPS)
$(CC) -c $(srcdir)/../common/sim-utils.c $(ALL_CFLAGS)
+sim-load.o: $(srcdir)/../common/sim-load.c
+ $(CC) -c $(srcdir)/../common/sim-load.c $(ALL_CFLAGS)
+
install: install-common $(SIM_EXTRA_INSTALL)