summaryrefslogtreecommitdiffstats
path: root/Makefile.objs
diff options
context:
space:
mode:
authorAnthony Liguori2011-12-04 00:10:08 +0100
committerAnthony Liguori2012-01-27 17:28:30 +0100
commit2f28d2ff9dce3c404b36e90e64541a4d48daf0ca (patch)
treebbb62df5cb7583f22ebe05f962fc2d5bfaca1e08 /Makefile.objs
parentpci: call reset unconditionally (diff)
downloadqemu-2f28d2ff9dce3c404b36e90e64541a4d48daf0ca.tar.gz
qemu-2f28d2ff9dce3c404b36e90e64541a4d48daf0ca.tar.xz
qemu-2f28d2ff9dce3c404b36e90e64541a4d48daf0ca.zip
qom: add the base Object class (v2)
This class provides the main building block for QEMU Object Model and is extensively documented in the header file. It is largely inspired by GObject. Signed-off-by: Anthony Liguori <aliguori@us.ibm.com> --- v1 -> v2 - remove printf() in type registration - fix typo in comment (Paolo) - make Interface private - move object into a new directory and move header into include/qemu/ - don't make object.h depend on qemu-common.h - remove Type and replace it with TypeImpl * (Paolo) - use hash table to store types (Paolo) - aggressively cache parent type (Paolo) - make a type_register and use it with interfaces (Paolo) - fix interface cast comment (Paolo) - add a few more functions required in later series
Diffstat (limited to 'Makefile.objs')
-rw-r--r--Makefile.objs3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile.objs b/Makefile.objs
index 06a147b0b0..b94262524d 100644
--- a/Makefile.objs
+++ b/Makefile.objs
@@ -124,6 +124,9 @@ common-obj-$(CONFIG_WIN32) += version.o
common-obj-$(CONFIG_SPICE) += ui/spice-core.o ui/spice-input.o ui/spice-display.o spice-qemu-char.o
+include $(SRC_PATH)/qom/Makefile
+common-obj-y += $(addprefix qom/, $(qom-y))
+
audio-obj-y = audio.o noaudio.o wavaudio.o mixeng.o
audio-obj-$(CONFIG_SDL) += sdlaudio.o
audio-obj-$(CONFIG_OSS) += ossaudio.o