X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=libvirt%2FMakefile.in;h=66ffc75fc25415610ddae5b0a7252e8d765f65a6;hb=46d3772c9a5cf786fa4fbdb2ba29512580101f32;hp=9387bc97a37674dbe62ad22eb4ac11853b444688;hpb=43b894e0ef93f380dcd8b1b20a3cd6626a8f3b7d;p=virt-top.git diff --git a/libvirt/Makefile.in b/libvirt/Makefile.in index 9387bc9..66ffc75 100644 --- a/libvirt/Makefile.in +++ b/libvirt/Makefile.in @@ -100,7 +100,18 @@ endif # Automatically generate the C code from a Perl script 'generator.pl'. libvirt_c.c: generator.pl - perl -w $< > $@ + perl -w $< + +# Status of automatically generated bindings. +autostatus: libvirt_c.c + @echo -n "Functions which have manual bindings: " + @grep ^ocaml_libvirt_ libvirt_c_oneoffs.c | wc -l + @echo -n "Functions which have automatic bindings: " + @grep ^ocaml_libvirt_ libvirt_c.c | wc -l + @echo -n "LOC in manual bindings: " + @wc -l < libvirt_c_oneoffs.c + @echo -n "LOC in automatic bindings: " + @wc -l < libvirt_c.c libvirt.cmo: libvirt.cmi libvirt.cmi: libvirt.mli @@ -109,6 +120,7 @@ libvirt_version.cmo: libvirt_version.cmi libvirt_version.cmi: libvirt_version.mli install: - ocamlfind install libvirt ../META *.so *.a *.cmx *.cma *.cmxa *.mli + ocamlfind install libvirt \ + ../META *.so *.a *.cmx *.cma *.cmxa *.cmi *.mli include ../Make.rules