Makefile revision 911
d84b6107a8e797f41ac2d55bed97b02c91c742e8vboxsync#
d84b6107a8e797f41ac2d55bed97b02c91c742e8vboxsync# CDDL HEADER START
d84b6107a8e797f41ac2d55bed97b02c91c742e8vboxsync#
d84b6107a8e797f41ac2d55bed97b02c91c742e8vboxsync# The contents of this file are subject to the terms of the
d84b6107a8e797f41ac2d55bed97b02c91c742e8vboxsync# Common Development and Distribution License (the "License").
d84b6107a8e797f41ac2d55bed97b02c91c742e8vboxsync# You may not use this file except in compliance with the License.
d84b6107a8e797f41ac2d55bed97b02c91c742e8vboxsync#
d84b6107a8e797f41ac2d55bed97b02c91c742e8vboxsync# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
d84b6107a8e797f41ac2d55bed97b02c91c742e8vboxsync# or http://www.opensolaris.org/os/licensing.
d84b6107a8e797f41ac2d55bed97b02c91c742e8vboxsync# See the License for the specific language governing permissions
d84b6107a8e797f41ac2d55bed97b02c91c742e8vboxsync# and limitations under the License.
d84b6107a8e797f41ac2d55bed97b02c91c742e8vboxsync#
d84b6107a8e797f41ac2d55bed97b02c91c742e8vboxsync# When distributing Covered Code, include this CDDL HEADER in each
d84b6107a8e797f41ac2d55bed97b02c91c742e8vboxsync# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
d84b6107a8e797f41ac2d55bed97b02c91c742e8vboxsync# If applicable, add the following below this CDDL HEADER, with the
d84b6107a8e797f41ac2d55bed97b02c91c742e8vboxsync# fields enclosed by brackets "[]" replaced with your own identifying
d84b6107a8e797f41ac2d55bed97b02c91c742e8vboxsync# information: Portions Copyright [yyyy] [name of copyright owner]
d84b6107a8e797f41ac2d55bed97b02c91c742e8vboxsync#
d84b6107a8e797f41ac2d55bed97b02c91c742e8vboxsync# CDDL HEADER END
d84b6107a8e797f41ac2d55bed97b02c91c742e8vboxsync#
d84b6107a8e797f41ac2d55bed97b02c91c742e8vboxsync# Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved.
d84b6107a8e797f41ac2d55bed97b02c91c742e8vboxsync#
d84b6107a8e797f41ac2d55bed97b02c91c742e8vboxsyncinclude ../../make-rules/shared-macros.mk
d84b6107a8e797f41ac2d55bed97b02c91c742e8vboxsync
d84b6107a8e797f41ac2d55bed97b02c91c742e8vboxsyncCOMPONENT_NAME = curl
d84b6107a8e797f41ac2d55bed97b02c91c742e8vboxsyncCOMPONENT_VERSION= 7.21.2
d84b6107a8e797f41ac2d55bed97b02c91c742e8vboxsyncCOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
d5bf937d132098565e18a0d1fc408fb777c5e5b6vboxsyncCOMPONENT_PROJECT_URL= http://curl.haxx.se/
d84b6107a8e797f41ac2d55bed97b02c91c742e8vboxsyncCOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
d84b6107a8e797f41ac2d55bed97b02c91c742e8vboxsyncCOMPONENT_ARCHIVE_HASH= sha1:af8182165d7a0d16b97e2c2936ed92f3ba5c868c
d84b6107a8e797f41ac2d55bed97b02c91c742e8vboxsyncCOMPONENT_ARCHIVE_URL= http://curl.haxx.se/download/$(COMPONENT_ARCHIVE)
d84b6107a8e797f41ac2d55bed97b02c91c742e8vboxsync
d84b6107a8e797f41ac2d55bed97b02c91c742e8vboxsyncinclude ../../make-rules/prep.mk
d84b6107a8e797f41ac2d55bed97b02c91c742e8vboxsyncinclude ../../make-rules/configure.mk
d84b6107a8e797f41ac2d55bed97b02c91c742e8vboxsyncinclude ../../make-rules/ips.mk
f7c0f913c4c22ee18059ff97055442566d0f14a1vboxsyncinclude ../../make-rules/lint-libraries.mk
f7c0f913c4c22ee18059ff97055442566d0f14a1vboxsync
f7c0f913c4c22ee18059ff97055442566d0f14a1vboxsyncPATCH_LEVEL = 0
f7c0f913c4c22ee18059ff97055442566d0f14a1vboxsync
f7c0f913c4c22ee18059ff97055442566d0f14a1vboxsyncGSSAPI_LIBDIR_32 = /usr/lib
d84b6107a8e797f41ac2d55bed97b02c91c742e8vboxsyncGSSAPI_LIBDIR_64 = /usr/lib/$(MACH64)
d84b6107a8e797f41ac2d55bed97b02c91c742e8vboxsync
d84b6107a8e797f41ac2d55bed97b02c91c742e8vboxsyncCFLAGS += $(CPP_LARGEFILES)
d84b6107a8e797f41ac2d55bed97b02c91c742e8vboxsync
fe06619ae576367ff3568e6abd99fb8ad28cc73avboxsyncCONFIGURE_ENV += CFLAGS="$(CFLAGS)"
f7c0f913c4c22ee18059ff97055442566d0f14a1vboxsyncCONFIGURE_ENV += PKG_CONFIG_PATH="$(PKG_CONFIG_PATH)"
d84b6107a8e797f41ac2d55bed97b02c91c742e8vboxsync
f7c0f913c4c22ee18059ff97055442566d0f14a1vboxsyncCONFIGURE_OPTIONS += --localstatedir=/var --enable-shared --disable-static
f7c0f913c4c22ee18059ff97055442566d0f14a1vboxsyncCONFIGURE_OPTIONS += --enable-http --enable-ftp
f7c0f913c4c22ee18059ff97055442566d0f14a1vboxsyncCONFIGURE_OPTIONS += --enable-file --enable-dict
f7c0f913c4c22ee18059ff97055442566d0f14a1vboxsyncCONFIGURE_OPTIONS += --enable-manual --disable-libgcc
d84b6107a8e797f41ac2d55bed97b02c91c742e8vboxsyncCONFIGURE_OPTIONS += --enable-rtsp --enable-proxy
d84b6107a8e797f41ac2d55bed97b02c91c742e8vboxsyncCONFIGURE_OPTIONS += --enable-telnet --enable-tftp --enable-pop3
d84b6107a8e797f41ac2d55bed97b02c91c742e8vboxsyncCONFIGURE_OPTIONS += --enable-imap --enable-smtp
d84b6107a8e797f41ac2d55bed97b02c91c742e8vboxsyncCONFIGURE_OPTIONS += --enable-ipv6 --enable-nonblocking
d84b6107a8e797f41ac2d55bed97b02c91c742e8vboxsyncCONFIGURE_OPTIONS += --enable-thread --enable-verbose
d84b6107a8e797f41ac2d55bed97b02c91c742e8vboxsyncCONFIGURE_OPTIONS += --disable-sspi --enable-crypto-auth
d84b6107a8e797f41ac2d55bed97b02c91c742e8vboxsyncCONFIGURE_OPTIONS += --enable-cookies --disable-hidden-symbols
d84b6107a8e797f41ac2d55bed97b02c91c742e8vboxsyncCONFIGURE_OPTIONS += --disable-soname-bump
d84b6107a8e797f41ac2d55bed97b02c91c742e8vboxsyncCONFIGURE_OPTIONS += --enable-ldap --with-random=/dev/urandom
d84b6107a8e797f41ac2d55bed97b02c91c742e8vboxsyncCONFIGURE_OPTIONS += --with-ssl --with-ldap-lib=ldap
d84b6107a8e797f41ac2d55bed97b02c91c742e8vboxsyncCONFIGURE_OPTIONS += --with-lber-lib=sldap
d84b6107a8e797f41ac2d55bed97b02c91c742e8vboxsyncCONFIGURE_OPTIONS += --with-gssapi-includes=/usr/include/gssapi
d84b6107a8e797f41ac2d55bed97b02c91c742e8vboxsyncCONFIGURE_OPTIONS += --with-gssapi-libs=$(GSSAPI_LIBDIR_$(BITS))
d84b6107a8e797f41ac2d55bed97b02c91c742e8vboxsyncCONFIGURE_OPTIONS += --with-gssapi=/usr --without-ca-bundle
d84b6107a8e797f41ac2d55bed97b02c91c742e8vboxsyncCONFIGURE_OPTIONS += --with-ca-path=/etc/openssl/certs
d84b6107a8e797f41ac2d55bed97b02c91c742e8vboxsyncCONFIGURE_OPTIONS += --with-zlib=/usr --with-libidn=/usr
d84b6107a8e797f41ac2d55bed97b02c91c742e8vboxsyncCONFIGURE_OPTIONS += --with-pic
d84b6107a8e797f41ac2d55bed97b02c91c742e8vboxsyncCONFIGURE_OPTIONS += "curl_disallow_getifaddrs=yes"
d84b6107a8e797f41ac2d55bed97b02c91c742e8vboxsync
d84b6107a8e797f41ac2d55bed97b02c91c742e8vboxsyncLINT_FLAGS += -I$(SOURCE_DIR)/include
d84b6107a8e797f41ac2d55bed97b02c91c742e8vboxsync
d84b6107a8e797f41ac2d55bed97b02c91c742e8vboxsyncbuild: $(BUILD_32_and_64)
d84b6107a8e797f41ac2d55bed97b02c91c742e8vboxsync
d84b6107a8e797f41ac2d55bed97b02c91c742e8vboxsyncinstall: $(INSTALL_32_and_64)
d84b6107a8e797f41ac2d55bed97b02c91c742e8vboxsync
d84b6107a8e797f41ac2d55bed97b02c91c742e8vboxsynctest: $(TEST_32_and_64)
d84b6107a8e797f41ac2d55bed97b02c91c742e8vboxsync
d84b6107a8e797f41ac2d55bed97b02c91c742e8vboxsyncBUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
d84b6107a8e797f41ac2d55bed97b02c91c742e8vboxsync
d84b6107a8e797f41ac2d55bed97b02c91c742e8vboxsyncinclude ../../make-rules/depend.mk
d84b6107a8e797f41ac2d55bed97b02c91c742e8vboxsync
d84b6107a8e797f41ac2d55bed97b02c91c742e8vboxsync