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