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.
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/hyperv/proc/cpuinfo \
32 tests/hyperv/proc/self/status \
33 tests/hyperv/sbin/dmidecode \
34 tests/hyperv/sbin/id \
35 tests/hyperv/sbin/virt-what-cpuid-helper \
36 tests/kvm/proc/cpuinfo \
37 tests/kvm/proc/self/status \
38 tests/kvm/sbin/dmidecode \
40 tests/kvm/sbin/virt-what-cpuid-helper \
41 tests/linux-vserver/proc/cpuinfo \
42 tests/linux-vserver/proc/self/status \
43 tests/linux-vserver/sbin/dmidecode \
44 tests/linux-vserver/sbin/id \
45 tests/linux-vserver/sbin/virt-what-cpuid-helper \
46 tests/lx86/proc/cpuinfo \
47 tests/lx86/proc/self/status \
48 tests/lx86/sbin/dmidecode \
50 tests/lx86/sbin/virt-what-cpuid-helper \
51 tests/parallels-desktop/proc/cpuinfo \
52 tests/parallels-desktop/proc/self/status \
53 tests/parallels-desktop/sbin/dmidecode \
54 tests/parallels-desktop/sbin/id \
55 tests/parallels-desktop/sbin/virt-what-cpuid-helper \
56 tests/qemu/proc/cpuinfo \
57 tests/qemu/proc/self/status \
58 tests/qemu/sbin/dmidecode \
60 tests/qemu/sbin/virt-what-cpuid-helper \
61 tests/rhel5-xen-dom0/proc/cpuinfo \
62 tests/rhel5-xen-dom0/proc/self/status \
63 tests/rhel5-xen-dom0/proc/xen/balloon \
64 tests/rhel5-xen-dom0/proc/xen/capabilities \
65 tests/rhel5-xen-dom0/proc/xen/privcmd \
66 tests/rhel5-xen-dom0/proc/xen/xenbus \
67 tests/rhel5-xen-dom0/proc/xen/xsd_kva \
68 tests/rhel5-xen-dom0/proc/xen/xsd_port \
69 tests/rhel5-xen-dom0/sbin/dmidecode \
70 tests/rhel5-xen-dom0/sbin/id \
71 tests/rhel5-xen-dom0/sbin/virt-what-cpuid-helper \
72 tests/rhel5-xen-dom0/sys/hypervisor/properties/pagesize \
73 tests/rhel5-xen-dom0/sys/hypervisor/properties/changeset \
74 tests/rhel5-xen-dom0/sys/hypervisor/properties/virtual_start \
75 tests/rhel5-xen-dom0/sys/hypervisor/properties/capabilities \
76 tests/rhel5-xen-dom0/sys/hypervisor/properties/writable_pt \
77 tests/rhel5-xen-dom0/sys/hypervisor/type \
78 tests/rhel5-xen-dom0/sys/hypervisor/vmcoreinfo \
79 tests/rhel5-xen-dom0/sys/hypervisor/version/minor \
80 tests/rhel5-xen-dom0/sys/hypervisor/version/major \
81 tests/rhel5-xen-dom0/sys/hypervisor/version/extra \
82 tests/rhel5-xen-dom0/sys/hypervisor/compilation/compiler \
83 tests/rhel5-xen-dom0/sys/hypervisor/compilation/compiled_by \
84 tests/rhel5-xen-dom0/sys/hypervisor/compilation/compile_date \
85 tests/rhel5-xen-dom0/sys/hypervisor/uuid \
86 tests/rhel5-xen-domU-hvm/proc/cpuinfo \
87 tests/rhel5-xen-domU-hvm/proc/self/status \
88 tests/rhel5-xen-domU-hvm/sbin/dmidecode \
89 tests/rhel5-xen-domU-hvm/sbin/id \
90 tests/rhel5-xen-domU-hvm/sbin/virt-what-cpuid-helper \
91 tests/rhel5-xen-domU-pv/proc/cpuinfo \
92 tests/rhel5-xen-domU-pv/proc/self/status \
93 tests/rhel5-xen-domU-pv/proc/xen/balloon \
94 tests/rhel5-xen-domU-pv/proc/xen/capabilities \
95 tests/rhel5-xen-domU-pv/proc/xen/privcmd \
96 tests/rhel5-xen-domU-pv/proc/xen/xenbus \
97 tests/rhel5-xen-domU-pv/sbin/dmidecode \
98 tests/rhel5-xen-domU-pv/sbin/id \
99 tests/rhel5-xen-domU-pv/sbin/virt-what-cpuid-helper \
100 tests/rhel5-xen-domU-pv/sys/hypervisor/properties/pagesize \
101 tests/rhel5-xen-domU-pv/sys/hypervisor/properties/changeset \
102 tests/rhel5-xen-domU-pv/sys/hypervisor/properties/virtual_start \
103 tests/rhel5-xen-domU-pv/sys/hypervisor/properties/capabilities \
104 tests/rhel5-xen-domU-pv/sys/hypervisor/properties/writable_pt \
105 tests/rhel5-xen-domU-pv/sys/hypervisor/type \
106 tests/rhel5-xen-domU-pv/sys/hypervisor/vmcoreinfo \
107 tests/rhel5-xen-domU-pv/sys/hypervisor/version/minor \
108 tests/rhel5-xen-domU-pv/sys/hypervisor/version/major \
109 tests/rhel5-xen-domU-pv/sys/hypervisor/version/extra \
110 tests/rhel5-xen-domU-pv/sys/hypervisor/compilation/compiler \
111 tests/rhel5-xen-domU-pv/sys/hypervisor/compilation/compiled_by \
112 tests/rhel5-xen-domU-pv/sys/hypervisor/compilation/compile_date \
113 tests/rhel5-xen-domU-pv/sys/hypervisor/uuid \
114 tests/zvm/proc/cpuinfo \
115 tests/zvm/proc/self/status \
116 tests/zvm/proc/sysinfo \
117 tests/zvm/sbin/dmidecode \
119 tests/zvm/sbin/virt-what-cpuid-helper \
120 tests/test-baremetal.sh \
121 tests/test-esx4.1.sh \
122 tests/test-hyperv.sh \
124 tests/test-linux-vserver.sh \
126 tests/test-parallels-desktop.sh \
128 tests/test-rhel5-xen-dom0.sh \
129 tests/test-rhel5-xen-domU-hvm.sh \
130 tests/test-rhel5-xen-domU-pv.sh \
133 CLEANFILES = virt-what virt-what.1 virt-what.txt
137 sbin_SCRIPTS = virt-what
138 libexec_PROGRAMS = virt-what-cpuid-helper
140 man_MANS = virt-what.1
142 virt-what.1: virt-what.pod
143 pod2man -c "Virtualization Support" --release "$(PACKAGE)-$(VERSION)" \
146 virt-what.txt: virt-what.pod
150 tests/test-baremetal.sh \
151 tests/test-esx4.1.sh \
152 tests/test-hyperv.sh \
154 tests/test-linux-vserver.sh \
156 tests/test-parallels-desktop.sh \
158 tests/test-rhel5-xen-dom0.sh \
159 tests/test-rhel5-xen-domU-hvm.sh \
160 tests/test-rhel5-xen-domU-pv.sh \