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