Linux 6.7-rc7
[linux-modified.git] / tools / power / acpi / tools / acpidump / Makefile
1 # SPDX-License-Identifier: GPL-2.0-only
2 # tools/power/acpi/tools/acpidump/Makefile - ACPI tool Makefile
3 #
4 # Copyright (c) 2015, Intel Corporation
5 #   Author: Lv Zheng <lv.zheng@intel.com>
6 #
7
8 include ../../Makefile.config
9
10 TOOL = acpidump
11 EXTRA_INSTALL = install-man
12 EXTRA_UNINSTALL = uninstall-man
13
14 vpath %.c \
15         ../../../../../drivers/acpi/acpica\
16         ./\
17         ../../common\
18         ../../os_specific/service_layers
19 CFLAGS += -DACPI_DUMP_APP -I.
20 TOOL_OBJS = \
21         apdump.o\
22         apfiles.o\
23         apmain.o\
24         osunixdir.o\
25         osunixmap.o\
26         osunixxf.o\
27         tbprint.o\
28         tbxfroot.o\
29         utascii.o\
30         utbuffer.o\
31         utcksum.o\
32         utdebug.o\
33         utexcep.o\
34         utglobal.o\
35         uthex.o\
36         utmath.o\
37         utnonansi.o\
38         utprint.o\
39         utstring.o\
40         utstrsuppt.o\
41         utstrtoul64.o\
42         utxferror.o\
43         oslinuxtbl.o\
44         cmfsize.o\
45         getopt.o
46
47 include ../../Makefile.rules
48
49 install-man: $(srctree)/man/acpidump.8
50         $(ECHO) "  INST    " acpidump.8
51         $(QUIET) $(INSTALL_DATA) -D $< $(DESTDIR)$(mandir)/man8/acpidump.8
52 uninstall-man:
53         $(ECHO) "  UNINST  " acpidump.8
54         $(QUIET) rm -f $(DESTDIR)$(mandir)/man8/acpidump.8