Version 1.7.
[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-dom0/sys/hypervisor/properties/pagesize \
58         tests/rhel5-xen-dom0/sys/hypervisor/properties/changeset \
59         tests/rhel5-xen-dom0/sys/hypervisor/properties/virtual_start \
60         tests/rhel5-xen-dom0/sys/hypervisor/properties/capabilities \
61         tests/rhel5-xen-dom0/sys/hypervisor/properties/writable_pt \
62         tests/rhel5-xen-dom0/sys/hypervisor/type \
63         tests/rhel5-xen-dom0/sys/hypervisor/vmcoreinfo \
64         tests/rhel5-xen-dom0/sys/hypervisor/version/minor \
65         tests/rhel5-xen-dom0/sys/hypervisor/version/major \
66         tests/rhel5-xen-dom0/sys/hypervisor/version/extra \
67         tests/rhel5-xen-dom0/sys/hypervisor/compilation/compiler \
68         tests/rhel5-xen-dom0/sys/hypervisor/compilation/compiled_by \
69         tests/rhel5-xen-dom0/sys/hypervisor/compilation/compile_date \
70         tests/rhel5-xen-dom0/sys/hypervisor/uuid \
71         tests/rhel5-xen-domU-hvm/proc/cpuinfo \
72         tests/rhel5-xen-domU-hvm/proc/self/status \
73         tests/rhel5-xen-domU-hvm/sbin/dmidecode \
74         tests/rhel5-xen-domU-hvm/sbin/id \
75         tests/rhel5-xen-domU-hvm/sbin/virt-what-cpuid-helper \
76         tests/rhel5-xen-domU-pv/proc/cpuinfo \
77         tests/rhel5-xen-domU-pv/proc/self/status \
78         tests/rhel5-xen-domU-pv/proc/xen/balloon \
79         tests/rhel5-xen-domU-pv/proc/xen/capabilities \
80         tests/rhel5-xen-domU-pv/proc/xen/privcmd \
81         tests/rhel5-xen-domU-pv/proc/xen/xenbus \
82         tests/rhel5-xen-domU-pv/sbin/dmidecode \
83         tests/rhel5-xen-domU-pv/sbin/id \
84         tests/rhel5-xen-domU-pv/sbin/virt-what-cpuid-helper \
85         tests/rhel5-xen-domU-pv/sys/hypervisor/properties/pagesize \
86         tests/rhel5-xen-domU-pv/sys/hypervisor/properties/changeset \
87         tests/rhel5-xen-domU-pv/sys/hypervisor/properties/virtual_start \
88         tests/rhel5-xen-domU-pv/sys/hypervisor/properties/capabilities \
89         tests/rhel5-xen-domU-pv/sys/hypervisor/properties/writable_pt \
90         tests/rhel5-xen-domU-pv/sys/hypervisor/type \
91         tests/rhel5-xen-domU-pv/sys/hypervisor/vmcoreinfo \
92         tests/rhel5-xen-domU-pv/sys/hypervisor/version/minor \
93         tests/rhel5-xen-domU-pv/sys/hypervisor/version/major \
94         tests/rhel5-xen-domU-pv/sys/hypervisor/version/extra \
95         tests/rhel5-xen-domU-pv/sys/hypervisor/compilation/compiler \
96         tests/rhel5-xen-domU-pv/sys/hypervisor/compilation/compiled_by \
97         tests/rhel5-xen-domU-pv/sys/hypervisor/compilation/compile_date \
98         tests/rhel5-xen-domU-pv/sys/hypervisor/uuid \
99         tests/zvm/proc/cpuinfo \
100         tests/zvm/proc/self/status \
101         tests/zvm/proc/sysinfo \
102         tests/zvm/sbin/dmidecode \
103         tests/zvm/sbin/id \
104         tests/zvm/sbin/virt-what-cpuid-helper \
105         tests/test-baremetal.sh \
106         tests/test-esx4.1.sh \
107         tests/test-kvm.sh \
108         tests/test-linux-vserver.sh \
109         tests/test-qemu.sh \
110         tests/test-rhel5-xen-dom0.sh \
111         tests/test-rhel5-xen-domU-hvm.sh \
112         tests/test-rhel5-xen-domU-pv.sh \
113         tests/test-zvm.sh
114
115 CLEANFILES = virt-what.1 virt-what.txt
116
117 AM_CPPFLAGS = -Wall
118
119 sbin_SCRIPTS = virt-what
120 libexec_PROGRAMS = virt-what-cpuid-helper
121
122 man_MANS = virt-what.1
123
124 virt-what.1: virt-what.pod
125         pod2man -c "Virtualization Support" --release "$(PACKAGE)-$(VERSION)" \
126           $< > $@
127
128 virt-what.txt: virt-what.pod
129         pod2text $< > $@
130
131 TESTS = \
132         tests/test-baremetal.sh \
133         tests/test-esx4.1.sh \
134         tests/test-kvm.sh \
135         tests/test-linux-vserver.sh \
136         tests/test-qemu.sh \
137         tests/test-rhel5-xen-dom0.sh \
138         tests/test-rhel5-xen-domU-hvm.sh \
139         tests/test-rhel5-xen-domU-pv.sh \
140         tests/test-zvm.sh