summaryrefslogtreecommitdiffstats
path: root/ocaml
Commit message (Collapse)AuthorAgeFilesLines
* More changes needed separate builddirHilko Bengen2011-08-121-3/+3
| | | | | | | This patch hopefully fixes building and installing the OCaml bindings both in-tree and out-of-tree. -Hilko
* hivex: A few tweaks to enable building in a separate directoryHilko Bengen2011-08-112-3/+3
| | | | A couple of fixes by RWMJ so it still works in the same directory case.
* ocaml: Really fix 'make install' rule.Richard W.M. Jones2011-05-171-8/+8
| | | | | This fixes commit b8ad15031cacf910634b4f4f4632232949c4acd2 and commit f408b757b1d75429fae5fa7630a4fc5451844de7.
* ocaml: Set package name when installing native bindings.Richard W.M. Jones2011-05-171-0/+1
| | | | This fixes commit b8ad15031cacf910634b4f4f4632232949c4acd2.
* hivex: Fix install target for systems without native OCaml compilerHilko Bengen2011-05-131-1/+6
| | | | | | | | | | | | | ,---- | ocamlfind install \ | -ldconf ignore -destdir /build/buildd-hivex_1.2.6-1-ia64-iqcb38/hivex-1.2.6/debian/tmp/usr/lib/ocaml \ | hivex \ | META *.so *.a *.cma *.cmx *.cmxa *.cmi *.mli | Installed /build/buildd-hivex_1.2.6-1-ia64-iqcb38/hivex-1.2.6/debian/tmp/usr/lib/ocaml/hivex/hivex.mli | Installed /build/buildd-hivex_1.2.6-1-ia64-iqcb38/hivex-1.2.6/debian/tmp/usr/lib/ocaml/hivex/hivex.cmi | ocamlfind: *.cmxa: No such file or directory | make[4]: *** [install-data-hook] Error 2 `----
* ocaml: Use libtool to get correct library to build OCaml tests.Richard W.M. Jones2011-05-121-32/+5
| | | | | | | See this thread: https://www.redhat.com/archives/libguestfs/2011-May/thread.html#00015 Thanks to Hilko Bengen and Török Edwin for coming up with this fix.
* hivex: check for presence of OCaml native compilerHilko Bengen2011-05-121-1/+5
| | | | | | | Only compile bytecode otherwise, avoiding ocamlfind's helpful error message "ocamlfind: Not supported in your configuration: ocamlopt" (Successfully tested on Debian/unstable on alpha)
* Don't rely on OCaml native compiler for testsHilko Bengen2011-05-091-15/+15
| | | | | This should make it possible to build useful OCaml bindings on architectures other than i386 and amd64 (Debian bug #589809).
* generator: Add OCaml bindings.Richard Jones2010-02-247-1/+328
| | | | | | | Also we tighten up the definition of hivex_close (it disposes of handles) and hivex_node_get_child (unusual "not found" non-error condition). This also adds tests of the OCaml bindings.
* Add build framework for OCaml, Perl, Python bindings.Richard Jones2010-02-244-0/+126
(No bindings are actually built, this just adds the build, test and generator framework for them).