Makefile revision 4411
107N/A#
107N/A# CDDL HEADER START
107N/A#
107N/A# The contents of this file are subject to the terms of the
107N/A# Common Development and Distribution License (the "License").
107N/A# You may not use this file except in compliance with the License.
107N/A#
107N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
107N/A# or http://www.opensolaris.org/os/licensing.
107N/A# See the License for the specific language governing permissions
107N/A# and limitations under the License.
107N/A#
107N/A# When distributing Covered Code, include this CDDL HEADER in each
107N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
107N/A# If applicable, add the following below this CDDL HEADER, with the
107N/A# fields enclosed by brackets "[]" replaced with your own identifying
107N/A# information: Portions Copyright [yyyy] [name of copyright owner]
107N/A#
107N/A# CDDL HEADER END
107N/A#
107N/A
107N/A#
3996N/A# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
107N/A#
107N/A
107N/Ainclude ../../make-rules/shared-macros.mk
107N/A
107N/A# for ginstall and tail -n
107N/APATH=/usr/gnu/bin:/usr/bin
618N/A
107N/ACOMPONENT_NAME= ejabberd
107N/ACOMPONENT_VERSION= 2.1.13
844N/ACOMPONENT_PROJECT_URL= http://www.ejabberd.im/
844N/ACOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
618N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tgz
1273N/ACOMPONENT_ARCHIVE_HASH= \
107N/A sha256:a80d1c72e435da31758261cb0c04fe750ac71fc3e33a3b606123efd3b3abc86d
3661N/ACOMPONENT_ARCHIVE_URL= http://www.process-one.net/downloads/ejabberd/$(COMPONENT_VERSION)/$(COMPONENT_ARCHIVE)
3661N/ACOMPONENT_BUGDB= service/ejabberd
2601N/ATPNO= 21408
2601N/A
3996N/Ainclude $(WS_MAKE_RULES)/prep.mk
3996N/A
3996N/A
107N/Ainclude $(WS_MAKE_RULES)/configure.mk
107N/Ainclude $(WS_MAKE_RULES)/ips.mk
107N/A
107N/ACOMPONENT_PREP_ACTION = \
107N/A (cd $(@D)/src ; PATH=$(PATH) $(AUTORECONF) -fiv)
107N/A
107N/ACONFIGURE_SCRIPT = $(SOURCE_DIR)/src/configure
107N/ABUILD_DIR_64 = $(BUILD_DIR)/$(MACH64)/src
107N/A$(BUILD_DIR_64)/.configured: BITS=64
107N/A$(BUILD_DIR_64)/.built: BITS=64
107N/A$(BUILD_DIR_64)/.installed: BITS=64
107N/ACOMPONENT_PRE_CONFIGURE_ACTION = \
107N/A ($(CLONEY) $(SOURCE_DIR) $(BUILD_DIR)/$(MACH64))
107N/A
107N/ACONFIGURE_BINDIR.64 = $(CONFIGURE_BINDIR.32)
107N/ACONFIGURE_SBINDIR.64 = $(CONFIGURE_SBINDIR.32)
107N/A
107N/ACONFIGURE_OPTIONS += CFLAGS="$(CFLAGS)"
107N/ACONFIGURE_OPTIONS += LDFLAGS="$(LDFLAGS)"
107N/ACONFIGURE_OPTIONS += --sysconfdir=$(ETCDIR)
107N/ACONFIGURE_OPTIONS += --with-erlang=$(USRBINDIR)
151N/ACONFIGURE_OPTIONS += --localstatedir=/var
107N/ACONFIGURE_OPTIONS += --enable-odbc
2601N/A
2601N/ACOMPONENT_BUILD_TARGETS = all
107N/A
2601N/A
107N/AASLR_MODE = $(ASLR_NOT_APPLICABLE)
2601N/A
181N/Abuild: $(BUILD_64)
181N/A
107N/Ainstall: $(INSTALL_64)
107N/A
3996N/Atest: $(NO_TESTS)
4065N/A
REQUIRED_PACKAGES += library/expat
REQUIRED_PACKAGES += library/security/openssl
REQUIRED_PACKAGES += library/zlib
REQUIRED_PACKAGES += shell/ksh93
REQUIRED_PACKAGES += system/core-os
REQUIRED_PACKAGES += system/library
REQUIRED_PACKAGES += system/network