Makefile 961 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. # See LICENSE for licensing information.
  2. PROJECT = ranch
  3. PROJECT_DESCRIPTION = Socket acceptor pool for TCP protocols.
  4. PROJECT_VERSION = 1.3.0
  5. PROJECT_REGISTERED = ranch_server
  6. # Options.
  7. COMPILE_FIRST = ranch_transport
  8. CT_OPTS += -pa test -ct_hooks ranch_ct_hook []
  9. PLT_APPS = crypto public_key ssl
  10. CI_OTP ?= \
  11. OTP_R16B OTP_R16B01 OTP_R16B02 OTP_R16B03-1 \
  12. OTP-17.1.2 OTP-17.2.2 OTP-17.3.4 OTP-17.4.1 OTP-17.5.6.6 \
  13. OTP-18.0.3 OTP-18.1.5 OTP-18.2.4.1 OTP-18.3.4.4 \
  14. OTP-19.0.7 OTP-19.1.6
  15. #CI_HIPE ?= $(lastword $(CI_OTP))
  16. #CI_ERLLVM ?= $(CI_HIPE)
  17. # Dependencies.
  18. LOCAL_DEPS = ssl
  19. TEST_DEPS = ct_helper
  20. dep_ct_helper = git https://github.com/ninenines/ct_helper master
  21. # Standard targets.
  22. include erlang.mk
  23. # Also dialyze the tests.
  24. DIALYZER_OPTS += --src -r test
  25. # Use erl_make_certs from the tested release.
  26. ci-setup:: $(DEPS_DIR)/ct_helper
  27. cp ~/.kerl/builds/$(CI_OTP_RELEASE)/otp_src_git/lib/ssl/test/erl_make_certs.erl deps/ct_helper/src/