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