Makefile 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. PROJECT = emqttd
  2. PROJECT_DESCRIPTION = Erlang MQTT Broker
  3. PROJECT_VERSION = 2.2
  4. DEPS = goldrush gproc lager esockd mochiweb pbkdf2 lager_syslog
  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. ERLC_OPTS += +'{parse_transform, lager_transform}'
  14. NO_AUTOPATCH = cuttlefish
  15. BUILD_DEPS = cuttlefish
  16. dep_cuttlefish = git https://github.com/emqtt/cuttlefish
  17. TEST_DEPS = emqttc
  18. dep_emqttc = git https://github.com/emqtt/emqttc
  19. TEST_ERLC_OPTS += +debug_info
  20. TEST_ERLC_OPTS += +'{parse_transform, lager_transform}'
  21. EUNIT_OPTS = verbose
  22. # EUNIT_ERL_OPTS =
  23. CT_SUITES = emqttd emqttd_access emqttd_lib emqttd_inflight emqttd_mod \
  24. emqttd_net emqttd_mqueue emqttd_protocol emqttd_topic \
  25. emqttd_trie emqttd_vm
  26. CT_OPTS = -cover test/ct.cover.spec -erl_args -name emqttd_ct@127.0.0.1
  27. COVER = true
  28. include erlang.mk
  29. app:: rebar.config
  30. app.config::
  31. ./deps/cuttlefish/cuttlefish -l info -e etc/ -c etc/emq.conf -i priv/emq.schema -d data/