diff options
author | wbx <wbx@openadk.org> | 2011-04-08 12:37:48 +0200 |
---|---|---|
committer | wbx <wbx@openadk.org> | 2011-04-08 12:37:48 +0200 |
commit | 34fc06736330cc993fd1c936ed9205cdc73aa0fd (patch) | |
tree | 42319fe9aa25f82370948335d6dccd571da945d6 /jtools/Makefile | |
parent | 6ea415c59b9ced9d08be7348d268ae4543017a56 (diff) | |
parent | 297e4004d154572e29ee71f8ed852b022686e852 (diff) |
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'jtools/Makefile')
-rw-r--r-- | jtools/Makefile | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/jtools/Makefile b/jtools/Makefile new file mode 100644 index 000000000..23c90534f --- /dev/null +++ b/jtools/Makefile @@ -0,0 +1,29 @@ +# This file is part of the OpenADK project. OpenADK is copyrighted +# material, please see the LICENCE file in the top-level directory. + +include $(TOPDIR)/rules.mk + +TARGETS:= +ifneq ($(ADK_PACKAGE_OPENJDK),) +TARGETS+=fastjar gcj classpath ecj +endif + +TARGETS_INSTALL:=$(patsubst %,%-install,$(TARGETS)) +TARGETS_CLEAN:=$(patsubst %,%-clean,$(TARGETS)) + +all: install +compile: +install: $(TARGETS_INSTALL) +clean: $(TARGETS_CLEAN) + +%-compile: $(TOOLS_BUILD_DIR) + $(TRACE) "jtools/$(patsubst %-compile,%,$@)/compile " + $(MAKE) -C $(patsubst %-compile,%,$@) compile + +%-install: + $(TRACE) "jtools/$(patsubst %-install,%,$@)/install " + $(MAKE) -C $(patsubst %-install,%,$@) install + +%-clean: + $(TRACE) "jtools/$(patsubst %-clean,%,$@)/clean " + $(MAKE) -C $(patsubst %-clean,%,$@) clean |