diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2011-04-01 16:41:47 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2011-04-01 16:41:47 +0200 |
commit | 2a6202a59149eb123af860282ba1e9ac0d9f806c (patch) | |
tree | 2f596245dbde200d1c407e9d7ba0c96dd6909403 /jtools/Makefile | |
parent | 3b9c4ca7bff76b84f8bf9f15afe62dfcc071b214 (diff) | |
parent | f98e675fd2fb13847dbe2481765f96e4e3dd9e14 (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..932cd298f --- /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 jamvm 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 |