128N/A#
128N/A# CDDL HEADER START
128N/A#
128N/A# The contents of this file are subject to the terms of the
128N/A# Common Development and Distribution License (the "License").
128N/A# You may not use this file except in compliance with the License.
128N/A#
128N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
128N/A# or http://www.opensolaris.org/os/licensing.
128N/A# See the License for the specific language governing permissions
128N/A# and limitations under the License.
128N/A#
128N/A# When distributing Covered Code, include this CDDL HEADER in each
128N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
128N/A# If applicable, add the following below this CDDL HEADER, with the
128N/A# fields enclosed by brackets "[]" replaced with your own identifying
128N/A# information: Portions Copyright [yyyy] [name of copyright owner]
128N/A#
128N/A# CDDL HEADER END
128N/A#
5680N/A
128N/A#
5680N/A# Copyright (c) 2011, 2016, Oracle and/or its affiliates. All rights reserved.
5680N/A#
5680N/A# Prefer 32-bit as only "binary" delivered is a script with embedded paths.
5680N/ABUILD_BITS= 32_and_64
128N/Ainclude ../../make-rules/shared-macros.mk
128N/A
1244N/ACOMPONENT_NAME = libneon
4068N/ACOMPONENT_VERSION = 0.30.1
618N/ACOMPONENT_PROJECT_URL= http://www.webdav.org/neon/
1244N/ACOMPONENT_SRC_NAME = neon
844N/ACOMPONENT_ARCHIVE_HASH = \
4068N/A sha256:00c626c0dc18d094ab374dbd9a354915bfe4776433289386ed489c2ec0845cdd
618N/ACOMPONENT_ARCHIVE_URL = $(COMPONENT_PROJECT_URL)$(COMPONENT_ARCHIVE)
1289N/ACOMPONENT_BUGDB= library/neon
128N/A
4068N/ATPNO= 21902
3051N/A
5680N/Ainclude $(WS_MAKE_RULES)/common.mk
5680N/A
5680N/A# Fix 64-bit linking done via compiler.
5680N/ALDFLAGS += $(CC_BITS)
128N/A
128N/APATCH_LEVEL = 0
128N/A
128N/ACPPFLAGS += $(CPP_LARGEFILES)
128N/A
4068N/ACOMPONENT_TEST_MASTER = \
4068N/A $(COMPONENT_TEST_RESULTS_DIR)/results-libneon.master
3955N/A
3955N/ACOMPONENT_TEST_TRANSFORMS += \
3955N/A '-e "/libtool/d"' \
3955N/A '-e "/-m32/d"' \
3955N/A '-e "/-m64/d"' \
3955N/A '-e "/ld: warning/d"' \
3955N/A '-e "/warning/d"' \
4068N/A '-e "/prototype:/d"' \
4068N/A '-e "/argument/d"' \
4068N/A '-e "/Entering/d"' \
4068N/A '-e "/Leaving/d"' \
4068N/A '-e "/Nothing to be done/d"' \
3955N/A '-e "s/[0-9]\{1,\}\.[0-9]\{1,\} s, //g"' \
3955N/A '-e "s^[0-9]\{1,\} kB/s^^g"' \
3955N/A '-e "s^[0-9]\{1,\} kB/s^^g"' \
3955N/A '-e "s^[0-9]\{1,\}\.[0-9]\{1,\} MB/s^^g"' \
3955N/A '-e "s^[0-9]\{1,\}\.[0-9]\{1,\} MB/s^^g"' \
3955N/A '-e "s/([0-9]\{1,\} B)//g"' \
3955N/A '-e "s/([0-9]\{1,\} B)//g"' \
3955N/A '-e "s/copied,/copied/g"' \
3955N/A '-e "s/ \{1,\}copied/ copied/g"' \
3955N/A '-e "s/copied $$/copied/g"' \
6047N/A '-e "s/copied [0-9]\{1,\}\./copied/g"'
3955N/A
5680N/ACONFIGURE_OPTIONS += --localstatedir=$(VARDIR)
5680N/ACONFIGURE_OPTIONS += --infodir=$(CONFIGURE_INFODIR)
128N/ACONFIGURE_OPTIONS += --enable-shared
128N/ACONFIGURE_OPTIONS += --disable-static
128N/ACONFIGURE_OPTIONS += --enable-webdav
128N/ACONFIGURE_OPTIONS += --enable-threadsafe-ssl=posix
128N/ACONFIGURE_OPTIONS += --enable-nls
128N/ACONFIGURE_OPTIONS += --disable-warnings
128N/ACONFIGURE_OPTIONS += --disable-ld-version-script
128N/ACONFIGURE_OPTIONS += --with-zlib
128N/ACONFIGURE_OPTIONS += --with-ssl=openssl
128N/ACONFIGURE_OPTIONS += --with-libproxy
4068N/ACONFIGURE_OPTIONS += --with-gssapi
128N/ACONFIGURE_OPTIONS += --with-libxml2
4068N/ACONFIGURE_OPTIONS += --with-pic
128N/A
181N/ACOMPONENT_TEST_ENV += PATH="$(GNUBIN):$(PATH)"
128N/A
3817N/AREQUIRED_PACKAGES += library/libproxy
3817N/AREQUIRED_PACKAGES += library/libxml2
3817N/AREQUIRED_PACKAGES += library/security/openssl
3817N/AREQUIRED_PACKAGES += library/zlib
6065N/AREQUIRED_PACKAGES += security/kerberos-5
3817N/AREQUIRED_PACKAGES += shell/ksh93
7277N/Aifeq ($(OS_VERSION),5.11)
7277N/AREQUIRED_PACKAGES += system/library/security/gss
7277N/Aendif