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