corda/create-jdk8u/Makefile
Chris Rankin bcba66f95d CORDA-2963: Update the Deterministic Java API artifacts. (#5637)
* CORDA-2963: Restore FileChannel to deterministic-rt but still remove it from the API artifact.

* CORDA-2963: Restore stub ObjectStream classes to deterministic-rt but still remove them from the API artifact.

* CORDA-2963: Add currency.data to deterministic-rt.jar as a resource.

* CORDA-2963: Add tzdb.dat to deterministic-rt.jar as a resource.

* CORDA-3326: Restore supported java.util.concurrent.* classes to the API artifact.
2019-10-25 10:39:56 +01:00

26 lines
635 B
Makefile

.DEFAULT_GOAL=all
jdk8u:
git clone -b deterministic-jvm8 --single-branch https://github.com/corda/openjdk $@
jdk8u/common/autoconf/configure: jdk8u
jdk8u/build/%/spec.gmk: jdk8u/common/autoconf/configure
cd jdk8u && $(SHELL) configure
.PHONY: jdk-image clean all
jdk-image: jdk8u/build/linux-x86_64-normal-server-release/spec.gmk
$(MAKE) -C jdk8u images docs
all: libs/rt.jar libs/jce.jar libs/jsse.jar libs/currency.data libs/tzdb.dat
clean:
$(MAKE) -C jdk8u clean
libs:
mkdir $@
libs/rt.jar libs/jce.jar libs/jsse.jar libs/currency.data libs/tzdb.dat: libs jdk-image
cp -f jdk8u/build/*/images/j2re-image/lib/$(@F) $@