diff options
Diffstat (limited to 'tools/ocaml/libs/xl/Makefile')
-rw-r--r-- | tools/ocaml/libs/xl/Makefile | 38 |
1 files changed, 19 insertions, 19 deletions
diff --git a/tools/ocaml/libs/xl/Makefile b/tools/ocaml/libs/xl/Makefile index a1e79a5a30..b1f12d058a 100644 --- a/tools/ocaml/libs/xl/Makefile +++ b/tools/ocaml/libs/xl/Makefile @@ -6,44 +6,44 @@ include $(TOPLEVEL)/common.make CFLAGS += -Wno-unused CFLAGS += $(CFLAGS_libxenlight) -OBJS = xl -INTF = xl.cmi -LIBS = xl.cma xl.cmxa +OBJS = xenlight +INTF = xenlight.cmi +LIBS = xenlight.cma xenlight.cmxa -LIBS_xl = $(LDLIBS_libxenlight) +LIBS_xenlight = $(LDLIBS_libxenlight) -xl_OBJS = $(OBJS) -xl_C_OBJS = xl_stubs +xenlight_OBJS = $(OBJS) +xenlight_C_OBJS = xenlight_stubs -OCAML_LIBRARY = xl +OCAML_LIBRARY = xenlight -GENERATED_FILES += xl.ml xl.ml.tmp xl.mli xl.mli.tmp +GENERATED_FILES += xenlight.ml xenlight.ml.tmp xenlight.mli xenlight.mli.tmp GENERATED_FILES += _libxl_types.ml.in _libxl_types.mli.in GENERATED_FILES += _libxl_types.inc all: $(INTF) $(LIBS) -xl.ml: xl.ml.in _libxl_types.ml.in +xenlight.ml: xenlight.ml.in _libxl_types.ml.in $(Q)sed -e '1i\ (*\ * AUTO-GENERATED FILE DO NOT EDIT\ - * Generated from xl.ml.in and _libxl_types.ml.in\ + * Generated from xenlight.ml.in and _libxl_types.ml.in\ *)\ ' \ -e '/^(\* @@LIBXL_TYPES@@ \*)$$/r_libxl_types.ml.in' \ - < xl.ml.in > xl.ml.tmp - $(Q)mv xl.ml.tmp xl.ml + < xenlight.ml.in > xenlight.ml.tmp + $(Q)mv xenlight.ml.tmp xenlight.ml -xl.mli: xl.mli.in _libxl_types.mli.in +xenlight.mli: xenlight.mli.in _libxl_types.mli.in $(Q)sed -e '1i\ (*\ * AUTO-GENERATED FILE DO NOT EDIT\ - * Generated from xl.mli.in and _libxl_types.mli.in\ + * Generated from xenlight.mli.in and _libxl_types.mli.in\ *)\ ' \ -e '/^(\* @@LIBXL_TYPES@@ \*)$$/r_libxl_types.mli.in' \ - < xl.mli.in > xl.mli.tmp - $(Q)mv xl.mli.tmp xl.mli + < xenlight.mli.in > xenlight.mli.tmp + $(Q)mv xenlight.mli.tmp xenlight.mli _libxl_types.ml.in _libxl_types.mli.in _libxl_types.inc: genwrap.py $(XEN_ROOT)/tools/libxl/libxl_types.idl \ $(XEN_ROOT)/tools/libxl/libxltypes.py @@ -56,11 +56,11 @@ libs: $(LIBS) .PHONY: install install: $(LIBS) META mkdir -p $(OCAMLDESTDIR) - ocamlfind remove -destdir $(OCAMLDESTDIR) xl - ocamlfind install -destdir $(OCAMLDESTDIR) -ldconf ignore xl META $(INTF) $(LIBS) *.a *.so *.cmx + ocamlfind remove -destdir $(OCAMLDESTDIR) xenlight + ocamlfind install -destdir $(OCAMLDESTDIR) -ldconf ignore xenlight META $(INTF) $(LIBS) *.a *.so *.cmx .PHONY: uninstall uninstall: - ocamlfind remove -destdir $(OCAMLDESTDIR) xl + ocamlfind remove -destdir $(OCAMLDESTDIR) xenlight include $(TOPLEVEL)/Makefile.rules |