bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# CDDL HEADER START
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# The contents of this file are subject to the terms of the
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# Common Development and Distribution License (the "License").
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# You may not use this file except in compliance with the License.
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# See the License for the specific language governing permissions
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# and limitations under the License.
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# When distributing Covered Code, include this CDDL HEADER in each
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# If applicable, add the following below this CDDL HEADER, with the
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# fields enclosed by brackets "[]" replaced with your own identifying
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# information: Portions Copyright [yyyy] [name of copyright owner]
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# CDDL HEADER END
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesCOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes sha256:20897069274a026057df26b90a6424da9d70318d930c99885c451d8753b8e4d9
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesCOMPONENT_ARCHIVE_URL= http://archive.apache.org/dist/apr/$(COMPONENT_ARCHIVE)
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesCONFIGURE_OPTIONS += --with-ldap-include=/usr/include/openldap
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesCONFIGURE_OPTIONS.32 += --enable-layout=OpenSolaris
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesCONFIGURE_OPTIONS.64 += --enable-layout=OpenSolaris-$(MACH64)
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesCONFIGURE_OPTIONS.32 += --with-apr=/usr/apr/1.3/bin/apr-1-config
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesCONFIGURE_OPTIONS.64 += --with-apr=/usr/apr/1.3/bin/$(MACH64)/apr-1-config
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesCONFIGURE_OPTIONS.32 += MYSQL_CONFIG=/usr/mysql/5.5/bin/$(MACH32)/mysql_config
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# We need this to keep doxygen happy (for include/ and docs/ contents).
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesCOMPONENT_PRE_CONFIGURE_ACTION += ($(CLONEY) $(SOURCE_DIR) $(@D));
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# Some patches need configure script recreation.
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesCOMPONENT_PRE_CONFIGURE_ACTION += (cd $(@D); autoconf);
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# Documentation is generated in and directly packaged from 32 bit build
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# directory using doxygen.
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesPKG_PROTO_DIRS += $(BUILD_DIR)/$(MACH32)/docs/dox/html
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesPKG_PROTO_DIRS += $(BUILD_DIR)/$(MACH32)/docs/dox/html/search
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes cd $(BUILD_DIR)/$(MACH32); doxygen docs/doxygen.conf