summaryrefslogtreecommitdiff
path: root/Makefile.objs
diff options
context:
space:
mode:
authorMichael Roth <mdroth@linux.vnet.ibm.com>2011-07-19 14:50:32 -0500
committerLuiz Capitulino <lcapitulino@gmail.com>2011-07-21 16:48:13 -0300
commit2345c77c6d383bd804527720551b79b1d0400693 (patch)
tree8cdc00f85b53bc327364df5b8dbc705215c3a767 /Makefile.objs
parentc7aa841e9f75f0ff77fec9f918779b1951ab6b9d (diff)
downloadqemu-2345c77c6d383bd804527720551b79b1d0400693.tar.gz
qapi: add QAPI visitor core
Base definitions/includes for Visiter interface used by generated visiter/marshalling code. Includes a GenericList type. Our lists require an embedded element. Since these types are generated, if you want to use them in a different type of data structure, there's no easy way to add another embedded element. The solution is to have non-embedded lists and that what this is. Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com> Signed-off-by: Luiz Capitulino <lcapitulino@gmail.com>
Diffstat (limited to 'Makefile.objs')
-rw-r--r--Makefile.objs6
1 files changed, 6 insertions, 0 deletions
diff --git a/Makefile.objs b/Makefile.objs
index 55d18bbbec..3b68f5914a 100644
--- a/Makefile.objs
+++ b/Makefile.objs
@@ -372,6 +372,12 @@ endif
libcacard-y = cac.o event.o vcard.o vreader.o vcard_emul_nss.o vcard_emul_type.o card_7816.o
+######################################################################
+# qapi
+
+qapi-nested-y = qapi-visit-core.o
+qapi-obj-y = $(addprefix qapi/, $(qapi-nested-y))
+
vl.o: QEMU_CFLAGS+=$(GPROF_CFLAGS)
vl.o: QEMU_CFLAGS+=$(SDL_CFLAGS)