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