From patchwork Mon Jun 13 07:49:12 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Wei Liu X-Patchwork-Id: 9172289 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 0B9576048C for ; Mon, 13 Jun 2016 08:26:49 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id EFE45200E7 for ; Mon, 13 Jun 2016 08:26:48 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id E4EA42665D; Mon, 13 Jun 2016 08:26:48 +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 71816200E7 for ; Mon, 13 Jun 2016 08:26:48 +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 1bCNB4-0002kX-8j; Mon, 13 Jun 2016 08:24:58 +0000 Received: from mail6.bemta3.messagelabs.com ([195.245.230.39]) by lists.xenproject.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bCNB3-0002kQ-N6 for xen-devel@lists.xenproject.org; Mon, 13 Jun 2016 08:24:58 +0000 Received: from [85.158.137.68] by server-11.bemta-3.messagelabs.com id EF/70-10668-8DD6E575; Mon, 13 Jun 2016 08:24:56 +0000 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFprDIsWRWlGSWpSXmKPExsXitHRDpO713Lh wg4t/BS2+b5nM5MDocfjDFZYAxijWzLyk/IoE1oxpr3YxF9znqujqXMjYwLiVs4uRk0NCwF/i 5JkvTCA2m4CyxM/OXjYQW0RAT6LpwHNGEJtZIFNi2qeTLCC2sIC5xKN5R5lBbBYBVYmf3xrBa ngFXCQuH33GAjFTTuL88Z9ANRwcnEDxJ+/MQcJCAs4SDbMOM0PYChId048xQbQKSpyc+YQFYp WExMEXL5ghxnBL3D49lXkCI98sJGWzkJQtYGRaxahRnFpUllqka2iul1SUmZ5RkpuYmaNraGC sl5taXJyYnpqTmFSsl5yfu4kRGFIMQLCD8eVpz0OMkhxMSqK8Ej5x4UJ8SfkplRmJxRnxRaU5 qcWHGGU4OJQkeC/nAOUEi1LTUyvSMnOAwQ2TluDgURLhZQEGuBBvcUFibnFmOkTqFKMux4YHD 9YyCbHk5eelSonzvgOZIQBSlFGaBzcCFmmXGGWlhHkZgY4S4ilILcrNLEGVf8UozsGoJMyrAr KKJzOvBG7TK6AjmICO4NgXDXJESSJCSqqBcUHc31vfFIyMNDtPXAk+cpWvfusPtv5HU+7Gy21 lXv9nZrhVj2mv511TsxynR8mbv8fJufdfY9yuee2i0pejxyUuJx70W69yJ9WuzfDzYX4ZxbLT Ebc2b9tw59DMP9tcdhR57V9jLPSn4PGRbcfZWJ5lpGyfoKptL/q05mqsyneH5AZ3pgUPkpVYi jMSDbWYi4oTAat8IA6vAgAA X-Env-Sender: prvs=9655a08af=wei.liu2@citrix.com X-Msg-Ref: server-8.tower-31.messagelabs.com!1465806291!45157758!1 X-Originating-IP: [66.165.176.89] X-SpamReason: No, hits=0.0 required=7.0 tests=sa_preprocessor: VHJ1c3RlZCBJUDogNjYuMTY1LjE3Ni44OSA9PiAyMDMwMDc=\n, received_headers: No Received headers X-StarScan-Received: X-StarScan-Version: 8.46; banners=-,-,- X-VirusChecked: Checked Received: (qmail 15155 invoked from network); 13 Jun 2016 08:24:54 -0000 Received: from smtp.citrix.com (HELO SMTP.CITRIX.COM) (66.165.176.89) by server-8.tower-31.messagelabs.com with RC4-SHA encrypted SMTP; 13 Jun 2016 08:24:54 -0000 X-IronPort-AV: E=Sophos;i="5.26,466,1459814400"; d="scan'208";a="359998195" From: Wei Liu To: Xen-devel Date: Mon, 13 Jun 2016 08:49:12 +0100 Message-ID: <1465804155-14469-15-git-send-email-wei.liu2@citrix.com> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1465804155-14469-1-git-send-email-wei.liu2@citrix.com> References: <1465804155-14469-1-git-send-email-wei.liu2@citrix.com> MIME-Version: 1.0 X-DLP: MIA2 Cc: Ian Jackson , Wei Liu , David Scot Subject: [Xen-devel] [PATCH 14/17] ocaml/libxs: generate a paths.ml 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 Acked-by: David Scott --- Cc: Ian Jackson Cc: David Scot --- .gitignore | 1 + tools/ocaml/libs/xs/Makefile | 6 +++++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 8e0a177..5914bbe 100644 --- a/.gitignore +++ b/.gitignore @@ -348,6 +348,7 @@ tools/ocaml/libs/xl/xenlight.mli tools/ocaml/libs/xentoollog/_xtl_levels.* tools/ocaml/libs/xentoollog/xentoollog.ml tools/ocaml/libs/xentoollog/xentoollog.mli +tools/ocaml/libs/xs/paths.ml tools/ocaml/xenstored/oxenstored tools/ocaml/xenstored/oxenstored.conf tools/ocaml/xenstored/paths.ml diff --git a/tools/ocaml/libs/xs/Makefile b/tools/ocaml/libs/xs/Makefile index 7a3d886..572efb7 100644 --- a/tools/ocaml/libs/xs/Makefile +++ b/tools/ocaml/libs/xs/Makefile @@ -11,7 +11,7 @@ OCAMLOPTFLAGS += -for-pack Xenstore PREINTF = xsraw.cmi xst.cmi PREOBJS = queueop xsraw xst PRELIBS = $(foreach obj, $(PREOBJS),$(obj).cmo) $(foreach obj,$(PREOJBS),$(obj).cmx) -OBJS = queueop xsraw xst xs +OBJS = paths queueop xsraw xst xs INTF = xsraw.cmi xst.cmi xs.cmi LIBS = xenstore.cma xenstore.cmxa @@ -45,3 +45,7 @@ uninstall: include $(TOPLEVEL)/Makefile.rules +genpath-target = $(call buildmakevars2module,paths.ml) +$(eval $(genpath-target)) + +GENERATED_FILES += paths.ml