From 0c4ec8c09a40f6c1aa18e87231bded3cfdbdb53b Mon Sep 17 00:00:00 2001 From: Richard Jones Date: Thu, 16 Jul 2009 19:27:16 +0100 Subject: [PATCH] Fix non-srcdir builds: fix OCaml build rules. --- ocaml/Makefile.am | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/ocaml/Makefile.am b/ocaml/Makefile.am index b817cc3..c7d43a0 100644 --- a/ocaml/Makefile.am +++ b/ocaml/Makefile.am @@ -56,22 +56,22 @@ noinst_DATA += bindtests \ t/guestfs_005_load t/guestfs_010_launch t/guestfs_050_lvcreate \ t/guestfs_060_readdir -bindtests: bindtests.ml mlguestfs.cmxa +bindtests: bindtests.cmx mlguestfs.cmxa $(OCAMLFIND) ocamlopt -cclib -L$(top_builddir)/src/.libs -I . unix.cmxa mlguestfs.cmxa $< -o $@ -t/guestfs_005_load: t/guestfs_005_load.ml mlguestfs.cmxa +t/guestfs_005_load: t/guestfs_005_load.cmx mlguestfs.cmxa mkdir -p t $(OCAMLFIND) ocamlopt -cclib -L$(top_builddir)/src/.libs -I . unix.cmxa mlguestfs.cmxa $< -o $@ -t/guestfs_010_launch: t/guestfs_010_launch.ml mlguestfs.cmxa +t/guestfs_010_launch: t/guestfs_010_launch.cmx mlguestfs.cmxa mkdir -p t $(OCAMLFIND) ocamlopt -cclib -L$(top_builddir)/src/.libs -I . unix.cmxa mlguestfs.cmxa $< -o $@ -t/guestfs_050_lvcreate: t/guestfs_050_lvcreate.ml mlguestfs.cmxa +t/guestfs_050_lvcreate: t/guestfs_050_lvcreate.cmx mlguestfs.cmxa mkdir -p t $(OCAMLFIND) ocamlopt -cclib -L$(top_builddir)/src/.libs -I . unix.cmxa mlguestfs.cmxa $< -o $@ -t/guestfs_060_readdir: t/guestfs_060_readdir.ml mlguestfs.cmxa +t/guestfs_060_readdir: t/guestfs_060_readdir.cmx mlguestfs.cmxa mkdir -p t $(OCAMLFIND) ocamlopt -cclib -L$(top_builddir)/src/.libs -I . unix.cmxa mlguestfs.cmxa $< -o $@ -- 1.8.3.1