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