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 virt-what.1 virt-what.txt
22 sbin_SCRIPTS = virt-what
23 libexec_PROGRAMS = virt-what-cpuid-helper
25 libexec_PROGRAMS += virt-what-ia64-xen-rdtsc-test
28 man_MANS = virt-what.1
30 virt-what.1: virt-what.pod
31 pod2man -c "Virtualization Support" --release "$(PACKAGE)-$(VERSION)" \
34 virt-what.txt: virt-what.pod
38 tests/test-baremetal.sh \
39 tests/test-esx4.1.sh \
40 tests/test-hyperv.sh \
42 tests/test-kvm-explicit-cpu.sh \
43 tests/test-linux-vserver.sh \
45 tests/test-parallels-desktop.sh \
47 tests/test-rhel5-xen-dom0.sh \
48 tests/test-rhel5-xen-domU-hvm.sh \
49 tests/test-rhel5-xen-domU-hvm-ia64.sh \
50 tests/test-rhel5-xen-domU-pv.sh \
56 tests/baremetal/proc/cpuinfo \
57 tests/baremetal/proc/self/status \
58 tests/baremetal/sbin/dmidecode \
59 tests/baremetal/sbin/id \
60 tests/baremetal/sbin/uname \
61 tests/baremetal/sbin/virt-what-cpuid-helper \
62 tests/esx4.1/proc/cpuinfo \
63 tests/esx4.1/proc/self/status \
64 tests/esx4.1/sbin/dmidecode \
65 tests/esx4.1/sbin/id \
66 tests/esx4.1/sbin/uname \
67 tests/esx4.1/sbin/virt-what-cpuid-helper \
68 tests/hyperv/proc/cpuinfo \
69 tests/hyperv/proc/self/status \
70 tests/hyperv/sbin/dmidecode \
71 tests/hyperv/sbin/id \
72 tests/hyperv/sbin/uname \
73 tests/hyperv/sbin/virt-what-cpuid-helper \
74 tests/kvm/proc/cpuinfo \
75 tests/kvm/proc/self/status \
76 tests/kvm/sbin/dmidecode \
78 tests/kvm/sbin/uname \
79 tests/kvm/sbin/virt-what-cpuid-helper \
80 tests/kvm-explicit-cpu/proc/cpuinfo \
81 tests/kvm-explicit-cpu/proc/self/status \
82 tests/kvm-explicit-cpu/sbin/dmidecode \
83 tests/kvm-explicit-cpu/sbin/id \
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/id \
90 tests/linux-vserver/sbin/uname \
91 tests/linux-vserver/sbin/virt-what-cpuid-helper \
92 tests/lx86/proc/cpuinfo \
93 tests/lx86/proc/self/status \
94 tests/lx86/sbin/dmidecode \
96 tests/lx86/sbin/uname \
97 tests/lx86/sbin/virt-what-cpuid-helper \
98 tests/parallels-desktop/proc/cpuinfo \
99 tests/parallels-desktop/proc/self/status \
100 tests/parallels-desktop/sbin/dmidecode \
101 tests/parallels-desktop/sbin/id \
102 tests/parallels-desktop/sbin/uname \
103 tests/parallels-desktop/sbin/virt-what-cpuid-helper \
104 tests/qemu/proc/cpuinfo \
105 tests/qemu/proc/self/status \
106 tests/qemu/sbin/dmidecode \
108 tests/qemu/sbin/uname \
109 tests/qemu/sbin/virt-what-cpuid-helper \
110 tests/rhel5-xen-dom0/proc/cpuinfo \
111 tests/rhel5-xen-dom0/proc/self/status \
112 tests/rhel5-xen-dom0/proc/xen/balloon \
113 tests/rhel5-xen-dom0/proc/xen/capabilities \
114 tests/rhel5-xen-dom0/proc/xen/privcmd \
115 tests/rhel5-xen-dom0/proc/xen/xenbus \
116 tests/rhel5-xen-dom0/proc/xen/xsd_kva \
117 tests/rhel5-xen-dom0/proc/xen/xsd_port \
118 tests/rhel5-xen-dom0/sbin/dmidecode \
119 tests/rhel5-xen-dom0/sbin/id \
120 tests/rhel5-xen-dom0/sbin/uname \
121 tests/rhel5-xen-dom0/sbin/virt-what-cpuid-helper \
122 tests/rhel5-xen-dom0/sys/hypervisor/properties/pagesize \
123 tests/rhel5-xen-dom0/sys/hypervisor/properties/changeset \
124 tests/rhel5-xen-dom0/sys/hypervisor/properties/virtual_start \
125 tests/rhel5-xen-dom0/sys/hypervisor/properties/capabilities \
126 tests/rhel5-xen-dom0/sys/hypervisor/properties/writable_pt \
127 tests/rhel5-xen-dom0/sys/hypervisor/type \
128 tests/rhel5-xen-dom0/sys/hypervisor/vmcoreinfo \
129 tests/rhel5-xen-dom0/sys/hypervisor/version/minor \
130 tests/rhel5-xen-dom0/sys/hypervisor/version/major \
131 tests/rhel5-xen-dom0/sys/hypervisor/version/extra \
132 tests/rhel5-xen-dom0/sys/hypervisor/compilation/compiler \
133 tests/rhel5-xen-dom0/sys/hypervisor/compilation/compiled_by \
134 tests/rhel5-xen-dom0/sys/hypervisor/compilation/compile_date \
135 tests/rhel5-xen-dom0/sys/hypervisor/uuid \
136 tests/rhel5-xen-domU-hvm/proc/cpuinfo \
137 tests/rhel5-xen-domU-hvm/proc/self/status \
138 tests/rhel5-xen-domU-hvm/sbin/dmidecode \
139 tests/rhel5-xen-domU-hvm/sbin/id \
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/id \
146 tests/rhel5-xen-domU-hvm-ia64/sbin/uname \
147 tests/rhel5-xen-domU-hvm-ia64/sbin/virt-what-cpuid-helper \
148 tests/rhel5-xen-domU-hvm-ia64/sys/bus/xen/drivers/vbd/bind \
149 tests/rhel5-xen-domU-hvm-ia64/sys/bus/xen/drivers/vbd/unbind \
150 tests/rhel5-xen-domU-hvm-ia64/sys/bus/xen/drivers/vif/bind \
151 tests/rhel5-xen-domU-hvm-ia64/sys/bus/xen/drivers/vif/unbind \
152 tests/rhel5-xen-domU-hvm-ia64/sys/bus/xen/drivers_probe \
153 tests/rhel5-xen-domU-pv/proc/cpuinfo \
154 tests/rhel5-xen-domU-pv/proc/self/status \
155 tests/rhel5-xen-domU-pv/proc/xen/balloon \
156 tests/rhel5-xen-domU-pv/proc/xen/capabilities \
157 tests/rhel5-xen-domU-pv/proc/xen/privcmd \
158 tests/rhel5-xen-domU-pv/proc/xen/xenbus \
159 tests/rhel5-xen-domU-pv/sbin/dmidecode \
160 tests/rhel5-xen-domU-pv/sbin/id \
161 tests/rhel5-xen-domU-pv/sbin/uname \
162 tests/rhel5-xen-domU-pv/sbin/virt-what-cpuid-helper \
163 tests/rhel5-xen-domU-pv/sys/hypervisor/properties/pagesize \
164 tests/rhel5-xen-domU-pv/sys/hypervisor/properties/changeset \
165 tests/rhel5-xen-domU-pv/sys/hypervisor/properties/virtual_start \
166 tests/rhel5-xen-domU-pv/sys/hypervisor/properties/capabilities \
167 tests/rhel5-xen-domU-pv/sys/hypervisor/properties/writable_pt \
168 tests/rhel5-xen-domU-pv/sys/hypervisor/type \
169 tests/rhel5-xen-domU-pv/sys/hypervisor/vmcoreinfo \
170 tests/rhel5-xen-domU-pv/sys/hypervisor/version/minor \
171 tests/rhel5-xen-domU-pv/sys/hypervisor/version/major \
172 tests/rhel5-xen-domU-pv/sys/hypervisor/version/extra \
173 tests/rhel5-xen-domU-pv/sys/hypervisor/compilation/compiler \
174 tests/rhel5-xen-domU-pv/sys/hypervisor/compilation/compiled_by \
175 tests/rhel5-xen-domU-pv/sys/hypervisor/compilation/compile_date \
176 tests/rhel5-xen-domU-pv/sys/hypervisor/uuid \
177 tests/zvm/proc/cpuinfo \
178 tests/zvm/proc/self/status \
179 tests/zvm/proc/sysinfo \
180 tests/zvm/sbin/dmidecode \
182 tests/zvm/sbin/uname \
183 tests/zvm/sbin/virt-what-cpuid-helper \