X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=examples%2FMakefile.in;h=8530edc855a6561aa829c0cba620256e7cfa9c44;hb=380f1e05b244ae4750ca5101b5b5a182dcd0d1fd;hp=46006a09680c3245991e9562beaa8707d2b190a6;hpb=2ba6898b4dc121b00078e36d5416b3caadd5d05e;p=ocaml-libvirt.git diff --git a/examples/Makefile.in b/examples/Makefile.in index 46006a0..8530edc 100644 --- a/examples/Makefile.in +++ b/examples/Makefile.in @@ -27,7 +27,8 @@ OCAMLOPTLIBS := $(OCAMLCLIBS) export LIBRARY_PATH=../libvirt export LD_LIBRARY_PATH=../libvirt -BYTE_TARGETS := list_domains node_info get_cpu_stats domain_events +BYTE_TARGETS := list_domains node_info get_cpu_stats \ + get_all_domain_stats domain_events OPT_TARGETS := $(BYTE_TARGETS:%=%.opt) all: $(BYTE_TARGETS) @@ -64,6 +65,16 @@ get_cpu_stats.opt: get_cpu_stats.cmx $(OCAMLOPTPACKAGES) $(OCAMLOPTFLAGS) $(OCAMLOPTLIBS) \ ../libvirt/mllibvirt.cmxa -o $@ $< +get_all_domain_stats: get_all_domain_stats.cmo + $(OCAMLFIND) ocamlc \ + $(OCAMLCPACKAGES) $(OCAMLCFLAGS) $(OCAMLCLIBS) \ + ../libvirt/mllibvirt.cma -o $@ $< + +get_all_domain_stats.opt: get_all_domain_stats.cmx + $(OCAMLFIND) ocamlopt \ + $(OCAMLOPTPACKAGES) $(OCAMLOPTFLAGS) $(OCAMLOPTLIBS) \ + ../libvirt/mllibvirt.cmxa -o $@ $< + domain_events: domain_events.cmo $(OCAMLFIND) ocamlc \ $(OCAMLCPACKAGES) $(OCAMLCFLAGS) $(OCAMLCLIBS) \