Makefile revision 1273
4070N/A#
4070N/A# CDDL HEADER START
4070N/A#
4070N/A# The contents of this file are subject to the terms of the
4070N/A# Common Development and Distribution License (the "License").
4070N/A# You may not use this file except in compliance with the License.
4070N/A#
4070N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
4070N/A# or http://www.opensolaris.org/os/licensing.
4070N/A# See the License for the specific language governing permissions
4070N/A# and limitations under the License.
4070N/A#
4070N/A# When distributing Covered Code, include this CDDL HEADER in each
4070N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
4070N/A# If applicable, add the following below this CDDL HEADER, with the
4070N/A# fields enclosed by brackets "[]" replaced with your own identifying
4070N/A# information: Portions Copyright [yyyy] [name of copyright owner]
4070N/A#
4070N/A# CDDL HEADER END
4070N/A#
4070N/A
4070N/A#
6033N/A# Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
4070N/A#
4070N/A
4070N/Ainclude ../../make-rules/shared-macros.mk
4070N/A
4070N/APATH=/usr/xpg4/bin:/usr/bin
6033N/A
4070N/ACOMPONENT_NAME= ejabberd
4070N/ACOMPONENT_VERSION= 2.1.8
4070N/ACOMPONENT_PROJECT_URL= http://www.ejabberd.im/
6033N/ACOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
4070N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
4070N/ACOMPONENT_ARCHIVE_HASH= \
4070N/A sha256:dedf7684f9e96efbbc12f08f175096ef50b3f75b284bd27d172eaf75cecded7f
4070N/ACOMPONENT_ARCHIVE_URL= http://www.process-one.net/downloads/ejabberd/$(COMPONENT_VERSION)/$(COMPONENT_ARCHIVE)
6033N/ACOMPONENT_BUGDB= utility/ejabberd
4070N/A
4070N/Ainclude ../../make-rules/prep.mk
4070N/A
4070N/ASRC_OFFSET = src
4070N/A# Now we override paths to .built
4070N/ABUILD_DIR_32 = $(BUILD_DIR)/$(MACH32)/$(SRC_OFFSET)
4070N/A
4070N/Ainclude ../../make-rules/configure.mk
4070N/Ainclude ../../make-rules/ips.mk
4070N/A
4070N/A# tail with -n is needed
4070N/ACONFIGURE_ENV += "PATH=/usr/xpg4/bin:/usr/bin"
4070N/A
4070N/ACONFIGURE_OPTIONS += CFLAGS="$(CFLAGS)"
4070N/ACONFIGURE_OPTIONS += LDFLAGS="$(LDFLAGS)"
CONFIGURE_OPTIONS += --sysconfdir=$(ETCDIR)
CONFIGURE_OPTIONS += --with-erlang=$(USRBINDIR)
CONFIGURE_OPTIONS += --localstatedir=/var
COMPONENT_PRE_CONFIGURE_ACTION = \
($(CLONEY) $(SOURCE_DIR) $(BUILD_DIR)/$(MACH32))
CONFIGURE_SCRIPT = ./configure
build: $(BUILD_32)
install: $(INSTALL_32)
test: $(NO_TESTS)
BUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
include ../../make-rules/depend.mk