1 # Makefile for virt-what
2 # Copyright (C) 2008-2011 Red Hat Inc.
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.
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.
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.
18 CLEANFILES = virt-what
22 sbin_SCRIPTS = virt-what
23 libexec_PROGRAMS = virt-what-cpuid-helper
25 libexec_PROGRAMS += virt-what-ia64-xen-rdtsc-test
30 CLEANFILES += virt-what.1 virt-what.txt
31 man_MANS = virt-what.1
33 virt-what.1: virt-what.pod
34 pod2man -c "Virtualization Support" --release "$(PACKAGE)-$(VERSION)" \
36 virt-what.txt: virt-what.pod
42 tests/test-baremetal.sh \
43 tests/test-docker.sh \
44 tests/test-esx4.1.sh \
45 tests/test-hyperv.sh \
47 tests/test-kvm-explicit-cpu.sh \
48 tests/test-linux-vserver.sh \
50 tests/test-lkvm-arm.sh \
53 tests/test-parallels-desktop.sh \
55 tests/test-qemu-arm.sh \
56 tests/test-qemu-arm-acpi.sh \
57 tests/test-rhel5-xen-dom0.sh \
58 tests/test-rhel5-xen-domU-hvm.sh \
59 tests/test-rhel5-xen-domU-hvm-ia64.sh \
60 tests/test-rhel5-xen-domU-pv.sh \
61 tests/test-xen-arm.sh \
67 tests/baremetal/proc/cpuinfo \
68 tests/baremetal/proc/self/status \
69 tests/baremetal/sbin/dmidecode \
70 tests/baremetal/sbin/uname \
71 tests/baremetal/sbin/virt-what-cpuid-helper \
72 tests/docker/.dockerinit \
73 tests/docker/proc/cpuinfo \
74 tests/docker/proc/self/status \
75 tests/docker/sbin/dmidecode \
76 tests/docker/sbin/uname \
77 tests/docker/sbin/virt-what-cpuid-helper \
78 tests/esx4.1/proc/cpuinfo \
79 tests/esx4.1/proc/self/status \
80 tests/esx4.1/sbin/dmidecode \
81 tests/esx4.1/sbin/uname \
82 tests/esx4.1/sbin/virt-what-cpuid-helper \
83 tests/hyperv/proc/cpuinfo \
84 tests/hyperv/proc/self/status \
85 tests/hyperv/sbin/dmidecode \
86 tests/hyperv/sbin/uname \
87 tests/hyperv/sbin/virt-what-cpuid-helper \
88 tests/kvm/proc/cpuinfo \
89 tests/kvm/proc/self/status \
90 tests/kvm/sbin/dmidecode \
91 tests/kvm/sbin/uname \
92 tests/kvm/sbin/virt-what-cpuid-helper \
93 tests/kvm-explicit-cpu/proc/cpuinfo \
94 tests/kvm-explicit-cpu/proc/self/status \
95 tests/kvm-explicit-cpu/sbin/dmidecode \
96 tests/kvm-explicit-cpu/sbin/uname \
97 tests/kvm-explicit-cpu/sbin/virt-what-cpuid-helper \
98 tests/linux-vserver/proc/cpuinfo \
99 tests/linux-vserver/proc/self/status \
100 tests/linux-vserver/sbin/dmidecode \
101 tests/linux-vserver/sbin/uname \
102 tests/linux-vserver/sbin/virt-what-cpuid-helper \
103 tests/lkvm/proc/cpuinfo \
104 tests/lkvm/proc/self/status \
105 tests/lkvm/sbin/dmidecode \
106 tests/lkvm/sbin/uname \
107 tests/lkvm/sbin/virt-what-cpuid-helper \
108 tests/lkvm-arm/proc/cpuinfo \
109 tests/lkvm-arm/proc/device-tree/compatible \
110 tests/lkvm-arm/proc/self/status \
111 tests/lkvm-arm/sbin/dmidecode \
112 tests/lkvm-arm/sbin/uname \
113 tests/lkvm-arm/sbin/virt-what-cpuid-helper \
114 tests/lxc/proc/1/environ \
115 tests/lxc/proc/cpuinfo \
116 tests/lxc/proc/self/status \
117 tests/lxc/sbin/dmidecode \
118 tests/lxc/sbin/uname \
119 tests/lxc/sbin/virt-what-cpuid-helper \
120 tests/lx86/proc/cpuinfo \
121 tests/lx86/proc/self/status \
122 tests/lx86/sbin/dmidecode \
123 tests/lx86/sbin/uname \
124 tests/lx86/sbin/virt-what-cpuid-helper \
125 tests/parallels-desktop/proc/cpuinfo \
126 tests/parallels-desktop/proc/self/status \
127 tests/parallels-desktop/sbin/dmidecode \
128 tests/parallels-desktop/sbin/uname \
129 tests/parallels-desktop/sbin/virt-what-cpuid-helper \
130 tests/qemu/proc/cpuinfo \
131 tests/qemu/proc/self/status \
132 tests/qemu/sbin/dmidecode \
133 tests/qemu/sbin/uname \
134 tests/qemu/sbin/virt-what-cpuid-helper \
135 tests/qemu-arm/proc/cpuinfo \
136 tests/qemu-arm/proc/device-tree/fw-cfg@9020000/compatible \
137 tests/qemu-arm/proc/self/status \
138 tests/qemu-arm/sbin/dmidecode \
139 tests/qemu-arm/sbin/uname \
140 tests/qemu-arm/sbin/virt-what-cpuid-helper \
141 tests/qemu-arm-acpi/proc/cpuinfo \
142 tests/qemu-arm-acpi/proc/self/status \
143 tests/qemu-arm-acpi/sbin/dmidecode \
144 tests/qemu-arm-acpi/sbin/uname \
145 tests/qemu-arm-acpi/sbin/virt-what-cpuid-helper \
146 tests/rhel5-xen-dom0/proc/cpuinfo \
147 tests/rhel5-xen-dom0/proc/self/status \
148 tests/rhel5-xen-dom0/proc/xen/balloon \
149 tests/rhel5-xen-dom0/proc/xen/capabilities \
150 tests/rhel5-xen-dom0/proc/xen/privcmd \
151 tests/rhel5-xen-dom0/proc/xen/xenbus \
152 tests/rhel5-xen-dom0/proc/xen/xsd_kva \
153 tests/rhel5-xen-dom0/proc/xen/xsd_port \
154 tests/rhel5-xen-dom0/sbin/dmidecode \
155 tests/rhel5-xen-dom0/sbin/uname \
156 tests/rhel5-xen-dom0/sbin/virt-what-cpuid-helper \
157 tests/rhel5-xen-dom0/sys/hypervisor/properties/pagesize \
158 tests/rhel5-xen-dom0/sys/hypervisor/properties/changeset \
159 tests/rhel5-xen-dom0/sys/hypervisor/properties/virtual_start \
160 tests/rhel5-xen-dom0/sys/hypervisor/properties/capabilities \
161 tests/rhel5-xen-dom0/sys/hypervisor/properties/writable_pt \
162 tests/rhel5-xen-dom0/sys/hypervisor/type \
163 tests/rhel5-xen-dom0/sys/hypervisor/vmcoreinfo \
164 tests/rhel5-xen-dom0/sys/hypervisor/version/minor \
165 tests/rhel5-xen-dom0/sys/hypervisor/version/major \
166 tests/rhel5-xen-dom0/sys/hypervisor/version/extra \
167 tests/rhel5-xen-dom0/sys/hypervisor/compilation/compiler \
168 tests/rhel5-xen-dom0/sys/hypervisor/compilation/compiled_by \
169 tests/rhel5-xen-dom0/sys/hypervisor/compilation/compile_date \
170 tests/rhel5-xen-dom0/sys/hypervisor/uuid \
171 tests/rhel5-xen-domU-hvm/proc/cpuinfo \
172 tests/rhel5-xen-domU-hvm/proc/self/status \
173 tests/rhel5-xen-domU-hvm/sbin/dmidecode \
174 tests/rhel5-xen-domU-hvm/sbin/uname \
175 tests/rhel5-xen-domU-hvm/sbin/virt-what-cpuid-helper \
176 tests/rhel5-xen-domU-hvm-ia64/proc/cpuinfo \
177 tests/rhel5-xen-domU-hvm-ia64/proc/self/status \
178 tests/rhel5-xen-domU-hvm-ia64/sbin/dmidecode \
179 tests/rhel5-xen-domU-hvm-ia64/sbin/uname \
180 tests/rhel5-xen-domU-hvm-ia64/sbin/virt-what-cpuid-helper \
181 tests/rhel5-xen-domU-hvm-ia64/sys/bus/xen/drivers/vbd/bind \
182 tests/rhel5-xen-domU-hvm-ia64/sys/bus/xen/drivers/vbd/unbind \
183 tests/rhel5-xen-domU-hvm-ia64/sys/bus/xen/drivers/vif/bind \
184 tests/rhel5-xen-domU-hvm-ia64/sys/bus/xen/drivers/vif/unbind \
185 tests/rhel5-xen-domU-hvm-ia64/sys/bus/xen/drivers_probe \
186 tests/rhel5-xen-domU-pv/proc/cpuinfo \
187 tests/rhel5-xen-domU-pv/proc/self/status \
188 tests/rhel5-xen-domU-pv/proc/xen/balloon \
189 tests/rhel5-xen-domU-pv/proc/xen/capabilities \
190 tests/rhel5-xen-domU-pv/proc/xen/privcmd \
191 tests/rhel5-xen-domU-pv/proc/xen/xenbus \
192 tests/rhel5-xen-domU-pv/sbin/dmidecode \
193 tests/rhel5-xen-domU-pv/sbin/uname \
194 tests/rhel5-xen-domU-pv/sbin/virt-what-cpuid-helper \
195 tests/rhel5-xen-domU-pv/sys/hypervisor/properties/pagesize \
196 tests/rhel5-xen-domU-pv/sys/hypervisor/properties/changeset \
197 tests/rhel5-xen-domU-pv/sys/hypervisor/properties/virtual_start \
198 tests/rhel5-xen-domU-pv/sys/hypervisor/properties/capabilities \
199 tests/rhel5-xen-domU-pv/sys/hypervisor/properties/writable_pt \
200 tests/rhel5-xen-domU-pv/sys/hypervisor/type \
201 tests/rhel5-xen-domU-pv/sys/hypervisor/vmcoreinfo \
202 tests/rhel5-xen-domU-pv/sys/hypervisor/version/minor \
203 tests/rhel5-xen-domU-pv/sys/hypervisor/version/major \
204 tests/rhel5-xen-domU-pv/sys/hypervisor/version/extra \
205 tests/rhel5-xen-domU-pv/sys/hypervisor/compilation/compiler \
206 tests/rhel5-xen-domU-pv/sys/hypervisor/compilation/compiled_by \
207 tests/rhel5-xen-domU-pv/sys/hypervisor/compilation/compile_date \
208 tests/rhel5-xen-domU-pv/sys/hypervisor/uuid \
209 tests/xen-arm/proc/cpuinfo \
210 tests/xen-arm/proc/device-tree/hypervisor/compatible \
211 tests/xen-arm/proc/self/status \
212 tests/xen-arm/sbin/dmidecode \
213 tests/xen-arm/sbin/uname \
214 tests/xen-arm/sbin/virt-what-cpuid-helper \
215 tests/zvm/proc/cpuinfo \
216 tests/zvm/proc/self/status \
217 tests/zvm/proc/sysinfo \
218 tests/zvm/sbin/dmidecode \
219 tests/zvm/sbin/uname \
220 tests/zvm/sbin/virt-what-cpuid-helper \