Makefile 822 B

123456789101112131415161718192021222324252627282930
  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. # jikes is for ant
  7. TARGETS+=fastjar gcj ecj jikes classpath jamvm ant openjdk qemu
  8. endif
  9. TARGETS_INSTALL:=$(patsubst %,%-install,$(TARGETS))
  10. TARGETS_CLEAN:=$(patsubst %,%-clean,$(TARGETS))
  11. all: install
  12. compile:
  13. install: $(TARGETS_INSTALL)
  14. clean: $(TARGETS_CLEAN)
  15. %-compile: $(TOOLS_BUILD_DIR)
  16. $(TRACE) "jtools/$(patsubst %-compile,%,$@)/compile "
  17. $(MAKE) -C $(patsubst %-compile,%,$@) compile
  18. %-install:
  19. $(TRACE) "jtools/$(patsubst %-install,%,$@)/install "
  20. $(MAKE) -C $(patsubst %-install,%,$@) install
  21. %-clean:
  22. $(TRACE) "jtools/$(patsubst %-clean,%,$@)/clean "
  23. $(MAKE) -C $(patsubst %-clean,%,$@) clean