Makefile revision 2667
2667N/A#
2667N/A# CDDL HEADER START
2667N/A#
2667N/A# The contents of this file are subject to the terms of the
2667N/A# Common Development and Distribution License (the "License").
2667N/A# You may not use this file except in compliance with the License.
2667N/A#
2667N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
2667N/A# or http://www.opensolaris.org/os/licensing.
2667N/A# See the License for the specific language governing permissions
2667N/A# and limitations under the License.
2667N/A#
2667N/A# When distributing Covered Code, include this CDDL HEADER in each
2667N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
2667N/A# If applicable, add the following below this CDDL HEADER, with the
2667N/A# fields enclosed by brackets "[]" replaced with your own identifying
2667N/A# information: Portions Copyright [yyyy] [name of copyright owner]
2667N/A#
2667N/A# CDDL HEADER END
2667N/A#
2667N/A# Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved.
2667N/A#
2667N/Ainclude ../../make-rules/shared-macros.mk
2667N/A
2667N/ACOMPONENT_NAME= apr-util
2667N/ACOMPONENT_VERSION= 1.5.3
2667N/ACOMPONENT_PROJECT_URL= http://apr.apache.org/
2667N/ACOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
2667N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
2667N/ACOMPONENT_ARCHIVE_HASH= \
2667N/A sha256:76db34cb508e346e3bf69347c29ed1500bf0b71bcc48d54271ad9d1c25703743
2667N/ACOMPONENT_ARCHIVE_URL= http://archive.apache.org/dist/apr/$(COMPONENT_ARCHIVE)
2667N/ACOMPONENT_BUGDB= utility/apache
2667N/A
2667N/ACONFIGURE_DEFAULT_DIRS=no
2667N/A
2667N/Ainclude ../../make-rules/prep.mk
2667N/Ainclude ../../make-rules/configure.mk
2667N/Ainclude ../../make-rules/ips.mk
2667N/A
2667N/APATCH_LEVEL=0
2667N/A
2667N/ACONFIGURE_PREFIX=/usr/apr-util/1.5
2667N/A
2667N/ACONFIGURE_OPTIONS += --with-mysql=/usr/mysql/5.5
2667N/ACONFIGURE_OPTIONS += --with-expat=/usr
2667N/ACONFIGURE_OPTIONS += --with-sqlite3=/usr
2667N/ACONFIGURE_OPTIONS += --with-ldap=ldap_r-2.4
2667N/ACONFIGURE_OPTIONS += --with-ldap-include=/usr/include/openldap
2667N/ACONFIGURE_OPTIONS += --without-odbc
2667N/ACONFIGURE_OPTIONS += CFLAGS="$(CFLAGS)"
2667N/ACONFIGURE_OPTIONS.32 += --enable-layout=Solaris
2667N/ACONFIGURE_OPTIONS.64 += --enable-layout=Solaris-$(MACH64)
2667N/ACONFIGURE_OPTIONS.32 += --with-apr=/usr/apr/1.5/bin/apr-1-config
2667N/ACONFIGURE_OPTIONS.64 += --with-apr=/usr/apr/1.5/bin/$(MACH64)/apr-1-config
2667N/ACONFIGURE_OPTIONS.32 += MYSQL_CONFIG=/usr/mysql/5.5/bin/$(MACH32)/mysql_config
2667N/A
2667N/APATH=$(SPRO_VROOT)/bin:/usr/bin:/usr/gnu/bin
2667N/Aifeq ($(strip $(PARFAIT_BUILD)),yes)
2667N/APATH=$(PARFAIT_TOOLS):$(SPRO_VROOT)/bin:/usr/bin:/usr/gnu/bin
2667N/Aendif
2667N/A
2667N/ACOMPONENT_TEST_TARGETS= test
2667N/A
2667N/A$(INSTALL_64): COMPONENT_POST_INSTALL_ACTION += \
2667N/A cd $(SOURCE_DIR); \
2667N/A sed 's;OUTPUT_DIRECTORY=.*;OUTPUT_DIRECTORY=$(PROTO_DIR)$(CONFIGURE_PREFIX);' \
2667N/A docs/doxygen.conf | doxygen - ;
2667N/A
2667N/A# Some patches need configure script recreation.
2667N/ACOMPONENT_PREP_ACTION += (cd $(@D); autoconf);
2667N/A
2667N/AASLR_MODE = $(ASLR_NOT_APPLICABLE)
2667N/A
2667N/Abuild: $(BUILD_32_and_64)
2667N/A
2667N/Ainstall: $(INSTALL_32_and_64)
2667N/A
2667N/Atest: $(TEST_32_and_64)
2667N/A
2667N/ABUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
2667N/A
2667N/Ainclude ../../make-rules/depend.mk