From patchwork Fri Feb 3 11:53:04 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Wei Liu X-Patchwork-Id: 9553919 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 9269660424 for ; Fri, 3 Feb 2017 11:55:41 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7B38A28499 for ; Fri, 3 Feb 2017 11:55:41 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 6FE9A284DB; Fri, 3 Feb 2017 11:55:41 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=2.0 tests=BAYES_00, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 737B728499 for ; Fri, 3 Feb 2017 11:55:40 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cZcQa-0001ys-AI; Fri, 03 Feb 2017 11:53:20 +0000 Received: from mail6.bemta3.messagelabs.com ([195.245.230.39]) by lists.xenproject.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cZcQY-0001yM-Te for xen-devel@lists.xenproject.org; Fri, 03 Feb 2017 11:53:19 +0000 Received: from [85.158.137.68] by server-3.bemta-3.messagelabs.com id 4A/47-14551-E2F64985; Fri, 03 Feb 2017 11:53:18 +0000 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFprIIsWRWlGSWpSXmKPExsXitHSDva5u/pQ Ig327DC2+b5nM5MDocfjDFZYAxijWzLyk/IoE1ozbH+ayFUzlqLhwpo2xgXEbexcjJ4eEgL/E hP3HGUFsNgFliZ+dvWwgtoiAnkTTgedAcS4OZoHpjBLflu4HKxIWCJK41HOHGcRmEVCRaJ36k hXE5hWwkHh4fSUzxFB5iV1tF8HinAKWEnu/3QZbJgRUs6trP5StINEx/RgTRK+gxMmZT1hAbG YBCYmDL14wT2DknYUkNQtJagEj0ypG9eLUorLUIl0zvaSizPSMktzEzBxdQwNjvdzU4uLE9NS cxKRiveT83E2MwOCpZ2Bg3MF4pc35EKMkB5OSKG9z2pQIIb6k/JTKjMTijPii0pzU4kOMMhwc ShK8ZnlAOcGi1PTUirTMHGAYw6QlOHiURHilQdK8xQWJucWZ6RCpU4y6HKdunH7JJMSSl5+XK iXOmwNSJABSlFGaBzcCFlOXGGWlhHkZGRgYhHgKUotyM0tQ5V8xinMwKgnzxoBM4cnMK4Hb9A roCCagI34+ngRyREkiQkqqgfGcLsOchX5T3J49rvdTCvpyqShKO87zqotY3ecTH68W3d3QMCN QaI6Tt76Sv3X3593Xqu31P7z89mqlyc/LPfumi2n8cxea8js4etPKeV/iuZZv+5d5n88y9yv/ sTO78p/bvhIpnML5g9Oh5uPT4Be7YvNPzGkz2t9SPV/8+8oe5h0fPW7Vpc9WYinOSDTUYi4qT gQA7AYWr6QCAAA= X-Env-Sender: prvs=200934ec6=wei.liu2@citrix.com X-Msg-Ref: server-4.tower-31.messagelabs.com!1486122795!25745807!2 X-Originating-IP: [66.165.176.63] X-SpamReason: No, hits=0.0 required=7.0 tests=sa_preprocessor: VHJ1c3RlZCBJUDogNjYuMTY1LjE3Ni42MyA9PiAzMDYwNDg=\n, received_headers: No Received headers X-StarScan-Received: X-StarScan-Version: 9.1.1; banners=-,-,- X-VirusChecked: Checked Received: (qmail 47216 invoked from network); 3 Feb 2017 11:53:17 -0000 Received: from smtp02.citrix.com (HELO SMTP02.CITRIX.COM) (66.165.176.63) by server-4.tower-31.messagelabs.com with RC4-SHA encrypted SMTP; 3 Feb 2017 11:53:17 -0000 X-IronPort-AV: E=Sophos;i="5.33,328,1477958400"; d="scan'208";a="412933654" From: Wei Liu To: Xen-devel Date: Fri, 3 Feb 2017 11:53:04 +0000 Message-ID: <20170203115314.19955-3-wei.liu2@citrix.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20170203115314.19955-1-wei.liu2@citrix.com> References: <20170203115314.19955-1-wei.liu2@citrix.com> MIME-Version: 1.0 Cc: Ian Jackson , Wei Liu , Jan Beulich , Andrew Cooper Subject: [Xen-devel] [PATCH v4 02/12] fuzz/x86emul: use macro to reduce repetition in Makefile X-BeenThere: xen-devel@lists.xen.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xen.org Sender: "Xen-devel" X-Virus-Scanned: ClamAV using ClamSMTP Signed-off-by: Wei Liu Reviewed-by: Jan Beulich --- Cc: Ian Jackson Cc: Jan Beulich Cc: Andrew Cooper --- tools/fuzz/x86_instruction_emulator/Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/tools/fuzz/x86_instruction_emulator/Makefile b/tools/fuzz/x86_instruction_emulator/Makefile index f2bb12e871..fbfbd4673f 100644 --- a/tools/fuzz/x86_instruction_emulator/Makefile +++ b/tools/fuzz/x86_instruction_emulator/Makefile @@ -16,9 +16,11 @@ x86_emulate.c x86_emulate.h: %: CFLAGS += $(CFLAGS_xeninclude) -D__XEN_TOOLS__ -x86_emulate.o: x86_emulate.c x86_emulate.h x86_emulate/x86_emulate.c x86_emulate/x86_emulate.h +x86_emulate.h := x86_emulate.h x86_emulate/x86_emulate.h -x86-insn-emulator-fuzzer.o: x86_emulate.h x86_emulate/x86_emulate.h +x86_emulate.o: x86_emulate.c x86_emulate/x86_emulate.c $(x86_emulate.h) + +x86-insn-emulator-fuzzer.o: $(x86_emulate.h) x86-insn-emulator.a: x86_emulate.o $(AR) rc $@ $^