xref: /linux/tools/power/acpi/tools/acpidbg/Makefile (revision fbc872c38c8fed31948c85683b5326ee5ab9fccc)
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
11include ../../Makefile.config
12
13TOOL = acpidbg
14vpath %.c \
15	../../../../../drivers/acpi/acpica\
16	../../common\
17	../../os_specific/service_layers\
18	.
19CFLAGS += -DACPI_APPLICATION -DACPI_SINGLE_THREAD -DACPI_DEBUGGER\
20	-I.\
21	-I../../../../../drivers/acpi/acpica\
22	-I../../../../../include
23LDFLAGS += -lpthread
24TOOL_OBJS = \
25	acpidbg.o
26
27include ../../Makefile.rules
28