This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[commit] sim/common/Make-common.in cleanup


Hi.

fyi I checked this in.

2010-01-24  Doug Evans  <dje@sebabeach.org>

	* Make-common.in (CGEN_SIM_DEPS): Define.
	(CGEN_INCLUDE_DEPS): Use it.
	(CGEN_MAIN_CPU_DEPS): Simplify.

Index: common/Make-common.in
===================================================================
RCS file: /cvs/src/src/sim/common/Make-common.in,v
retrieving revision 1.35
diff -u -p -d -u -r1.35 Make-common.in
--- common/Make-common.in	1 Jan 2010 10:03:26 -0000	1.35
+++ common/Make-common.in	24 Jan 2010 04:10:47 -0000
@@ -181,14 +181,21 @@ SIM_NEW_COMMON_OBJS = \
 	\
 	$(SIM_HW_OBJS) \
 
-# Add this to SIM_EXTRA_DEPS.
-CGEN_INCLUDE_DEPS = \
-	$(srccom)/cgen-cpu.h \
+# cgen-sim.h and the headers it includes
+CGEN_SIM_DEPS = \
+	$(srccom)/cgen-sim.h \
 	$(srccom)/cgen-defs.h \
-	$(srccom)/cgen-engine.h \
 	$(srccom)/cgen-scache.h \
-	$(srccom)/cgen-sim.h \
+	$(srccom)/cgen-fpu.h \
+	$(srccom)/cgen-par.h \
+	$(srccom)/cgen-cpu.h \
 	$(srccom)/cgen-trace.h \
+	cpuall.h
+
+# Add this to SIM_EXTRA_DEPS.
+CGEN_INCLUDE_DEPS = \
+	$(CGEN_SIM_DEPS) \
+	$(srccom)/cgen-engine.h \
 	$(srccom)/cgen-types.h \
 	$(srcdir)/../../include/opcode/cgen.h
 
@@ -590,11 +597,8 @@ nrun.o: $(srccom)/nrun.c config.h tconfi
 # For use in Makefile.in for cpu-specific files.
 CGEN_MAIN_CPU_DEPS = \
 	$(SIM_MAIN_DEPS) \
-	$(CGEN_INCLUDE_DEPS) \
 	$(srccom)/cgen-ops.h \
-	$(srccom)/cgen-mem.h \
-	$(srccom)/cgen-par.h \
-	$(srccom)/cgen-fpu.h
+	$(srccom)/cgen-mem.h
 
 cgen-run.o: $(srccom)/cgen-run.c $(sim_main_headers)
 	$(CC) -c $(srccom)/cgen-run.c $(ALL_CFLAGS)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]