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