tools/power/acpi: Add userspace AML interface support
[cascardo/linux.git] / tools / power / acpi / tools / acpidbg / Makefile
1 # tools/power/acpi/tools/acpidbg/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 = acpidbg
14 vpath %.c \
15         ../../../../../drivers/acpi/acpica\
16         ../../common\
17         ../../os_specific/service_layers\
18         .
19 CFLAGS += -DACPI_APPLICATION -DACPI_SINGLE_THREAD -DACPI_DEBUGGER\
20         -I.\
21         -I../../../../../drivers/acpi/acpica\
22         -I../../../../../include
23 LDFLAGS += -lpthread
24 TOOL_OBJS = \
25         acpidbg.o
26
27 include ../../Makefile.rules