diff options
author | Hilko Bengen <bengen@hilluzination.de> | 2011-08-14 10:58:12 +0200 |
---|---|---|
committer | Richard W.M. Jones <rjones@redhat.com> | 2011-08-15 14:50:33 +0100 |
commit | 900c9626b9d4f567b21aae433493b4b3b1d09f6d (patch) | |
tree | 60ab4a3ac2374ab551b59d8c7d6f478641993f67 /generator | |
parent | 36e0f35a5828458ebeaf72999b3461ab66a230d8 (diff) | |
download | libguestfs-900c9626b9d4f567b21aae433493b4b3b1d09f6d.tar.gz libguestfs-900c9626b9d4f567b21aae433493b4b3b1d09f6d.tar.xz libguestfs-900c9626b9d4f567b21aae433493b4b3b1d09f6d.zip |
out-of-tree build: Fix up OCaml bindings and generator
Diffstat (limited to 'generator')
-rw-r--r-- | generator/Makefile.am | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/generator/Makefile.am b/generator/Makefile.am index 112fc695..a127a87b 100644 --- a/generator/Makefile.am +++ b/generator/Makefile.am @@ -62,14 +62,14 @@ noinst_PROGRAM = generator if HAVE_OCAML -generator: $(OBJECTS) - $(OCAMLC) -o generator $(OCAMLCFLAGS) $(OCAMLCLIBS) $(OBJECTS) +$(srcdir)/generator: $(OBJECTS) + $(OCAMLC) -I $(srcdir) -o $@ $(OCAMLCFLAGS) $(OCAMLCLIBS) $(OBJECTS) .ml.cmo: - $(OCAMLC) $(OCAMLCFLAGS) -c $< -o $@ + $(OCAMLC) -I $(srcdir) $(OCAMLCFLAGS) -c $< -o $@ .mli.cmi: - $(OCAMLC) $(OCAMLCFLAGS) -c $< -o $@ + $(OCAMLC) -I $(srcdir) $(OCAMLCFLAGS) -c $< -o $@ depend: .depend |