Makefile revision 3661
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#
2695N/A# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
353N/A#
353N/A
353N/Ainclude ../../make-rules/shared-macros.mk
353N/A
2695N/A# for ginstall and tail -n
2695N/APATH=/usr/gnu/bin:/usr/bin
353N/A
353N/ACOMPONENT_NAME= ejabberd
2695N/ACOMPONENT_VERSION= 2.1.13
618N/ACOMPONENT_PROJECT_URL= http://www.ejabberd.im/
353N/ACOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
2695N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tgz
844N/ACOMPONENT_ARCHIVE_HASH= \
2695N/A sha256:a80d1c72e435da31758261cb0c04fe750ac71fc3e33a3b606123efd3b3abc86d
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/A
353N/Ainclude ../../make-rules/configure.mk
353N/Ainclude ../../make-rules/ips.mk
353N/A
2695N/ACONFIGURE_SCRIPT = $(SOURCE_DIR)/src/configure
2695N/ABUILD_DIR_64 = $(BUILD_DIR)/$(MACH64)/src
2695N/ACOMPONENT_PRE_CONFIGURE_ACTION = \
2695N/A ($(CLONEY) $(SOURCE_DIR) $(BUILD_DIR)/$(MACH64))
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
2695N/ACONFIGURE_OPTIONS += --enable-odbc
353N/A
2695N/ACOMPONENT_BUILD_TARGETS = all
2695N/A
353N/A
2695N/AASLR_MODE = $(ASLR_NOT_APPLICABLE)
353N/A
2695N/Abuild: $(BUILD_64)
353N/A
2695N/Ainstall: $(INSTALL_64)
353N/A
353N/Atest: $(NO_TESTS)
353N/A
353N/ABUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
353N/A
353N/Ainclude ../../make-rules/depend.mk