Makefile 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. PROJECT = emqttd
  2. PROJECT_DESCRIPTION = Erlang MQTT Broker
  3. PROJECT_VERSION = 3.0
  4. DEPS = gproc lager gen_logger esockd mochiweb getopt pbkdf2 \
  5. clique time_compat rand_compat
  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_gen_logger = git https://github.com/emqtt/gen_logger
  10. dep_esockd = git https://github.com/emqtt/esockd emq20
  11. dep_mochiweb = git https://github.com/emqtt/mochiweb
  12. dep_clique = git https://github.com/basho/clique
  13. dep_pbkdf2 = git https://github.com/basho/erlang-pbkdf2 2.0.0
  14. dep_time_compat = git https://github.com/lasp-lang/time_compat
  15. dep_rand_compat = git https://github.com/lasp-lang/rand_compat
  16. TEST_DEPS = cuttlefish
  17. dep_cuttlefish = git https://github.com/emqtt/cuttlefish
  18. ERLC_OPTS += +'{parse_transform, lager_transform}'
  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_mod emqttd_net \
  24. emqttd_mqueue emqttd_protocol emqttd_topic emqttd_trie \
  25. 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. cuttlefish -l info -e etc/ -c etc/emq.conf -i priv/emq.schema -d data/