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 11include ../../Makefile.config 12 13TOOL = acpidump 14EXTRA_INSTALL = install-man 15EXTRA_UNINSTALL = uninstall-man 16 17vpath %.c \ 18 ../../../../../drivers/acpi/acpica\ 19 ./\ 20 ../../common\ 21 ../../os_specific/service_layers 22CFLAGS += -DACPI_DUMP_APP -I.\ 23 -I../../../../../drivers/acpi/acpica\ 24 -I../../../../../include 25TOOL_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 utbuffer.o\ 35 utdebug.o\ 36 utexcep.o\ 37 utglobal.o\ 38 utmath.o\ 39 utnonansi.o\ 40 utprint.o\ 41 utstring.o\ 42 utxferror.o\ 43 oslibcfs.o\ 44 oslinuxtbl.o\ 45 cmfsize.o\ 46 getopt.o 47 48include ../../Makefile.rules 49 50install-man: ../../man/acpidump.8 51 $(INSTALL_DATA) -D $< $(DESTDIR)${mandir}/man8/acpidump.8 52uninstall-man: 53 - rm -f $(DESTDIR)${mandir}/man8/acpidump.8 54