X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=libvirt%2FMakefile.in;h=4b203fd04984c93d7bc6c42a3cd4d0a6335965c6;hb=3a52f5d4f1becb1fc31eecf4a3a93542f2ff89b8;hp=9387bc97a37674dbe62ad22eb4ac11853b444688;hpb=43b894e0ef93f380dcd8b1b20a3cd6626a8f3b7d;p=virt-top.git diff --git a/libvirt/Makefile.in b/libvirt/Makefile.in index 9387bc9..4b203fd 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