From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:36323) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Soy5s-0000a2-Uu for qemu-devel@nongnu.org; Wed, 11 Jul 2012 10:40:51 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Soy5l-0001ef-PZ for qemu-devel@nongnu.org; Wed, 11 Jul 2012 10:40:44 -0400 Received: from mail-yx0-f173.google.com ([209.85.213.173]:39958) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Soy5l-0001eG-Iu for qemu-devel@nongnu.org; Wed, 11 Jul 2012 10:40:37 -0400 Received: by yenl1 with SMTP id l1so1372398yen.4 for ; Wed, 11 Jul 2012 07:40:35 -0700 (PDT) Sender: Paolo Bonzini From: Paolo Bonzini Date: Wed, 11 Jul 2012 16:40:20 +0200 Message-Id: <1342017621-12650-2-git-send-email-pbonzini@redhat.com> In-Reply-To: <1342017621-12650-1-git-send-email-pbonzini@redhat.com> References: <1342017621-12650-1-git-send-email-pbonzini@redhat.com> Subject: [Qemu-devel] [PATCH 1/2] build: include qapi-generated/ files in qga/Makefile.objs List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: jan.kiszka@siemens.com, aliguori@us.ibm.com, avi@redhat.com No reason to leave them out, and it will ensure that the dependencies are picked up. Later we can perhaps move the files to another directory to avoid ../ usage. Signed-off-by: Paolo Bonzini --- Makefile | 2 +- qga/Makefile.objs | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 34d6a9e..1b7cd2f 100644 --- a/Makefile +++ b/Makefile @@ -206,7 +206,7 @@ QGALIB_GEN=$(addprefix qapi-generated/, qga-qapi-types.h qga-qapi-visit.h qga-qm $(QGALIB_OBJ): $(QGALIB_GEN) $(qga-obj-y) qemu-ga.o: $(QGALIB_GEN) -qemu-ga$(EXESUF): qemu-ga.o $(qga-obj-y) $(tools-obj-y) $(qapi-obj-y) $(qobject-obj-y) $(version-obj-y) $(QGALIB_OBJ) +qemu-ga$(EXESUF): qemu-ga.o $(qga-obj-y) $(tools-obj-y) $(qapi-obj-y) $(qobject-obj-y) $(version-obj-y) QEMULIBS=libhw32 libhw64 libuser libdis libdis-user diff --git a/qga/Makefile.objs b/qga/Makefile.objs index 6a4d843..b54b9b1 100644 --- a/qga/Makefile.objs +++ b/qga/Makefile.objs @@ -1,3 +1,5 @@ qga-obj-y = commands.o guest-agent-command-state.o qga-obj-$(CONFIG_POSIX) += commands-posix.o channel-posix.o qga-obj-$(CONFIG_WIN32) += commands-win32.o channel-win32.o service-win32.o +qga-obj-y += ../qapi-generated/qga-qapi-types.o ../qapi-generated/qga-qapi-visit.o +qga-obj-y += ../qapi-generated/qga-qmp-marshal.o -- 1.7.10.4