]> git.karo-electronics.de Git - linux-beck.git/blob - tools/power/acpi/tools/acpidump/Makefile
04b5db7c7c0bd0608c8601a46766e551bb021e66
[linux-beck.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         uthex.o\
40         utmath.o\
41         utnonansi.o\
42         utprint.o\
43         utstring.o\
44         utstrtoul64.o\
45         utxferror.o\
46         oslinuxtbl.o\
47         cmfsize.o\
48         getopt.o
49
50 include ../../Makefile.rules
51
52 install-man: ../../man/acpidump.8
53         $(INSTALL_DATA) -D $< $(DESTDIR)${mandir}/man8/acpidump.8
54 uninstall-man:
55         - rm -f $(DESTDIR)${mandir}/man8/acpidump.8