Add test for z/VM on IBM SystemZ mainframes (thanks Dan HorĂ¡k).
[virt-what.git] / Makefile.am
1 # Makefile for virt-what
2 # Copyright (C) 2008-2011 Red Hat Inc.
3 #
4 # This program is free software; you can redistribute it and/or modify
5 # it under the terms of the GNU General Public License as published by
6 # the Free Software Foundation; either version 2 of the License, or
7 # (at your option) any later version.
8 #
9 # This program is distributed in the hope that it will be useful,
10 # but WITHOUT ANY WARRANTY; without even the implied warranty of
11 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12 # GNU General Public License for more details.
13 #
14 # You should have received a copy of the GNU General Public License
15 # along with this program; if not, write to the Free Software
16 # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
17
18 EXTRA_DIST = \
19         virt-what.in \
20         virt-what.pod \
21         tests/baremetal/proc/cpuinfo \
22         tests/baremetal/proc/self/status \
23         tests/baremetal/sbin/dmidecode \
24         tests/baremetal/sbin/id \
25         tests/baremetal/sbin/virt-what-cpuid-helper \
26         tests/esx4.1/proc/cpuinfo \
27         tests/esx4.1/proc/self/status \
28         tests/esx4.1/sbin/dmidecode \
29         tests/esx4.1/sbin/id \
30         tests/esx4.1/sbin/virt-what-cpuid-helper \
31         tests/kvm/proc/cpuinfo \
32         tests/kvm/proc/self/status \
33         tests/kvm/sbin/dmidecode \
34         tests/kvm/sbin/id \
35         tests/kvm/sbin/virt-what-cpuid-helper \
36         tests/linux-vserver/proc/cpuinfo \
37         tests/linux-vserver/proc/self/status \
38         tests/linux-vserver/sbin/dmidecode \
39         tests/linux-vserver/sbin/id \
40         tests/linux-vserver/sbin/virt-what-cpuid-helper \
41         tests/qemu/proc/cpuinfo \
42         tests/qemu/proc/self/status \
43         tests/qemu/sbin/dmidecode \
44         tests/qemu/sbin/id \
45         tests/qemu/sbin/virt-what-cpuid-helper \
46         tests/rhel5-xen-dom0/proc/cpuinfo \
47         tests/rhel5-xen-dom0/proc/self/status \
48         tests/rhel5-xen-dom0/proc/xen/balloon \
49         tests/rhel5-xen-dom0/proc/xen/capabilities \
50         tests/rhel5-xen-dom0/proc/xen/privcmd \
51         tests/rhel5-xen-dom0/proc/xen/xenbus \
52         tests/rhel5-xen-dom0/proc/xen/xsd_kva \
53         tests/rhel5-xen-dom0/proc/xen/xsd_port \
54         tests/rhel5-xen-dom0/sbin/dmidecode \
55         tests/rhel5-xen-dom0/sbin/id \
56         tests/rhel5-xen-dom0/sbin/virt-what-cpuid-helper \
57         tests/rhel5-xen-domU-hvm/proc/cpuinfo \
58         tests/rhel5-xen-domU-hvm/proc/self/status \
59         tests/rhel5-xen-domU-hvm/sbin/dmidecode \
60         tests/rhel5-xen-domU-hvm/sbin/id \
61         tests/rhel5-xen-domU-hvm/sbin/virt-what-cpuid-helper \
62         tests/rhel5-xen-domU-pv/proc/cpuinfo \
63         tests/rhel5-xen-domU-pv/proc/self/status \
64         tests/rhel5-xen-domU-pv/proc/xen/balloon \
65         tests/rhel5-xen-domU-pv/proc/xen/capabilities \
66         tests/rhel5-xen-domU-pv/proc/xen/privcmd \
67         tests/rhel5-xen-domU-pv/proc/xen/xenbus \
68         tests/rhel5-xen-domU-pv/sbin/dmidecode \
69         tests/rhel5-xen-domU-pv/sbin/id \
70         tests/rhel5-xen-domU-pv/sbin/virt-what-cpuid-helper \
71         tests/zvm/proc/cpuinfo \
72         tests/zvm/proc/self/status \
73         tests/zvm/sbin/dmidecode \
74         tests/zvm/sbin/id \
75         tests/zvm/sbin/virt-what-cpuid-helper \
76         tests/test-baremetal.sh \
77         tests/test-esx4.1.sh \
78         tests/test-kvm.sh \
79         tests/test-linux-vserver.sh \
80         tests/test-qemu.sh \
81         tests/test-rhel5-xen-dom0.sh \
82         tests/test-rhel5-xen-domU-hvm.sh \
83         tests/test-rhel5-xen-domU-pv.sh \
84         tests/test-zvm.sh
85
86 CLEANFILES = virt-what.1 virt-what.txt
87
88 AM_CPPFLAGS = -Wall
89
90 sbin_SCRIPTS = virt-what
91 libexec_PROGRAMS = virt-what-cpuid-helper
92
93 man_MANS = virt-what.1
94
95 virt-what.1: virt-what.pod
96         pod2man -c "Virtualization Support" --release "$(PACKAGE)-$(VERSION)" \
97           $< > $@
98
99 virt-what.txt: virt-what.pod
100         pod2text $< > $@
101
102 TESTS = \
103         tests/test-baremetal.sh \
104         tests/test-esx4.1.sh \
105         tests/test-kvm.sh \
106         tests/test-linux-vserver.sh \
107         tests/test-qemu.sh \
108         tests/test-rhel5-xen-dom0.sh \
109         tests/test-rhel5-xen-domU-hvm.sh \
110         tests/test-rhel5-xen-domU-pv.sh \
111         tests/test-zvm.sh