1 # tools/power/acpi/tools/acpidump/Makefile - ACPI tool Makefile
3 # Copyright (c) 2015, Intel Corporation
4 # Author: Lv Zheng <lv.zheng@intel.com>
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
11 include ../../Makefile.config
14 EXTRA_INSTALL = install-man
15 EXTRA_UNINSTALL = uninstall-man
18 ../../../../../drivers/acpi/acpica\
21 ../../os_specific/service_layers
22 CFLAGS += -DACPI_DUMP_APP -I.\
23 -I../../../../../drivers/acpi/acpica\
24 -I../../../../../include
49 include ../../Makefile.rules
51 install-man: ../../man/acpidump.8
52 $(INSTALL_DATA) -D $< $(DESTDIR)${mandir}/man8/acpidump.8
54 - rm -f $(DESTDIR)${mandir}/man8/acpidump.8