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