X-Git-Url: http://git.annexia.org/?p=virt-top.git;a=blobdiff_plain;f=libvirt%2FMakefile.in;h=3bc06ac5369f9803a754ef9d18daaae39710c538;hp=53b25b012d02072eec49e7847de056017725e81b;hb=fc5c0371617d2ee41ea5e35e19922c52cafd4d55;hpb=3126bfee333b5c635dc60a54265936af06117f6a diff --git a/libvirt/Makefile.in b/libvirt/Makefile.in old mode 100755 new mode 100644 index 53b25b0..3bc06ac --- a/libvirt/Makefile.in +++ b/libvirt/Makefile.in @@ -98,6 +98,17 @@ $(BYTE_TARGETS) $(OPT_TARGETS): endif endif +# Automatically generate the C code from a Perl script 'generator.pl'. +libvirt_c.c: generator.pl + perl -w $< > $@ + +# Status of automatically generated bindings. +autostatus: + @echo -n "Functions which have manual bindings: " + @grep ^ocaml_libvirt_ libvirt_c_oneoffs.c | wc -l + @echo -n "LOC in manual bindings: " + @wc -l < libvirt_c_oneoffs.c + libvirt.cmo: libvirt.cmi libvirt.cmi: libvirt.mli