summaryrefslogtreecommitdiffstats
path: root/libvirt/Makefile.in
diff options
context:
space:
mode:
authorRichard W.M. Jones <rjones@redhat.com>2008-01-18 18:43:20 +0000
committerRichard W.M. Jones <rjones@redhat.com>2008-01-18 18:43:20 +0000
commit43b894e0ef93f380dcd8b1b20a3cd6626a8f3b7d (patch)
treeaa007bd306678022f2441ee290326c1a64d60027 /libvirt/Makefile.in
parentebb4ff16c73674ef768674c85f600b71b63448e7 (diff)
downloadvirt-top-43b894e0ef93f380dcd8b1b20a3cd6626a8f3b7d.tar.gz
virt-top-43b894e0ef93f380dcd8b1b20a3cd6626a8f3b7d.tar.xz
virt-top-43b894e0ef93f380dcd8b1b20a3cd6626a8f3b7d.zip
Move to autogeneration of many C bindings.
* configure.ac, libvirt/libvirt_c.c, libvirt/generator.pl: Many C bindings can now be autogenerated using a Perl script. Also includes preliminary support for the experimental storage API.
Diffstat (limited to 'libvirt/Makefile.in')
-rw-r--r--libvirt/Makefile.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/libvirt/Makefile.in b/libvirt/Makefile.in
index 53b25b0..9387bc9 100644
--- a/libvirt/Makefile.in
+++ b/libvirt/Makefile.in
@@ -98,6 +98,10 @@ $(BYTE_TARGETS) $(OPT_TARGETS):
endif
endif
+# Automatically generate the C code from a Perl script 'generator.pl'.
+libvirt_c.c: generator.pl
+ perl -w $< > $@
+
libvirt.cmo: libvirt.cmi
libvirt.cmi: libvirt.mli