Makefile revision 5680
b66b333f59cf51ef87f973084a5023acd9317fb2Evan Hunt#
b66b333f59cf51ef87f973084a5023acd9317fb2Evan Hunt# CDDL HEADER START
b66b333f59cf51ef87f973084a5023acd9317fb2Evan Hunt#
b66b333f59cf51ef87f973084a5023acd9317fb2Evan Hunt# The contents of this file are subject to the terms of the
b66b333f59cf51ef87f973084a5023acd9317fb2Evan Hunt# Common Development and Distribution License (the "License").
b66b333f59cf51ef87f973084a5023acd9317fb2Evan Hunt# You may not use this file except in compliance with the License.
b66b333f59cf51ef87f973084a5023acd9317fb2Evan Hunt#
b66b333f59cf51ef87f973084a5023acd9317fb2Evan Hunt# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
b66b333f59cf51ef87f973084a5023acd9317fb2Evan Hunt# or http://www.opensolaris.org/os/licensing.
b66b333f59cf51ef87f973084a5023acd9317fb2Evan Hunt# See the License for the specific language governing permissions
b66b333f59cf51ef87f973084a5023acd9317fb2Evan Hunt# and limitations under the License.
b66b333f59cf51ef87f973084a5023acd9317fb2Evan Hunt#
b66b333f59cf51ef87f973084a5023acd9317fb2Evan Hunt# When distributing Covered Code, include this CDDL HEADER in each
b66b333f59cf51ef87f973084a5023acd9317fb2Evan Hunt# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
b66b333f59cf51ef87f973084a5023acd9317fb2Evan Hunt# If applicable, add the following below this CDDL HEADER, with the
b66b333f59cf51ef87f973084a5023acd9317fb2Evan Hunt# fields enclosed by brackets "[]" replaced with your own identifying
b66b333f59cf51ef87f973084a5023acd9317fb2Evan Hunt# information: Portions Copyright [yyyy] [name of copyright owner]
b66b333f59cf51ef87f973084a5023acd9317fb2Evan Hunt#
b66b333f59cf51ef87f973084a5023acd9317fb2Evan Hunt# CDDL HEADER END
b66b333f59cf51ef87f973084a5023acd9317fb2Evan Hunt#
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt#
b66b333f59cf51ef87f973084a5023acd9317fb2Evan Hunt# Copyright (c) 2011, 2016, Oracle and/or its affiliates. All rights reserved.
b66b333f59cf51ef87f973084a5023acd9317fb2Evan Hunt#
b66b333f59cf51ef87f973084a5023acd9317fb2Evan Hunt# Prefer 32-bit as only "binary" delivered is a script with embedded paths.
b66b333f59cf51ef87f973084a5023acd9317fb2Evan HuntBUILD_BITS= 32_and_64
b66b333f59cf51ef87f973084a5023acd9317fb2Evan Huntinclude ../../make-rules/shared-macros.mk
b66b333f59cf51ef87f973084a5023acd9317fb2Evan Hunt
b66b333f59cf51ef87f973084a5023acd9317fb2Evan HuntCOMPONENT_NAME = libneon
b66b333f59cf51ef87f973084a5023acd9317fb2Evan HuntCOMPONENT_VERSION = 0.30.1
b66b333f59cf51ef87f973084a5023acd9317fb2Evan HuntCOMPONENT_PROJECT_URL= http://www.webdav.org/neon/
b66b333f59cf51ef87f973084a5023acd9317fb2Evan HuntCOMPONENT_SRC_NAME = neon
b66b333f59cf51ef87f973084a5023acd9317fb2Evan HuntCOMPONENT_ARCHIVE_HASH = \
b66b333f59cf51ef87f973084a5023acd9317fb2Evan Hunt sha256:00c626c0dc18d094ab374dbd9a354915bfe4776433289386ed489c2ec0845cdd
b66b333f59cf51ef87f973084a5023acd9317fb2Evan HuntCOMPONENT_ARCHIVE_URL = $(COMPONENT_PROJECT_URL)$(COMPONENT_ARCHIVE)
b66b333f59cf51ef87f973084a5023acd9317fb2Evan HuntCOMPONENT_BUGDB= library/neon
b66b333f59cf51ef87f973084a5023acd9317fb2Evan Hunt
b66b333f59cf51ef87f973084a5023acd9317fb2Evan HuntTPNO= 21902
b66b333f59cf51ef87f973084a5023acd9317fb2Evan Hunt
b66b333f59cf51ef87f973084a5023acd9317fb2Evan Huntinclude $(WS_MAKE_RULES)/common.mk
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt
b66b333f59cf51ef87f973084a5023acd9317fb2Evan Hunt# Fix 64-bit linking done via compiler.
14a656f94b1fd0ababd84a772228dfa52276ba15Evan HuntLDFLAGS += $(CC_BITS)
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt
14a656f94b1fd0ababd84a772228dfa52276ba15Evan HuntPATCH_LEVEL = 0
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt
14a656f94b1fd0ababd84a772228dfa52276ba15Evan HuntCPPFLAGS += $(CPP_LARGEFILES)
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt
b66b333f59cf51ef87f973084a5023acd9317fb2Evan HuntCOMPONENT_TEST_MASTER = \
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt $(COMPONENT_TEST_RESULTS_DIR)/results-libneon.master
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt
14a656f94b1fd0ababd84a772228dfa52276ba15Evan HuntCOMPONENT_TEST_TRANSFORMS += \
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt '-e "/libtool/d"' \
b66b333f59cf51ef87f973084a5023acd9317fb2Evan Hunt '-e "/-m32/d"' \
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt '-e "/-m64/d"' \
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt '-e "/ld: warning/d"' \
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt '-e "/warning/d"' \
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt '-e "/prototype:/d"' \
b66b333f59cf51ef87f973084a5023acd9317fb2Evan Hunt '-e "/argument/d"' \
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt '-e "/Entering/d"' \
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt '-e "/Leaving/d"' \
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt '-e "/Nothing to be done/d"' \
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt '-e "s/[0-9]\{1,\}\.[0-9]\{1,\} s, //g"' \
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt '-e "s^[0-9]\{1,\} kB/s^^g"' \
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt '-e "s^[0-9]\{1,\} kB/s^^g"' \
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt '-e "s^[0-9]\{1,\}\.[0-9]\{1,\} MB/s^^g"' \
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt '-e "s^[0-9]\{1,\}\.[0-9]\{1,\} MB/s^^g"' \
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt '-e "s/([0-9]\{1,\} B)//g"' \
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt '-e "s/([0-9]\{1,\} B)//g"' \
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt '-e "s/copied,/copied/g"' \
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt '-e "s/ \{1,\}copied/ copied/g"' \
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt '-e "s/copied $$/copied/g"' \
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt '-e "s/copied [0-9]\{1,\}\./copied/g"'
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt
b66b333f59cf51ef87f973084a5023acd9317fb2Evan HuntCONFIGURE_OPTIONS += --localstatedir=$(VARDIR)
14a656f94b1fd0ababd84a772228dfa52276ba15Evan HuntCONFIGURE_OPTIONS += --infodir=$(CONFIGURE_INFODIR)
b66b333f59cf51ef87f973084a5023acd9317fb2Evan HuntCONFIGURE_OPTIONS += --enable-shared
b66b333f59cf51ef87f973084a5023acd9317fb2Evan HuntCONFIGURE_OPTIONS += --disable-static
b66b333f59cf51ef87f973084a5023acd9317fb2Evan HuntCONFIGURE_OPTIONS += --enable-webdav
14a656f94b1fd0ababd84a772228dfa52276ba15Evan HuntCONFIGURE_OPTIONS += --enable-threadsafe-ssl=posix
14a656f94b1fd0ababd84a772228dfa52276ba15Evan HuntCONFIGURE_OPTIONS += --enable-nls
14a656f94b1fd0ababd84a772228dfa52276ba15Evan HuntCONFIGURE_OPTIONS += --disable-warnings
14a656f94b1fd0ababd84a772228dfa52276ba15Evan HuntCONFIGURE_OPTIONS += --disable-ld-version-script
14a656f94b1fd0ababd84a772228dfa52276ba15Evan HuntCONFIGURE_OPTIONS += --with-zlib
14a656f94b1fd0ababd84a772228dfa52276ba15Evan HuntCONFIGURE_OPTIONS += --with-ssl=openssl
14a656f94b1fd0ababd84a772228dfa52276ba15Evan HuntCONFIGURE_OPTIONS += --with-libproxy
b66b333f59cf51ef87f973084a5023acd9317fb2Evan HuntCONFIGURE_OPTIONS += --with-gssapi
14a656f94b1fd0ababd84a772228dfa52276ba15Evan HuntCONFIGURE_OPTIONS += --with-libxml2
14a656f94b1fd0ababd84a772228dfa52276ba15Evan HuntCONFIGURE_OPTIONS += --with-pic
b66b333f59cf51ef87f973084a5023acd9317fb2Evan Hunt
14a656f94b1fd0ababd84a772228dfa52276ba15Evan HuntCOMPONENT_TEST_ENV += PATH="$(GNUBIN):$(PATH)"
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt
b66b333f59cf51ef87f973084a5023acd9317fb2Evan HuntREQUIRED_PACKAGES += library/libproxy
14a656f94b1fd0ababd84a772228dfa52276ba15Evan HuntREQUIRED_PACKAGES += library/libxml2
14a656f94b1fd0ababd84a772228dfa52276ba15Evan HuntREQUIRED_PACKAGES += library/security/openssl
14a656f94b1fd0ababd84a772228dfa52276ba15Evan HuntREQUIRED_PACKAGES += library/zlib
b66b333f59cf51ef87f973084a5023acd9317fb2Evan HuntREQUIRED_PACKAGES += shell/ksh93
14a656f94b1fd0ababd84a772228dfa52276ba15Evan HuntREQUIRED_PACKAGES += system/library/security/gss
14a656f94b1fd0ababd84a772228dfa52276ba15Evan HuntREQUIRED_PACKAGES += library/libproxy
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt