xref: /openbmc/linux/tools/power/acpi/Makefile (revision 7c768f84)
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: acpidbg acpidump ec
14clean: acpidbg_clean acpidump_clean ec_clean
15install: acpidbg_install acpidump_install ec_install
16uninstall: acpidbg_uninstall acpidump_uninstall ec_uninstall
17
18acpidbg acpidump ec: FORCE
19	$(call descend,tools/$@,all)
20acpidbg_clean acpidump_clean ec_clean:
21	$(call descend,tools/$(@:_clean=),clean)
22acpidbg_install acpidump_install ec_install:
23	$(call descend,tools/$(@:_install=),install)
24acpidbg_uninstall acpidump_uninstall ec_uninstall:
25	$(call descend,tools/$(@:_uninstall=),uninstall)
26
27.PHONY: FORCE
28