mirror of
https://github.com/libguestfs/libguestfs.git
synced 2026-03-21 22:53:37 +00:00
Rename mllib -> common/mltools.
This directory which previously contained random modules and functions now has an official purpose: to be the place for any OCaml utility needed by the OCaml virt tools. This is just code movement, I didn't (yet) rename or move any of the modules.
This commit is contained in:
10
.gitignore
vendored
10
.gitignore
vendored
@@ -134,6 +134,11 @@ Makefile.in
|
||||
/common/mlstdutils/guestfs_config.ml
|
||||
/common/mlstdutils/oUnit-*
|
||||
/common/mlstdutils/std_utils_tests
|
||||
/common/mltools/.depend
|
||||
/common/mltools/common_utils_tests
|
||||
/common/mltools/getopt_tests
|
||||
/common/mltools/JSON_tests
|
||||
/common/mltools/oUnit-*
|
||||
/common/mlutils/.depend
|
||||
/common/mlutils/c_utils_unit_tests
|
||||
/common/mlutils/oUnit-*
|
||||
@@ -379,11 +384,6 @@ Makefile.in
|
||||
/make-fs/virt-make-fs
|
||||
/make-fs/virt-make-fs.1
|
||||
/missing
|
||||
/mllib/.depend
|
||||
/mllib/common_utils_tests
|
||||
/mllib/getopt_tests
|
||||
/mllib/JSON_tests
|
||||
/mllib/oUnit-*
|
||||
/ocaml-dep.sh
|
||||
/ocaml/bindtests.bc
|
||||
/ocaml/bindtests.opt
|
||||
|
||||
@@ -155,14 +155,14 @@ endif
|
||||
# Unconditional because nothing is built yet.
|
||||
SUBDIRS += csharp
|
||||
|
||||
# OCaml tools. Note 'common/ml*', 'mllib' and 'customize' contain
|
||||
# shared code used by other OCaml tools, so these must come first.
|
||||
# OCaml tools. Note 'common/ml*' and 'customize' contain shared code
|
||||
# used by other OCaml tools, so these must come first.
|
||||
if HAVE_OCAML
|
||||
SUBDIRS += common/mlgettext
|
||||
SUBDIRS += common/mlprogress
|
||||
SUBDIRS += common/mlvisit
|
||||
SUBDIRS += common/mlxml
|
||||
SUBDIRS += mllib
|
||||
SUBDIRS += common/mltools
|
||||
SUBDIRS += customize
|
||||
SUBDIRS += builder builder/templates
|
||||
SUBDIRS += get-kernel
|
||||
@@ -351,7 +351,7 @@ po/POTFILES: configure.ac
|
||||
po/POTFILES-ml: configure.ac
|
||||
rm -f $@ $@-t
|
||||
cd $(srcdir); \
|
||||
find builder common/ml* customize dib get-kernel mllib resize sparsify sysprep v2v -name '*.ml' | \
|
||||
find builder common/ml* customize dib get-kernel resize sparsify sysprep v2v -name '*.ml' | \
|
||||
grep -v '^builder/templates/' | \
|
||||
LC_ALL=C sort > $@-t
|
||||
mv $@-t $@
|
||||
|
||||
@@ -130,7 +130,7 @@ OCAMLPACKAGES = \
|
||||
-I $(top_builddir)/common/mlutils \
|
||||
-I $(top_builddir)/common/mlgettext \
|
||||
-I $(top_builddir)/common/mlpcre \
|
||||
-I $(top_builddir)/mllib \
|
||||
-I $(top_builddir)/common/mltools \
|
||||
-I $(top_builddir)/customize
|
||||
OCAMLPACKAGES_TESTS =
|
||||
if HAVE_OCAML_PKG_GETTEXT
|
||||
@@ -165,7 +165,7 @@ OCAMLLINKFLAGS = \
|
||||
mlstdutils.$(MLARCHIVE) \
|
||||
mlguestfs.$(MLARCHIVE) \
|
||||
mlcutils.$(MLARCHIVE) \
|
||||
mllib.$(MLARCHIVE) \
|
||||
mltools.$(MLARCHIVE) \
|
||||
customize.$(MLARCHIVE) \
|
||||
$(LINK_CUSTOM_OCAMLC_ONLY)
|
||||
|
||||
@@ -175,7 +175,7 @@ virt_builder_DEPENDENCIES = \
|
||||
../common/mlgettext/mlgettext.$(MLARCHIVE) \
|
||||
../common/mlstdutils/mlstdutils.$(MLARCHIVE) \
|
||||
../common/mlutils/mlcutils.$(MLARCHIVE) \
|
||||
../mllib/mllib.$(MLARCHIVE) \
|
||||
../common/mltools/mltools.$(MLARCHIVE) \
|
||||
../customize/customize.$(MLARCHIVE) \
|
||||
$(top_srcdir)/ocaml-link.sh
|
||||
virt_builder_LINK = \
|
||||
@@ -249,7 +249,7 @@ yajl_tests_DEPENDENCIES = \
|
||||
../common/mlpcre/mlpcre.$(MLARCHIVE) \
|
||||
../common/mlstdutils/mlstdutils.$(MLARCHIVE) \
|
||||
../common/mlutils/mlcutils.$(MLARCHIVE) \
|
||||
../mllib/mllib.$(MLARCHIVE) \
|
||||
../common/mltools/mltools.$(MLARCHIVE) \
|
||||
../customize/customize.$(MLARCHIVE) \
|
||||
$(top_srcdir)/ocaml-link.sh
|
||||
yajl_tests_LINK = \
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
(* mllib
|
||||
(* mltools JSON tests
|
||||
* Copyright (C) 2015 Red Hat Inc.
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
@@ -221,7 +221,7 @@ let test_builder ctx =
|
||||
|
||||
(* Suites declaration. *)
|
||||
let suite =
|
||||
"mllib JSON" >:::
|
||||
"mltools JSON" >:::
|
||||
[
|
||||
"basic.empty" >:: test_empty;
|
||||
"basic.string" >:: test_string;
|
||||
@@ -51,9 +51,9 @@ SOURCES_ML = \
|
||||
xpath_helpers.ml
|
||||
|
||||
SOURCES_C = \
|
||||
../common/options/decrypt.c \
|
||||
../common/options/keys.c \
|
||||
../common/options/uri.c \
|
||||
../options/decrypt.c \
|
||||
../options/keys.c \
|
||||
../options/uri.c \
|
||||
common_utils-c.c \
|
||||
getopt-c.c \
|
||||
uri-c.c
|
||||
@@ -65,18 +65,18 @@ if HAVE_OCAML
|
||||
# objects and OCaml objects and link them into the OCaml library.
|
||||
# This C library is never used.
|
||||
|
||||
noinst_LIBRARIES = libmllib.a
|
||||
noinst_LIBRARIES = libmltools.a
|
||||
|
||||
if !HAVE_OCAMLOPT
|
||||
MLLIB_CMA = mllib.cma
|
||||
MLTOOLS_CMA = mltools.cma
|
||||
else
|
||||
MLLIB_CMA = mllib.cmxa
|
||||
MLTOOLS_CMA = mltools.cmxa
|
||||
endif
|
||||
|
||||
noinst_DATA = $(MLLIB_CMA)
|
||||
noinst_DATA = $(MLTOOLS_CMA)
|
||||
|
||||
libmllib_a_SOURCES = $(SOURCES_C)
|
||||
libmllib_a_CPPFLAGS = \
|
||||
libmltools_a_SOURCES = $(SOURCES_C)
|
||||
libmltools_a_CPPFLAGS = \
|
||||
-I. \
|
||||
-I$(top_builddir) \
|
||||
-I$(top_srcdir)/gnulib/lib -I$(top_builddir)/gnulib/lib \
|
||||
@@ -89,7 +89,7 @@ libmllib_a_CPPFLAGS = \
|
||||
-I$(top_srcdir)/common/mlxml \
|
||||
-I$(top_srcdir)/common/mlstdutils \
|
||||
-I$(top_srcdir)/common/mlutils
|
||||
libmllib_a_CFLAGS = \
|
||||
libmltools_a_CFLAGS = \
|
||||
$(WARN_CFLAGS) $(WERROR_CFLAGS) \
|
||||
$(LIBVIRT_CFLAGS) $(LIBXML2_CFLAGS) \
|
||||
-fPIC
|
||||
@@ -112,7 +112,7 @@ OCAMLPACKAGES = \
|
||||
-I $(top_builddir)/common/mlstdutils \
|
||||
-I $(top_builddir)/common/mlutils \
|
||||
-I $(builddir)
|
||||
OCAMLPACKAGES_TESTS = $(MLLIB_CMA)
|
||||
OCAMLPACKAGES_TESTS = $(MLTOOLS_CMA)
|
||||
if HAVE_OCAML_PKG_GETTEXT
|
||||
OCAMLPACKAGES += -package gettext-stub
|
||||
endif
|
||||
@@ -137,11 +137,11 @@ else
|
||||
OBJECTS = $(XOBJECTS)
|
||||
endif
|
||||
|
||||
libmllib_a_DEPENDENCIES = $(OBJECTS)
|
||||
libmltools_a_DEPENDENCIES = $(OBJECTS)
|
||||
|
||||
$(MLLIB_CMA): $(OBJECTS) libmllib.a
|
||||
$(MLTOOLS_CMA): $(OBJECTS) libmltools.a
|
||||
$(OCAMLFIND) mklib $(OCAMLPACKAGES) \
|
||||
$(OBJECTS) $(libmllib_a_OBJECTS) -o mllib
|
||||
$(OBJECTS) $(libmltools_a_OBJECTS) -o mltools
|
||||
|
||||
# Tests.
|
||||
|
||||
@@ -198,10 +198,10 @@ OCAMLLINKFLAGS = \
|
||||
|
||||
common_utils_tests_DEPENDENCIES = \
|
||||
$(common_utils_tests_THEOBJECTS) \
|
||||
../common/mlstdutils/mlstdutils.$(MLARCHIVE) \
|
||||
../common/mlgettext/mlgettext.$(MLARCHIVE) \
|
||||
../common/mlpcre/mlpcre.$(MLARCHIVE) \
|
||||
$(MLLIB_CMA) \
|
||||
../mlstdutils/mlstdutils.$(MLARCHIVE) \
|
||||
../mlgettext/mlgettext.$(MLARCHIVE) \
|
||||
../mlpcre/mlpcre.$(MLARCHIVE) \
|
||||
$(MLTOOLS_CMA) \
|
||||
$(top_srcdir)/ocaml-link.sh
|
||||
common_utils_tests_LINK = \
|
||||
$(top_srcdir)/ocaml-link.sh -cclib '-lutils $(LIBXML2_LIBS) -lgnu' -- \
|
||||
@@ -211,10 +211,10 @@ common_utils_tests_LINK = \
|
||||
|
||||
getopt_tests_DEPENDENCIES = \
|
||||
$(getopt_tests_THEOBJECTS) \
|
||||
../common/mlstdutils/mlstdutils.$(MLARCHIVE) \
|
||||
../common/mlgettext/mlgettext.$(MLARCHIVE) \
|
||||
../common/mlpcre/mlpcre.$(MLARCHIVE) \
|
||||
$(MLLIB_CMA) \
|
||||
../mlstdutils/mlstdutils.$(MLARCHIVE) \
|
||||
../mlgettext/mlgettext.$(MLARCHIVE) \
|
||||
../mlpcre/mlpcre.$(MLARCHIVE) \
|
||||
$(MLTOOLS_CMA) \
|
||||
$(top_srcdir)/ocaml-link.sh
|
||||
getopt_tests_LINK = \
|
||||
$(top_srcdir)/ocaml-link.sh -cclib '-lutils $(LIBXML2_LIBS) -lgnu' -- \
|
||||
@@ -224,10 +224,10 @@ getopt_tests_LINK = \
|
||||
|
||||
JSON_tests_DEPENDENCIES = \
|
||||
$(JSON_tests_THEOBJECTS) \
|
||||
../common/mlstdutils/mlstdutils.$(MLARCHIVE) \
|
||||
../common/mlgettext/mlgettext.$(MLARCHIVE) \
|
||||
../common/mlpcre/mlpcre.$(MLARCHIVE) \
|
||||
$(MLLIB_CMA) \
|
||||
../mlstdutils/mlstdutils.$(MLARCHIVE) \
|
||||
../mlgettext/mlgettext.$(MLARCHIVE) \
|
||||
../mlpcre/mlpcre.$(MLARCHIVE) \
|
||||
$(MLTOOLS_CMA) \
|
||||
$(top_srcdir)/ocaml-link.sh
|
||||
JSON_tests_LINK = \
|
||||
$(top_srcdir)/ocaml-link.sh -- \
|
||||
@@ -19,7 +19,7 @@
|
||||
/**
|
||||
* This file contains common code used to implement I<--short-options>
|
||||
* and I<--long-options> in C virt tools. (The equivalent for
|
||||
* OCaml virt tools is implemented by F<mllib/getopt.ml>).
|
||||
* OCaml virt tools is implemented by F<common/mltools/getopt.ml>).
|
||||
*
|
||||
* These "hidden" options are used to implement bash tab completion.
|
||||
*/
|
||||
|
||||
@@ -232,6 +232,7 @@ AC_CONFIG_FILES([Makefile
|
||||
common/mlprogress/Makefile
|
||||
common/mlstdutils/Makefile
|
||||
common/mlstdutils/guestfs_config.ml
|
||||
common/mltools/Makefile
|
||||
common/mlutils/Makefile
|
||||
common/mlvisit/Makefile
|
||||
common/mlxml/Makefile
|
||||
@@ -275,7 +276,6 @@ AC_CONFIG_FILES([Makefile
|
||||
lua/Makefile
|
||||
lua/examples/Makefile
|
||||
make-fs/Makefile
|
||||
mllib/Makefile
|
||||
ocaml/META
|
||||
ocaml/Makefile
|
||||
ocaml/examples/Makefile
|
||||
|
||||
@@ -128,7 +128,7 @@ OCAMLPACKAGES = \
|
||||
-I $(top_builddir)/common/mlutils \
|
||||
-I $(top_builddir)/common/mlgettext \
|
||||
-I $(top_builddir)/common/mlpcre \
|
||||
-I $(top_builddir)/mllib \
|
||||
-I $(top_builddir)/common/mltools \
|
||||
-I $(builddir)
|
||||
if HAVE_OCAML_PKG_GETTEXT
|
||||
OCAMLPACKAGES += -package gettext-stub
|
||||
@@ -160,7 +160,7 @@ OCAMLLINKFLAGS = \
|
||||
mlgettext.$(MLARCHIVE) \
|
||||
mlpcre.$(MLARCHIVE) \
|
||||
mlcutils.$(MLARCHIVE) \
|
||||
mllib.$(MLARCHIVE) \
|
||||
mltools.$(MLARCHIVE) \
|
||||
customize.$(MLARCHIVE) \
|
||||
$(LINK_CUSTOM_OCAMLC_ONLY)
|
||||
|
||||
@@ -182,7 +182,7 @@ virt_customize_DEPENDENCIES = \
|
||||
../common/mlutils/mlcutils.$(MLARCHIVE) \
|
||||
../common/mlgettext/mlgettext.$(MLARCHIVE) \
|
||||
../common/mlpcre/mlpcre.$(MLARCHIVE) \
|
||||
../mllib/mllib.$(MLARCHIVE)
|
||||
../common/mltools/mltools.$(MLARCHIVE)
|
||||
virt_customize_LINK = \
|
||||
$(top_srcdir)/ocaml-link.sh -cclib '$(OCAMLCLIBS)' -- \
|
||||
$(OCAMLFIND) $(BEST) $(OCAMLFLAGS) $(OCAMLPACKAGES) $(OCAMLLINKFLAGS) \
|
||||
|
||||
@@ -87,7 +87,7 @@ OCAMLPACKAGES = \
|
||||
-I $(top_builddir)/common/mlutils \
|
||||
-I $(top_builddir)/common/mlgettext \
|
||||
-I $(top_builddir)/common/mlpcre \
|
||||
-I $(top_builddir)/mllib
|
||||
-I $(top_builddir)/common/mltools
|
||||
if HAVE_OCAML_PKG_GETTEXT
|
||||
OCAMLPACKAGES += -package gettext-stub
|
||||
endif
|
||||
@@ -113,7 +113,7 @@ OCAMLLINKFLAGS = \
|
||||
mlcutils.$(MLARCHIVE) \
|
||||
mlgettext.$(MLARCHIVE) \
|
||||
mlpcre.$(MLARCHIVE) \
|
||||
mllib.$(MLARCHIVE) \
|
||||
mltools.$(MLARCHIVE) \
|
||||
$(LINK_CUSTOM_OCAMLC_ONLY)
|
||||
|
||||
virt_dib_DEPENDENCIES = \
|
||||
@@ -122,7 +122,7 @@ virt_dib_DEPENDENCIES = \
|
||||
../common/mlutils/mlcutils.$(MLARCHIVE) \
|
||||
../common/mlgettext/mlgettext.$(MLARCHIVE) \
|
||||
../common/mlpcre/mlpcre.$(MLARCHIVE) \
|
||||
../mllib/mllib.$(MLARCHIVE) \
|
||||
../common/mltools/mltools.$(MLARCHIVE) \
|
||||
$(top_srcdir)/ocaml-link.sh
|
||||
virt_dib_LINK = \
|
||||
$(top_srcdir)/ocaml-link.sh -cclib '$(OCAMLCLIBS)' -- \
|
||||
|
||||
@@ -73,7 +73,7 @@ type format = {
|
||||
|
||||
and extra_arg = {
|
||||
extra_argspec : Getopt.keys * Getopt.spec * Getopt.doc;
|
||||
(** The argspec. See [Getopt] module in [mllib]. *)
|
||||
(** The argspec. See [Getopt] module in [common/mltools]. *)
|
||||
}
|
||||
|
||||
val defaults : format
|
||||
|
||||
@@ -21,6 +21,10 @@ common/mlpcre/dummy.c
|
||||
common/mlpcre/pcre-c.c
|
||||
common/mlprogress/progress-c.c
|
||||
common/mlstdutils/dummy.c
|
||||
common/mltools/common_utils-c.c
|
||||
common/mltools/dummy.c
|
||||
common/mltools/getopt-c.c
|
||||
common/mltools/uri-c.c
|
||||
common/mlutils/c_utils-c.c
|
||||
common/mlutils/dummy.c
|
||||
common/mlutils/unix_utils-c.c
|
||||
@@ -345,10 +349,6 @@ lib/whole-file.c
|
||||
lib/yara.c
|
||||
lua/lua-guestfs.c
|
||||
make-fs/make-fs.c
|
||||
mllib/common_utils-c.c
|
||||
mllib/dummy.c
|
||||
mllib/getopt-c.c
|
||||
mllib/uri-c.c
|
||||
ocaml/guestfs-c-actions.c
|
||||
ocaml/guestfs-c-errnos.c
|
||||
ocaml/guestfs-c.c
|
||||
|
||||
@@ -124,6 +124,11 @@ OCaml bindings for the progress bar functions (see F<common/progress>).
|
||||
|
||||
A library of pure OCaml utility functions used in many places.
|
||||
|
||||
=item F<common/mltools>
|
||||
|
||||
OCaml utility functions only used by the OCaml virt tools (like
|
||||
C<virt-sysprep>, C<virt-v2v> etc.)
|
||||
|
||||
=item F<common/mlutils>
|
||||
|
||||
OCaml bindings for C functions in C<common/utils>, and some POSIX
|
||||
@@ -262,11 +267,6 @@ M4 macros used by autoconf. See L</THE BUILD SYSTEM>.
|
||||
|
||||
L<virt-make-fs(1)> command and documentation.
|
||||
|
||||
=item F<mllib>
|
||||
|
||||
Various libraries and common code used by L<virt-resize(1)> and
|
||||
the other tools which are written in OCaml.
|
||||
|
||||
=item F<p2v>
|
||||
|
||||
L<virt-p2v(1)> command, documentation and scripts for building the
|
||||
|
||||
@@ -70,7 +70,7 @@ OCAMLPACKAGES = \
|
||||
-I $(top_builddir)/common/mlutils \
|
||||
-I $(top_builddir)/common/mlgettext \
|
||||
-I $(top_builddir)/common/mlpcre \
|
||||
-I $(top_builddir)/mllib
|
||||
-I $(top_builddir)/common/mltools
|
||||
if HAVE_OCAML_PKG_GETTEXT
|
||||
OCAMLPACKAGES += -package gettext-stub
|
||||
endif
|
||||
@@ -96,7 +96,7 @@ OCAMLLINKFLAGS = \
|
||||
mlgettext.$(MLARCHIVE) \
|
||||
mlpcre.$(MLARCHIVE) \
|
||||
mlcutils.$(MLARCHIVE) \
|
||||
mllib.$(MLARCHIVE) \
|
||||
mltools.$(MLARCHIVE) \
|
||||
$(LINK_CUSTOM_OCAMLC_ONLY)
|
||||
|
||||
virt_get_kernel_DEPENDENCIES = \
|
||||
@@ -105,7 +105,7 @@ virt_get_kernel_DEPENDENCIES = \
|
||||
../common/mlutils/mlcutils.$(MLARCHIVE) \
|
||||
../common/mlgettext/mlgettext.$(MLARCHIVE) \
|
||||
../common/mlpcre/mlpcre.$(MLARCHIVE) \
|
||||
../mllib/mllib.$(MLARCHIVE) \
|
||||
../common/mltools/mltools.$(MLARCHIVE) \
|
||||
$(top_srcdir)/ocaml-link.sh
|
||||
virt_get_kernel_LINK = \
|
||||
$(top_srcdir)/ocaml-link.sh -cclib '$(OCAMLCLIBS)' -- \
|
||||
|
||||
@@ -38,11 +38,11 @@ common/mlgettext
|
||||
common/mlpcre
|
||||
common/mlprogress
|
||||
common/mlstdutils
|
||||
common/mltools
|
||||
common/mlutils
|
||||
common/mlvisit
|
||||
common/mlxml
|
||||
customize
|
||||
mllib
|
||||
ocaml
|
||||
"
|
||||
|
||||
|
||||
@@ -67,7 +67,7 @@ OCAMLPACKAGES = \
|
||||
-I $(top_builddir)/common/mlutils \
|
||||
-I $(top_builddir)/common/mlgettext \
|
||||
-I $(top_builddir)/common/mlpcre \
|
||||
-I $(top_builddir)/mllib
|
||||
-I $(top_builddir)/common/mltools
|
||||
if HAVE_OCAML_PKG_GETTEXT
|
||||
OCAMLPACKAGES += -package gettext-stub
|
||||
endif
|
||||
@@ -95,7 +95,7 @@ OCAMLLINKFLAGS = \
|
||||
mlgettext.$(MLARCHIVE) \
|
||||
mlpcre.$(MLARCHIVE) \
|
||||
mlcutils.$(MLARCHIVE) \
|
||||
mllib.$(MLARCHIVE) \
|
||||
mltools.$(MLARCHIVE) \
|
||||
$(LINK_CUSTOM_OCAMLC_ONLY)
|
||||
|
||||
virt_resize_DEPENDENCIES = \
|
||||
@@ -104,7 +104,7 @@ virt_resize_DEPENDENCIES = \
|
||||
../common/mlutils/mlcutils.$(MLARCHIVE) \
|
||||
../common/mlgettext/mlgettext.$(MLARCHIVE) \
|
||||
../common/mlpcre/mlpcre.$(MLARCHIVE) \
|
||||
../mllib/mllib.$(MLARCHIVE) \
|
||||
../common/mltools/mltools.$(MLARCHIVE) \
|
||||
$(top_srcdir)/ocaml-link.sh
|
||||
virt_resize_LINK = \
|
||||
$(top_srcdir)/ocaml-link.sh -cclib '$(OCAMLCLIBS)' -- \
|
||||
|
||||
@@ -75,7 +75,7 @@ OCAMLPACKAGES = \
|
||||
-I $(top_builddir)/common/mlutils \
|
||||
-I $(top_builddir)/common/mlgettext \
|
||||
-I $(top_builddir)/common/mlpcre \
|
||||
-I $(top_builddir)/mllib
|
||||
-I $(top_builddir)/common/mltools
|
||||
if HAVE_OCAML_PKG_GETTEXT
|
||||
OCAMLPACKAGES += -package gettext-stub
|
||||
endif
|
||||
@@ -103,7 +103,7 @@ OCAMLLINKFLAGS = \
|
||||
mlgettext.$(MLARCHIVE) \
|
||||
mlpcre.$(MLARCHIVE) \
|
||||
mlcutils.$(MLARCHIVE) \
|
||||
mllib.$(MLARCHIVE) \
|
||||
mltools.$(MLARCHIVE) \
|
||||
$(LINK_CUSTOM_OCAMLC_ONLY)
|
||||
|
||||
virt_sparsify_DEPENDENCIES = \
|
||||
@@ -112,7 +112,7 @@ virt_sparsify_DEPENDENCIES = \
|
||||
../common/mlutils/mlcutils.$(MLARCHIVE) \
|
||||
../common/mlgettext/mlgettext.$(MLARCHIVE) \
|
||||
../common/mlpcre/mlpcre.$(MLARCHIVE) \
|
||||
../mllib/mllib.$(MLARCHIVE) \
|
||||
../common/mltools/mltools.$(MLARCHIVE) \
|
||||
$(top_srcdir)/ocaml-link.sh
|
||||
virt_sparsify_LINK = \
|
||||
$(top_srcdir)/ocaml-link.sh -cclib '$(OCAMLCLIBS)' -- \
|
||||
|
||||
@@ -120,7 +120,7 @@ OCAMLPACKAGES = \
|
||||
-I $(top_builddir)/common/mlgettext \
|
||||
-I $(top_builddir)/common/mlpcre \
|
||||
-I $(top_builddir)/common/mlvisit \
|
||||
-I $(top_builddir)/mllib \
|
||||
-I $(top_builddir)/common/mltools \
|
||||
-I $(top_builddir)/customize
|
||||
if HAVE_OCAML_PKG_GETTEXT
|
||||
OCAMLPACKAGES += -package gettext-stub
|
||||
@@ -150,7 +150,7 @@ OCAMLLINKFLAGS = \
|
||||
mlgettext.$(MLARCHIVE) \
|
||||
mlpcre.$(MLARCHIVE) \
|
||||
mlcutils.$(MLARCHIVE) \
|
||||
mllib.$(MLARCHIVE) \
|
||||
mltools.$(MLARCHIVE) \
|
||||
mlvisit.$(MLARCHIVE) \
|
||||
customize.$(MLARCHIVE) \
|
||||
$(LINK_CUSTOM_OCAMLC_ONLY)
|
||||
@@ -161,7 +161,7 @@ virt_sysprep_DEPENDENCIES = \
|
||||
../common/mlutils/mlcutils.$(MLARCHIVE) \
|
||||
../common/mlgettext/mlgettext.$(MLARCHIVE) \
|
||||
../common/mlpcre/mlpcre.$(MLARCHIVE) \
|
||||
../mllib/mllib.$(MLARCHIVE) \
|
||||
../common/mltools/mltools.$(MLARCHIVE) \
|
||||
../customize/customize.$(MLARCHIVE) \
|
||||
$(top_srcdir)/ocaml-link.sh
|
||||
virt_sysprep_LINK = \
|
||||
|
||||
@@ -107,7 +107,7 @@ type operation = {
|
||||
|
||||
and extra_arg = {
|
||||
extra_argspec : Getopt.keys * Getopt.spec * Getopt.doc;
|
||||
(** The argspec. See [Getopt] module in [mllib]. *)
|
||||
(** The argspec. See [Getopt] module in [common/mltools]. *)
|
||||
|
||||
extra_pod_argval : string option;
|
||||
(** The argument value, used only in the virt-sysprep man page. *)
|
||||
|
||||
@@ -154,7 +154,7 @@ OCAMLPACKAGES = \
|
||||
-I $(top_builddir)/common/mlgettext \
|
||||
-I $(top_builddir)/common/mlpcre \
|
||||
-I $(top_builddir)/common/mlxml \
|
||||
-I $(top_builddir)/mllib \
|
||||
-I $(top_builddir)/common/mltools \
|
||||
-I $(top_builddir)/customize
|
||||
if HAVE_OCAML_PKG_GETTEXT
|
||||
OCAMLPACKAGES += -package gettext-stub
|
||||
@@ -183,7 +183,7 @@ OCAMLLINKFLAGS = \
|
||||
mlpcre.$(MLARCHIVE) \
|
||||
mlxml.$(MLARCHIVE) \
|
||||
mlcutils.$(MLARCHIVE) \
|
||||
mllib.$(MLARCHIVE) \
|
||||
mltools.$(MLARCHIVE) \
|
||||
$(LINK_CUSTOM_OCAMLC_ONLY)
|
||||
|
||||
virt_v2v_DEPENDENCIES = $(OBJECTS) $(top_srcdir)/ocaml-link.sh
|
||||
@@ -225,7 +225,7 @@ virt_v2v_copy_to_local_DEPENDENCIES = \
|
||||
../common/mlgettext/mlgettext.$(MLARCHIVE) \
|
||||
../common/mlpcre/mlpcre.$(MLARCHIVE) \
|
||||
../common/mlutils/mlcutils.$(MLARCHIVE) \
|
||||
../mllib/mllib.$(MLARCHIVE) \
|
||||
../common/mltools/mltools.$(MLARCHIVE) \
|
||||
$(top_srcdir)/ocaml-link.sh
|
||||
virt_v2v_copy_to_local_LINK = \
|
||||
$(top_srcdir)/ocaml-link.sh -cclib '$(OCAMLCLIBS)' -- \
|
||||
@@ -517,7 +517,7 @@ v2v_unit_tests_DEPENDENCIES = \
|
||||
../common/mlgettext/mlgettext.$(MLARCHIVE) \
|
||||
../common/mlpcre/mlpcre.$(MLARCHIVE) \
|
||||
../common/mlutils/mlcutils.$(MLARCHIVE) \
|
||||
../mllib/mllib.$(MLARCHIVE) \
|
||||
../common/mltools/mltools.$(MLARCHIVE) \
|
||||
$(top_srcdir)/ocaml-link.sh
|
||||
v2v_unit_tests_LINK = \
|
||||
$(top_srcdir)/ocaml-link.sh -cclib '$(OCAMLCLIBS)' -- \
|
||||
|
||||
@@ -44,7 +44,7 @@ OCAMLPACKAGES = \
|
||||
-I $(top_builddir)/ocaml \
|
||||
-I $(top_builddir)/common/mlstdutils \
|
||||
-I $(top_builddir)/common/mlxml \
|
||||
-I $(top_builddir)/mllib \
|
||||
-I $(top_builddir)/common/mltools \
|
||||
-I $(top_builddir)/v2v
|
||||
|
||||
OCAMLFLAGS = $(OCAML_FLAGS) $(OCAML_WARN_ERROR)
|
||||
|
||||
Reference in New Issue
Block a user