Commit dd48594e1abc4035a29c0c9248030be779d716b5

Authored by pbrook
1 parent bce61846

Add missing dependencies on generated files (for parallel build).


git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3948 c046a42c-6fe2-441c-8c8c-71466251a162
Showing 1 changed file with 9 additions and 3 deletions
Makefile.target
@@ -267,15 +267,21 @@ endif @@ -267,15 +267,21 @@ endif
267 267
268 # libqemu 268 # libqemu
269 269
  270 +OPC_H = gen-op.h dyngen-opc.h op.h
  271 +
270 libqemu.a: $(LIBOBJS) 272 libqemu.a: $(LIBOBJS)
271 rm -f $@ 273 rm -f $@
272 $(AR) rcs $@ $(LIBOBJS) 274 $(AR) rcs $@ $(LIBOBJS)
273 275
274 -translate.o: translate.c gen-op.h dyngen-opc.h cpu.h 276 +translate.o: translate.c cpu.h $(OPC_H)
  277 +
  278 +translate-all.o: translate-all.c cpu.h $(OPC_H)
  279 +
  280 +tcg/tcg.o: cpu.h $(OPC_H)
275 281
276 -translate-all.o: translate-all.c dyngen-opc.h cpu.h 282 +tcg/tcg-dyngen.o: $(OPC_H)
277 283
278 -tcg/tcg.o: op.h dyngen-opc.h cpu.h 284 +tcg/tcg-runtime.o: $(OPC_H)
279 285
280 op.h: op.o $(DYNGEN) 286 op.h: op.o $(DYNGEN)
281 $(DYNGEN) -o $@ $< 287 $(DYNGEN) -o $@ $<