Makefile 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. .PHONY: plugins tests
  2. PROJECT = emqx
  3. PROJECT_DESCRIPTION = EMQ X Broker
  4. PROJECT_VERSION = 3.0
  5. DEPS = jsx gproc gen_rpc lager ekka esockd cowboy clique
  6. dep_jsx = git https://github.com/talentdeficit/jsx 2.9.0
  7. dep_gproc = git https://github.com/uwiger/gproc 0.8.0
  8. dep_gen_rpc = git https://github.com/emqx/gen_rpc 2.1.1
  9. dep_lager = git https://github.com/erlang-lager/lager 3.6.4
  10. dep_esockd = git https://github.com/emqx/esockd emqx30
  11. dep_ekka = git https://github.com/emqx/ekka emqx30
  12. dep_cowboy = git https://github.com/ninenines/cowboy 2.4.0
  13. dep_clique = git https://github.com/emqx/clique
  14. NO_AUTOPATCH = gen_rpc cuttlefish
  15. ERLC_OPTS += +debug_info
  16. ERLC_OPTS += +'{parse_transform, lager_transform}'
  17. BUILD_DEPS = cuttlefish
  18. dep_cuttlefish = git https://github.com/emqx/cuttlefish emqx30
  19. TEST_DEPS = emqx_ct_helplers
  20. dep_emqx_ct_helplers = git git@github.com:emqx/emqx_ct_helpers
  21. TEST_ERLC_OPTS += +debug_info
  22. TEST_ERLC_OPTS += +'{parse_transform, lager_transform}'
  23. EUNIT_OPTS = verbose
  24. CT_SUITES = emqx_inflight
  25. ## emqx_trie emqx_router emqx_frame emqx_mqtt_compat
  26. #CT_SUITES = emqx emqx_broker emqx_mod emqx_lib emqx_topic emqx_mqueue emqx_inflight \
  27. # emqx_vm emqx_net emqx_protocol emqx_access emqx_router
  28. CT_OPTS = -cover test/ct.cover.spec -erl_args -name emqxct@127.0.0.1
  29. COVER = true
  30. PLT_APPS = sasl asn1 ssl syntax_tools runtime_tools crypto xmerl os_mon inets public_key ssl lager compiler mnesia
  31. DIALYZER_DIRS := ebin/
  32. DIALYZER_OPTS := --verbose --statistics -Werror_handling -Wrace_conditions #-Wunmatched_returns
  33. include erlang.mk
  34. app.config::
  35. ./deps/cuttlefish/cuttlefish -l info -e etc/ -c etc/emqx.conf -i priv/emqx.schema -d data/