Makefile revision 618
38dc50ae00a1ea57fa41500d74f4e818747e3cefpquerna#
7d5ac94fda90b837211dadf2585c0fe8c5dc3e5djerenkrantz# CDDL HEADER START
c330021bf3f45cbf187fa644781e67f7e470a58awrowe#
ecf8d72af432e53e4c0661fb99dfda8061507bfajerenkrantz# The contents of this file are subject to the terms of the
62f7716b14b71603a8004434ca3536902bfb8899wrowe# Common Development and Distribution License (the "License").
366616a5cc6212cbf7134ccf877f965d668c6b04wrowe# You may not use this file except in compliance with the License.
366616a5cc6212cbf7134ccf877f965d668c6b04wrowe#
366616a5cc6212cbf7134ccf877f965d668c6b04wrowe# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
366616a5cc6212cbf7134ccf877f965d668c6b04wrowe# or http://www.opensolaris.org/os/licensing.
366616a5cc6212cbf7134ccf877f965d668c6b04wrowe# See the License for the specific language governing permissions
366616a5cc6212cbf7134ccf877f965d668c6b04wrowe# and limitations under the License.
366616a5cc6212cbf7134ccf877f965d668c6b04wrowe#
366616a5cc6212cbf7134ccf877f965d668c6b04wrowe# When distributing Covered Code, include this CDDL HEADER in each
366616a5cc6212cbf7134ccf877f965d668c6b04wrowe# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
366616a5cc6212cbf7134ccf877f965d668c6b04wrowe# If applicable, add the following below this CDDL HEADER, with the
366616a5cc6212cbf7134ccf877f965d668c6b04wrowe# fields enclosed by brackets "[]" replaced with your own identifying
366616a5cc6212cbf7134ccf877f965d668c6b04wrowe# information: Portions Copyright [yyyy] [name of copyright owner]
366616a5cc6212cbf7134ccf877f965d668c6b04wrowe#
366616a5cc6212cbf7134ccf877f965d668c6b04wrowe# CDDL HEADER END
366616a5cc6212cbf7134ccf877f965d668c6b04wrowe#
366616a5cc6212cbf7134ccf877f965d668c6b04wrowe
38dc50ae00a1ea57fa41500d74f4e818747e3cefpquerna#
366616a5cc6212cbf7134ccf877f965d668c6b04wrowe# Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved.
ecf8d72af432e53e4c0661fb99dfda8061507bfajerenkrantz#
ecf8d72af432e53e4c0661fb99dfda8061507bfajerenkrantz
80464b326874ee15d74742ae39708ec3f2eae1d7wroweinclude ../../make-rules/shared-macros.mk
80464b326874ee15d74742ae39708ec3f2eae1d7wrowe
38dc50ae00a1ea57fa41500d74f4e818747e3cefpquernaPATH=/usr/xpg4/bin:/usr/bin
05801a95f5ddbe2a77bbfbf5e97b44783c28b9cajim
05801a95f5ddbe2a77bbfbf5e97b44783c28b9cajimCOMPONENT_NAME= ejabberd
e78a2d4c8d5d194c57e70dd7b6c7711eb358fa2bjimCOMPONENT_VERSION= 2.1.8
53e66a2931d02e84628ba946055cc92e56b43db8wroweCOMPONENT_PROJECT_URL= http://www.ejabberd.im/
53e66a2931d02e84628ba946055cc92e56b43db8wroweCOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
cd365a1ad6798c1faef19b445c00ae97eb94a234pquernaCOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
6507aa1a5709a9122f2e0b9be8bb9bd6d78715c3pquernaCOMPONENT_ARCHIVE_HASH= sha1:3f8ecc944e0719577bfc45a68e974b1945ffa296
6507aa1a5709a9122f2e0b9be8bb9bd6d78715c3pquernaCOMPONENT_ARCHIVE_URL= http://www.process-one.net/downloads/ejabberd/$(COMPONENT_VERSION)/$(COMPONENT_ARCHIVE)
b6c98ce4a43f123af0a691fd7b833efcf0ce1d6apquerna
af4c982a7cf4515f124935f99a329744035fc699sliveinclude ../../make-rules/prep.mk
f610c7c704235bc327dbe9b62982f5b3f8e30a77wrowe
f610c7c704235bc327dbe9b62982f5b3f8e30a77wroweSRC_OFFSET = src
9e86ff266f053757dd96dab7cf4bc53aaaaa583ewrowe# Now we override paths to .built
d96ee8cda2799e1f2743c1603adeb4833ed0e15fsliveBUILD_DIR_32 = $(BUILD_DIR)/$(MACH32)/$(SRC_OFFSET)
9e86ff266f053757dd96dab7cf4bc53aaaaa583ewrowe
ecf8d72af432e53e4c0661fb99dfda8061507bfajerenkrantzinclude ../../make-rules/configure.mk
9e86ff266f053757dd96dab7cf4bc53aaaaa583ewroweinclude ../../make-rules/ips.mk
ecf8d72af432e53e4c0661fb99dfda8061507bfajerenkrantz
9e86ff266f053757dd96dab7cf4bc53aaaaa583ewrowe# tail with -n is needed
ecf8d72af432e53e4c0661fb99dfda8061507bfajerenkrantzCONFIGURE_ENV += "PATH=/usr/xpg4/bin:/usr/bin"
9e86ff266f053757dd96dab7cf4bc53aaaaa583ewrowe
d96ee8cda2799e1f2743c1603adeb4833ed0e15fsliveCONFIGURE_OPTIONS += CFLAGS="$(CFLAGS)"
9e86ff266f053757dd96dab7cf4bc53aaaaa583ewroweCONFIGURE_OPTIONS += LDFLAGS="$(LDFLAGS)"
f610c7c704235bc327dbe9b62982f5b3f8e30a77wroweCONFIGURE_OPTIONS += --sysconfdir=$(ETCDIR)
62f7716b14b71603a8004434ca3536902bfb8899wroweCONFIGURE_OPTIONS += --with-erlang=$(USRBINDIR)
4b62424416882687387923b3130b96241503cbe0jerenkrantzCONFIGURE_OPTIONS += --localstatedir=/var
5ca8e11fadb6f7a8d9d0367c1800205c99d4bcd6jerenkrantz
62f7716b14b71603a8004434ca3536902bfb8899wroweCOMPONENT_PRE_CONFIGURE_ACTION = \
45b0e1c775c1cfed6473c9e5304179ccb9609f53stoddard ($(CLONEY) $(SOURCE_DIR) $(BUILD_DIR)/$(MACH32))
dbec4658981e4f9127e8676457c28d42932be7cdtrawick
a74ee4396fe11ffc1ca05837a59e497c905eedc3sfCONFIGURE_SCRIPT = ./configure
a74ee4396fe11ffc1ca05837a59e497c905eedc3sf
e84aedcb9f389f94263ca602b1f6c36e3575699bsfbuild: $(BUILD_32)
e84aedcb9f389f94263ca602b1f6c36e3575699bsf
e84aedcb9f389f94263ca602b1f6c36e3575699bsfinstall: $(INSTALL_32)
e84aedcb9f389f94263ca602b1f6c36e3575699bsf
e84aedcb9f389f94263ca602b1f6c36e3575699bsftest: $(NO_TESTS)
e1c6982304adafcec09d2627755be15b87a6b425sf
e1c6982304adafcec09d2627755be15b87a6b425sfBUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
e1c6982304adafcec09d2627755be15b87a6b425sf
53b314ccdbbfe0a4e37f4717ad9f125f6368e40esfinclude ../../make-rules/depend.mk
e1c6982304adafcec09d2627755be15b87a6b425sf