Makefile revision 6033
2058N/A#
2058N/A# CDDL HEADER START
2058N/A#
2058N/A# The contents of this file are subject to the terms of the
2058N/A# Common Development and Distribution License (the "License").
2058N/A# You may not use this file except in compliance with the License.
2058N/A#
2058N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
2058N/A# or http://www.opensolaris.org/os/licensing.
2058N/A# See the License for the specific language governing permissions
2058N/A# and limitations under the License.
2058N/A#
2058N/A# When distributing Covered Code, include this CDDL HEADER in each
2058N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
2058N/A# If applicable, add the following below this CDDL HEADER, with the
2058N/A# fields enclosed by brackets "[]" replaced with your own identifying
2058N/A# information: Portions Copyright [yyyy] [name of copyright owner]
2058N/A#
2058N/A# CDDL HEADER END
2058N/A#
2058N/A
2058N/A#
6033N/A# Copyright (c) 2013, 2016, Oracle and/or its affiliates. All rights reserved.
2058N/A#
2058N/A
2058N/Ainclude ../../make-rules/shared-macros.mk
2058N/A
6033N/APATH=/usr/gnu/bin:/usr/bin:/usr/sbin
6033N/A
2058N/ACOMPONENT_NAME= rabbitmq-server
6033N/ACOMPONENT_VERSION= 3.5.6
2058N/ACOMPONENT_PROJECT_URL= http://www.rabbitmq.com/
2058N/ACOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
2058N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
2058N/ACOMPONENT_ARCHIVE_HASH= \
6033N/A sha256:24be1433234112db391e0c5ef32bfb2ca111e51b2e57998cc0f3d97ba361671f
2058N/ACOMPONENT_ARCHIVE_URL= $(COMPONENT_PROJECT_URL)/releases/$(COMPONENT_NAME)/v$(COMPONENT_VERSION)/$(COMPONENT_ARCHIVE)
2058N/ACOMPONENT_BUGDB= service/rabbitmq
2058N/A
6033N/ATPNO= 25764
3661N/A
3996N/Ainclude $(WS_MAKE_RULES)/prep.mk
3996N/Ainclude $(WS_MAKE_RULES)/justmake.mk
3996N/Ainclude $(WS_MAKE_RULES)/ips.mk
2058N/A
2058N/AASLR_MODE = $(ASLR_NOT_APPLICABLE)
2058N/A
2058N/ACOMPONENT_PRE_CONFIGURE_ACTION = ($(CLONEY) $(SOURCE_DIR) $(@D))
2058N/A
2058N/APKG_PROTO_DIRS += $(BUILD_DIR)/$(MACH32)
2058N/A
6033N/ACOMPONENT_INSTALL_ENV += TARGET_DIR=$(PROTO_DIR)
6033N/ACOMPONENT_INSTALL_ENV += SBIN_DIR=$(PROTO_DIR)/usr/sbin
6033N/ACOMPONENT_INSTALL_ENV += MAN_DIR=$(PROTO_DIR)/usr/share/man
6033N/A
6033N/A# We delegate the running of the tests to a script because it's easier to find
6033N/A# and use unique free ports in a single process, and it's easier to make sure
6033N/A# that we don't leave any servers running if the tests themselves fail.
6033N/ACOMPONENT_TEST_DIR = $(COMPONENT_DIR)
6033N/ACOMPONENT_TEST_CMD = $(PYTHON)
6033N/ACOMPONENT_TEST_TARGETS = test.py $(TEST_32)
6033N/A
2058N/A# common targets
2058N/Abuild: $(BUILD_32)
2058N/A
6033N/Ainstall: $(INSTALL_32)
2058N/A
2058N/Atest: $(TEST_32)
2058N/A
2058N/A
2058N/APKG_PROTO_DIRS += $(COMPONENT_DIR)/files
2058N/A
6033N/AREQUIRED_PACKAGES += compress/zip
3996N/AREQUIRED_PACKAGES += runtime/erlang
6033N/AREQUIRED_PACKAGES += shell/bash
3996N/AREQUIRED_PACKAGES += shell/ksh93
6033N/A