Makefile revision 5680
dcfda24abf565c442d058cbf81b2180d847a1b3eAutomatic Updater# CDDL HEADER START
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# The contents of this file are subject to the terms of the
4a14ce5ba00ab7bc55c99ffdcf59c7a4ab902721Automatic Updater# Common Development and Distribution License (the "License").
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# You may not use this file except in compliance with the License.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# See the License for the specific language governing permissions
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# and limitations under the License.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# When distributing Covered Code, include this CDDL HEADER in each
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# If applicable, add the following below this CDDL HEADER, with the
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# fields enclosed by brackets "[]" replaced with your own identifying
8a8d38eb8e5f853835df2f6799ce0d3d7ecf8be6Automatic Updater# information: Portions Copyright [yyyy] [name of copyright owner]
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# CDDL HEADER END
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# Copyright (c) 2014, 2016, Oracle and/or its affiliates. All rights reserved.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# Prefer 32-bit over 64-bit as apr-util has its own custom package layout.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein sha256:976a12a59bc286d634a21d7be0841cc74289ea9077aa1af46be19d1a6e844c19
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob AusteinCOMPONENT_ARCHIVE_URL= http://archive.apache.org/dist/apr/$(COMPONENT_ARCHIVE)
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# Micro version for easy libraries packaging
71c66a876ecca77923638d3f94cc0783152b2f03Mark AndrewsMICRO_VERSION:= $(shell echo $(COMPONENT_VERSION) | awk -F. '{ print $$3 }')
dcfda24abf565c442d058cbf81b2180d847a1b3eAutomatic UpdaterCONFIGURE_OPTIONS += --with-mysql=$(USRDIR)/mysql/5.5
dcfda24abf565c442d058cbf81b2180d847a1b3eAutomatic UpdaterCONFIGURE_OPTIONS += --with-ldap-include=$(USRINCDIR)/openldap
dcfda24abf565c442d058cbf81b2180d847a1b3eAutomatic UpdaterCONFIGURE_OPTIONS.64 += --enable-layout=Solaris-$(MACH64)
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob AusteinCONFIGURE_OPTIONS.32 += --with-apr=$(USRDIR)/apr/1.5/bin/apr-1-config
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob AusteinCONFIGURE_OPTIONS.64 += --with-apr=$(USRDIR)/apr/1.5/bin/$(MACH64)/apr-1-config
dcfda24abf565c442d058cbf81b2180d847a1b3eAutomatic UpdaterCONFIGURE_OPTIONS.32 += MYSQL_CONFIG=$(USRDIR)/mysql/5.5/bin/$(MACH32)/mysql_config
dcfda24abf565c442d058cbf81b2180d847a1b3eAutomatic UpdaterPATH=$(PARFAIT_TOOLS):$(SPRO_VROOT)/bin:$(USRBINDIR):$(GNUBIN)
dcfda24abf565c442d058cbf81b2180d847a1b3eAutomatic UpdaterPATH=$(SPRO_VROOT)/bin:$(USRBINDIR):$(GNUBIN)
dcfda24abf565c442d058cbf81b2180d847a1b3eAutomatic Updater$(INSTALL_64): COMPONENT_POST_INSTALL_ACTION += \
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein sed 's;OUTPUT_DIRECTORY=.*;OUTPUT_DIRECTORY=$(PROTO_DIR)$(CONFIGURE_PREFIX);' \
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# Some patches need configure script recreation.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob AusteinCOMPONENT_PREP_ACTION += (cd $(@D); autoreconf -fi);
a1ad6695ed6f988406cf155aa26376f84f73bcb9Automatic UpdaterREQUIRED_PACKAGES += database/mysql-55/library