]>
Commit | Line | Data |
---|---|---|
391fc234 LZ |
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\ | |
6a0df32c | 34 | utascii.o\ |
391fc234 LZ |
35 | utbuffer.o\ |
36 | utdebug.o\ | |
37 | utexcep.o\ | |
38 | utglobal.o\ | |
5ebd2eaa | 39 | uthex.o\ |
391fc234 LZ |
40 | utmath.o\ |
41 | utnonansi.o\ | |
42 | utprint.o\ | |
43 | utstring.o\ | |
5ebd2eaa | 44 | utstrtoul64.o\ |
391fc234 | 45 | utxferror.o\ |
391fc234 LZ |
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 |