Revision ad96090a Makefile.target

b/Makefile.target
161 161
# System emulator target
162 162
ifdef CONFIG_SOFTMMU
163 163

  
164
obj-y = vl.o cpus.o monitor.o machine.o gdbstub.o
164
obj-y = arch_init.o cpus.o monitor.o machine.o gdbstub.o
165 165
obj-y += qemu-timer.o
166 166
# virtio has to be here due to weird dependency between PCI and virtio-net.
167 167
# need to fix this properly
......
285 285

  
286 286
obj-alpha-y = alpha_palcode.o
287 287

  
288
main.o vl.o: QEMU_CFLAGS+=$(GPROF_CFLAGS)
289

  
290
vl.o: QEMU_CFLAGS+=$(SDL_CFLAGS)
291

  
292
vl.o: qemu-options.h
288
main.o: QEMU_CFLAGS+=$(GPROF_CFLAGS)
293 289

  
294 290
monitor.o: qemu-monitor.h
295 291

  
......
311 307
gdbstub-xml.c: $(TARGET_XML_FILES) $(SRC_PATH)/feature_to_c.sh
312 308
	$(call quiet-command,rm -f $@ && $(SHELL) $(SRC_PATH)/feature_to_c.sh $@ $(TARGET_XML_FILES),"  GEN   $(TARGET_DIR)$@")
313 309

  
314
qemu-options.h: $(SRC_PATH)/qemu-options.hx
315
	$(call quiet-command,sh $(SRC_PATH)/hxtool -h < $< > $@,"  GEN   $(TARGET_DIR)$@")
316

  
317 310
qemu-monitor.h: $(SRC_PATH)/qemu-monitor.hx
318 311
	$(call quiet-command,sh $(SRC_PATH)/hxtool -h < $< > $@,"  GEN   $(TARGET_DIR)$@")
319 312

  
320 313
clean:
321 314
	rm -f *.o *.a *~ $(PROGS) nwfpe/*.o fpu/*.o
322 315
	rm -f *.d */*.d tcg/*.o ide/*.o
323
	rm -f qemu-options.h qemu-monitor.h gdbstub-xml.c
316
	rm -f qemu-monitor.h gdbstub-xml.c
324 317

  
325 318
install: all
326 319
ifneq ($(PROGS),)

Also available in: Unified diff