diff options
author | Anthony Liguori <aliguori@us.ibm.com> | 2011-12-03 17:10:08 -0600 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2012-01-27 10:28:30 -0600 |
commit | 2f28d2ff9dce3c404b36e90e64541a4d48daf0ca (patch) | |
tree | bbb62df5cb7583f22ebe05f962fc2d5bfaca1e08 /Makefile.objs | |
parent | 6fc4925bf612e00c149d23ef1761dedc8aae1a46 (diff) |
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.objs | 3 |
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 |