Add tests/zvm/proc/sysinfo to EXTRA_DIST.
[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/rhel5-xen-domU-pv/sys/hypervisor/properties/pagesize \
72         tests/rhel5-xen-domU-pv/sys/hypervisor/properties/changeset \
73         tests/rhel5-xen-domU-pv/sys/hypervisor/properties/virtual_start \
74         tests/rhel5-xen-domU-pv/sys/hypervisor/properties/capabilities \
75         tests/rhel5-xen-domU-pv/sys/hypervisor/properties/writable_pt \
76         tests/rhel5-xen-domU-pv/sys/hypervisor/type \
77         tests/rhel5-xen-domU-pv/sys/hypervisor/vmcoreinfo \
78         tests/rhel5-xen-domU-pv/sys/hypervisor/version/minor \
79         tests/rhel5-xen-domU-pv/sys/hypervisor/version/major \
80         tests/rhel5-xen-domU-pv/sys/hypervisor/version/extra \
81         tests/rhel5-xen-domU-pv/sys/hypervisor/compilation/compiler \
82         tests/rhel5-xen-domU-pv/sys/hypervisor/compilation/compiled_by \
83         tests/rhel5-xen-domU-pv/sys/hypervisor/compilation/compile_date \
84         tests/rhel5-xen-domU-pv/sys/hypervisor/uuid \
85         tests/zvm/proc/cpuinfo \
86         tests/zvm/proc/self/status \
87         tests/zvm/proc/sysinfo \
88         tests/zvm/sbin/dmidecode \
89         tests/zvm/sbin/id \
90         tests/zvm/sbin/virt-what-cpuid-helper \
91         tests/test-baremetal.sh \
92         tests/test-esx4.1.sh \
93         tests/test-kvm.sh \
94         tests/test-linux-vserver.sh \
95         tests/test-qemu.sh \
96         tests/test-rhel5-xen-dom0.sh \
97         tests/test-rhel5-xen-domU-hvm.sh \
98         tests/test-rhel5-xen-domU-pv.sh \
99         tests/test-zvm.sh
100
101 CLEANFILES = virt-what.1 virt-what.txt
102
103 AM_CPPFLAGS = -Wall
104
105 sbin_SCRIPTS = virt-what
106 libexec_PROGRAMS = virt-what-cpuid-helper
107
108 man_MANS = virt-what.1
109
110 virt-what.1: virt-what.pod
111         pod2man -c "Virtualization Support" --release "$(PACKAGE)-$(VERSION)" \
112           $< > $@
113
114 virt-what.txt: virt-what.pod
115         pod2text $< > $@
116
117 TESTS = \
118         tests/test-baremetal.sh \
119         tests/test-esx4.1.sh \
120         tests/test-kvm.sh \
121         tests/test-linux-vserver.sh \
122         tests/test-qemu.sh \
123         tests/test-rhel5-xen-dom0.sh \
124         tests/test-rhel5-xen-domU-hvm.sh \
125         tests/test-rhel5-xen-domU-pv.sh \
126         tests/test-zvm.sh