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