Update rabbitmq-components.mk

This commit is contained in:
Jean-Sébastien Pédron 2015-11-02 10:20:51 +01:00
parent f2cbcea383
commit d915f07232
1 changed files with 0 additions and 40 deletions

View File

@ -126,46 +126,6 @@ define dep_fetch_git_rmq
1>&2 && false) )
endef
# --------------------------------------------------------------------
# Component usage.
# --------------------------------------------------------------------
# We need to pass the location of codegen to the Java client ant
# process.
CODEGEN_DIR = $(DEPS_DIR)/rabbitmq_codegen
PYTHONPATH = $(CODEGEN_DIR)
export PYTHONPATH
ANT ?= ant
ANT_FLAGS += -Dmake.bin=$(MAKE) \
-DUMBRELLA_AVAILABLE=true \
-Drabbitmqctl.bin=$(RABBITMQCTL) \
-Dsibling.codegen.dir=$(CODEGEN_DIR)
ifeq ($(PROJECT),rabbitmq_test)
ANT_FLAGS += -Dsibling.rabbitmq_test.dir=$(CURDIR)
else
ANT_FLAGS += -Dsibling.rabbitmq_test.dir=$(DEPS_DIR)/rabbitmq_test
endif
export ANT ANT_FLAGS
ifeq ($(PROJECT),rabbit)
RABBITMQ_SCRIPTS_DIR ?= $(CURDIR)/scripts
else
RABBITMQ_SCRIPTS_DIR ?= $(DEPS_DIR)/rabbit/scripts
endif
ifeq ($(shell uname -o),Msys)
RABBITMQ_PLUGINS ?= $(RABBITMQ_SCRIPTS_DIR)/rabbitmq-plugins.bat
RABBITMQ_SERVER ?= $(RABBITMQ_SCRIPTS_DIR)/rabbitmq-server.bat
RABBITMQCTL ?= $(RABBITMQ_SCRIPTS_DIR)/rabbitmqctl.bat
else
RABBITMQ_PLUGINS ?= $(RABBITMQ_SCRIPTS_DIR)/rabbitmq-plugins
RABBITMQ_SERVER ?= $(RABBITMQ_SCRIPTS_DIR)/rabbitmq-server
RABBITMQCTL ?= $(RABBITMQ_SCRIPTS_DIR)/rabbitmqctl
endif
export RABBITMQ_SCRIPTS_DIR RABBITMQCTL RABBITMQ_PLUGINS
# --------------------------------------------------------------------
# Component distribution.
# --------------------------------------------------------------------