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 \
52 tests/test-parallels-desktop.sh \
54 tests/test-rhel5-xen-dom0.sh \
55 tests/test-rhel5-xen-domU-hvm.sh \
56 tests/test-rhel5-xen-domU-hvm-ia64.sh \
57 tests/test-rhel5-xen-domU-pv.sh \
63 tests/baremetal/proc/cpuinfo \
64 tests/baremetal/proc/self/status \
65 tests/baremetal/sbin/dmidecode \
66 tests/baremetal/sbin/uname \
67 tests/baremetal/sbin/virt-what-cpuid-helper \
68 tests/docker/.dockerinit \
69 tests/docker/proc/cpuinfo \
70 tests/docker/proc/self/status \
71 tests/docker/sbin/dmidecode \
72 tests/docker/sbin/uname \
73 tests/docker/sbin/virt-what-cpuid-helper \
74 tests/esx4.1/proc/cpuinfo \
75 tests/esx4.1/proc/self/status \
76 tests/esx4.1/sbin/dmidecode \
77 tests/esx4.1/sbin/uname \
78 tests/esx4.1/sbin/virt-what-cpuid-helper \
79 tests/hyperv/proc/cpuinfo \
80 tests/hyperv/proc/self/status \
81 tests/hyperv/sbin/dmidecode \
82 tests/hyperv/sbin/uname \
83 tests/hyperv/sbin/virt-what-cpuid-helper \
84 tests/kvm/proc/cpuinfo \
85 tests/kvm/proc/self/status \
86 tests/kvm/sbin/dmidecode \
87 tests/kvm/sbin/uname \
88 tests/kvm/sbin/virt-what-cpuid-helper \
89 tests/kvm-explicit-cpu/proc/cpuinfo \
90 tests/kvm-explicit-cpu/proc/self/status \
91 tests/kvm-explicit-cpu/sbin/dmidecode \
92 tests/kvm-explicit-cpu/sbin/uname \
93 tests/kvm-explicit-cpu/sbin/virt-what-cpuid-helper \
94 tests/linux-vserver/proc/cpuinfo \
95 tests/linux-vserver/proc/self/status \
96 tests/linux-vserver/sbin/dmidecode \
97 tests/linux-vserver/sbin/uname \
98 tests/linux-vserver/sbin/virt-what-cpuid-helper \
99 tests/lkvm/proc/cpuinfo \
100 tests/lkvm/proc/self/status \
101 tests/lkvm/sbin/dmidecode \
102 tests/lkvm/sbin/uname \
103 tests/lkvm/sbin/virt-what-cpuid-helper \
104 tests/lxc/proc/1/environ \
105 tests/lxc/proc/cpuinfo \
106 tests/lxc/proc/self/status \
107 tests/lxc/sbin/dmidecode \
108 tests/lxc/sbin/uname \
109 tests/lxc/sbin/virt-what-cpuid-helper \
110 tests/lx86/proc/cpuinfo \
111 tests/lx86/proc/self/status \
112 tests/lx86/sbin/dmidecode \
113 tests/lx86/sbin/uname \
114 tests/lx86/sbin/virt-what-cpuid-helper \
115 tests/parallels-desktop/proc/cpuinfo \
116 tests/parallels-desktop/proc/self/status \
117 tests/parallels-desktop/sbin/dmidecode \
118 tests/parallels-desktop/sbin/uname \
119 tests/parallels-desktop/sbin/virt-what-cpuid-helper \
120 tests/qemu/proc/cpuinfo \
121 tests/qemu/proc/self/status \
122 tests/qemu/sbin/dmidecode \
123 tests/qemu/sbin/uname \
124 tests/qemu/sbin/virt-what-cpuid-helper \
125 tests/rhel5-xen-dom0/proc/cpuinfo \
126 tests/rhel5-xen-dom0/proc/self/status \
127 tests/rhel5-xen-dom0/proc/xen/balloon \
128 tests/rhel5-xen-dom0/proc/xen/capabilities \
129 tests/rhel5-xen-dom0/proc/xen/privcmd \
130 tests/rhel5-xen-dom0/proc/xen/xenbus \
131 tests/rhel5-xen-dom0/proc/xen/xsd_kva \
132 tests/rhel5-xen-dom0/proc/xen/xsd_port \
133 tests/rhel5-xen-dom0/sbin/dmidecode \
134 tests/rhel5-xen-dom0/sbin/uname \
135 tests/rhel5-xen-dom0/sbin/virt-what-cpuid-helper \
136 tests/rhel5-xen-dom0/sys/hypervisor/properties/pagesize \
137 tests/rhel5-xen-dom0/sys/hypervisor/properties/changeset \
138 tests/rhel5-xen-dom0/sys/hypervisor/properties/virtual_start \
139 tests/rhel5-xen-dom0/sys/hypervisor/properties/capabilities \
140 tests/rhel5-xen-dom0/sys/hypervisor/properties/writable_pt \
141 tests/rhel5-xen-dom0/sys/hypervisor/type \
142 tests/rhel5-xen-dom0/sys/hypervisor/vmcoreinfo \
143 tests/rhel5-xen-dom0/sys/hypervisor/version/minor \
144 tests/rhel5-xen-dom0/sys/hypervisor/version/major \
145 tests/rhel5-xen-dom0/sys/hypervisor/version/extra \
146 tests/rhel5-xen-dom0/sys/hypervisor/compilation/compiler \
147 tests/rhel5-xen-dom0/sys/hypervisor/compilation/compiled_by \
148 tests/rhel5-xen-dom0/sys/hypervisor/compilation/compile_date \
149 tests/rhel5-xen-dom0/sys/hypervisor/uuid \
150 tests/rhel5-xen-domU-hvm/proc/cpuinfo \
151 tests/rhel5-xen-domU-hvm/proc/self/status \
152 tests/rhel5-xen-domU-hvm/sbin/dmidecode \
153 tests/rhel5-xen-domU-hvm/sbin/uname \
154 tests/rhel5-xen-domU-hvm/sbin/virt-what-cpuid-helper \
155 tests/rhel5-xen-domU-hvm-ia64/proc/cpuinfo \
156 tests/rhel5-xen-domU-hvm-ia64/proc/self/status \
157 tests/rhel5-xen-domU-hvm-ia64/sbin/dmidecode \
158 tests/rhel5-xen-domU-hvm-ia64/sbin/uname \
159 tests/rhel5-xen-domU-hvm-ia64/sbin/virt-what-cpuid-helper \
160 tests/rhel5-xen-domU-hvm-ia64/sys/bus/xen/drivers/vbd/bind \
161 tests/rhel5-xen-domU-hvm-ia64/sys/bus/xen/drivers/vbd/unbind \
162 tests/rhel5-xen-domU-hvm-ia64/sys/bus/xen/drivers/vif/bind \
163 tests/rhel5-xen-domU-hvm-ia64/sys/bus/xen/drivers/vif/unbind \
164 tests/rhel5-xen-domU-hvm-ia64/sys/bus/xen/drivers_probe \
165 tests/rhel5-xen-domU-pv/proc/cpuinfo \
166 tests/rhel5-xen-domU-pv/proc/self/status \
167 tests/rhel5-xen-domU-pv/proc/xen/balloon \
168 tests/rhel5-xen-domU-pv/proc/xen/capabilities \
169 tests/rhel5-xen-domU-pv/proc/xen/privcmd \
170 tests/rhel5-xen-domU-pv/proc/xen/xenbus \
171 tests/rhel5-xen-domU-pv/sbin/dmidecode \
172 tests/rhel5-xen-domU-pv/sbin/uname \
173 tests/rhel5-xen-domU-pv/sbin/virt-what-cpuid-helper \
174 tests/rhel5-xen-domU-pv/sys/hypervisor/properties/pagesize \
175 tests/rhel5-xen-domU-pv/sys/hypervisor/properties/changeset \
176 tests/rhel5-xen-domU-pv/sys/hypervisor/properties/virtual_start \
177 tests/rhel5-xen-domU-pv/sys/hypervisor/properties/capabilities \
178 tests/rhel5-xen-domU-pv/sys/hypervisor/properties/writable_pt \
179 tests/rhel5-xen-domU-pv/sys/hypervisor/type \
180 tests/rhel5-xen-domU-pv/sys/hypervisor/vmcoreinfo \
181 tests/rhel5-xen-domU-pv/sys/hypervisor/version/minor \
182 tests/rhel5-xen-domU-pv/sys/hypervisor/version/major \
183 tests/rhel5-xen-domU-pv/sys/hypervisor/version/extra \
184 tests/rhel5-xen-domU-pv/sys/hypervisor/compilation/compiler \
185 tests/rhel5-xen-domU-pv/sys/hypervisor/compilation/compiled_by \
186 tests/rhel5-xen-domU-pv/sys/hypervisor/compilation/compile_date \
187 tests/rhel5-xen-domU-pv/sys/hypervisor/uuid \
188 tests/zvm/proc/cpuinfo \
189 tests/zvm/proc/self/status \
190 tests/zvm/proc/sysinfo \
191 tests/zvm/sbin/dmidecode \
192 tests/zvm/sbin/uname \
193 tests/zvm/sbin/virt-what-cpuid-helper \