X-Git-Url: http://git.annexia.org/?p=libguestfs.git;a=blobdiff_plain;f=ocaml%2Fexamples%2FMakefile.am;h=c251409b41fb9d17bafc480564e186a5b2688422;hp=ab058b137942d17aa4098e3ca8e94c81950c20be;hb=e3acf93ce9e87ce308cf50a4f41408b25dd910e9;hpb=f57f338c3bd937e923e1ba7cc4791b9462192110 diff --git a/ocaml/examples/Makefile.am b/ocaml/examples/Makefile.am index ab058b1..c251409 100644 --- a/ocaml/examples/Makefile.am +++ b/ocaml/examples/Makefile.am @@ -1,8 +1,6 @@ EXTRA_DIST = \ LICENSE README \ - lvs.ml \ - viewer.ml xmllight_loader.ml xmllight_loader.mli \ - Throbber.png Throbber.gif + lvs.ml CLEANFILES = throbber.ml *.cmi *.cmo *.cmx *.o lvs @@ -10,31 +8,10 @@ if HAVE_OCAML noinst_SCRIPTS = lvs -OCAMLFINDFLAGS = -ccopt '-L $(top_builddir)/src/.libs' +OCAMLFINDFLAGS = -cclib -L$(top_builddir)/src/.libs lvs: lvs.ml $(OCAMLFIND) ocamlopt $(OCAMLFINDFLAGS) \ -warn-error A -I .. mlguestfs.cmxa $< -o $@ -if BUILD_OCAML_VIEWER - -noinst_SCRIPTS += viewer - -viewer: throbber.ml xmllight_loader.mli xmllight_loader.ml viewer.ml - ocamlducefind opt $(OCAMLFINDFLAGS) \ - -warn-error A \ - -thread \ - -package libvirt,lablgtk2,extlib,xml-light,ocamlduce,threads -I .. \ - -predicates init,threads \ - -linkpkg mlguestfs.cmxa gtkThread.cmx \ - $^ -o $@ - -throbber.ml: Throbber.png Throbber.gif - gdk_pixbuf_mlsource --build-list \ - static Throbber.png \ - animation Throbber.gif \ - > $@-t && mv $@-t $@ - -endif - endif