Makefile 908 B

12345678910111213141516171819202122232425262728
  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. include ../../scripts/Makefile.include
  11. all: acpidbg acpidump ec
  12. clean: acpidbg_clean acpidump_clean ec_clean
  13. install: acpidbg_install acpidump_install ec_install
  14. uninstall: acpidbg_uninstall acpidump_uninstall ec_uninstall
  15. acpidbg acpidump ec: FORCE
  16. $(call descend,tools/$@,all)
  17. acpidbg_clean acpidump_clean ec_clean:
  18. $(call descend,tools/$(@:_clean=),clean)
  19. acpidbg_install acpidump_install ec_install:
  20. $(call descend,tools/$(@:_install=),install)
  21. acpidbg_uninstall acpidump_uninstall ec_uninstall:
  22. $(call descend,tools/$(@:_uninstall=),uninstall)
  23. .PHONY: FORCE