Makefile 770 B

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