X-Git-Url: http://git.annexia.org/?p=libguestfs.git;a=blobdiff_plain;f=Makefile.am;h=b642bdd52cbf178b8bc4244e9707c1888318f01d;hp=55e5dde9425e91128a25a5193c73e80a805532b5;hb=43db06ea892cc157324a6b837ca430607441c509;hpb=d19ceb226c242844467b2935c1e19b989b4315e8 diff --git a/Makefile.am b/Makefile.am index 55e5dde..b642bdd 100644 --- a/Makefile.am +++ b/Makefile.am @@ -28,6 +28,12 @@ endif if HAVE_PYTHON SUBDIRS += python endif +if HAVE_RUBY +SUBDIRS += ruby +endif +if HAVE_JAVA +SUBDIRS += java +endif EXTRA_DIST = \ make-initramfs.sh update-initramfs.sh \ @@ -35,7 +41,8 @@ EXTRA_DIST = \ guestfish.pod guestfish-actions.pod \ libguestfs.spec \ html/pod.css \ - HACKING + HACKING TODO \ + tests.c # Build the root filesystem. # Currently this is arch-dependent, so it seems like putting it in @@ -61,6 +68,19 @@ $(INITRAMFSIMG): initramfs/fakeroot.log daemon/guestfsd bash $(builddir)/update-initramfs.sh touch $@ +# Tests. These are auto-generated from the test descriptions. + +check_PROGRAMS = tests + +tests_SOURCES = tests.c +tests_CFLAGS = \ + -I$(top_builddir)/src -Wall +tests_LDADD = $(top_builddir)/src/libguestfs.la + +TESTS = $(check_PROGRAMS) + +$(TESTS): $(INITRAMFS) $(VMLINUZ) + # Manual pages. # guestfs-actions.pod and guestfs-structs are autogenerated. There is # no include mechanism for POD, so we have to do it by hand.