Makefile revision 3996
293N/A#
293N/A# CDDL HEADER START
293N/A#
293N/A# The contents of this file are subject to the terms of the
293N/A# Common Development and Distribution License (the "License").
293N/A# You may not use this file except in compliance with the License.
293N/A#
293N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
293N/A# or http://www.opensolaris.org/os/licensing.
293N/A# See the License for the specific language governing permissions
293N/A# and limitations under the License.
293N/A#
293N/A# When distributing Covered Code, include this CDDL HEADER in each
293N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
293N/A# If applicable, add the following below this CDDL HEADER, with the
293N/A# fields enclosed by brackets "[]" replaced with your own identifying
293N/A# information: Portions Copyright [yyyy] [name of copyright owner]
293N/A#
293N/A# CDDL HEADER END
293N/A#
293N/A# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
293N/A#
716N/Ainclude ../../make-rules/shared-macros.mk
293N/A
293N/ACOMPONENT_NAME = curl
293N/ACOMPONENT_VERSION= 7.21.2
293N/ACOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
293N/ACOMPONENT_PROJECT_URL= http://curl.haxx.se/
293N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
293N/ACOMPONENT_ARCHIVE_HASH= \
1191N/A sha256:d8e0ce964b75b99efa2e6c58e6523027fe2fa56305cc180ecacda6ced636e2bf
293N/ACOMPONENT_ARCHIVE_URL= $(COMPONENT_PROJECT_URL)download/$(COMPONENT_ARCHIVE)
293N/ACOMPONENT_BUGDB= library/curl
293N/A
844N/ATPNO= 8339
1191N/A
293N/Ainclude $(WS_MAKE_RULES)/prep.mk
1273N/Ainclude $(WS_MAKE_RULES)/configure.mk
293N/Ainclude $(WS_MAKE_RULES)/ips.mk
293N/Ainclude $(WS_MAKE_RULES)/lint-libraries.mk
293N/A
293N/APATCH_LEVEL = 0
293N/A
293N/AGSSAPI_LIBDIR_32 = /usr/lib
293N/AGSSAPI_LIBDIR_64 = /usr/lib/$(MACH64)
293N/A
293N/ACFLAGS += $(CPP_LARGEFILES)
293N/ACFLAGS += `pkg-config --cflags libidn`
293N/ACPPFLAGS += `pkg-config --cflags libidn`
293N/A
293N/ACONFIGURE_ENV += CFLAGS="$(CFLAGS)"
293N/ACONFIGURE_ENV += CPPFLAGS="$(CPPFLAGS)"
293N/ACONFIGURE_ENV += PKG_CONFIG_PATH="$(PKG_CONFIG_PATH)"
293N/A
293N/ACONFIGURE_OPTIONS += --localstatedir=/var --enable-shared --disable-static
293N/ACONFIGURE_OPTIONS += --enable-http --enable-ftp
293N/ACONFIGURE_OPTIONS += --enable-file --enable-dict
716N/ACONFIGURE_OPTIONS += --enable-manual --disable-libgcc
293N/ACONFIGURE_OPTIONS += --enable-rtsp --enable-proxy
293N/ACONFIGURE_OPTIONS += --enable-telnet --enable-tftp --enable-pop3
293N/ACONFIGURE_OPTIONS += --enable-imap --enable-smtp
293N/ACONFIGURE_OPTIONS += --enable-ipv6 --enable-nonblocking
293N/ACONFIGURE_OPTIONS += --enable-thread --enable-verbose
293N/ACONFIGURE_OPTIONS += --disable-sspi --enable-crypto-auth
293N/ACONFIGURE_OPTIONS += --enable-cookies --disable-hidden-symbols
293N/ACONFIGURE_OPTIONS += --disable-soname-bump
293N/ACONFIGURE_OPTIONS += --enable-ldap --with-random=/dev/urandom
293N/ACONFIGURE_OPTIONS += --with-ssl --with-ldap-lib=ldap
293N/ACONFIGURE_OPTIONS += --with-lber-lib=sldap
CONFIGURE_OPTIONS += --with-gssapi-includes=/usr/include/gssapi
CONFIGURE_OPTIONS += --with-gssapi-libs=$(GSSAPI_LIBDIR_$(BITS))
CONFIGURE_OPTIONS += --with-gssapi=/usr --without-ca-bundle
CONFIGURE_OPTIONS += --with-ca-path=/etc/openssl/certs
CONFIGURE_OPTIONS += --with-zlib=/usr --with-libidn=/usr
CONFIGURE_OPTIONS += --with-pic
CONFIGURE_OPTIONS += "curl_disallow_getifaddrs=yes"
LINT_FLAGS += -I$(SOURCE_DIR)/include
build: $(BUILD_32_and_64)
install: $(INSTALL_32_and_64)
test: $(TEST_32_and_64)
REQUIRED_PACKAGES += library/libidn
REQUIRED_PACKAGES += library/security/openssl
REQUIRED_PACKAGES += library/zlib
REQUIRED_PACKAGES += shell/ksh93
REQUIRED_PACKAGES += system/library
REQUIRED_PACKAGES += system/library/security/gss