4 viewer.ml xmllight_loader.ml xmllight_loader.mli \
5 Throbber.png Throbber.gif
7 CLEANFILES = throbber.ml *.cmi *.cmo *.cmx *.o lvs
13 OCAMLFINDFLAGS = -cclib -L$(top_builddir)/src/.libs
16 $(OCAMLFIND) ocamlopt $(OCAMLFINDFLAGS) \
17 -warn-error A -I .. mlguestfs.cmxa $< -o $@
21 noinst_SCRIPTS += viewer
23 viewer: throbber.ml xmllight_loader.mli xmllight_loader.ml viewer.ml
24 ocamlducefind opt $(OCAMLFINDFLAGS) \
27 -package libvirt,lablgtk2,extlib,xml-light,ocamlduce,threads -I .. \
28 -predicates init,threads \
29 -linkpkg mlguestfs.cmxa gtkThread.cmx \
32 throbber.ml: Throbber.png Throbber.gif
33 gdk_pixbuf_mlsource --build-list \
35 animation Throbber.gif \