X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;ds=sidebyside;f=examples%2FMakefile.in;h=1071bbbb35d2a5a9486f0a4e7ba93263fd7d8435;hb=c338d3194fb5969c927ece7d4fd09569d54b203b;hp=46006a09680c3245991e9562beaa8707d2b190a6;hpb=2ba6898b4dc121b00078e36d5416b3caadd5d05e;p=ocaml-libvirt.git diff --git a/examples/Makefile.in b/examples/Makefile.in index 46006a0..1071bbb 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 list_secrets node_info get_cpu_stats \ + get_all_domain_stats domain_events OPT_TARGETS := $(BYTE_TARGETS:%=%.opt) all: $(BYTE_TARGETS) @@ -44,6 +45,16 @@ list_domains.opt: list_domains.cmx $(OCAMLOPTPACKAGES) $(OCAMLOPTFLAGS) $(OCAMLOPTLIBS) \ ../libvirt/mllibvirt.cmxa -o $@ $< +list_secrets: list_secrets + $(OCAMLFIND) ocamlc \ + $(OCAMLCPACKAGES) $(OCAMLCFLAGS) $(OCAMLCLIBS) \ + ../libvirt/mllibvirt.cma -o $@ $< + +list_secrets.opt: list_secrets.cmx + $(OCAMLFIND) ocamlopt \ + $(OCAMLOPTPACKAGES) $(OCAMLOPTFLAGS) $(OCAMLOPTLIBS) \ + ../libvirt/mllibvirt.cmxa -o $@ $< + node_info: node_info.cmo $(OCAMLFIND) ocamlc \ $(OCAMLCPACKAGES) $(OCAMLCFLAGS) $(OCAMLCLIBS) \ @@ -64,6 +75,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) \