From: Richard Jones Date: Thu, 16 Jul 2009 18:27:16 +0000 (+0100) Subject: Fix non-srcdir builds: fix OCaml build rules. X-Git-Tag: 1.0.62~7 X-Git-Url: http://git.annexia.org/?a=commitdiff_plain;h=0c4ec8c09a40f6c1aa18e87231bded3cfdbdb53b;p=libguestfs.git Fix non-srcdir builds: fix OCaml build rules. --- 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 $@