Message ID | 20211206170241.13165-39-anthony.perard@citrix.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <xen-devel-bounces@lists.xenproject.org> X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id DB91DC433F5 for <xen-devel@archiver.kernel.org>; Mon, 6 Dec 2021 17:08:17 +0000 (UTC) Received: from list by lists.xenproject.org with outflank-mailman.239499.415292 (Exim 4.92) (envelope-from <xen-devel-bounces@lists.xenproject.org>) id 1muHTA-0006NZ-4J; Mon, 06 Dec 2021 17:08:04 +0000 X-Outflank-Mailman: Message body and most headers restored to incoming version Received: by outflank-mailman (output) from mailman id 239499.415292; Mon, 06 Dec 2021 17:08:04 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from <xen-devel-bounces@lists.xenproject.org>) id 1muHT9-0006MS-TV; Mon, 06 Dec 2021 17:08:03 +0000 Received: by outflank-mailman (input) for mailman id 239499; Mon, 06 Dec 2021 17:08:02 +0000 Received: from se1-gles-flk1-in.inumbo.com ([94.247.172.50] helo=se1-gles-flk1.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from <SRS0=+yl1=QX=citrix.com=anthony.perard@srs-se1.protection.inumbo.net>) id 1muHPP-0005ti-Vf for xen-devel@lists.xenproject.org; Mon, 06 Dec 2021 17:04:12 +0000 Received: from esa1.hc3370-68.iphmx.com (esa1.hc3370-68.iphmx.com [216.71.145.142]) by se1-gles-flk1.inumbo.com (Halon) with ESMTPS id 874d5a64-56b6-11ec-8a4d-196798b21f7b; Mon, 06 Dec 2021 18:04:11 +0100 (CET) X-BeenThere: xen-devel@lists.xenproject.org List-Id: Xen developer discussion <xen-devel.lists.xenproject.org> List-Unsubscribe: <https://lists.xenproject.org/mailman/options/xen-devel>, <mailto:xen-devel-request@lists.xenproject.org?subject=unsubscribe> List-Post: <mailto:xen-devel@lists.xenproject.org> List-Help: <mailto:xen-devel-request@lists.xenproject.org?subject=help> List-Subscribe: <https://lists.xenproject.org/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xenproject.org?subject=subscribe> Errors-To: xen-devel-bounces@lists.xenproject.org Precedence: list Sender: "Xen-devel" <xen-devel-bounces@lists.xenproject.org> X-Inumbo-ID: 874d5a64-56b6-11ec-8a4d-196798b21f7b DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=citrix.com; s=securemail; t=1638810250; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=e7pmrxgtWsIGIZ5tVVe5aoQ7uLgeznvSpyvXPWFCwoA=; b=U8iOup8OIC6OdKMBp2RdqRnQUHMgPH0UsTrO6XUIgCy7qzJuUzx8E8vU hACVIrLzgxnWL1YBD4hMeaSmW4PzWrt3YUwT7Cdu/vteYLQzHc1dQ5ibG J0AvWQV79FYterrX7Z/LbdQtIAZRrtnn7x30fTE2rWpXiizEIH/moqpIz o=; Authentication-Results: esa1.hc3370-68.iphmx.com; dkim=none (message not signed) header.i=none IronPort-SDR: TPSJXAen5poGq0NHSgj7d/Jrn9ofLRQWYiFXY8kBD3h9KB36fb4n+zT5yrt9qb1SDA0/ErZYzw PAU/Npr2QWPPwApgVzC2LxL8GI2q3AtgKgAb584tjQPndOJAB+sMKYpIk7KwdksB7To0LApOQr kfx8Uq9NJCt81RUrxkfInf1/j9Y9E02Kr5mh8CrMMEz+WHKpfQTPLPgv0VTNTIUpP75nM70CQO WhqqE5e9KQXCC3rWbMBvlgJSo8PjYLSoteH5iozCCqn4m4h0Ck6Y2OIiVQ9aQyCluNlnbBaMWy KIESkAOsddjuH5SIg80wvc1J X-SBRS: 5.1 X-MesageID: 59766522 X-Ironport-Server: esa1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lWHrFo/xIJcgxzwkxHO7eHwI50/P7FZqX1bMEe1tGALXNogRtfrYyC2Io 4c3H5bbkH13DbyhChQ7BKZOdDjm21BgXsuowyGWH8beSjdb9JYJV6WMnOh/ItM9xMy4VI7gp xmAZ6OR83Kn7VWvFOlAQioLhGrHUcktoHQlEzYrOFr0iXEvbZz2tPUUdoctfKlh/+tmlKYmQ /4AcsSGI/JOVjWYpGhNMcij9NRvJEaxmAaDHyu5ezxjLZRucBPEp43/dQz1+ShQUifu7Zkio 6et3x/wSIYYQ1gwF97fbf+ilgvjvXUUlO9ocVHPJ91fJBfl/IRwcnSjhf4rOcAcbx7Ew2LCh QqRBB4Zo8jLopM0r4aV1fzV8d/xHrInTERAHmTd4bKnDgXg/zKukd1aTeKFXTHBT2eoqq+sU vpYkqPnO/odkVcU74clS+R3zbgz7sfErqNBylg2B23CalmmB+8yInSC2sUT5KRByqUA5FmzU 0OLvNJbJa+IKIXuF1tIfFgpaeGK1Pc1nDjO7KtqfBWmtXEvpLfXA19POxSsiTBGKOonOYwo9 u4tpcoK5lHtkREtKNuH0nhZ+mnkwqbsiEn7WkX22LPWtzc= IronPort-HdrOrdr: A9a23:R5wqNKyIjKo/IKHM+wwgKrPwKr1zdoMgy1knxilNoRw8SKOlfq eV7ZMmPH7P+U8ssR4b+OxoVJPsfZqYz+8W3WBzB8bHYOCFgguVxehZhOOIqQEIWReOk9K1vZ 0QFZSWY+efMbEVt6rHCXGDYrUd/OU= X-IronPort-AV: E=Sophos;i="5.87,292,1631592000"; d="scan'208";a="59766522" From: Anthony PERARD <anthony.perard@citrix.com> To: <xen-devel@lists.xenproject.org> CC: Anthony PERARD <anthony.perard@gmail.com>, Anthony PERARD <anthony.perard@citrix.com>, George Dunlap <george.dunlap@citrix.com>, "Ian Jackson" <iwj@xenproject.org>, Wei Liu <wl@xen.org> Subject: [XEN PATCH 38/57] tools/xenstrace: rework Makefile Date: Mon, 6 Dec 2021 17:02:21 +0000 Message-ID: <20211206170241.13165-39-anthony.perard@citrix.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20211206170241.13165-1-anthony.perard@citrix.com> References: <20211206170241.13165-1-anthony.perard@citrix.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain |
Series |
Toolstack build system improvement, toward non-recursive makefiles
|
expand
|
On 06/12/2021 17:02, Anthony PERARD wrote: > .PHONY: install > -install: build > +install: all > $(INSTALL_DIR) $(DESTDIR)$(bindir) > $(INSTALL_DIR) $(DESTDIR)$(sbindir) > [ -z "$(LIBBIN)" ] || $(INSTALL_DIR) $(DESTDIR)$(LIBEXEC_BIN) Doesn't this conditional mkdir want to be dropped? ~Andrew
diff --git a/tools/xentrace/Makefile b/tools/xentrace/Makefile index 9fb7fc96e7..2b166335dc 100644 --- a/tools/xentrace/Makefile +++ b/tools/xentrace/Makefile @@ -14,14 +14,13 @@ SBIN = xentrace xentrace_setsize LIBBIN = xenctx SCRIPTS = xentrace_format -.PHONY: all -all: build +TARGETS := $(BIN) $(SBIN) $(LIBBIN) -.PHONY: build -build: $(BIN) $(SBIN) $(LIBBIN) +.PHONY: all +all: $(TARGETS) .PHONY: install -install: build +install: all $(INSTALL_DIR) $(DESTDIR)$(bindir) $(INSTALL_DIR) $(DESTDIR)$(sbindir) [ -z "$(LIBBIN)" ] || $(INSTALL_DIR) $(DESTDIR)$(LIBEXEC_BIN) @@ -43,7 +42,7 @@ endif .PHONY: clean clean: - $(RM) *.a *.so *.o *.rpm $(BIN) $(SBIN) $(LIBBIN) $(DEPS_RM) + $(RM) *.o $(TARGETS) $(DEPS_RM) .PHONY: distclean distclean: clean
Remove "build" targets. Use "$(TARGETS)" to list binary to be built. Cleanup "clean" rule. Signed-off-by: Anthony PERARD <anthony.perard@citrix.com> --- tools/xentrace/Makefile | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-)