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