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