xref: /linux/tools/power/acpi/Makefile (revision ca55b2fef3a9373fcfc30f82fd26bc7fccbda732)
1# tools/power/acpi/Makefile - ACPI tool Makefile
2#
3# Copyright (c) 2013, 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 ../../scripts/Makefile.include
12
13all: acpidump ec
14clean: acpidump_clean ec_clean
15install: acpidump_install ec_install
16uninstall: acpidump_uninstall ec_uninstall
17
18acpidump ec: FORCE
19	$(call descend,tools/$@,all)
20acpidump_clean ec_clean:
21	$(call descend,tools/$(@:_clean=),clean)
22acpidump_install ec_install:
23	$(call descend,tools/$(@:_install=),install)
24acpidump_uninstall ec_uninstall:
25	$(call descend,tools/$(@:_uninstall=),uninstall)
26
27.PHONY: FORCE
28