add tools/cdrtools
[openadk.git] / jtools / Makefile
blob4c911b33d3e21cf234c33232302021b4db2042f8
1 # This file is part of the OpenADK project. OpenADK is copyrighted
2 # material, please see the LICENCE file in the top-level directory.
4 include $(TOPDIR)/rules.mk
6 TARGETS:=
7 ifneq ($(ADK_PACKAGE_OPENJDK),)
8 # jikes is for ant
9 TARGETS+=fastjar gcj ecj jikes classpath jamvm ant openjdk qemu
10 endif
11 ifneq ($(ADK_PACKAGE_OPENJDK7),)
12 # jikes is for ant
13 TARGETS+=fastjar gcj ecj jikes classpath jamvm ant openjdk7
14 endif
16 TARGETS_INSTALL:=$(patsubst %,%-install,$(TARGETS))
17 TARGETS_CLEAN:=$(patsubst %,%-clean,$(TARGETS))
19 all: install
20 compile:
21 install: $(TARGETS_INSTALL)
22 clean: $(TARGETS_CLEAN)
24 %-compile: $(TOOLS_BUILD_DIR)
25 $(TRACE) "jtools/$(patsubst %-compile,%,$@)/compile "
26 $(MAKE) -C $(patsubst %-compile,%,$@) compile
28 %-install:
29 $(TRACE) "jtools/$(patsubst %-install,%,$@)/install "
30 $(MAKE) -C $(patsubst %-install,%,$@) install
32 %-clean:
33 $(TRACE) "jtools/$(patsubst %-clean,%,$@)/clean "
34 $(MAKE) -C $(patsubst %-clean,%,$@) clean