Files
qemu/Makefile.objs
T

114 lines
3.4 KiB
Makefile
Raw Normal View History

#######################################################################
# Common libraries for tools and emulators
stub-obj-y = stubs/
util-obj-y = util/ qobject/ qapi/
util-obj-y += qmp-introspect.o qapi-types.o qapi-visit.o qapi-event.o
2010-01-06 20:24:05 +01:00
#######################################################################
# block-obj-y is code used by both qemu system emulation and qemu-img
block-obj-y = async.o thread-pool.o
block-obj-y += nbd.o block.o blockjob.o
block-obj-y += main-loop.o iohandler.o qemu-timer.o
block-obj-$(CONFIG_POSIX) += aio-posix.o
block-obj-$(CONFIG_WIN32) += aio-win32.o
block-obj-y += block/
2013-06-05 14:19:41 +02:00
block-obj-y += qemu-io-cmds.o
2010-01-06 20:24:05 +01:00
block-obj-m = block/
#######################################################################
# crypto-obj-y is code used by both qemu system emulation and qemu-img
crypto-obj-y = crypto/
crypto-aes-obj-y = crypto/
#######################################################################
# qom-obj-y is code used by both qemu system emulation and qemu-img
qom-obj-y = qom/
2010-01-06 20:24:05 +01:00
######################################################################
# Target independent part of system emulation. The long term path is to
# suppress *all* target specific code in case of system emulation, i.e. a
# single QEMU executable should support all CPUs and machines.
2010-01-06 20:24:05 +01:00
2013-01-19 11:06:47 +01:00
ifeq ($(CONFIG_SOFTMMU),y)
common-obj-y = blockdev.o blockdev-nbd.o block/
2014-03-03 11:30:05 +01:00
common-obj-y += iothread.o
2012-10-24 11:27:28 +02:00
common-obj-y += net/
common-obj-y += qdev-monitor.o device-hotplug.o
common-obj-$(CONFIG_WIN32) += os-win32.o
common-obj-$(CONFIG_POSIX) += os-posix.o
2010-05-21 11:54:32 +02:00
common-obj-$(CONFIG_LINUX) += fsdev/
common-obj-y += migration/
common-obj-y += qemu-char.o #aio.o
common-obj-y += page_cache.o
2015-01-22 15:01:37 +01:00
common-obj-y += qjson.o
2010-01-06 20:24:05 +01:00
common-obj-$(CONFIG_SPICE) += spice-qemu-char.o
common-obj-y += audio/
common-obj-y += hw/
2014-09-26 17:45:17 -03:00
common-obj-y += accel.o
2015-09-17 19:23:37 +03:00
common-obj-y += replay/
common-obj-y += ui/
common-obj-y += bt-host.o bt-vhci.o
bt-host.o-cflags := $(BLUEZ_CFLAGS)
2010-07-07 20:57:52 +02:00
2012-10-05 19:39:33 +02:00
common-obj-y += dma-helpers.o
common-obj-y += vl.o
vl.o-cflags := $(GPROF_CFLAGS) $(SDL_CFLAGS)
common-obj-y += tpm.o
2010-01-06 20:24:05 +01:00
common-obj-$(CONFIG_SLIRP) += slirp/
2010-01-06 20:24:05 +01:00
2012-06-25 10:03:47 -05:00
common-obj-y += backends/
common-obj-$(CONFIG_SECCOMP) += qemu-seccomp.o
2015-05-24 13:20:14 -07:00
common-obj-$(CONFIG_FDT) += device_tree.o
2011-07-19 14:50:32 -05:00
######################################################################
# qapi
common-obj-y += qmp-marshal.o
common-obj-y += qmp-introspect.o
2011-09-02 12:34:48 -05:00
common-obj-y += qmp.o hmp.o
2013-01-19 11:06:47 +01:00
endif
2011-09-02 12:34:47 -05:00
#######################################################################
# Target-independent parts used in system and user emulation
2013-01-19 11:06:47 +01:00
common-obj-y += qemu-log.o
common-obj-y += tcg-runtime.o
common-obj-y += hw/
common-obj-y += qom/
common-obj-y += disas/
2012-03-04 21:32:36 +01:00
######################################################################
# Resource file for Windows executables
version-obj-$(CONFIG_WIN32) += $(BUILD_DIR)/version.o
version-lobj-$(CONFIG_WIN32) += $(BUILD_DIR)/version.lo
######################################################################
# tracing
util-obj-y += trace/
target-obj-y += trace/
2011-08-11 15:38:12 -05:00
######################################################################
# guest agent
# FIXME: a few definitions from qapi-types.o/qapi-visit.o are needed
# by libqemuutil.a. These should be moved to a separate .json schema.
qga-obj-y = qga/
qga-vss-dll-obj-y = qga/
2014-09-08 11:17:48 +02:00
######################################################################
# contrib
ivshmem-client-obj-y = contrib/ivshmem-client/
ivshmem-server-obj-y = contrib/ivshmem-server/