Makefile revision 6021
0N/A#
0N/A# CDDL HEADER START
0N/A#
0N/A# The contents of this file are subject to the terms of the
0N/A# Common Development and Distribution License (the "License").
0N/A# You may not use this file except in compliance with the License.
0N/A#
0N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
0N/A# or http://www.opensolaris.org/os/licensing.
0N/A# See the License for the specific language governing permissions
0N/A# and limitations under the License.
0N/A#
0N/A# When distributing Covered Code, include this CDDL HEADER in each
0N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
0N/A# If applicable, add the following below this CDDL HEADER, with the
0N/A# fields enclosed by brackets "[]" replaced with your own identifying
0N/A# information: Portions Copyright [yyyy] [name of copyright owner]
0N/A#
873N/A# CDDL HEADER END
0N/A#
0N/A
0N/A#
0N/A# Copyright (c) 2011, 2016, Oracle and/or its affiliates. All rights reserved.
0N/A#
3215N/ABUILD_BITS= 64_and_32
0N/Ainclude ../../make-rules/shared-macros.mk
0N/A
0N/ACOMPONENT_NAME = curl
0N/ACOMPONENT_VERSION= 7.45.0
0N/ACOMPONENT_PROJECT_URL= http://curl.haxx.se/
0N/ACOMPONENT_ARCHIVE_HASH= \
0N/A sha256:02c78c8060d587422e2826f622c729189b56084bba365140f13af3d402b6cb6b
0N/ACOMPONENT_ARCHIVE_URL= $(COMPONENT_PROJECT_URL)download/$(COMPONENT_ARCHIVE)
0N/ACOMPONENT_BUGDB= library/curl
0N/A
0N/ATPNO= 25724
0N/A
0N/Ainclude $(WS_MAKE_RULES)/common.mk
0N/A
0N/APATCH_LEVEL = 0
0N/A
2095N/ACFLAGS += $(CPP_LARGEFILES)
2095N/ACFLAGS += `pkg-config --cflags libidn`
2095N/ACPPFLAGS += `pkg-config --cflags libidn`
2095N/ACPPFLAGS += "-I/usr/include/openldap"
2095N/A
2095N/ACONFIGURE_OPTIONS += --localstatedir=$(VARDIR) --enable-shared --disable-static
0N/ACONFIGURE_OPTIONS += --enable-http --enable-ftp
0N/ACONFIGURE_OPTIONS += --enable-file --enable-dict
0N/ACONFIGURE_OPTIONS += --enable-manual --disable-libgcc
0N/ACONFIGURE_OPTIONS += --enable-rtsp --enable-proxy
0N/ACONFIGURE_OPTIONS += --enable-telnet --enable-tftp --enable-pop3
0N/ACONFIGURE_OPTIONS += --enable-imap --enable-smtp
0N/ACONFIGURE_OPTIONS += --enable-ipv6 --enable-nonblocking
0N/ACONFIGURE_OPTIONS += --enable-thread --enable-verbose
0N/ACONFIGURE_OPTIONS += --disable-sspi --enable-crypto-auth
0N/ACONFIGURE_OPTIONS += --enable-cookies --disable-hidden-symbols
0N/ACONFIGURE_OPTIONS += --disable-soname-bump
0N/ACONFIGURE_OPTIONS += --enable-ldap --with-random=/dev/urandom
0N/ACONFIGURE_OPTIONS += --with-ssl --with-ldap-lib=ldap_r-2.4
0N/ACONFIGURE_OPTIONS += --with-lber-lib=lber-2.4
0N/ACONFIGURE_OPTIONS += --with-gssapi-includes=$(USRINCDIR)/gssapi
0N/ACONFIGURE_OPTIONS += --with-gssapi-libs=$(USRLIB)
0N/ACONFIGURE_OPTIONS += --with-gssapi=$(USRDIR) --without-ca-bundle
0N/ACONFIGURE_OPTIONS += --with-ca-path=$(ETCDIR)/openssl/certs
0N/ACONFIGURE_OPTIONS += --with-zlib=$(USRDIR) --with-libidn=$(USRDIR)
0N/ACONFIGURE_OPTIONS += --with-pic
0N/ACONFIGURE_OPTIONS += --with-libssh2
0N/ACONFIGURE_OPTIONS += --without-nghttp2
0N/ACONFIGURE_OPTIONS += "curl_disallow_getifaddrs=yes"
0N/A
0N/ALINT_FLAGS += -I$(SOURCE_DIR)/include
0N/A
0N/A# The additional curl specific set of transforms to be applied to the
0N/A# test results to try to normalize them.
0N/ACOMPONENT_TEST_TRANSFORMS += \
0N/A '-e "s|^.*$(CC).*$$|XXX_CC_XXX|g" ' \
0N/A '-e "s|^.*source=.*libtool=no.*$$|XXX_CC_XXX|g" ' \
0N/A '-e "s|^.*DEPDIR=.deps.*$$|XXX_CC_XXX|g" ' \
0N/A '-e "s|^make.*: Leaving directory.*$$|XXX_CC_XXX|g" ' \
0N/A '-e "s|^make.*: Entering directory.*$$|XXX_CC_XXX|g" ' \
0N/A '-e "s|^make.*: Nothing to be done for.*$$|XXX_CC_XXX|g" ' \
0N/A '-e "/^XXX_CC_XXX$$/d" ' \
0N/A '-e "s|\(^/bin/bash ../../libtool\).*|\1|" ' \
0N/A '-e "s|\(^libtool: link:\).*|\1|" ' \
0N/A '-e "s|remaining: ..:..|remaining: xx:xx|" ' \
0N/A '-e "s|\(^TESTDONE: 994 tests were considered during\).*|\1|" ' \
0N/A '-e "s|\(^\* curl $(COMPONENT_VERSION)\).*|\1|" ' \
0N/A '-e "s|\(^\* Host:\).*|\1|" ' \
0N/A '-e "s|\(^\* System: SunOS\).*|\1|" ' \
0N/A '-e "s|\(^Connection from 127.0.0.1 port\).*|\1|" ' \
0N/A '-e "s|\(^Failed none for\).*|\1|" ' \
0N/A '-e "s|\(^Found matching DSA key:\).*|\1|" ' \
0N/A '-e "s|\(^Failed publickey for\).*|\1|" ' \
0N/A '-e "/^debug.:/d" ' \
0N/A '-e "/^monitor debug.:/d" '
0N/A
0N/AASLR_MODE = $(ASLR_ENABLE)
0N/A
0N/AREQUIRED_PACKAGES += library/libidn
0N/AREQUIRED_PACKAGES += library/libssh2
0N/AREQUIRED_PACKAGES += library/openldap
0N/AREQUIRED_PACKAGES += library/security/openssl
0N/AREQUIRED_PACKAGES += library/zlib
0N/AREQUIRED_PACKAGES += shell/ksh93
0N/AREQUIRED_PACKAGES += system/library/security/gss
0N/AREQUIRED_PACKAGES += system/network/ldap/openldap
0N/A