bb2b38cd44b032118359afbc743efbea12f48e61bnicholes#
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# CDDL HEADER START
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes#
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# The contents of this file are subject to the terms of the
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# Common Development and Distribution License (the "License").
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# You may not use this file except in compliance with the License.
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes#
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# or http://www.opensolaris.org/os/licensing.
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# See the License for the specific language governing permissions
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# and limitations under the License.
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes#
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# When distributing Covered Code, include this CDDL HEADER in each
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# If applicable, add the following below this CDDL HEADER, with the
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# fields enclosed by brackets "[]" replaced with your own identifying
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# information: Portions Copyright [yyyy] [name of copyright owner]
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes#
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# CDDL HEADER END
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes#
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes#
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesinclude ../../make-rules/shared-macros.mk
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesCOMPONENT_NAME= apr-util
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesCOMPONENT_VERSION= 1.3.9
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesCOMPONENT_PROJECT_URL= http://apr.apache.org/
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesCOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesCOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesCOMPONENT_ARCHIVE_HASH= \
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes sha256:20897069274a026057df26b90a6424da9d70318d930c99885c451d8753b8e4d9
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesCOMPONENT_ARCHIVE_URL= http://archive.apache.org/dist/apr/$(COMPONENT_ARCHIVE)
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesCOMPONENT_BUGDB= utility/apache
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesTPNO= 6137
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesCONFIGURE_DEFAULT_DIRS=no
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesinclude $(WS_MAKE_RULES)/prep.mk
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesinclude $(WS_MAKE_RULES)/configure.mk
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesinclude $(WS_MAKE_RULES)/ips.mk
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesPATCH_LEVEL=0
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesCONFIGURE_PREFIX=/usr/apr-util/1.3
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesCONFIGURE_OPTIONS += --with-mysql=/usr/mysql/5.5
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesCONFIGURE_OPTIONS += --with-expat=/usr
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesCONFIGURE_OPTIONS += --with-sqlite3=/usr
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesCONFIGURE_OPTIONS += --with-ldap=ldap_r-2.4
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesCONFIGURE_OPTIONS += --with-ldap-include=/usr/include/openldap
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesCONFIGURE_OPTIONS += --without-odbc
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesCONFIGURE_OPTIONS += CFLAGS="$(CFLAGS)"
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesCONFIGURE_OPTIONS.32 += --enable-layout=OpenSolaris
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesCONFIGURE_OPTIONS.64 += --enable-layout=OpenSolaris-$(MACH64)
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesCONFIGURE_OPTIONS.32 += --with-apr=/usr/apr/1.3/bin/apr-1-config
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesCONFIGURE_OPTIONS.64 += --with-apr=/usr/apr/1.3/bin/$(MACH64)/apr-1-config
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesCONFIGURE_OPTIONS.32 += MYSQL_CONFIG=/usr/mysql/5.5/bin/$(MACH32)/mysql_config
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesPATH=$(SPRO_VROOT)/bin:/usr/bin:/usr/gnu/bin
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesCOMPONENT_TEST_TARGETS= test
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# We need this to keep doxygen happy (for include/ and docs/ contents).
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesCOMPONENT_PRE_CONFIGURE_ACTION += ($(CLONEY) $(SOURCE_DIR) $(@D));
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# Some patches need configure script recreation.
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesCOMPONENT_PRE_CONFIGURE_ACTION += (cd $(@D); autoconf);
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# Documentation is generated in and directly packaged from 32 bit build
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# directory using doxygen.
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesPKG_PROTO_DIRS += $(BUILD_DIR)/$(MACH32)/docs/dox/html
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesPKG_PROTO_DIRS += $(BUILD_DIR)/$(MACH32)/docs/dox/html/search
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesASLR_MODE = $(ASLR_NOT_APPLICABLE)
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesdocs: $(BUILD_DIR)/$(MACH32)/.built
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes cd $(BUILD_DIR)/$(MACH32); doxygen docs/doxygen.conf
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesbuild: $(BUILD_32_and_64) docs
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesinstall: $(INSTALL_32_and_64)
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholestest: $(TEST_32_and_64)
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesREQUIRED_PACKAGES += developer/documentation-tool/doxygen
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesREQUIRED_PACKAGES += database/mysql-55/library
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesREQUIRED_PACKAGES += database/sqlite-3
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesREQUIRED_PACKAGES += library/apr-13
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesREQUIRED_PACKAGES += library/expat
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesREQUIRED_PACKAGES += library/openldap
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesREQUIRED_PACKAGES += shell/ksh93
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesREQUIRED_PACKAGES += system/library
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesREQUIRED_PACKAGES += system/library/math
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes