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