Makefile 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. PROJECT = emqttd
  2. PROJECT_DESCRIPTION = Erlang MQTT Broker
  3. PROJECT_VERSION = 2.2
  4. DEPS = goldrush gproc lager esockd mochiweb pbkdf2 lager_syslog bcrypt
  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 emq22
  10. dep_mochiweb = git https://github.com/emqtt/mochiweb emq22
  11. dep_pbkdf2 = git https://github.com/emqtt/pbkdf2 2.0.1
  12. dep_lager_syslog = git https://github.com/basho/lager_syslog
  13. dep_bcrypt = git https://github.com/smarkets/erlang-bcrypt master
  14. ERLC_OPTS += +debug_info
  15. ERLC_OPTS += +'{parse_transform, lager_transform}'
  16. NO_AUTOPATCH = cuttlefish
  17. BUILD_DEPS = cuttlefish
  18. dep_cuttlefish = git https://github.com/emqtt/cuttlefish
  19. TEST_DEPS = emqttc
  20. dep_emqttc = git https://github.com/emqtt/emqttc
  21. TEST_ERLC_OPTS += +debug_info
  22. TEST_ERLC_OPTS += +'{parse_transform, lager_transform}'
  23. EUNIT_OPTS = verbose
  24. # EUNIT_ERL_OPTS =
  25. CT_SUITES = emqttd emqttd_access emqttd_lib emqttd_inflight emqttd_mod \
  26. emqttd_net emqttd_mqueue emqttd_protocol emqttd_topic \
  27. emqttd_trie emqttd_vm
  28. CT_OPTS = -cover test/ct.cover.spec -erl_args -name emqttd_ct@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 \
  33. -Wrace_conditions #-Wunmatched_returns
  34. include erlang.mk
  35. app:: rebar.config
  36. app.config::
  37. ./deps/cuttlefish/cuttlefish -l info -e etc/ -c etc/emq.conf -i priv/emq.schema -d data/