0db84e0da684308b0fd9ea9b5906c11bafa7a246Dav Glass# CDDL HEADER START
0db84e0da684308b0fd9ea9b5906c11bafa7a246Dav Glass# The contents of this file are subject to the terms of the
0db84e0da684308b0fd9ea9b5906c11bafa7a246Dav Glass# Common Development and Distribution License (the "License").
0db84e0da684308b0fd9ea9b5906c11bafa7a246Dav Glass# You may not use this file except in compliance with the License.
09c638a157dd9d2ed9027215d9e254badfa019b8Dav Glass# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
0db84e0da684308b0fd9ea9b5906c11bafa7a246Dav Glass# See the License for the specific language governing permissions
0db84e0da684308b0fd9ea9b5906c11bafa7a246Dav Glass# and limitations under the License.
0db84e0da684308b0fd9ea9b5906c11bafa7a246Dav Glass# When distributing Covered Code, include this CDDL HEADER in each
0db84e0da684308b0fd9ea9b5906c11bafa7a246Dav Glass# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
0db84e0da684308b0fd9ea9b5906c11bafa7a246Dav Glass# If applicable, add the following below this CDDL HEADER, with the
0db84e0da684308b0fd9ea9b5906c11bafa7a246Dav Glass# fields enclosed by brackets "[]" replaced with your own identifying
0db84e0da684308b0fd9ea9b5906c11bafa7a246Dav Glass# information: Portions Copyright [yyyy] [name of copyright owner]
0db84e0da684308b0fd9ea9b5906c11bafa7a246Dav Glass# CDDL HEADER END
0db84e0da684308b0fd9ea9b5906c11bafa7a246Dav Glass# Copyright (c) 2015, 2016, Oracle and/or its affiliates. All rights reserved.
0db84e0da684308b0fd9ea9b5906c11bafa7a246Dav GlassPATH=$(PARFAIT_TOOLS):$(GNUBIN):$(SPRO_VROOT)/bin:$(USRBINDIR)
15e275ef18a569d4f8c96caa3ae3079c62b7e12cDav Glass# If you update the COMPONENT_VERSION, you should make a corresponding change
c23fd5e0c063fcf4c45c6695d04d5f10f8947930Dav Glass# in the dependency at the bottom of the openldap/openldap.p5m file.
0db84e0da684308b0fd9ea9b5906c11bafa7a246Dav GlassCOMPONENT_PROJECT_URL= ftp://ftp.cyrusimap.org/cyrus-sasl
0db84e0da684308b0fd9ea9b5906c11bafa7a246Dav Glass sha256:8fbc5136512b59bb793657f36fadda6359cae3b08f01fd16b3d406f1345b7bc3
0db84e0da684308b0fd9ea9b5906c11bafa7a246Dav GlassCOMPONENT_ARCHIVE_URL= $(COMPONENT_PROJECT_URL)/$(COMPONENT_ARCHIVE)
0db84e0da684308b0fd9ea9b5906c11bafa7a246Dav Glass# Check DONOTUSE items when updating the version and hash
0db84e0da684308b0fd9ea9b5906c11bafa7a246Dav GlassDONOTUSE= $(SOURCE_DIR)/mac $(SOURCE_DIR)/dlcompat-20010505
7a67e82a93bc7dc5bf9a62a3ad321c2424da37f7Dav Glass# Migrated from ON in S12, including stuff from system/header, so this
0db84e0da684308b0fd9ea9b5906c11bafa7a246Dav Glass# cannot be installed on an S11 box.
052dcc53d425df9224bfc720b2feca1e92903382Dav Glass# This causes the default compilation argument to be wrong and isn't necessary.
052dcc53d425df9224bfc720b2feca1e92903382Dav GlassCONFIGURE_OPTIONS += --with-saslauthd=/var/run/saslauthd
052dcc53d425df9224bfc720b2feca1e92903382Dav GlassCONFIGURE_OPTIONS.32 += --with-plugindir=$(SASL2.32)
052dcc53d425df9224bfc720b2feca1e92903382Dav GlassCONFIGURE_OPTIONS.64 += --with-plugindir=$(SASL2.64)
0db84e0da684308b0fd9ea9b5906c11bafa7a246Dav GlassCONFIGURE_OPTIONS += --with-configdir=$(ETCDIR)/sasl2
0db84e0da684308b0fd9ea9b5906c11bafa7a246Dav GlassPKG_PROTO_DIRS += $(SOURCE_DIR)/doc $(COMPONENT_DIR)/Solaris
0db84e0da684308b0fd9ea9b5906c11bafa7a246Dav Glassexport CONFIG_SITE=$(WS_COMPONENTS)/$(COMPONENT_NAME)/Solaris/config.site
0db84e0da684308b0fd9ea9b5906c11bafa7a246Dav Glass ( cd config && ln -s $(CFG_COMPILE)/compile . ) ; \
0db84e0da684308b0fd9ea9b5906c11bafa7a246Dav Glass ( cd saslauthd/config && ln -s $(CFG_COMPILE)/compile . ); \
0db84e0da684308b0fd9ea9b5906c11bafa7a246Dav Glass# Remove some things we don't use and aren't in the TPNO
0db84e0da684308b0fd9ea9b5906c11bafa7a246Dav Glass# Make an include/sasl directory to make llib-lsasl2 match llib-lsasl2.ln
ln -s ../$$i $$i ; \
$(CP) $< $@
$(CP) $< $@