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