Allow leaving /etc as untouched as possible
[openadk.git] / jtools / Makefile
blob728d46dac870f65dddf70c459aaa807d9b028a84
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
12 TARGETS_INSTALL:=$(patsubst %,%-install,$(TARGETS))
13 TARGETS_CLEAN:=$(patsubst %,%-clean,$(TARGETS))
15 all: install
16 compile:
17 install: $(TARGETS_INSTALL)
18 clean: $(TARGETS_CLEAN)
20 %-compile: $(TOOLS_BUILD_DIR)
21 $(TRACE) "jtools/$(patsubst %-compile,%,$@)/compile "
22 $(MAKE) -C $(patsubst %-compile,%,$@) compile
24 %-install:
25 $(TRACE) "jtools/$(patsubst %-install,%,$@)/install "
26 $(MAKE) -C $(patsubst %-install,%,$@) install
28 %-clean:
29 $(TRACE) "jtools/$(patsubst %-clean,%,$@)/clean "
30 $(MAKE) -C $(patsubst %-clean,%,$@) clean