X-Git-Url: http://git.annexia.org/?p=virt-top.git;a=blobdiff_plain;f=examples%2FMakefile.in;h=75a98eb172b4c1b675a125d2276f15b2885d3f4e;hp=0f0c527cb358603fb55e69373db9cdf57d65175e;hb=9b4bab1fe618affd0e69666ec6467b414cee325e;hpb=b858ee135c0814f1781cc16802a7b538d5f047a7 diff --git a/examples/Makefile.in b/examples/Makefile.in index 0f0c527..75a98eb 100644 --- a/examples/Makefile.in +++ b/examples/Makefile.in @@ -36,8 +36,8 @@ endif export LIBRARY_PATH=../libvirt export LD_LIBRARY_PATH=../libvirt -BYTE_TARGETS := list_domains -OPT_TARGETS := list_domains.opt +BYTE_TARGETS := list_domains node_info +OPT_TARGETS := list_domains.opt node_info.opt all: $(BYTE_TARGETS) @@ -53,6 +53,16 @@ list_domains.opt: list_domains.cmx $(OCAMLFIND) ocamlopt \ $(OCAMLOPTPACKAGES) $(OCAMLOPTFLAGS) $(OCAMLOPTLIBS) \ ../libvirt/mllibvirt.cmxa -o $@ $< + +node_info: node_info.cmo + $(OCAMLFIND) ocamlc \ + $(OCAMLCPACKAGES) $(OCAMLCFLAGS) $(OCAMLCLIBS) \ + ../libvirt/mllibvirt.cma -o $@ $< + +node_info.opt: node_info.cmx + $(OCAMLFIND) ocamlopt \ + $(OCAMLOPTPACKAGES) $(OCAMLOPTFLAGS) $(OCAMLOPTLIBS) \ + ../libvirt/mllibvirt.cmxa -o $@ $< else list_domains: list_domains.cmo $(OCAMLC) \ @@ -63,6 +73,16 @@ list_domains.opt: list_domains.cmx $(OCAMLOPT) \ $(OCAMLOPTINCS) $(OCAMLOPTFLAGS) $(OCAMLOPTLIBS) \ ../libvirt/mllibvirt.cmxa -o $@ $< + +node_info: node_info.cmo + $(OCAMLC) \ + $(OCAMLCINCS) $(OCAMLCFLAGS) $(OCAMLCLIBS) \ + ../libvirt/mllibvirt.cma -o $@ $< + +node_info.opt: node_info.cmx + $(OCAMLOPT) \ + $(OCAMLOPTINCS) $(OCAMLOPTFLAGS) $(OCAMLOPTLIBS) \ + ../libvirt/mllibvirt.cmxa -o $@ $< endif install: