Andreas Färber | 0e8c921 | 2010-01-06 20:24:05 +0100 | [diff] [blame] | 1 | ####################################################################### |
Paolo Bonzini | a372823 | 2012-12-20 16:10:26 +0100 | [diff] [blame] | 2 | # Common libraries for tools and emulators |
Daniel P. Berrange | b917da4 | 2015-10-31 14:39:52 +0900 | [diff] [blame] | 3 | stub-obj-y = stubs/ crypto/ |
Markus Armbruster | 39a1815 | 2015-09-16 13:06:28 +0200 | [diff] [blame] | 4 | util-obj-y = util/ qobject/ qapi/ |
Markus Armbruster | eb815e2 | 2018-02-11 10:36:05 +0100 | [diff] [blame] | 5 | util-obj-y += qapi/qapi-builtin-types.o |
| 6 | util-obj-y += qapi/qapi-types.o |
Markus Armbruster | 252dc31 | 2018-02-11 10:36:00 +0100 | [diff] [blame] | 7 | util-obj-y += qapi/qapi-types-block-core.o |
| 8 | util-obj-y += qapi/qapi-types-block.o |
| 9 | util-obj-y += qapi/qapi-types-char.o |
| 10 | util-obj-y += qapi/qapi-types-common.o |
| 11 | util-obj-y += qapi/qapi-types-crypto.o |
| 12 | util-obj-y += qapi/qapi-types-introspect.o |
| 13 | util-obj-y += qapi/qapi-types-migration.o |
Markus Armbruster | 112ed24 | 2018-02-26 17:13:27 -0600 | [diff] [blame] | 14 | util-obj-y += qapi/qapi-types-misc.o |
Markus Armbruster | 252dc31 | 2018-02-11 10:36:00 +0100 | [diff] [blame] | 15 | util-obj-y += qapi/qapi-types-net.o |
| 16 | util-obj-y += qapi/qapi-types-rocker.o |
| 17 | util-obj-y += qapi/qapi-types-run-state.o |
| 18 | util-obj-y += qapi/qapi-types-sockets.o |
| 19 | util-obj-y += qapi/qapi-types-tpm.o |
| 20 | util-obj-y += qapi/qapi-types-trace.o |
| 21 | util-obj-y += qapi/qapi-types-transaction.o |
| 22 | util-obj-y += qapi/qapi-types-ui.o |
Markus Armbruster | eb815e2 | 2018-02-11 10:36:05 +0100 | [diff] [blame] | 23 | util-obj-y += qapi/qapi-builtin-visit.o |
| 24 | util-obj-y += qapi/qapi-visit.o |
Markus Armbruster | 252dc31 | 2018-02-11 10:36:00 +0100 | [diff] [blame] | 25 | util-obj-y += qapi/qapi-visit-block-core.o |
| 26 | util-obj-y += qapi/qapi-visit-block.o |
| 27 | util-obj-y += qapi/qapi-visit-char.o |
| 28 | util-obj-y += qapi/qapi-visit-common.o |
| 29 | util-obj-y += qapi/qapi-visit-crypto.o |
| 30 | util-obj-y += qapi/qapi-visit-introspect.o |
| 31 | util-obj-y += qapi/qapi-visit-migration.o |
Markus Armbruster | 112ed24 | 2018-02-26 17:13:27 -0600 | [diff] [blame] | 32 | util-obj-y += qapi/qapi-visit-misc.o |
Markus Armbruster | 252dc31 | 2018-02-11 10:36:00 +0100 | [diff] [blame] | 33 | util-obj-y += qapi/qapi-visit-net.o |
| 34 | util-obj-y += qapi/qapi-visit-rocker.o |
| 35 | util-obj-y += qapi/qapi-visit-run-state.o |
| 36 | util-obj-y += qapi/qapi-visit-sockets.o |
| 37 | util-obj-y += qapi/qapi-visit-tpm.o |
| 38 | util-obj-y += qapi/qapi-visit-trace.o |
| 39 | util-obj-y += qapi/qapi-visit-transaction.o |
| 40 | util-obj-y += qapi/qapi-visit-ui.o |
Markus Armbruster | eb815e2 | 2018-02-11 10:36:05 +0100 | [diff] [blame] | 41 | util-obj-y += qapi/qapi-events.o |
Markus Armbruster | 252dc31 | 2018-02-11 10:36:00 +0100 | [diff] [blame] | 42 | util-obj-y += qapi/qapi-events-block-core.o |
| 43 | util-obj-y += qapi/qapi-events-block.o |
| 44 | util-obj-y += qapi/qapi-events-char.o |
| 45 | util-obj-y += qapi/qapi-events-common.o |
| 46 | util-obj-y += qapi/qapi-events-crypto.o |
| 47 | util-obj-y += qapi/qapi-events-introspect.o |
| 48 | util-obj-y += qapi/qapi-events-migration.o |
Markus Armbruster | 112ed24 | 2018-02-26 17:13:27 -0600 | [diff] [blame] | 49 | util-obj-y += qapi/qapi-events-misc.o |
Markus Armbruster | 252dc31 | 2018-02-11 10:36:00 +0100 | [diff] [blame] | 50 | util-obj-y += qapi/qapi-events-net.o |
| 51 | util-obj-y += qapi/qapi-events-rocker.o |
| 52 | util-obj-y += qapi/qapi-events-run-state.o |
| 53 | util-obj-y += qapi/qapi-events-sockets.o |
| 54 | util-obj-y += qapi/qapi-events-tpm.o |
| 55 | util-obj-y += qapi/qapi-events-trace.o |
| 56 | util-obj-y += qapi/qapi-events-transaction.o |
| 57 | util-obj-y += qapi/qapi-events-ui.o |
Markus Armbruster | eb815e2 | 2018-02-11 10:36:05 +0100 | [diff] [blame] | 58 | util-obj-y += qapi/qapi-introspect.o |
Paolo Bonzini | 3bc2f57 | 2012-11-16 18:35:27 +0100 | [diff] [blame] | 59 | |
Marc-André Lureau | 32d955a | 2016-12-12 15:49:01 +0300 | [diff] [blame] | 60 | chardev-obj-y = chardev/ |
| 61 | |
Paolo Bonzini | 3bc2f57 | 2012-11-16 18:35:27 +0100 | [diff] [blame] | 62 | ####################################################################### |
Andreas Färber | 0e8c921 | 2010-01-06 20:24:05 +0100 | [diff] [blame] | 63 | # block-obj-y is code used by both qemu system emulation and qemu-img |
| 64 | |
Fam Zheng | 798bfe0 | 2016-01-14 16:41:02 +0800 | [diff] [blame] | 65 | block-obj-y += nbd/ |
| 66 | block-obj-y += block.o blockjob.o |
Paolo Bonzini | e5b5728 | 2017-08-22 07:08:27 +0200 | [diff] [blame] | 67 | block-obj-y += block/ scsi/ |
Kevin Wolf | 587da2c | 2013-06-05 14:19:41 +0200 | [diff] [blame] | 68 | block-obj-y += qemu-io-cmds.o |
Changlong Xie | 190b9a8 | 2016-07-27 15:01:49 +0800 | [diff] [blame] | 69 | block-obj-$(CONFIG_REPLICATION) += replication.o |
Andreas Färber | 0e8c921 | 2010-01-06 20:24:05 +0100 | [diff] [blame] | 70 | |
Fam Zheng | cc47569 | 2014-02-10 14:48:59 +0800 | [diff] [blame] | 71 | block-obj-m = block/ |
| 72 | |
Daniel P. Berrange | fb37726 | 2015-09-02 10:57:27 +0100 | [diff] [blame] | 73 | ####################################################################### |
| 74 | # crypto-obj-y is code used by both qemu system emulation and qemu-img |
| 75 | |
| 76 | crypto-obj-y = crypto/ |
| 77 | crypto-aes-obj-y = crypto/ |
Gautham R Shenoy | 74db920 | 2010-04-29 17:44:43 +0530 | [diff] [blame] | 78 | |
Daniel P. Berrange | 0c7012e | 2015-09-02 11:18:16 +0100 | [diff] [blame] | 79 | ####################################################################### |
| 80 | # qom-obj-y is code used by both qemu system emulation and qemu-img |
| 81 | |
| 82 | qom-obj-y = qom/ |
| 83 | |
Daniel P. Berrange | 666a3af | 2015-02-27 16:19:33 +0000 | [diff] [blame] | 84 | ####################################################################### |
| 85 | # io-obj-y is code used by both qemu system emulation and qemu-img |
| 86 | |
| 87 | io-obj-y = io/ |
| 88 | |
Andreas Färber | 0e8c921 | 2010-01-06 20:24:05 +0100 | [diff] [blame] | 89 | ###################################################################### |
Chen Wei-Ren | 050d994 | 2011-11-15 20:47:11 +0800 | [diff] [blame] | 90 | # Target independent part of system emulation. The long term path is to |
| 91 | # suppress *all* target specific code in case of system emulation, i.e. a |
| 92 | # single QEMU executable should support all CPUs and machines. |
Andreas Färber | 0e8c921 | 2010-01-06 20:24:05 +0100 | [diff] [blame] | 93 | |
Paolo Bonzini | 0008234 | 2013-01-19 11:06:47 +0100 | [diff] [blame] | 94 | ifeq ($(CONFIG_SOFTMMU),y) |
Fam Zheng | ba1183d | 2014-02-10 14:48:52 +0800 | [diff] [blame] | 95 | common-obj-y = blockdev.o blockdev-nbd.o block/ |
Thomas Huth | 5ddc648 | 2017-06-26 07:22:57 +0200 | [diff] [blame] | 96 | common-obj-y += bootdevice.o iothread.o |
Paolo Bonzini | fd9400b | 2012-10-24 11:27:28 +0200 | [diff] [blame] | 97 | common-obj-y += net/ |
Paolo Bonzini | 1559e0d | 2013-02-04 17:20:47 +0100 | [diff] [blame] | 98 | common-obj-y += qdev-monitor.o device-hotplug.o |
Blue Swirl | b0cb640a | 2010-06-12 05:49:30 +0000 | [diff] [blame] | 99 | common-obj-$(CONFIG_WIN32) += os-win32.o |
| 100 | common-obj-$(CONFIG_POSIX) += os-posix.o |
Gerd Hoffmann | 254e595 | 2010-05-21 11:54:32 +0200 | [diff] [blame] | 101 | |
Paolo Bonzini | ee20477 | 2012-05-22 13:46:08 +0200 | [diff] [blame] | 102 | common-obj-$(CONFIG_LINUX) += fsdev/ |
Paolo Bonzini | ee20477 | 2012-05-22 13:46:08 +0200 | [diff] [blame] | 103 | |
Dr. David Alan Gilbert | 60fe637 | 2014-12-12 11:13:38 +0000 | [diff] [blame] | 104 | common-obj-y += migration/ |
Andreas Färber | 0e8c921 | 2010-01-06 20:24:05 +0100 | [diff] [blame] | 105 | |
Paolo Bonzini | b0b68fc | 2012-05-22 13:49:02 +0200 | [diff] [blame] | 106 | common-obj-y += audio/ |
Gerd Hoffmann | 08a05b3 | 2018-03-06 08:40:49 +0100 | [diff] [blame] | 107 | common-obj-m += audio/ |
Paolo Bonzini | 3d5a3f9 | 2012-05-29 11:08:47 +0200 | [diff] [blame] | 108 | common-obj-y += hw/ |
Paolo Bonzini | 6f99198 | 2012-12-17 18:17:08 +0100 | [diff] [blame] | 109 | |
Pavel Dovgalyuk | d73abd6 | 2015-09-17 19:23:37 +0300 | [diff] [blame] | 110 | common-obj-y += replay/ |
| 111 | |
Paolo Bonzini | 8867aef | 2012-05-22 13:48:15 +0200 | [diff] [blame] | 112 | common-obj-y += ui/ |
Gerd Hoffmann | 61b4d9a | 2018-03-01 11:05:41 +0100 | [diff] [blame] | 113 | common-obj-m += ui/ |
Paolo Bonzini | 3d5a3f9 | 2012-05-29 11:08:47 +0200 | [diff] [blame] | 114 | common-obj-y += bt-host.o bt-vhci.o |
Michael Tokarev | 849d828 | 2014-05-02 15:40:53 +0400 | [diff] [blame] | 115 | bt-host.o-cflags := $(BLUEZ_CFLAGS) |
Corentin Chary | 3e230dd | 2010-07-07 20:57:52 +0200 | [diff] [blame] | 116 | |
Stefan Weil | c9159fe | 2012-10-05 19:39:33 +0200 | [diff] [blame] | 117 | common-obj-y += dma-helpers.o |
Stefan Weil | c9159fe | 2012-10-05 19:39:33 +0200 | [diff] [blame] | 118 | common-obj-y += vl.o |
Michael Tokarev | 849d828 | 2014-05-02 15:40:53 +0400 | [diff] [blame] | 119 | vl.o-cflags := $(GPROF_CFLAGS) $(SDL_CFLAGS) |
Philippe Mathieu-Daudé | c39f95d | 2017-10-24 09:20:43 -0300 | [diff] [blame] | 120 | common-obj-$(CONFIG_TPM) += tpm.o |
Andreas Färber | 0e8c921 | 2010-01-06 20:24:05 +0100 | [diff] [blame] | 121 | |
Paolo Bonzini | 4c69605 | 2012-05-22 13:49:43 +0200 | [diff] [blame] | 122 | common-obj-$(CONFIG_SLIRP) += slirp/ |
Andreas Färber | 0e8c921 | 2010-01-06 20:24:05 +0100 | [diff] [blame] | 123 | |
Anthony Liguori | a9b7b2a | 2012-06-25 10:03:47 -0500 | [diff] [blame] | 124 | common-obj-y += backends/ |
Marc-André Lureau | 6b10e57 | 2017-05-29 12:39:42 +0400 | [diff] [blame] | 125 | common-obj-y += chardev/ |
Anthony Liguori | a9b7b2a | 2012-06-25 10:03:47 -0500 | [diff] [blame] | 126 | |
Paolo Bonzini | 737f351 | 2013-01-19 11:06:46 +0100 | [diff] [blame] | 127 | common-obj-$(CONFIG_SECCOMP) += qemu-seccomp.o |
Fam Zheng | c3883e1 | 2017-09-07 16:53:16 +0800 | [diff] [blame] | 128 | qemu-seccomp.o-cflags := $(SECCOMP_CFLAGS) |
| 129 | qemu-seccomp.o-libs := $(SECCOMP_LIBS) |
Eduardo Otubo | f794573 | 2012-08-14 18:44:05 -0300 | [diff] [blame] | 130 | |
Peter Crosthwaite | 7df057b | 2015-05-24 13:20:14 -0700 | [diff] [blame] | 131 | common-obj-$(CONFIG_FDT) += device_tree.o |
| 132 | |
Michael Roth | 2345c77 | 2011-07-19 14:50:32 -0500 | [diff] [blame] | 133 | ###################################################################### |
| 134 | # qapi |
| 135 | |
Markus Armbruster | eb815e2 | 2018-02-11 10:36:05 +0100 | [diff] [blame] | 136 | common-obj-y += qapi/qapi-commands.o |
Markus Armbruster | 252dc31 | 2018-02-11 10:36:00 +0100 | [diff] [blame] | 137 | common-obj-y += qapi/qapi-commands-block-core.o |
| 138 | common-obj-y += qapi/qapi-commands-block.o |
| 139 | common-obj-y += qapi/qapi-commands-char.o |
| 140 | common-obj-y += qapi/qapi-commands-common.o |
| 141 | common-obj-y += qapi/qapi-commands-crypto.o |
| 142 | common-obj-y += qapi/qapi-commands-introspect.o |
| 143 | common-obj-y += qapi/qapi-commands-migration.o |
Markus Armbruster | 112ed24 | 2018-02-26 17:13:27 -0600 | [diff] [blame] | 144 | common-obj-y += qapi/qapi-commands-misc.o |
Markus Armbruster | 252dc31 | 2018-02-11 10:36:00 +0100 | [diff] [blame] | 145 | common-obj-y += qapi/qapi-commands-net.o |
| 146 | common-obj-y += qapi/qapi-commands-rocker.o |
| 147 | common-obj-y += qapi/qapi-commands-run-state.o |
| 148 | common-obj-y += qapi/qapi-commands-sockets.o |
| 149 | common-obj-y += qapi/qapi-commands-tpm.o |
| 150 | common-obj-y += qapi/qapi-commands-trace.o |
| 151 | common-obj-y += qapi/qapi-commands-transaction.o |
| 152 | common-obj-y += qapi/qapi-commands-ui.o |
Markus Armbruster | eb815e2 | 2018-02-11 10:36:05 +0100 | [diff] [blame] | 153 | common-obj-y += qapi/qapi-introspect.o |
Anthony Liguori | 48a32be | 2011-09-02 12:34:48 -0500 | [diff] [blame] | 154 | common-obj-y += qmp.o hmp.o |
Paolo Bonzini | 0008234 | 2013-01-19 11:06:47 +0100 | [diff] [blame] | 155 | endif |
Anthony Liguori | e319360 | 2011-09-02 12:34:47 -0500 | [diff] [blame] | 156 | |
Paolo Bonzini | 9444e9e | 2012-12-20 15:24:49 +0100 | [diff] [blame] | 157 | ####################################################################### |
| 158 | # Target-independent parts used in system and user emulation |
Richard Henderson | c482cb1 | 2016-06-28 11:37:27 -0700 | [diff] [blame] | 159 | common-obj-y += cpus-common.o |
Paolo Bonzini | 0008234 | 2013-01-19 11:06:47 +0100 | [diff] [blame] | 160 | common-obj-y += hw/ |
| 161 | common-obj-y += qom/ |
| 162 | common-obj-y += disas/ |
Andreas Färber | ce008c1 | 2012-03-04 21:32:36 +0100 | [diff] [blame] | 163 | |
Michael Roth | 957f1f9 | 2011-08-11 15:38:12 -0500 | [diff] [blame] | 164 | ###################################################################### |
Stefan Weil | 0b516ef | 2013-08-08 20:18:07 +0200 | [diff] [blame] | 165 | # Resource file for Windows executables |
| 166 | version-obj-$(CONFIG_WIN32) += $(BUILD_DIR)/version.o |
Stefan Weil | 0b516ef | 2013-08-08 20:18:07 +0200 | [diff] [blame] | 167 | |
| 168 | ###################################################################### |
Lluís Vilanova | 341ea69 | 2014-05-30 14:11:56 +0200 | [diff] [blame] | 169 | # tracing |
| 170 | util-obj-y += trace/ |
| 171 | target-obj-y += trace/ |
| 172 | |
| 173 | ###################################################################### |
Michael Roth | 957f1f9 | 2011-08-11 15:38:12 -0500 | [diff] [blame] | 174 | # guest agent |
| 175 | |
Markus Armbruster | eb815e2 | 2018-02-11 10:36:05 +0100 | [diff] [blame] | 176 | # FIXME: a few definitions from qapi/qapi-types.o and |
| 177 | # qapi/qapi-visit.o are needed by libqemuutil.a. These should be |
| 178 | # extracted into a QAPI schema module, or perhaps a separate schema. |
Fam Zheng | 169a24a | 2014-08-07 10:34:41 +0800 | [diff] [blame] | 179 | qga-obj-y = qga/ |
Tomoki Sekiyama | b39297a | 2013-08-07 11:40:18 -0400 | [diff] [blame] | 180 | qga-vss-dll-obj-y = qga/ |
David Marchand | a75eb03 | 2014-09-08 11:17:48 +0200 | [diff] [blame] | 181 | |
| 182 | ###################################################################### |
| 183 | # contrib |
Kamil Rytarowski | b1449ed | 2017-07-14 09:33:45 +0100 | [diff] [blame] | 184 | ivshmem-client-obj-$(CONFIG_IVSHMEM) = contrib/ivshmem-client/ |
| 185 | ivshmem-server-obj-$(CONFIG_IVSHMEM) = contrib/ivshmem-server/ |
Marc-André Lureau | 7b2e5c6 | 2016-10-18 12:24:04 +0300 | [diff] [blame] | 186 | libvhost-user-obj-y = contrib/libvhost-user/ |
Felipe Franciosi | 49cc034 | 2017-03-02 10:25:53 -0800 | [diff] [blame] | 187 | vhost-user-scsi.o-cflags := $(LIBISCSI_CFLAGS) |
| 188 | vhost-user-scsi.o-libs := $(LIBISCSI_LIBS) |
| 189 | vhost-user-scsi-obj-y = contrib/vhost-user-scsi/ |
Changpeng Liu | 406d2aa | 2018-01-04 09:53:34 +0800 | [diff] [blame] | 190 | vhost-user-blk-obj-y = contrib/vhost-user-blk/ |
Daniel P. Berrange | 1412cf5 | 2016-06-16 09:39:47 +0100 | [diff] [blame] | 191 | |
| 192 | ###################################################################### |
Daniel P. Berrange | 0ab8ed1 | 2017-01-25 16:14:15 +0000 | [diff] [blame] | 193 | trace-events-subdirs = |
| 194 | trace-events-subdirs += util |
| 195 | trace-events-subdirs += crypto |
| 196 | trace-events-subdirs += io |
| 197 | trace-events-subdirs += migration |
| 198 | trace-events-subdirs += block |
Marc-André Lureau | 6b10e57 | 2017-05-29 12:39:42 +0400 | [diff] [blame] | 199 | trace-events-subdirs += chardev |
Daniel P. Berrange | 0ab8ed1 | 2017-01-25 16:14:15 +0000 | [diff] [blame] | 200 | trace-events-subdirs += hw/block |
| 201 | trace-events-subdirs += hw/block/dataplane |
| 202 | trace-events-subdirs += hw/char |
| 203 | trace-events-subdirs += hw/intc |
| 204 | trace-events-subdirs += hw/net |
Yuval Shaia | ef6d4cc | 2018-02-09 15:23:18 +0200 | [diff] [blame] | 205 | trace-events-subdirs += hw/rdma |
Yuval Shaia | 919ae3d | 2018-02-09 15:44:14 +0200 | [diff] [blame] | 206 | trace-events-subdirs += hw/rdma/vmw |
Daniel P. Berrange | 0ab8ed1 | 2017-01-25 16:14:15 +0000 | [diff] [blame] | 207 | trace-events-subdirs += hw/virtio |
| 208 | trace-events-subdirs += hw/audio |
| 209 | trace-events-subdirs += hw/misc |
Mark Cave-Ayland | 4b402e0 | 2018-02-09 18:51:42 +0000 | [diff] [blame] | 210 | trace-events-subdirs += hw/misc/macio |
Daniel P. Berrange | 0ab8ed1 | 2017-01-25 16:14:15 +0000 | [diff] [blame] | 211 | trace-events-subdirs += hw/usb |
| 212 | trace-events-subdirs += hw/scsi |
| 213 | trace-events-subdirs += hw/nvram |
| 214 | trace-events-subdirs += hw/display |
| 215 | trace-events-subdirs += hw/input |
| 216 | trace-events-subdirs += hw/timer |
| 217 | trace-events-subdirs += hw/dma |
| 218 | trace-events-subdirs += hw/sparc |
Mark Cave-Ayland | 8bcf1c7 | 2017-12-21 07:32:57 +0000 | [diff] [blame] | 219 | trace-events-subdirs += hw/sparc64 |
Daniel P. Berrange | 0ab8ed1 | 2017-01-25 16:14:15 +0000 | [diff] [blame] | 220 | trace-events-subdirs += hw/sd |
| 221 | trace-events-subdirs += hw/isa |
| 222 | trace-events-subdirs += hw/mem |
| 223 | trace-events-subdirs += hw/i386 |
| 224 | trace-events-subdirs += hw/i386/xen |
| 225 | trace-events-subdirs += hw/9pfs |
| 226 | trace-events-subdirs += hw/ppc |
| 227 | trace-events-subdirs += hw/pci |
Mark Cave-Ayland | bfec08b | 2018-01-21 08:59:45 +0000 | [diff] [blame] | 228 | trace-events-subdirs += hw/pci-host |
Daniel P. Berrange | 0ab8ed1 | 2017-01-25 16:14:15 +0000 | [diff] [blame] | 229 | trace-events-subdirs += hw/s390x |
| 230 | trace-events-subdirs += hw/vfio |
| 231 | trace-events-subdirs += hw/acpi |
| 232 | trace-events-subdirs += hw/arm |
| 233 | trace-events-subdirs += hw/alpha |
Helge Deller | a72bd60 | 2017-10-08 16:47:27 -0400 | [diff] [blame] | 234 | trace-events-subdirs += hw/hppa |
Daniel P. Berrange | 0ab8ed1 | 2017-01-25 16:14:15 +0000 | [diff] [blame] | 235 | trace-events-subdirs += hw/xen |
John Snow | 3eee261 | 2017-09-18 15:01:25 -0400 | [diff] [blame] | 236 | trace-events-subdirs += hw/ide |
Stefan Berger | ec42749 | 2018-03-02 20:18:41 -0500 | [diff] [blame] | 237 | trace-events-subdirs += hw/tpm |
Daniel P. Berrange | 0ab8ed1 | 2017-01-25 16:14:15 +0000 | [diff] [blame] | 238 | trace-events-subdirs += ui |
| 239 | trace-events-subdirs += audio |
| 240 | trace-events-subdirs += net |
| 241 | trace-events-subdirs += target/arm |
| 242 | trace-events-subdirs += target/i386 |
Philippe Mathieu-Daudé | b44a7fb | 2017-03-04 15:56:52 -0300 | [diff] [blame] | 243 | trace-events-subdirs += target/mips |
Daniel P. Berrange | 0ab8ed1 | 2017-01-25 16:14:15 +0000 | [diff] [blame] | 244 | trace-events-subdirs += target/sparc |
| 245 | trace-events-subdirs += target/s390x |
| 246 | trace-events-subdirs += target/ppc |
| 247 | trace-events-subdirs += qom |
| 248 | trace-events-subdirs += linux-user |
| 249 | trace-events-subdirs += qapi |
Yang Zhong | d9bb58e | 2017-06-02 14:06:44 +0800 | [diff] [blame] | 250 | trace-events-subdirs += accel/tcg |
Yang Zhong | 92229a5 | 2017-06-02 14:06:46 +0800 | [diff] [blame] | 251 | trace-events-subdirs += accel/kvm |
Vladimir Sementsov-Ogievskiy | 9588463 | 2017-07-07 18:29:18 +0300 | [diff] [blame] | 252 | trace-events-subdirs += nbd |
Paolo Bonzini | 7c9e527 | 2017-08-21 18:58:56 +0200 | [diff] [blame] | 253 | trace-events-subdirs += scsi |
Daniel P. Berrange | 0ab8ed1 | 2017-01-25 16:14:15 +0000 | [diff] [blame] | 254 | |
| 255 | trace-events-files = $(SRC_PATH)/trace-events $(trace-events-subdirs:%=$(SRC_PATH)/%/trace-events) |
| 256 | |
| 257 | trace-obj-y = trace-root.o |
| 258 | trace-obj-y += $(trace-events-subdirs:%=%/trace.o) |
| 259 | trace-obj-$(CONFIG_TRACE_UST) += trace-ust-all.o |
| 260 | trace-obj-$(CONFIG_TRACE_DTRACE) += trace-dtrace-root.o |
| 261 | trace-obj-$(CONFIG_TRACE_DTRACE) += $(trace-events-subdirs:%=%/trace-dtrace.o) |