1libqos_srcs = files( 2 '../libqtest.c', 3 '../libqmp.c', 4 5 'qgraph.c', 6 'qos_external.c', 7 'pci.c', 8 'fw_cfg.c', 9 'libqos-malloc.c', 10 'libqos.c', 11 'sdhci-cmd.c', 12 13 # spapr 14 'malloc-spapr.c', 15 'libqos-spapr.c', 16 'rtas.c', 17 'pci-spapr.c', 18 19 # pc 20 'pci-pc.c', 21 'malloc-pc.c', 22 'libqos-pc.c', 23 'ahci.c', 24 25 # usb 26 'usb.c', 27 28 # qgraph devices: 29 'e1000e.c', 30 'i2c.c', 31 'i2c-imx.c', 32 'i2c-omap.c', 33 'sdhci.c', 34 'tpci200.c', 35 'virtio.c', 36 'virtio-balloon.c', 37 'virtio-blk.c', 38 'vhost-user-blk.c', 39 'virtio-mmio.c', 40 'virtio-net.c', 41 'virtio-pci.c', 42 'virtio-pci-modern.c', 43 'virtio-rng.c', 44 'virtio-scsi.c', 45 'virtio-serial.c', 46 'virtio-iommu.c', 47 'virtio-gpio.c', 48 'generic-pcihost.c', 49 50 # qgraph machines: 51 'aarch64-xlnx-zcu102-machine.c', 52 'arm-imx25-pdk-machine.c', 53 'arm-n800-machine.c', 54 'arm-raspi2-machine.c', 55 'arm-sabrelite-machine.c', 56 'arm-smdkc210-machine.c', 57 'arm-virt-machine.c', 58 'arm-xilinx-zynq-a9-machine.c', 59 'ppc64_pseries-machine.c', 60 'x86_64_pc-machine.c', 61) 62 63if have_virtfs 64 libqos_srcs += files('virtio-9p.c', 'virtio-9p-client.c') 65endif 66 67libqos = static_library('qos', libqos_srcs + genh, 68 name_suffix: 'fa', 69 build_by_default: false) 70 71qos = declare_dependency(link_whole: libqos) 72