5cd4555ad444fd391002ae32450572054369fd42Rob Austein#
5cd4555ad444fd391002ae32450572054369fd42Rob Austein# CDDL HEADER START
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein#
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.
d4ef65050feac78554addf6e16a06c6e2e0bd331Brian Wellington#
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#
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]
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews#
d4ef65050feac78554addf6e16a06c6e2e0bd331Brian Wellington# CDDL HEADER END
f5d30e2864e048a42c4dc1134993ae7efdb5d6c3Mark Andrews#
c00929ed9f5234a0f2d79bd338fa931de85f4bb2Evan Hunt# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
b5ad6dfea4cc3e7d1d322ac99f1e5a31096837c4Mark Andrews#
0b062f4990db5cc6db2fe3398926f71b92a67407Brian Wellingtoninclude ../../make-rules/shared-macros.mk
6a550cb83cc2196f8af0592a258f75985cdcb5ebJeremy Reed
0b062f4990db5cc6db2fe3398926f71b92a67407Brian WellingtonCOMPONENT_NAME= apr-util
0b062f4990db5cc6db2fe3398926f71b92a67407Brian WellingtonCOMPONENT_VERSION= 1.3.9
0b062f4990db5cc6db2fe3398926f71b92a67407Brian WellingtonCOMPONENT_PROJECT_URL= http://apr.apache.org/
0b062f4990db5cc6db2fe3398926f71b92a67407Brian WellingtonCOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
6ed53e5949d9fcd9715b440015b56e5a896d63dfDavid HankinsCOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
0b062f4990db5cc6db2fe3398926f71b92a67407Brian WellingtonCOMPONENT_ARCHIVE_HASH= \
0b062f4990db5cc6db2fe3398926f71b92a67407Brian Wellington sha256:20897069274a026057df26b90a6424da9d70318d930c99885c451d8753b8e4d9
0b062f4990db5cc6db2fe3398926f71b92a67407Brian WellingtonCOMPONENT_ARCHIVE_URL= http://archive.apache.org/dist/apr/$(COMPONENT_ARCHIVE)
0b062f4990db5cc6db2fe3398926f71b92a67407Brian WellingtonCOMPONENT_BUGDB= utility/apache
0b062f4990db5cc6db2fe3398926f71b92a67407Brian Wellington
0b062f4990db5cc6db2fe3398926f71b92a67407Brian WellingtonTPNO= 6137
0b062f4990db5cc6db2fe3398926f71b92a67407Brian Wellington
0b062f4990db5cc6db2fe3398926f71b92a67407Brian WellingtonCONFIGURE_DEFAULT_DIRS=no
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austeininclude $(WS_MAKE_RULES)/prep.mk
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austeininclude $(WS_MAKE_RULES)/configure.mk
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austeininclude $(WS_MAKE_RULES)/ips.mk
4b3f3cc67135e676a9b3b688685fb59e3494b0e6Mark Andrews
c1a883f2e04d94e99c433b1f6cfd0c0338f4ed85Mark AndrewsPATCH_LEVEL=0
3398334b3acda24b086957286288ca9852662b12Automatic Updater
39844d471080b2de4f8bb9d81f7e136ef80f0ae2Automatic UpdaterCONFIGURE_PREFIX=/usr/apr-util/1.3
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein
268a4475065fe6a8cd7cc707820982cf5e98f430Rob AusteinCONFIGURE_OPTIONS += --with-mysql=/usr/mysql/5.5
268a4475065fe6a8cd7cc707820982cf5e98f430Rob AusteinCONFIGURE_OPTIONS += --with-expat=/usr
268a4475065fe6a8cd7cc707820982cf5e98f430Rob AusteinCONFIGURE_OPTIONS += --with-sqlite3=/usr
268a4475065fe6a8cd7cc707820982cf5e98f430Rob AusteinCONFIGURE_OPTIONS += --with-ldap=ldap_r-2.4
268a4475065fe6a8cd7cc707820982cf5e98f430Rob AusteinCONFIGURE_OPTIONS += --with-ldap-include=/usr/include/openldap
268a4475065fe6a8cd7cc707820982cf5e98f430Rob AusteinCONFIGURE_OPTIONS += --without-odbc
f5d30e2864e048a42c4dc1134993ae7efdb5d6c3Mark AndrewsCONFIGURE_OPTIONS += CFLAGS="$(CFLAGS)"
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 Wellington
0b062f4990db5cc6db2fe3398926f71b92a67407Brian WellingtonPATH=$(SPRO_VROOT)/bin:/usr/bin:/usr/gnu/bin
0b062f4990db5cc6db2fe3398926f71b92a67407Brian Wellington
0b062f4990db5cc6db2fe3398926f71b92a67407Brian WellingtonCOMPONENT_TEST_TARGETS= test
8b78c993cb475cc94e88560941b28c37684789d9Francis Dupont
0b062f4990db5cc6db2fe3398926f71b92a67407Brian Wellington# We need this to keep doxygen happy (for include/ and docs/ contents).
0b062f4990db5cc6db2fe3398926f71b92a67407Brian WellingtonCOMPONENT_PRE_CONFIGURE_ACTION += ($(CLONEY) $(SOURCE_DIR) $(@D));
b0c15bd9792112fb47f6d956e580e4369e92f4e7Mark Andrews
0b062f4990db5cc6db2fe3398926f71b92a67407Brian Wellington# Some patches need configure script recreation.
553ead32ff5b00284e574dcabc39115d4d74ec66Evan HuntCOMPONENT_PRE_CONFIGURE_ACTION += (cd $(@D); autoconf);
b0c15bd9792112fb47f6d956e580e4369e92f4e7Mark Andrews
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
6ed53e5949d9fcd9715b440015b56e5a896d63dfDavid Hankins
0b062f4990db5cc6db2fe3398926f71b92a67407Brian WellingtonASLR_MODE = $(ASLR_NOT_APPLICABLE)
e174044290953a2499f574e35cc9c22ba126a303Mark Andrews
0b062f4990db5cc6db2fe3398926f71b92a67407Brian Wellingtondocs: $(BUILD_DIR)/$(MACH32)/.built
2534a73a5914470f7ffe00663b6bbaff5e411e57Mark Andrews cd $(BUILD_DIR)/$(MACH32); doxygen docs/doxygen.conf
0b062f4990db5cc6db2fe3398926f71b92a67407Brian Wellington
553ead32ff5b00284e574dcabc39115d4d74ec66Evan Huntbuild: $(BUILD_32_and_64) docs
b0c15bd9792112fb47f6d956e580e4369e92f4e7Mark Andrews
553ead32ff5b00284e574dcabc39115d4d74ec66Evan Huntinstall: $(INSTALL_32_and_64)
0b062f4990db5cc6db2fe3398926f71b92a67407Brian Wellington
fb596cc9af28ab5bf71c6796ebd1809654307a08Evan Hunttest: $(TEST_32_and_64)
0b062f4990db5cc6db2fe3398926f71b92a67407Brian Wellington
3727725bb7d63605b68a644060857013d563b67fEvan Hunt
b0c15bd9792112fb47f6d956e580e4369e92f4e7Mark AndrewsREQUIRED_PACKAGES += developer/documentation-tool/doxygen
6098d364b690cb9dabf96e9664c4689c8559bd2eMark AndrewsREQUIRED_PACKAGES += database/mysql-55/library
6098d364b690cb9dabf96e9664c4689c8559bd2eMark AndrewsREQUIRED_PACKAGES += database/sqlite-3
6098d364b690cb9dabf96e9664c4689c8559bd2eMark AndrewsREQUIRED_PACKAGES += library/apr-13
0b062f4990db5cc6db2fe3398926f71b92a67407Brian WellingtonREQUIRED_PACKAGES += library/expat
0b062f4990db5cc6db2fe3398926f71b92a67407Brian WellingtonREQUIRED_PACKAGES += library/openldap
0b062f4990db5cc6db2fe3398926f71b92a67407Brian WellingtonREQUIRED_PACKAGES += shell/ksh93
0b062f4990db5cc6db2fe3398926f71b92a67407Brian WellingtonREQUIRED_PACKAGES += system/library
0b062f4990db5cc6db2fe3398926f71b92a67407Brian WellingtonREQUIRED_PACKAGES += system/library/math
0b062f4990db5cc6db2fe3398926f71b92a67407Brian Wellington