Makefile revision 7277
d6fa26d0adaec6c910115be34fe7a5a5f402c14fMark Andrews#
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews# CDDL HEADER START
71cef386fae61275b03e203825680b39fedaa8c6Tinderbox User#
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews# The contents of this file are subject to the terms of the
5347c0fcb04eaea19d9f39795646239f487c6207Tinderbox User# Common Development and Distribution License (the "License").
5347c0fcb04eaea19d9f39795646239f487c6207Tinderbox User# You may not use this file except in compliance with the License.
5347c0fcb04eaea19d9f39795646239f487c6207Tinderbox User#
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
d6fa26d0adaec6c910115be34fe7a5a5f402c14fMark Andrews# or http://www.opensolaris.org/os/licensing.
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews# See the License for the specific language governing permissions
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews# and limitations under the License.
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews#
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User# When distributing Covered Code, include this CDDL HEADER in each
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
cd32f419a8a5432fbb139f56ee73cbf68b9350ccTinderbox User# If applicable, add the following below this CDDL HEADER, with the
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews# fields enclosed by brackets "[]" replaced with your own identifying
9b469e3c59015b1a4899c9d8395168126fe094fdAutomatic Updater# information: Portions Copyright [yyyy] [name of copyright owner]
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews#
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews# CDDL HEADER END
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews#
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews#
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews# Copyright (c) 2011, 2016, Oracle and/or its affiliates. All rights reserved.
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews#
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews# Prefer 32-bit as only "binary" delivered is a script with embedded paths.
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark AndrewsBUILD_BITS= 32_and_64
9b469e3c59015b1a4899c9d8395168126fe094fdAutomatic Updaterinclude ../../make-rules/shared-macros.mk
9b469e3c59015b1a4899c9d8395168126fe094fdAutomatic Updater
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark AndrewsCOMPONENT_NAME = libneon
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark AndrewsCOMPONENT_VERSION = 0.30.1
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark AndrewsCOMPONENT_PROJECT_URL= http://www.webdav.org/neon/
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark AndrewsCOMPONENT_SRC_NAME = neon
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox UserCOMPONENT_ARCHIVE_HASH = \
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews sha256:00c626c0dc18d094ab374dbd9a354915bfe4776433289386ed489c2ec0845cdd
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox UserCOMPONENT_ARCHIVE_URL = $(COMPONENT_PROJECT_URL)$(COMPONENT_ARCHIVE)
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox UserCOMPONENT_BUGDB= library/neon
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox User
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox UserTPNO= 21902
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox User
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox Userinclude $(WS_MAKE_RULES)/common.mk
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox User# Fix 64-bit linking done via compiler.
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox UserLDFLAGS += $(CC_BITS)
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox User
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox UserPATCH_LEVEL = 0
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox UserCPPFLAGS += $(CPP_LARGEFILES)
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox User
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox UserCOMPONENT_TEST_MASTER = \
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox User $(COMPONENT_TEST_RESULTS_DIR)/results-libneon.master
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox UserCOMPONENT_TEST_TRANSFORMS += \
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox User '-e "/libtool/d"' \
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox User '-e "/-m32/d"' \
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox User '-e "/-m64/d"' \
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox User '-e "/ld: warning/d"' \
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox User '-e "/warning/d"' \
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox User '-e "/prototype:/d"' \
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox User '-e "/argument/d"' \
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox User '-e "/Entering/d"' \
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox User '-e "/Leaving/d"' \
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox User '-e "/Nothing to be done/d"' \
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox User '-e "s/[0-9]\{1,\}\.[0-9]\{1,\} s, //g"' \
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox User '-e "s^[0-9]\{1,\} kB/s^^g"' \
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox User '-e "s^[0-9]\{1,\} kB/s^^g"' \
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox User '-e "s^[0-9]\{1,\}\.[0-9]\{1,\} MB/s^^g"' \
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox User '-e "s^[0-9]\{1,\}\.[0-9]\{1,\} MB/s^^g"' \
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox User '-e "s/([0-9]\{1,\} B)//g"' \
7e71f05d8643aca84914437c900cb716444507e4Tinderbox User '-e "s/([0-9]\{1,\} B)//g"' \
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox User '-e "s/copied,/copied/g"' \
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox User '-e "s/ \{1,\}copied/ copied/g"' \
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews '-e "s/copied $$/copied/g"' \
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt '-e "s/copied [0-9]\{1,\}\./copied/g"'
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark AndrewsCONFIGURE_OPTIONS += --localstatedir=$(VARDIR)
14a656f94b1fd0ababd84a772228dfa52276ba15Evan HuntCONFIGURE_OPTIONS += --infodir=$(CONFIGURE_INFODIR)
14a656f94b1fd0ababd84a772228dfa52276ba15Evan HuntCONFIGURE_OPTIONS += --enable-shared
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark AndrewsCONFIGURE_OPTIONS += --disable-static
14a656f94b1fd0ababd84a772228dfa52276ba15Evan HuntCONFIGURE_OPTIONS += --enable-webdav
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark AndrewsCONFIGURE_OPTIONS += --enable-threadsafe-ssl=posix
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark AndrewsCONFIGURE_OPTIONS += --enable-nls
14a656f94b1fd0ababd84a772228dfa52276ba15Evan HuntCONFIGURE_OPTIONS += --disable-warnings
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark AndrewsCONFIGURE_OPTIONS += --disable-ld-version-script
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox UserCONFIGURE_OPTIONS += --with-zlib
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox UserCONFIGURE_OPTIONS += --with-ssl=openssl
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox UserCONFIGURE_OPTIONS += --with-libproxy
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox UserCONFIGURE_OPTIONS += --with-gssapi
7e71f05d8643aca84914437c900cb716444507e4Tinderbox UserCONFIGURE_OPTIONS += --with-libxml2
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox UserCONFIGURE_OPTIONS += --with-pic
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox User
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox UserCOMPONENT_TEST_ENV += PATH="$(GNUBIN):$(PATH)"
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark AndrewsREQUIRED_PACKAGES += library/libproxy
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox UserREQUIRED_PACKAGES += library/libxml2
14a656f94b1fd0ababd84a772228dfa52276ba15Evan HuntREQUIRED_PACKAGES += library/security/openssl
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark AndrewsREQUIRED_PACKAGES += library/zlib
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark AndrewsREQUIRED_PACKAGES += security/kerberos-5
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark AndrewsREQUIRED_PACKAGES += shell/ksh93
71c66a876ecca77923638d3f94cc0783152b2f03Mark Andrewsifeq ($(OS_VERSION),5.11)
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark AndrewsREQUIRED_PACKAGES += system/library/security/gss
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Huntendif
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt