blob: b516647d668c4aad6fb608bf945f794c10bcfbdf (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
EXTRA_DIST = LICENSE README lvs.ml viewer.ml Throbber.png Throbber.gif
CLEANFILES = throbber.ml *.cmi *.cmo *.cmx *.o lvs
if HAVE_OCAML
noinst_SCRIPTS = lvs
lvs: lvs.ml
$(OCAMLFIND) ocamlopt -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 \
-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
|