+CLEANFILES = virt-what *~
+
+AM_CPPFLAGS = -Wall
+
+sbin_SCRIPTS = virt-what
+libexec_PROGRAMS = virt-what-cpuid-helper
+if HOST_CPU_IA64
+libexec_PROGRAMS += virt-what-ia64-xen-rdtsc-test
+endif
+
+if HAVE_POD2MAN
+
+CLEANFILES += virt-what.1 virt-what.txt
+man_MANS = virt-what.1
+
+virt-what.1: virt-what.pod
+ pod2man -c "Virtualization Support" --release "$(PACKAGE)-$(VERSION)" \
+ $? > $@
+virt-what.txt: virt-what.pod
+ pod2text $? > $@
+
+endif
+
+TESTS = \
+ tests/test-aws-baremetal-x86.sh \
+ tests/test-aws-kvm-arm.sh \
+ tests/test-aws-kvm-x86.sh \
+ tests/test-aws-xen-x86.sh \
+ tests/test-baremetal.sh \
+ tests/test-bhyve.sh \
+ tests/test-docker.sh \
+ tests/test-esx4.1.sh \
+ tests/test-hyperv.sh \
+ tests/test-kvm.sh \
+ tests/test-kvm-explicit-cpu.sh \
+ tests/test-linux-vserver.sh \
+ tests/test-ldoms.sh \
+ tests/test-lkvm.sh \
+ tests/test-lkvm-arm.sh \
+ tests/test-lxc.sh \
+ tests/test-lx86.sh \
+ tests/test-parallels-desktop.sh \
+ tests/test-ppc64-baremetal.sh \
+ tests/test-ppc64-kvm.sh \
+ tests/test-ppc64-lpar-dedicated.sh \
+ tests/test-ppc64-lpar-shared.sh \
+ tests/test-qemu.sh \
+ tests/test-qemu-arm.sh \
+ tests/test-qemu-smbios.sh \
+ tests/test-qemu-smbios-kvm.sh \
+ tests/test-rhel5-xen-dom0.sh \
+ tests/test-rhel5-xen-domU-hvm.sh \
+ tests/test-rhel5-xen-domU-hvm-ia64.sh \
+ tests/test-rhel5-xen-domU-pv.sh \
+ tests/test-rhev.sh \
+ tests/test-vmm.sh \
+ tests/test-xen-arm.sh \
+ tests/test-zvm.sh
+