Makefile 780 B

1234567891011121314151617181920212223242526272829
  1. # This file is part of the OpenADK project. OpenADK is copyrighted
  2. # material, please see the LICENCE file in the top-level directory.
  3. include $(TOPDIR)/rules.mk
  4. TARGETS:=
  5. ifneq ($(ADK_PACKAGE_OPENJDK),)
  6. TARGETS+=fastjar gcj classpath jamvm ecj
  7. endif
  8. TARGETS_INSTALL:=$(patsubst %,%-install,$(TARGETS))
  9. TARGETS_CLEAN:=$(patsubst %,%-clean,$(TARGETS))
  10. all: install
  11. compile:
  12. install: $(TARGETS_INSTALL)
  13. clean: $(TARGETS_CLEAN)
  14. %-compile: $(TOOLS_BUILD_DIR)
  15. $(TRACE) "jtools/$(patsubst %-compile,%,$@)/compile "
  16. $(MAKE) -C $(patsubst %-compile,%,$@) compile
  17. %-install:
  18. $(TRACE) "jtools/$(patsubst %-install,%,$@)/install "
  19. $(MAKE) -C $(patsubst %-install,%,$@) install
  20. %-clean:
  21. $(TRACE) "jtools/$(patsubst %-clean,%,$@)/clean "
  22. $(MAKE) -C $(patsubst %-clean,%,$@) clean