configure kqemu in a single place
[qemu-kvm/fedora.git] / Makefile.hw
blob571e5184f7ebccf8465672fb3ddcb376b102b452
1 # Makefile for qemu target independent devices.
3 include config.mak
4 include ../config-host.mak
5 include $(SRC_PATH)/rules.mak
7 .PHONY: all
9 VPATH=$(SRC_PATH):$(SRC_PATH)/hw
11 CFLAGS += $(OS_CFLAGS) $(ARCH_CFLAGS)
12 LDFLAGS += $(OS_LDFLAGS) $(ARCH_LDFLAGS)
14 CPPFLAGS += -I. -I.. -I$(SRC_PATH) -MMD -MP -MT $@
15 CPPFLAGS += -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
16 CPPFLAGS+=-I$(SRC_PATH)/fpu
18 obj-y =
19 obj-y += virtio.o virtio-pci.o
20 obj-y += fw_cfg.o
21 obj-y += watchdog.o
22 obj-y += nand.o ecc.o
24 obj-y += m48t59.o escc.o
26 # SCSI layer
27 obj-y += lsi53c895a.o esp.o
29 obj-y += dma-helpers.o sysbus.o qdev-addr.o
31 all: $(HWLIB)
32 # Dummy command so that make thinks it has done something
33         @true
35 $(HWLIB): $(obj-y)
37 clean:
38         rm -f *.o *.d *.a *~
40 # Include automatically generated dependency files
41 -include $(wildcard *.d */*.d)