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