X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=ocaml%2Fexamples%2FMakefile.am;h=c251409b41fb9d17bafc480564e186a5b2688422;hb=61cfe13ec49f1d1e9d6124f0ee98520aab720087;hp=48191e78d41521683690384a96d6851aa7de6b57;hpb=bf26360e5e91148a4479f812c2b43acce4f5884e;p=libguestfs.git diff --git a/ocaml/examples/Makefile.am b/ocaml/examples/Makefile.am index 48191e7..c251409 100644 --- a/ocaml/examples/Makefile.am +++ b/ocaml/examples/Makefile.am @@ -1,10 +1,17 @@ -EXTRA_DIST = LICENSE README lvs.ml +EXTRA_DIST = \ + LICENSE README \ + lvs.ml + +CLEANFILES = throbber.ml *.cmi *.cmo *.cmx *.o lvs if HAVE_OCAML -lvs: lvs.ml - $(OCAMLFIND) ocamlopt -I .. mlguestfs.cmxa $< -o $@ +noinst_SCRIPTS = lvs -CLEANFILES = *.cmi *.cmo *.cmx *.o *~ lvs +OCAMLFINDFLAGS = -cclib -L$(top_builddir)/src/.libs + +lvs: lvs.ml + $(OCAMLFIND) ocamlopt $(OCAMLFINDFLAGS) \ + -warn-error A -I .. mlguestfs.cmxa $< -o $@ -endif \ No newline at end of file +endif