blob: 63eb7e40be7264268cbed33567b54f80f96bb2aa [file] [log] [blame]
Paul Brook1ad21342009-05-19 16:17:58 +01001# Makefile for qemu target independent devices.
2
Paul Brook1ad21342009-05-19 16:17:58 +01003include ../config-host.mak
Juan Quintela1f3d3c82009-10-07 02:41:02 +02004include ../config-all-devices.mak
Juan Quintelaf36fc7a2009-07-27 16:12:50 +02005include config.mak
Paul Brook1ad21342009-05-19 16:17:58 +01006include $(SRC_PATH)/rules.mak
7
8.PHONY: all
9
Paolo Bonzini076d2472009-12-21 10:06:55 +010010$(call set-vpath, $(SRC_PATH):$(SRC_PATH)/hw)
Paul Brook1ad21342009-05-19 16:17:58 +010011
Paolo Bonzinicbbab922011-07-28 12:10:30 +020012QEMU_CFLAGS+=-I..
Avi Kivityccbecf62011-08-03 18:55:00 +030013QEMU_CFLAGS += $(GLIB_CFLAGS)
Paul Brook1ad21342009-05-19 16:17:58 +010014
Andreas Färber0e8c9212010-01-06 20:24:05 +010015include $(SRC_PATH)/Makefile.objs
Paul Brook1ad21342009-05-19 16:17:58 +010016
Andreas Färber0e8c9212010-01-06 20:24:05 +010017all: $(hw-obj-y)
Paul Brookc2fb2632009-05-25 18:54:53 +010018# Dummy command so that make thinks it has done something
19 @true
Paul Brook1ad21342009-05-19 16:17:58 +010020
Paul Brook1ad21342009-05-19 16:17:58 +010021clean:
Jan Kiszkab1acdd22010-05-15 13:03:30 +020022 rm -f *.o */*.o *.d */*.d *.a */*.a *~ */*~
Paul Brook1ad21342009-05-19 16:17:58 +010023
24# Include automatically generated dependency files
25-include $(wildcard *.d */*.d)