Makefile revision 3661
318N/A#
318N/A# CDDL HEADER START
318N/A#
318N/A# The contents of this file are subject to the terms of the
318N/A# Common Development and Distribution License (the "License").
318N/A# You may not use this file except in compliance with the License.
318N/A#
318N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
318N/A# or http://www.opensolaris.org/os/licensing.
318N/A# See the License for the specific language governing permissions
318N/A# and limitations under the License.
318N/A#
318N/A# When distributing Covered Code, include this CDDL HEADER in each
318N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
318N/A# If applicable, add the following below this CDDL HEADER, with the
318N/A# fields enclosed by brackets "[]" replaced with your own identifying
318N/A# information: Portions Copyright [yyyy] [name of copyright owner]
318N/A#
318N/A# CDDL HEADER END
318N/A#
3661N/A# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
318N/A#
318N/Ainclude ../../make-rules/shared-macros.mk
318N/A
318N/ACOMPONENT_NAME = curl
1694N/ACOMPONENT_VERSION= 7.21.2
1694N/ACOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
1694N/ACOMPONENT_PROJECT_URL= http://curl.haxx.se/
1694N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
844N/ACOMPONENT_ARCHIVE_HASH= \
1694N/A sha256:d8e0ce964b75b99efa2e6c58e6523027fe2fa56305cc180ecacda6ced636e2bf
1694N/ACOMPONENT_ARCHIVE_URL= $(COMPONENT_PROJECT_URL)download/$(COMPONENT_ARCHIVE)
1273N/ACOMPONENT_BUGDB= library/curl
318N/A
3661N/ATPNO= 8339
3661N/A
318N/Ainclude ../../make-rules/prep.mk
318N/Ainclude ../../make-rules/configure.mk
318N/Ainclude ../../make-rules/ips.mk
318N/Ainclude ../../make-rules/lint-libraries.mk
1694N/A
318N/APATCH_LEVEL = 0
318N/A
1694N/AGSSAPI_LIBDIR_32 = /usr/lib
318N/AGSSAPI_LIBDIR_64 = /usr/lib/$(MACH64)
318N/A
318N/ACFLAGS += $(CPP_LARGEFILES)
318N/ACFLAGS += `pkg-config --cflags libidn`
318N/ACPPFLAGS += `pkg-config --cflags libidn`
318N/A
1694N/ACONFIGURE_ENV += CFLAGS="$(CFLAGS)"
1694N/ACONFIGURE_ENV += CPPFLAGS="$(CPPFLAGS)"
1694N/ACONFIGURE_ENV += PKG_CONFIG_PATH="$(PKG_CONFIG_PATH)"
1694N/A
1694N/ACONFIGURE_OPTIONS += --localstatedir=/var --enable-shared --disable-static
1694N/ACONFIGURE_OPTIONS += --enable-http --enable-ftp
1694N/ACONFIGURE_OPTIONS += --enable-file --enable-dict
1694N/ACONFIGURE_OPTIONS += --enable-manual --disable-libgcc
1694N/ACONFIGURE_OPTIONS += --enable-rtsp --enable-proxy
318N/ACONFIGURE_OPTIONS += --enable-telnet --enable-tftp --enable-pop3
318N/ACONFIGURE_OPTIONS += --enable-imap --enable-smtp
318N/ACONFIGURE_OPTIONS += --enable-ipv6 --enable-nonblocking
318N/ACONFIGURE_OPTIONS += --enable-thread --enable-verbose
318N/ACONFIGURE_OPTIONS += --disable-sspi --enable-crypto-auth
CONFIGURE_OPTIONS += --enable-cookies --disable-hidden-symbols
CONFIGURE_OPTIONS += --disable-soname-bump
CONFIGURE_OPTIONS += --enable-ldap --with-random=/dev/urandom
CONFIGURE_OPTIONS += --with-ssl --with-ldap-lib=ldap
CONFIGURE_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)
BUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
include ../../make-rules/depend.mk