Files
qemu/Makefile.objs
T

116 lines
3.7 KiB
Makefile
Raw Normal View History

#######################################################################
# Common libraries for tools and emulators
stub-obj-y = stubs/
2012-12-21 09:45:20 +01:00
util-obj-y = util/ qobject/ qapi/ trace/
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/
2014-06-18 08:43:28 +02:00
block-obj-y += qapi-types.o qapi-visit.o qapi-event.o
2013-06-05 14:19:41 +02:00
block-obj-y += qemu-io-cmds.o
2010-01-06 20:24:05 +01:00
2012-12-20 17:38:14 +01:00
block-obj-y += qemu-coroutine.o qemu-coroutine-lock.o qemu-coroutine-io.o
block-obj-y += qemu-coroutine-sleep.o
block-obj-y += coroutine-$(CONFIG_COROUTINE_BACKEND).o
2012-12-20 17:38:14 +01:00
block-obj-m = block/
2013-01-19 11:06:45 +01:00
######################################################################
# smartcard
libcacard-y += libcacard/cac.o libcacard/event.o
libcacard-y += libcacard/vcard.o libcacard/vreader.o
libcacard-y += libcacard/vcard_emul_nss.o
libcacard-y += libcacard/vcard_emul_type.o
libcacard-y += libcacard/card_7816.o
libcacard-y += libcacard/vcardt.o
libcacard/vcard_emul_nss.o-cflags := $(NSS_CFLAGS)
libcacard/vcard_emul_nss.o-libs := $(NSS_LIBS)
2013-01-19 11:06:45 +01:00
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.o migration-tcp.o
2013-11-28 12:01:15 -02:00
common-obj-y += vmstate.o
common-obj-y += qemu-file.o
2013-07-22 10:01:54 -04:00
common-obj-$(CONFIG_RDMA) += migration-rdma.o
common-obj-y += qemu-char.o #aio.o
common-obj-y += block-migration.o
common-obj-y += page_cache.o xbzrle.o
2010-01-06 20:24:05 +01:00
common-obj-$(CONFIG_POSIX) += migration-exec.o migration-unix.o migration-fd.o
common-obj-$(CONFIG_SPICE) += spice-qemu-char.o
common-obj-y += audio/
common-obj-y += hw/
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
2012-05-29 11:40:24 +02:00
common-obj-$(CONFIG_SMARTCARD_NSS) += $(libcacard-y)
2010-11-28 16:36:38 +02:00
2011-07-19 14:50:32 -05:00
######################################################################
# qapi
common-obj-y += qmp-marshal.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
######################################################################
# some qapi visitors are used by both system and user emulation:
common-obj-y += qapi-visit.o qapi-types.o
#######################################################################
# 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
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/ qapi-types.o qapi-visit.o
qga-vss-dll-obj-y = qga/