Displaying 5 results from an estimated 5 matches for "1936d0898".
2017 Jul 24
0
[PATCH v3] common/mlstdutils: Build a bytecode version of this library.
...a $^ -o $@
+
+if HAVE_OCAMLOPT
+mlstdutils.cmxa: $(XOBJECTS)
+ $(OCAMLFIND) ocamlopt $(OCAMLPACKAGES) -a $^ -o $@
+endif
# This OCaml module has to be generated by make (configure will put
# unexpanded prefix macro in).
diff --git a/generator/Makefile.am b/generator/Makefile.am
index 344ba9bcb..1936d0898 100644
--- a/generator/Makefile.am
+++ b/generator/Makefile.am
@@ -114,9 +114,6 @@ sources = \
# In build dependency order.
objects = \
- $(OCAML_BYTES_COMPAT_CMO) \
- ../common/mlstdutils/guestfs_config.cmo \
- ../common/mlstdutils/std_utils.cmo \
types.cmo \
utils.cmo \
proc_nr.cmo \
@@...
2017 Jul 24
0
[PATCH v4] common/mlstdutils: Build a bytecode version of this library.
...a $^ -o $@
+
+if HAVE_OCAMLOPT
+mlstdutils.cmxa: $(XOBJECTS)
+ $(OCAMLFIND) ocamlopt $(OCAMLPACKAGES) -a $^ -o $@
+endif
# This OCaml module has to be generated by make (configure will put
# unexpanded prefix macro in).
diff --git a/generator/Makefile.am b/generator/Makefile.am
index 344ba9bcb..1936d0898 100644
--- a/generator/Makefile.am
+++ b/generator/Makefile.am
@@ -114,9 +114,6 @@ sources = \
# In build dependency order.
objects = \
- $(OCAML_BYTES_COMPAT_CMO) \
- ../common/mlstdutils/guestfs_config.cmo \
- ../common/mlstdutils/std_utils.cmo \
types.cmo \
utils.cmo \
proc_nr.cmo \
@@...
2017 Jul 24
3
[PATCH v4] common/mlstdutils: Build a bytecode version of this
v3 -> v4:
Use HAVE_OCAMLOPT in both places.
2017 Jul 24
3
[PATCH v3] common/mlstdutils: Build a bytecode version of this
Removed extra $(OCAML_BYTES_COMPAT_CMO).
Add if HAVE_OCAMLOPT around the call to ocamlopt.
Tested with OCaml 4.01 on RHEL 7.
Rich.
2017 Aug 08
3
[PATCH] build: Add a common script for generating OCaml dependencies correctly.
...$(SED) -e 's,$(abs_srcdir)/,$(builddir)/,g' | \
- sort > $@-t
- mv $@-t $@
-
+# OCaml dependencies.
+.depend: *.mli *.ml
+ $(top_builddir)/ocaml-dep.sh $^
-include .depend
endif
-.PHONY: depend docs
+.PHONY: docs
diff --git a/generator/Makefile.am b/generator/Makefile.am
index 1936d0898..35b7a4209 100644
--- a/generator/Makefile.am
+++ b/generator/Makefile.am
@@ -182,18 +182,9 @@ generator: $(objects)
$(OCAMLPACKAGES) -linkpkg mlstdutils.cma \
$^ -o $@
-# Dependencies.
-depend: .depend
-
-.depend: $(wildcard $(abs_srcdir)/*.mli) $(wildcard $(abs_srcdir)/*.ml) $(wildc...