0N/A#
0N/A# CDDL HEADER START
0N/A#
0N/A# The contents of this file are subject to the terms of the
0N/A# Common Development and Distribution License (the "License").
0N/A# You may not use this file except in compliance with the License.
0N/A#
0N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
0N/A# or http://www.opensolaris.org/os/licensing.
0N/A# See the License for the specific language governing permissions
0N/A# and limitations under the License.
0N/A#
0N/A# When distributing Covered Code, include this CDDL HEADER in each
0N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
0N/A# If applicable, add the following below this CDDL HEADER, with the
0N/A# fields enclosed by brackets "[]" replaced with your own identifying
0N/A# information: Portions Copyright [yyyy] [name of copyright owner]
0N/A#
0N/A# CDDL HEADER END
0N/A#
0N/A# Copyright (c) 2015, Oracle and/or its affiliates. All rights reserved.
0N/A#
0N/Ainclude ../../make-rules/shared-macros.mk
0N/A
0N/ACOMPONENT_NAME= apr-util
0N/ACOMPONENT_VERSION= 1.5.4
0N/ACOMPONENT_PROJECT_URL= http://apr.apache.org/
0N/ACOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
0N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
0N/ACOMPONENT_ARCHIVE_HASH= \
0N/A sha256:976a12a59bc286d634a21d7be0841cc74289ea9077aa1af46be19d1a6e844c19
0N/ACOMPONENT_ARCHIVE_URL= http://archive.apache.org/dist/apr/$(COMPONENT_ARCHIVE)
0N/ACOMPONENT_BUGDB= utility/apache
0N/A
0N/ATPNO= 20776
0N/A
0N/ACONFIGURE_DEFAULT_DIRS=no
0N/A
0N/Ainclude $(WS_MAKE_RULES)/prep.mk
0N/Ainclude $(WS_MAKE_RULES)/configure.mk
0N/Ainclude $(WS_MAKE_RULES)/ips.mk
0N/A
0N/A# Micro version for easy libraries packaging
0N/AMICRO_VERSION:= $(shell echo $(COMPONENT_VERSION) | awk -F. '{ print $$3 }')
0N/APKG_MACROS+= MICRO_VERSION=$(MICRO_VERSION)
0N/A
0N/APATCH_LEVEL=0
0N/A
0N/ACONFIGURE_PREFIX=/usr/apr-util/1.5
0N/A
0N/ACONFIGURE_OPTIONS += --with-mysql=/usr/mysql/5.5
0N/ACONFIGURE_OPTIONS += --with-expat=/usr
0N/ACONFIGURE_OPTIONS += --with-sqlite3=/usr
0N/ACONFIGURE_OPTIONS += --with-ldap=ldap_r-2.4
0N/ACONFIGURE_OPTIONS += --with-ldap-include=/usr/include/openldap
0N/ACONFIGURE_OPTIONS += --without-odbc
0N/ACONFIGURE_OPTIONS += CFLAGS="$(CFLAGS)"
0N/ACONFIGURE_OPTIONS.32 += --enable-layout=Solaris
0N/ACONFIGURE_OPTIONS.64 += --enable-layout=Solaris-$(MACH64)
0N/ACONFIGURE_OPTIONS.32 += --with-apr=/usr/apr/1.5/bin/apr-1-config
0N/ACONFIGURE_OPTIONS.64 += --with-apr=/usr/apr/1.5/bin/$(MACH64)/apr-1-config
0N/ACONFIGURE_OPTIONS.32 += MYSQL_CONFIG=/usr/mysql/5.5/bin/$(MACH32)/mysql_config
0N/A
0N/APATH=$(SPRO_VROOT)/bin:/usr/bin:/usr/gnu/bin
0N/Aifeq ($(strip $(PARFAIT_BUILD)),yes)
0N/APATH=$(PARFAIT_TOOLS):$(SPRO_VROOT)/bin:/usr/bin:/usr/gnu/bin
0N/Aendif
0N/A
0N/ACOMPONENT_TEST_TARGETS= test
0N/A
0N/A$(INSTALL_64): COMPONENT_POST_INSTALL_ACTION += \
0N/A cd $(SOURCE_DIR); \
0N/A sed 's;OUTPUT_DIRECTORY=.*;OUTPUT_DIRECTORY=$(PROTO_DIR)$(CONFIGURE_PREFIX);' \
0N/A docs/doxygen.conf | doxygen - ;
0N/A
0N/A# Some patches need configure script recreation.
0N/ACOMPONENT_PREP_ACTION += (cd $(@D); autoconf);
0N/A
0N/AASLR_MODE = $(ASLR_NOT_APPLICABLE)
0N/A
0N/Aconfigure: $(CONFIGURE_32_and_64)
build: $(BUILD_32_and_64)
install: $(INSTALL_32_and_64)
test: $(TEST_32_and_64)
REQUIRED_PACKAGES += developer/documentation-tool/doxygen
REQUIRED_PACKAGES += database/mysql-55/library
REQUIRED_PACKAGES += database/sqlite-3
REQUIRED_PACKAGES += library/apr-15
REQUIRED_PACKAGES += library/expat
REQUIRED_PACKAGES += library/openldap
REQUIRED_PACKAGES += shell/ksh93
REQUIRED_PACKAGES += system/library
REQUIRED_PACKAGES += system/library/math