619bd403265ce0880989ba6f8324b010949851bcSumit Bose#
619bd403265ce0880989ba6f8324b010949851bcSumit Bose# CDDL HEADER START
619bd403265ce0880989ba6f8324b010949851bcSumit Bose#
619bd403265ce0880989ba6f8324b010949851bcSumit Bose# The contents of this file are subject to the terms of the
619bd403265ce0880989ba6f8324b010949851bcSumit Bose# Common Development and Distribution License (the "License").
619bd403265ce0880989ba6f8324b010949851bcSumit Bose# You may not use this file except in compliance with the License.
619bd403265ce0880989ba6f8324b010949851bcSumit Bose#
619bd403265ce0880989ba6f8324b010949851bcSumit Bose# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
619bd403265ce0880989ba6f8324b010949851bcSumit Bose# or http://www.opensolaris.org/os/licensing.
619bd403265ce0880989ba6f8324b010949851bcSumit Bose# See the License for the specific language governing permissions
619bd403265ce0880989ba6f8324b010949851bcSumit Bose# and limitations under the License.
619bd403265ce0880989ba6f8324b010949851bcSumit Bose#
619bd403265ce0880989ba6f8324b010949851bcSumit Bose# When distributing Covered Code, include this CDDL HEADER in each
619bd403265ce0880989ba6f8324b010949851bcSumit Bose# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
619bd403265ce0880989ba6f8324b010949851bcSumit Bose# If applicable, add the following below this CDDL HEADER, with the
619bd403265ce0880989ba6f8324b010949851bcSumit Bose# fields enclosed by brackets "[]" replaced with your own identifying
619bd403265ce0880989ba6f8324b010949851bcSumit Bose# information: Portions Copyright [yyyy] [name of copyright owner]
619bd403265ce0880989ba6f8324b010949851bcSumit Bose#
619bd403265ce0880989ba6f8324b010949851bcSumit Bose# CDDL HEADER END
619bd403265ce0880989ba6f8324b010949851bcSumit Bose#
619bd403265ce0880989ba6f8324b010949851bcSumit Bose# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
619bd403265ce0880989ba6f8324b010949851bcSumit Bose#
619bd403265ce0880989ba6f8324b010949851bcSumit Boseinclude ../../make-rules/shared-macros.mk
619bd403265ce0880989ba6f8324b010949851bcSumit Bose
619bd403265ce0880989ba6f8324b010949851bcSumit BoseCOMPONENT_NAME = libneon
619bd403265ce0880989ba6f8324b010949851bcSumit BoseCOMPONENT_VERSION = 0.30.1
619bd403265ce0880989ba6f8324b010949851bcSumit BoseCOMPONENT_PROJECT_URL= http://www.webdav.org/neon/
fd94a375467ade9233e34513863571fc51fec2edStephen GallagherCOMPONENT_SRC_NAME = neon
619bd403265ce0880989ba6f8324b010949851bcSumit BoseCOMPONENT_SRC = $(COMPONENT_SRC_NAME)-$(COMPONENT_VERSION)
7d9f54f5ec7c72336c4f69dbf20d55f1f64b88d2Jan ZelenyCOMPONENT_ARCHIVE = $(COMPONENT_SRC).tar.gz
619bd403265ce0880989ba6f8324b010949851bcSumit BoseCOMPONENT_ARCHIVE_HASH = \
619bd403265ce0880989ba6f8324b010949851bcSumit Bose sha256:00c626c0dc18d094ab374dbd9a354915bfe4776433289386ed489c2ec0845cdd
619bd403265ce0880989ba6f8324b010949851bcSumit BoseCOMPONENT_ARCHIVE_URL = $(COMPONENT_PROJECT_URL)$(COMPONENT_ARCHIVE)
619bd403265ce0880989ba6f8324b010949851bcSumit BoseCOMPONENT_BUGDB= library/neon
619bd403265ce0880989ba6f8324b010949851bcSumit Bose
114c1ed8ec72b43f04527b4f3b4f0940c1fb2c54Pavel BřezinaTPNO= 21902
114c1ed8ec72b43f04527b4f3b4f0940c1fb2c54Pavel Březina
619bd403265ce0880989ba6f8324b010949851bcSumit Boseinclude $(WS_MAKE_RULES)/prep.mk
619bd403265ce0880989ba6f8324b010949851bcSumit Boseinclude $(WS_MAKE_RULES)/configure.mk
619bd403265ce0880989ba6f8324b010949851bcSumit Boseinclude $(WS_MAKE_RULES)/ips.mk
619bd403265ce0880989ba6f8324b010949851bcSumit Bose
940e033c0c427d02a34347dbd2f4443fa625b111Jakub HrozekPATCH_LEVEL = 0
619bd403265ce0880989ba6f8324b010949851bcSumit Bose
619bd403265ce0880989ba6f8324b010949851bcSumit BoseCC += $(CC_BITS)
684d1b48b5582a1bf7812b8c3c663592dc6dfed9Pavel BřezinaCPPFLAGS += $(CPP_LARGEFILES)
684d1b48b5582a1bf7812b8c3c663592dc6dfed9Pavel Březina
619bd403265ce0880989ba6f8324b010949851bcSumit BoseCONFIGURE_ENV += CFLAGS="$(CFLAGS)"
619bd403265ce0880989ba6f8324b010949851bcSumit BoseCONFIGURE_ENV += CPPFLAGS="$(CPPFLAGS)"
619bd403265ce0880989ba6f8324b010949851bcSumit Bose
619bd403265ce0880989ba6f8324b010949851bcSumit BoseCONFIGURE_OPTIONS += --localstatedir=/var
619bd403265ce0880989ba6f8324b010949851bcSumit BoseCONFIGURE_OPTIONS += --mandir=/usr/share/man
619bd403265ce0880989ba6f8324b010949851bcSumit BoseCONFIGURE_OPTIONS += --infodir=/usr/share/info
277a0187190fd417696590b303a5d7a204ed0555Jan ZelenyCONFIGURE_OPTIONS += --enable-shared
619bd403265ce0880989ba6f8324b010949851bcSumit BoseCONFIGURE_OPTIONS += --disable-static
a8e7d395b4aab4e7a236aebf162a844ae51cc7dbLukas SlebodnikCONFIGURE_OPTIONS += --enable-webdav
a8e7d395b4aab4e7a236aebf162a844ae51cc7dbLukas SlebodnikCONFIGURE_OPTIONS += --enable-threadsafe-ssl=posix
a3c8390d19593b1e5277d95bfb4ab206d4785150Nikolai KondrashovCONFIGURE_OPTIONS += --enable-nls
619bd403265ce0880989ba6f8324b010949851bcSumit BoseCONFIGURE_OPTIONS += --disable-warnings
619bd403265ce0880989ba6f8324b010949851bcSumit BoseCONFIGURE_OPTIONS += --disable-ld-version-script
a8e7d395b4aab4e7a236aebf162a844ae51cc7dbLukas SlebodnikCONFIGURE_OPTIONS += --with-zlib
a3c8390d19593b1e5277d95bfb4ab206d4785150Nikolai KondrashovCONFIGURE_OPTIONS += --with-ssl=openssl
619bd403265ce0880989ba6f8324b010949851bcSumit BoseCONFIGURE_OPTIONS += --with-libproxy
619bd403265ce0880989ba6f8324b010949851bcSumit BoseCONFIGURE_OPTIONS += --with-gssapi
619bd403265ce0880989ba6f8324b010949851bcSumit BoseCONFIGURE_OPTIONS += --with-libxml2
619bd403265ce0880989ba6f8324b010949851bcSumit BoseCONFIGURE_OPTIONS += --with-pic
619bd403265ce0880989ba6f8324b010949851bcSumit Bose
619bd403265ce0880989ba6f8324b010949851bcSumit BoseCOMPONENT_BUILD_ENV += PATH="$(GNUBIN):$(PATH)"
619bd403265ce0880989ba6f8324b010949851bcSumit BoseCOMPONENT_TEST_ENV += PATH="$(GNUBIN):$(PATH)"
70a33bdf7db34fe4d1ba194cf9ea28c758719b4bJakub Hrozek
70a33bdf7db34fe4d1ba194cf9ea28c758719b4bJakub Hrozekbuild: $(BUILD_32_and_64)
70a33bdf7db34fe4d1ba194cf9ea28c758719b4bJakub Hrozek
70a33bdf7db34fe4d1ba194cf9ea28c758719b4bJakub Hrozekinstall: $(INSTALL_32_and_64)
619bd403265ce0880989ba6f8324b010949851bcSumit Bose
619bd403265ce0880989ba6f8324b010949851bcSumit Bosetest: $(TEST_32_and_64)
619bd403265ce0880989ba6f8324b010949851bcSumit Bose
619bd403265ce0880989ba6f8324b010949851bcSumit BoseREQUIRED_PACKAGES += library/libproxy
619bd403265ce0880989ba6f8324b010949851bcSumit BoseREQUIRED_PACKAGES += library/libxml2
619bd403265ce0880989ba6f8324b010949851bcSumit BoseREQUIRED_PACKAGES += library/security/openssl
619bd403265ce0880989ba6f8324b010949851bcSumit BoseREQUIRED_PACKAGES += library/zlib
619bd403265ce0880989ba6f8324b010949851bcSumit BoseREQUIRED_PACKAGES += shell/ksh93
619bd403265ce0880989ba6f8324b010949851bcSumit BoseREQUIRED_PACKAGES += system/library
619bd403265ce0880989ba6f8324b010949851bcSumit BoseREQUIRED_PACKAGES += system/library/security/gss
83bf46f4066e3d5e838a32357c201de9bd6ecdfdNikolai Kondrashov