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