summaryrefslogtreecommitdiff
path: root/deps/rabbitmq_auth_backend_cache/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'deps/rabbitmq_auth_backend_cache/Makefile')
-rw-r--r--deps/rabbitmq_auth_backend_cache/Makefile32
1 files changed, 32 insertions, 0 deletions
diff --git a/deps/rabbitmq_auth_backend_cache/Makefile b/deps/rabbitmq_auth_backend_cache/Makefile
new file mode 100644
index 0000000000..1b7d375828
--- /dev/null
+++ b/deps/rabbitmq_auth_backend_cache/Makefile
@@ -0,0 +1,32 @@
+PROJECT = rabbitmq_auth_backend_cache
+PROJECT_DESCRIPTION = RabbitMQ Authentication Backend cache
+PROJECT_MOD = rabbit_auth_backend_cache_app
+
+define PROJECT_ENV
+[
+ {cache_ttl, 15000},
+ {cache_module, rabbit_auth_cache_ets},
+ {cache_module_args, []},
+ {cached_backend, rabbit_auth_backend_internal},
+ {cache_refusals, false}
+ ]
+endef
+
+define PROJECT_APP_EXTRA_KEYS
+ {broker_version_requirements, []}
+endef
+
+DEPS = rabbit_common rabbit
+TEST_DEPS = rabbitmq_ct_helpers rabbitmq_ct_client_helpers
+
+DEP_EARLY_PLUGINS = rabbit_common/mk/rabbitmq-early-plugin.mk
+DEP_PLUGINS = rabbit_common/mk/rabbitmq-plugin.mk
+
+# FIXME: Use erlang.mk patched for RabbitMQ, while waiting for PRs to be
+# reviewed and merged.
+
+ERLANG_MK_REPO = https://github.com/rabbitmq/erlang.mk.git
+ERLANG_MK_COMMIT = rabbitmq-tmp
+
+include rabbitmq-components.mk
+include erlang.mk