servo/support/android/openssl.makefile

14 lines
494 B
Makefile

.PHONY: all
all: openssl
@: # No-op to silence the "make: Nothing to be done for 'all'." message.
# From http://wiki.openssl.org/index.php/Android
.PHONY: openssl
openssl: openssl-${OPENSSL_VERSION}/libssl.so
openssl-${OPENSSL_VERSION}/libssl.so: openssl-${OPENSSL_VERSION}/Configure
./openssl.sh ${ANDROID_NDK} ${OPENSSL_VERSION}
openssl-${OPENSSL_VERSION}/Configure:
URL=https://s3.amazonaws.com/rust-lang-ci/rust-ci-mirror/openssl-${OPENSSL_VERSION}.tar.gz; \
curl $$URL | tar xzf -