From: Vincent Hanquez Subject: [PATCH] missing makefile for libxl Date: Mon, 28 Jun 2010 17:49:43 +0100 Message-ID: <1277743783-14584-1-git-send-email-vincent.hanquez@eu.citrix.com> References: <19496.53294.456700.946992@mariner.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: In-Reply-To: <19496.53294.456700.946992@mariner.uk.xensource.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Xen Devel Cc: Vincent Hanquez List-Id: xen-devel@lists.xenproject.org Signed-off-by: Vincent Hanquez --- tools/ocaml/libs/xl/Makefile | 26 ++++++++++++++++++++++++++ 1 files changed, 26 insertions(+), 0 deletions(-) create mode 100644 tools/ocaml/libs/xl/Makefile diff --git a/tools/ocaml/libs/xl/Makefile b/tools/ocaml/libs/xl/Makefile new file mode 100644 index 0000000..2061e25 --- /dev/null +++ b/tools/ocaml/libs/xl/Makefile @@ -0,0 +1,26 @@ +TOPLEVEL=../.. +XEN_ROOT=$(TOPLEVEL)/../.. +include $(TOPLEVEL)/common.make + +OBJS = xl +INTF = xl.cmi +LIBS = xl.cma xl.cmxa + +xl_OBJS = $(OBJS) +xl_C_OBJS = xl_stubs + +OCAML_LIBRARY = xl + +all: $(INTF) $(LIBS) + +libs: $(LIBS) + +.PHONY: install +install: $(LIBS) META + ocamlfind install -destdir $(DESTDIR)$(shell ocamlfind printconf destdir) -ldconf ignore xl META $(INTF) $(LIBS) *.a *.so *.cmx + +.PHONY: uninstall +uninstall: + ocamlfind remove xl + +include $(TOPLEVEL)/Makefile.rules -- 1.7.1