p≡p for Java
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

40 lines
934 B

  1. # TODO: Tiddy up
  2. ### Android NDK Common conf
  3. NDK_TOOLCHAIN_COMPILER ?= clang
  4. ### Select GNU SED on MacOS.
  5. NDK_UNAME := $(shell uname -s | tr '[A-Z]' '[a-z]')
  6. ifeq ($(NDK_UNAME),darwin)
  7. SED=gsed
  8. else
  9. SED=sed
  10. endif
  11. ### Sequoia deps versions
  12. OPENSSL_VERSION=1.1.1h
  13. GMP_VERSION=6.2.1
  14. NETTLE_VERSION=3.7.3
  15. ### Git deps repos
  16. EXTERNAL_GIT_REPOS += libetpan|https://github.com/fdik/libetpan.git?HEAD
  17. EXTERNAL_GIT_REPOS += sequoia|https://gitlab.com/sequoia-pgp/sequoia.git?openpgp/v1.1.0
  18. ### Common variables
  19. #### Source code targets
  20. EXTERNAL_SRCS += libiconv-src
  21. EXTERNAL_SRCS += uuid-src
  22. EXTERNAL_SRCS += openssl-src
  23. EXTERNAL_SRCS += gmp-src
  24. EXTERNAL_SRCS += nettle-src
  25. #### Clean source code targets.
  26. EXTERNAL_SRCS_CLEAN += libiconv-clean
  27. EXTERNAL_SRCS_CLEAN += uuid-clean
  28. EXTERNAL_SRCS_CLEAN += openssl-clean
  29. EXTERNAL_SRCS_CLEAN += gmp-clean
  30. EXTERNAL_SRCS_CLEAN += nettle-clean
  31. EXTERNAL_SRCS_CLEAN += sequoia-ffi-clean