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