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
This commit is contained in:
pbrook 2008-02-01 22:45:04 +00:00
parent bce61846b1
commit dd48594e1a

View File

@ -267,15 +267,21 @@ endif
# libqemu
OPC_H = gen-op.h dyngen-opc.h op.h
libqemu.a: $(LIBOBJS)
rm -f $@
$(AR) rcs $@ $(LIBOBJS)
translate.o: translate.c gen-op.h dyngen-opc.h cpu.h
translate.o: translate.c cpu.h $(OPC_H)
translate-all.o: translate-all.c dyngen-opc.h cpu.h
translate-all.o: translate-all.c cpu.h $(OPC_H)
tcg/tcg.o: op.h dyngen-opc.h cpu.h
tcg/tcg.o: cpu.h $(OPC_H)
tcg/tcg-dyngen.o: $(OPC_H)
tcg/tcg-runtime.o: $(OPC_H)
op.h: op.o $(DYNGEN)
$(DYNGEN) -o $@ $<