08336d7f7845d5adce01c14dc9594c0da8c87a15
[virt-what.git] / Makefile.am
1 # Makefile for virt-what
2 # Copyright (C) 2008-2011 Red Hat Inc.
3 #
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.
8 #
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.
13 #
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.
17
18 EXTRA_DIST = \
19         virt-what.in \
20         virt-what.pod \
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 \
34         tests/kvm/sbin/id \
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/qemu/proc/cpuinfo \
42         tests/qemu/proc/self/status \
43         tests/qemu/sbin/dmidecode \
44         tests/qemu/sbin/id \
45         tests/qemu/sbin/virt-what-cpuid-helper \
46         tests/rhel5-xen-dom0/proc/cpuinfo \
47         tests/rhel5-xen-dom0/proc/self/status \
48         tests/rhel5-xen-dom0/sbin/dmidecode \
49         tests/rhel5-xen-dom0/sbin/id \
50         tests/rhel5-xen-dom0/sbin/virt-what-cpuid-helper \
51         tests/rhel5-xen-domU-hvm/proc/cpuinfo \
52         tests/rhel5-xen-domU-hvm/proc/self/status \
53         tests/rhel5-xen-domU-hvm/sbin/dmidecode \
54         tests/rhel5-xen-domU-hvm/sbin/id \
55         tests/rhel5-xen-domU-hvm/sbin/virt-what-cpuid-helper \
56         tests/rhel5-xen-domU-pv/proc/cpuinfo \
57         tests/rhel5-xen-domU-pv/proc/self/status \
58         tests/rhel5-xen-domU-pv/sbin/dmidecode \
59         tests/rhel5-xen-domU-pv/sbin/id \
60         tests/rhel5-xen-domU-pv/sbin/virt-what-cpuid-helper \
61         tests/test-baremetal.sh \
62         tests/test-esx4.1.sh \
63         tests/test-kvm.sh \
64         tests/test-linux-vserver.sh \
65         tests/test-qemu.sh \
66         tests/test-rhel5-xen-dom0.sh \
67         tests/test-rhel5-xen-domU-hvm.sh \
68         tests/test-rhel5-xen-domU-pv.sh
69
70 CLEANFILES = virt-what.1 virt-what.txt
71
72 AM_CPPFLAGS = -Wall
73
74 sbin_SCRIPTS = virt-what
75 libexec_PROGRAMS = virt-what-cpuid-helper
76
77 man_MANS = virt-what.1
78
79 virt-what.1: virt-what.pod
80         pod2man -c "Virtualization Support" --release "$(PACKAGE)-$(VERSION)" \
81           $< > $@
82
83 virt-what.txt: virt-what.pod
84         pod2text $< > $@
85
86 TESTS = \
87         tests/test-baremetal.sh \
88         tests/test-esx4.1.sh \
89         tests/test-kvm.sh \
90         tests/test-linux-vserver.sh \
91         tests/test-qemu.sh \
92         tests/test-rhel5-xen-dom0.sh \
93         tests/test-rhel5-xen-domU-hvm.sh \
94         tests/test-rhel5-xen-domU-pv.sh