summaryrefslogtreecommitdiffstats
path: root/tools/power/acpi/tools/acpidump/Makefile
blob: 8d761576e91b076799a6d2e02d7e9f0737f5d69b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
# tools/power/acpi/tools/acpidump/Makefile - ACPI tool Makefile
#
# Copyright (c) 2015, Intel Corporation
#   Author: Lv Zheng <lv.zheng@intel.com>
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; version 2
# of the License.

include ../../Makefile.config

TOOL = acpidump
EXTRA_INSTALL = install-man
EXTRA_UNINSTALL = uninstall-man

vpath %.c \
	../../../../../drivers/acpi/acpica\
	./\
	../../common\
	../../os_specific/service_layers
CFLAGS += -DACPI_DUMP_APP -I.\
	-I../../../../../drivers/acpi/acpica\
	-I../../../../../include
TOOL_OBJS = \
	apdump.o\
	apfiles.o\
	apmain.o\
	osunixdir.o\
	osunixmap.o\
	osunixxf.o\
	tbprint.o\
	tbxfroot.o\
	utbuffer.o\
	utdebug.o\
	utexcep.o\
	utglobal.o\
	utmath.o\
	utnonansi.o\
	utprint.o\
	utstring.o\
	utxferror.o\
	oslibcfs.o\
	oslinuxtbl.o\
	cmfsize.o\
	getopt.o

include ../../Makefile.rules

install-man: ../../man/acpidump.8
	$(INSTALL_DATA) -D $< $(DESTDIR)${mandir}/man8/acpidump.8
uninstall-man:
	- rm -f $(DESTDIR)${mandir}/man8/acpidump.8