These changes are the raw update to linux-4.4.6-rt14. Kernel sources
[kvmfornfv.git] / kernel / tools / power / acpi / tools / acpidump / Makefile
1 # tools/power/acpi/tools/acpidump/Makefile - ACPI tool Makefile
2 #
3 # Copyright (c) 2015, Intel Corporation
4 #   Author: Lv Zheng <lv.zheng@intel.com>
5 #
6 # This program is free software; you can redistribute it and/or
7 # modify it under the terms of the GNU General Public License
8 # as published by the Free Software Foundation; version 2
9 # of the License.
10
11 include ../../Makefile.config
12
13 TOOL = acpidump
14 EXTRA_INSTALL = install-man
15 EXTRA_UNINSTALL = uninstall-man
16
17 vpath %.c \
18         ../../../../../drivers/acpi/acpica\
19         ./\
20         ../../common\
21         ../../os_specific/service_layers
22 CFLAGS += -DACPI_DUMP_APP -I.\
23         -I../../../../../drivers/acpi/acpica\
24         -I../../../../../include
25 TOOL_OBJS = \
26         apdump.o\
27         apfiles.o\
28         apmain.o\
29         osunixdir.o\
30         osunixmap.o\
31         osunixxf.o\
32         tbprint.o\
33         tbxfroot.o\
34         utbuffer.o\
35         utdebug.o\
36         utexcep.o\
37         utglobal.o\
38         utmath.o\
39         utnonansi.o\
40         utprint.o\
41         utstring.o\
42         utxferror.o\
43         oslibcfs.o\
44         oslinuxtbl.o\
45         cmfsize.o\
46         getopt.o
47
48 include ../../Makefile.rules
49
50 install-man: ../../man/acpidump.8
51         $(INSTALL_DATA) -D $< $(DESTDIR)${mandir}/man8/acpidump.8
52 uninstall-man:
53         - rm -f $(DESTDIR)${mandir}/man8/acpidump.8