diff options
Diffstat (limited to 'sim/common/Make-common.in')
-rw-r--r-- | sim/common/Make-common.in | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/sim/common/Make-common.in b/sim/common/Make-common.in index ad6b081..6c7ef6d 100644 --- a/sim/common/Make-common.in +++ b/sim/common/Make-common.in @@ -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) |