Makefile 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. PROJECT = emqttd
  2. PROJECT_DESCRIPTION = Erlang MQTT Broker
  3. PROJECT_VERSION = 2.3.2
  4. DEPS = goldrush gproc lager esockd ekka mochiweb pbkdf2 lager_syslog bcrypt clique jsx
  5. dep_goldrush = git https://github.com/basho/goldrush 0.1.9
  6. dep_gproc = git https://github.com/uwiger/gproc
  7. dep_getopt = git https://github.com/jcomellas/getopt v0.8.2
  8. dep_lager = git https://github.com/basho/lager master
  9. dep_esockd = git https://github.com/emqtt/esockd master
  10. dep_ekka = git https://github.com/emqtt/ekka master
  11. dep_mochiweb = git https://github.com/emqtt/mochiweb master
  12. dep_pbkdf2 = git https://github.com/emqtt/pbkdf2 2.0.1
  13. dep_lager_syslog = git https://github.com/basho/lager_syslog
  14. dep_bcrypt = git https://github.com/smarkets/erlang-bcrypt master
  15. dep_clique = git https://github.com/emqtt/clique
  16. dep_jsx = git https://github.com/talentdeficit/jsx
  17. ERLC_OPTS += +debug_info
  18. ERLC_OPTS += +'{parse_transform, lager_transform}'
  19. NO_AUTOPATCH = cuttlefish
  20. BUILD_DEPS = cuttlefish
  21. dep_cuttlefish = git https://github.com/emqtt/cuttlefish
  22. TEST_DEPS = emqttc emq_dashboard
  23. dep_emqttc = git https://github.com/emqtt/emqttc
  24. dep_emq_dashboard = git https://github.com/emqtt/emq_dashboard develop
  25. TEST_ERLC_OPTS += +debug_info
  26. TEST_ERLC_OPTS += +'{parse_transform, lager_transform}'
  27. EUNIT_OPTS = verbose
  28. # EUNIT_ERL_OPTS =
  29. CT_SUITES = emqttd emqttd_access emqttd_lib emqttd_inflight emqttd_mod \
  30. emqttd_net emqttd_mqueue emqttd_protocol emqttd_topic \
  31. emqttd_router emqttd_trie emqttd_vm emqttd_config
  32. CT_OPTS = -cover test/ct.cover.spec -erl_args -name emqttd_ct@127.0.0.1
  33. COVER = true
  34. PLT_APPS = sasl asn1 ssl syntax_tools runtime_tools crypto xmerl os_mon inets public_key ssl lager compiler mnesia
  35. DIALYZER_DIRS := ebin/
  36. DIALYZER_OPTS := --verbose --statistics -Werror_handling \
  37. -Wrace_conditions #-Wunmatched_returns
  38. include erlang.mk
  39. app:: rebar.config
  40. app.config::
  41. ./deps/cuttlefish/cuttlefish -l info -e etc/ -c etc/emq.conf -i priv/emq.schema -d data/