* Make-common.in (sim-options.o, sim-load.o): Add rules for.
[deliverable/binutils-gdb.git] / sim / common / Make-common.in
index ad6b081ee208bb1eeba2c6dbad5c7b073987986e..6c7ef6dbc2f9c9bf8ee6fa704ef10fa189da7034 100644 (file)
@@ -80,7 +80,9 @@ RANLIB = @RANLIB@
 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 =
@@ -174,6 +176,7 @@ sim_main_headers = \
        $(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
@@ -254,10 +257,17 @@ sim-io.c: $(srcdir)/../common/sim-io.c
        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)
 
This page took 0.023582 seconds and 4 git commands to generate.