From patchwork Mon Apr 29 10:11:22 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Paolo Bonzini X-Patchwork-Id: 240355 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id C324D2C0099 for ; Mon, 29 Apr 2013 20:12:26 +1000 (EST) Received: from localhost ([::1]:44107 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UWl4K-0005Od-QH for incoming@patchwork.ozlabs.org; Mon, 29 Apr 2013 06:12:24 -0400 Received: from eggs.gnu.org ([208.118.235.92]:54245) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UWl3k-0005Hz-Ra for qemu-devel@nongnu.org; Mon, 29 Apr 2013 06:11:50 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UWl3j-0006hS-GL for qemu-devel@nongnu.org; Mon, 29 Apr 2013 06:11:48 -0400 Received: from mail-bk0-x22b.google.com ([2a00:1450:4008:c01::22b]:51629) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UWl3j-0006hA-9L for qemu-devel@nongnu.org; Mon, 29 Apr 2013 06:11:47 -0400 Received: by mail-bk0-f43.google.com with SMTP id jm19so2570713bkc.16 for ; Mon, 29 Apr 2013 03:11:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:sender:from:to:cc:subject:date:message-id:x-mailer :in-reply-to:references; bh=nhedvoGlj69sSxPIcBJzpRUDXaG72a1YPASv2sqjRWo=; b=CKHmhLHB4O0k4fW9nTJMg5OrpVMAUYgjiQakDdHwfEbw9X4G8dK0pWAyzrtbx+bqjt uEA/Wusg0CfhM5iDLSjJUbF+HVAzGpn3qIH4j4gDmmpBvQxl6VtEy8kcoQwPjxLnlwVg 0CeR2GuAcsUbDoimiB06aQkE8s2/Zw859yvn5XOi39niGfQr0DdQyzbWdlQaylnZUj6C djEtHTlNgc6LohaCzyzqL4+e4qb58b3IecqN50l/EPpEugZn7O4HzmvF6r8Y3Sjj/ciu G/dH4DPNsgH6YF5dVpJ6g/DCIvHfhRX3xb+pmuWUL1yL4fX3n2rmNuFAkoDsOiU5AdZv IBzA== X-Received: by 10.204.200.193 with SMTP id ex1mr19872013bkb.39.1367230306535; Mon, 29 Apr 2013 03:11:46 -0700 (PDT) Received: from yakj.lan (93-34-176-20.ip50.fastwebnet.it. [93.34.176.20]) by mx.google.com with ESMTPSA id iy11sm6526857bkb.11.2013.04.29.03.11.44 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Mon, 29 Apr 2013 03:11:45 -0700 (PDT) From: Paolo Bonzini To: qemu-devel@nongnu.org Date: Mon, 29 Apr 2013 12:11:22 +0200 Message-Id: <1367230284-24612-3-git-send-email-pbonzini@redhat.com> X-Mailer: git-send-email 1.8.2 In-Reply-To: <1367230284-24612-1-git-send-email-pbonzini@redhat.com> References: <1367230284-24612-1-git-send-email-pbonzini@redhat.com> X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:4008:c01::22b Cc: blauwirbel@gmail.com, sw@weilnetz.de, aliguori@us.ibm.com Subject: [Qemu-devel] [PATCH 2/4] win32: move Makefile dependencies on version-obj-y to rules.mak X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org This makes the test on $(LIBTOOL) work. Otherwise, LIBTOOL is /bin/false by the time the test is done. Fixes Win32 compilation without a working cross-libtool. Signed-off-by: Paolo Bonzini --- Makefile | 3 +-- rules.mak | 3 +++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 58e3527..f91f3b0 100644 --- a/Makefile +++ b/Makefile @@ -170,8 +170,7 @@ version.o: $(SRC_PATH)/version.rc config-host.h | version.lo version.lo: $(SRC_PATH)/version.rc config-host.h version-obj-$(CONFIG_WIN32) += version.o -version-lobj-$(CONFIG_WIN32) += $(if $(LIBTOOL),version.lo) -Makefile: $(version-obj-y) $(version-lobj-y) +version-lobj-$(CONFIG_WIN32) += version.lo ###################################################################### diff --git a/rules.mak b/rules.mak index 279525d..197a9d7 100644 --- a/rules.mak +++ b/rules.mak @@ -22,12 +22,15 @@ QEMU_CFLAGS += -I$(