ACPI / tables: Remove duplicated include from tables.c
[cascardo/linux.git] / 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         utascii.o\
35         utbuffer.o\
36         utdebug.o\
37         utexcep.o\
38         utglobal.o\
39         utmath.o\
40         utnonansi.o\
41         utprint.o\
42         utstring.o\
43         utxferror.o\
44         oslibcfs.o\
45         oslinuxtbl.o\
46         cmfsize.o\
47         getopt.o
48
49 include ../../Makefile.rules
50
51 install-man: ../../man/acpidump.8
52         $(INSTALL_DATA) -D $< $(DESTDIR)${mandir}/man8/acpidump.8
53 uninstall-man:
54         - rm -f $(DESTDIR)${mandir}/man8/acpidump.8