5cd4555ad444fd391002ae32450572054369fd42Rob Austein# CDDL HEADER START
d4ef65050feac78554addf6e16a06c6e2e0bd331Brian Wellington# The contents of this file are subject to the terms of the
39844d471080b2de4f8bb9d81f7e136ef80f0ae2Automatic Updater# Common Development and Distribution License (the "License").
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews# You may not use this file except in compliance with the License.
ec5347e2c775f027573ce5648b910361aa926c01Automatic Updater# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
d4ef65050feac78554addf6e16a06c6e2e0bd331Brian Wellington# or http://www.opensolaris.org/os/licensing.
d4ef65050feac78554addf6e16a06c6e2e0bd331Brian Wellington# See the License for the specific language governing permissions
d4ef65050feac78554addf6e16a06c6e2e0bd331Brian Wellington# and limitations under the License.
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews# When distributing Covered Code, include this CDDL HEADER in each
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews# If applicable, add the following below this CDDL HEADER, with the
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews# fields enclosed by brackets "[]" replaced with your own identifying
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews# information: Portions Copyright [yyyy] [name of copyright owner]
d4ef65050feac78554addf6e16a06c6e2e0bd331Brian Wellington# CDDL HEADER END
c00929ed9f5234a0f2d79bd338fa931de85f4bb2Evan Hunt# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
0b062f4990db5cc6db2fe3398926f71b92a67407Brian WellingtonCOMPONENT_PROJECT_URL= http://apr.apache.org/
0b062f4990db5cc6db2fe3398926f71b92a67407Brian WellingtonCOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
0b062f4990db5cc6db2fe3398926f71b92a67407Brian Wellington sha256:20897069274a026057df26b90a6424da9d70318d930c99885c451d8753b8e4d9
0b062f4990db5cc6db2fe3398926f71b92a67407Brian WellingtonCOMPONENT_ARCHIVE_URL= http://archive.apache.org/dist/apr/$(COMPONENT_ARCHIVE)
268a4475065fe6a8cd7cc707820982cf5e98f430Rob AusteinCONFIGURE_OPTIONS += --with-ldap-include=/usr/include/openldap
268a4475065fe6a8cd7cc707820982cf5e98f430Rob AusteinCONFIGURE_OPTIONS.32 += --enable-layout=OpenSolaris
268a4475065fe6a8cd7cc707820982cf5e98f430Rob AusteinCONFIGURE_OPTIONS.64 += --enable-layout=OpenSolaris-$(MACH64)
268a4475065fe6a8cd7cc707820982cf5e98f430Rob AusteinCONFIGURE_OPTIONS.32 += --with-apr=/usr/apr/1.3/bin/apr-1-config
0b062f4990db5cc6db2fe3398926f71b92a67407Brian WellingtonCONFIGURE_OPTIONS.64 += --with-apr=/usr/apr/1.3/bin/$(MACH64)/apr-1-config
0b062f4990db5cc6db2fe3398926f71b92a67407Brian WellingtonCONFIGURE_OPTIONS.32 += MYSQL_CONFIG=/usr/mysql/5.5/bin/$(MACH32)/mysql_config
0b062f4990db5cc6db2fe3398926f71b92a67407Brian WellingtonPATH=$(SPRO_VROOT)/bin:/usr/bin:/usr/gnu/bin
0b062f4990db5cc6db2fe3398926f71b92a67407Brian Wellington# We need this to keep doxygen happy (for include/ and docs/ contents).
0b062f4990db5cc6db2fe3398926f71b92a67407Brian WellingtonCOMPONENT_PRE_CONFIGURE_ACTION += ($(CLONEY) $(SOURCE_DIR) $(@D));
0b062f4990db5cc6db2fe3398926f71b92a67407Brian Wellington# Some patches need configure script recreation.
553ead32ff5b00284e574dcabc39115d4d74ec66Evan HuntCOMPONENT_PRE_CONFIGURE_ACTION += (cd $(@D); autoconf);
50105afc551903541608b11851d73278b23579a3Mark Andrews# Documentation is generated in and directly packaged from 32 bit build
0b062f4990db5cc6db2fe3398926f71b92a67407Brian Wellington# directory using doxygen.
e174044290953a2499f574e35cc9c22ba126a303Mark AndrewsPKG_PROTO_DIRS += $(BUILD_DIR)/$(MACH32)/docs/dox/html
6e8a8077faf96d8da0b6cf738913f5f1f86e4008Mark AndrewsPKG_PROTO_DIRS += $(BUILD_DIR)/$(MACH32)/docs/dox/html/search
2534a73a5914470f7ffe00663b6bbaff5e411e57Mark Andrews cd $(BUILD_DIR)/$(MACH32); doxygen docs/doxygen.conf