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 man_MANS = virt-what.1
27 virt-what.1: virt-what.pod
28 pod2man -c "Virtualization Support" --release "$(PACKAGE)-$(VERSION)" \
31 virt-what.txt: virt-what.pod
35 tests/test-baremetal.sh \
36 tests/test-esx4.1.sh \
37 tests/test-hyperv.sh \
39 tests/test-linux-vserver.sh \
41 tests/test-parallels-desktop.sh \
43 tests/test-rhel5-xen-dom0.sh \
44 tests/test-rhel5-xen-domU-hvm.sh \
45 tests/test-rhel5-xen-domU-pv.sh \
51 tests/baremetal/proc/cpuinfo \
52 tests/baremetal/proc/self/status \
53 tests/baremetal/sbin/dmidecode \
54 tests/baremetal/sbin/id \
55 tests/baremetal/sbin/virt-what-cpuid-helper \
56 tests/esx4.1/proc/cpuinfo \
57 tests/esx4.1/proc/self/status \
58 tests/esx4.1/sbin/dmidecode \
59 tests/esx4.1/sbin/id \
60 tests/esx4.1/sbin/virt-what-cpuid-helper \
61 tests/hyperv/proc/cpuinfo \
62 tests/hyperv/proc/self/status \
63 tests/hyperv/sbin/dmidecode \
64 tests/hyperv/sbin/id \
65 tests/hyperv/sbin/virt-what-cpuid-helper \
66 tests/kvm/proc/cpuinfo \
67 tests/kvm/proc/self/status \
68 tests/kvm/sbin/dmidecode \
70 tests/kvm/sbin/virt-what-cpuid-helper \
71 tests/linux-vserver/proc/cpuinfo \
72 tests/linux-vserver/proc/self/status \
73 tests/linux-vserver/sbin/dmidecode \
74 tests/linux-vserver/sbin/id \
75 tests/linux-vserver/sbin/virt-what-cpuid-helper \
76 tests/lx86/proc/cpuinfo \
77 tests/lx86/proc/self/status \
78 tests/lx86/sbin/dmidecode \
80 tests/lx86/sbin/virt-what-cpuid-helper \
81 tests/parallels-desktop/proc/cpuinfo \
82 tests/parallels-desktop/proc/self/status \
83 tests/parallels-desktop/sbin/dmidecode \
84 tests/parallels-desktop/sbin/id \
85 tests/parallels-desktop/sbin/virt-what-cpuid-helper \
86 tests/qemu/proc/cpuinfo \
87 tests/qemu/proc/self/status \
88 tests/qemu/sbin/dmidecode \
90 tests/qemu/sbin/virt-what-cpuid-helper \
91 tests/rhel5-xen-dom0/proc/cpuinfo \
92 tests/rhel5-xen-dom0/proc/self/status \
93 tests/rhel5-xen-dom0/proc/xen/balloon \
94 tests/rhel5-xen-dom0/proc/xen/capabilities \
95 tests/rhel5-xen-dom0/proc/xen/privcmd \
96 tests/rhel5-xen-dom0/proc/xen/xenbus \
97 tests/rhel5-xen-dom0/proc/xen/xsd_kva \
98 tests/rhel5-xen-dom0/proc/xen/xsd_port \
99 tests/rhel5-xen-dom0/sbin/dmidecode \
100 tests/rhel5-xen-dom0/sbin/id \
101 tests/rhel5-xen-dom0/sbin/virt-what-cpuid-helper \
102 tests/rhel5-xen-dom0/sys/hypervisor/properties/pagesize \
103 tests/rhel5-xen-dom0/sys/hypervisor/properties/changeset \
104 tests/rhel5-xen-dom0/sys/hypervisor/properties/virtual_start \
105 tests/rhel5-xen-dom0/sys/hypervisor/properties/capabilities \
106 tests/rhel5-xen-dom0/sys/hypervisor/properties/writable_pt \
107 tests/rhel5-xen-dom0/sys/hypervisor/type \
108 tests/rhel5-xen-dom0/sys/hypervisor/vmcoreinfo \
109 tests/rhel5-xen-dom0/sys/hypervisor/version/minor \
110 tests/rhel5-xen-dom0/sys/hypervisor/version/major \
111 tests/rhel5-xen-dom0/sys/hypervisor/version/extra \
112 tests/rhel5-xen-dom0/sys/hypervisor/compilation/compiler \
113 tests/rhel5-xen-dom0/sys/hypervisor/compilation/compiled_by \
114 tests/rhel5-xen-dom0/sys/hypervisor/compilation/compile_date \
115 tests/rhel5-xen-dom0/sys/hypervisor/uuid \
116 tests/rhel5-xen-domU-hvm/proc/cpuinfo \
117 tests/rhel5-xen-domU-hvm/proc/self/status \
118 tests/rhel5-xen-domU-hvm/sbin/dmidecode \
119 tests/rhel5-xen-domU-hvm/sbin/id \
120 tests/rhel5-xen-domU-hvm/sbin/virt-what-cpuid-helper \
121 tests/rhel5-xen-domU-pv/proc/cpuinfo \
122 tests/rhel5-xen-domU-pv/proc/self/status \
123 tests/rhel5-xen-domU-pv/proc/xen/balloon \
124 tests/rhel5-xen-domU-pv/proc/xen/capabilities \
125 tests/rhel5-xen-domU-pv/proc/xen/privcmd \
126 tests/rhel5-xen-domU-pv/proc/xen/xenbus \
127 tests/rhel5-xen-domU-pv/sbin/dmidecode \
128 tests/rhel5-xen-domU-pv/sbin/id \
129 tests/rhel5-xen-domU-pv/sbin/virt-what-cpuid-helper \
130 tests/rhel5-xen-domU-pv/sys/hypervisor/properties/pagesize \
131 tests/rhel5-xen-domU-pv/sys/hypervisor/properties/changeset \
132 tests/rhel5-xen-domU-pv/sys/hypervisor/properties/virtual_start \
133 tests/rhel5-xen-domU-pv/sys/hypervisor/properties/capabilities \
134 tests/rhel5-xen-domU-pv/sys/hypervisor/properties/writable_pt \
135 tests/rhel5-xen-domU-pv/sys/hypervisor/type \
136 tests/rhel5-xen-domU-pv/sys/hypervisor/vmcoreinfo \
137 tests/rhel5-xen-domU-pv/sys/hypervisor/version/minor \
138 tests/rhel5-xen-domU-pv/sys/hypervisor/version/major \
139 tests/rhel5-xen-domU-pv/sys/hypervisor/version/extra \
140 tests/rhel5-xen-domU-pv/sys/hypervisor/compilation/compiler \
141 tests/rhel5-xen-domU-pv/sys/hypervisor/compilation/compiled_by \
142 tests/rhel5-xen-domU-pv/sys/hypervisor/compilation/compile_date \
143 tests/rhel5-xen-domU-pv/sys/hypervisor/uuid \
144 tests/zvm/proc/cpuinfo \
145 tests/zvm/proc/self/status \
146 tests/zvm/proc/sysinfo \
147 tests/zvm/sbin/dmidecode \
149 tests/zvm/sbin/virt-what-cpuid-helper \