Makefile revision 636
315ce5be539bfe8bc7777ab0654499c49583cea2Timo Sirainen# CDDL HEADER START
315ce5be539bfe8bc7777ab0654499c49583cea2Timo Sirainen# The contents of this file are subject to the terms of the
315ce5be539bfe8bc7777ab0654499c49583cea2Timo Sirainen# Common Development and Distribution License (the "License").
dd3ccdbb29dad006f7781ea138a5ba39727963c4Timo Sirainen# You may not use this file except in compliance with the License.
419be6cd72f6e11705576bbba683b29c32eaa762Timo Sirainen# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
eed03830015b7138b9d4522e72bef650aa24b45fTimo Sirainen# See the License for the specific language governing permissions
dd3ccdbb29dad006f7781ea138a5ba39727963c4Timo Sirainen# and limitations under the License.
dd3ccdbb29dad006f7781ea138a5ba39727963c4Timo Sirainen# When distributing Covered Code, include this CDDL HEADER in each
ffaa309c211897ab875bbe0b093bc7e709bb1e5dTimo Sirainen# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
c2ebc8f28b5504f280cd5d4adfe57ed70f9a7d83Timo Sirainen# If applicable, add the following below this CDDL HEADER, with the
eed03830015b7138b9d4522e72bef650aa24b45fTimo Sirainen# fields enclosed by brackets "[]" replaced with your own identifying
eed03830015b7138b9d4522e72bef650aa24b45fTimo Sirainen# information: Portions Copyright [yyyy] [name of copyright owner]
315ce5be539bfe8bc7777ab0654499c49583cea2Timo Sirainen# CDDL HEADER END
78a5b3e697af5db96fe0dffed600b0d6370bb8e5Timo Sirainen# Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved.
c2ebc8f28b5504f280cd5d4adfe57ed70f9a7d83Timo SirainenPATH=/usr/bin:/usr/gnu/bin:/usr/sbin:/usr/perl5/bin
c2ebc8f28b5504f280cd5d4adfe57ed70f9a7d83Timo SirainenCOMPONENT_PROJECT_URL= http://www.squid-cache.org/
3b22894b8805b186c73d8b754001e8d7e944be85Timo SirainenCOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
3b22894b8805b186c73d8b754001e8d7e944be85Timo SirainenCOMPONENT_ARCHIVE_HASH= sha1:6ae3a7d75acea94e8af333a7086d6467416ff5ac
315ce5be539bfe8bc7777ab0654499c49583cea2Timo SirainenCOMPONENT_ARCHIVE_URL= $(COMPONENT_PROJECT_URL)Versions/v3/3.1/$(COMPONENT_ARCHIVE)
eed03830015b7138b9d4522e72bef650aa24b45fTimo Sirainen# Squid has own prefix
eed03830015b7138b9d4522e72bef650aa24b45fTimo SirainenCONFIGURE_OPTIONS += --libexecdir=$(CONFIGURE_PREFIX)/libexec
eed03830015b7138b9d4522e72bef650aa24b45fTimo SirainenCONFIGURE_OPTIONS += --localstatedir=/var/squid
eed03830015b7138b9d4522e72bef650aa24b45fTimo SirainenCONFIGURE_OPTIONS += --sharedstatedir=/var/squid
eed03830015b7138b9d4522e72bef650aa24b45fTimo SirainenCONFIGURE_OPTIONS += --sysconfdir=$(ETCDIR)/squid
eed03830015b7138b9d4522e72bef650aa24b45fTimo SirainenCONFIGURE_OPTIONS += --mandir=$(CONFIGURE_PREFIX)/man
eed03830015b7138b9d4522e72bef650aa24b45fTimo SirainenCONFIGURE_OPTIONS += --enable-auth='basic,digest,negotiate,ntlm'
eed03830015b7138b9d4522e72bef650aa24b45fTimo SirainenCONFIGURE_OPTIONS += --enable-basic-auth-helpers='DB,NCSA,YP,LDAP,PAM,getpwnam,MSNT,POP3,multi-domain-NTLM,SMB,SASL'
eed03830015b7138b9d4522e72bef650aa24b45fTimo SirainenCONFIGURE_OPTIONS += --enable-digest-auth-helpers='ldap,password'
eed03830015b7138b9d4522e72bef650aa24b45fTimo SirainenCONFIGURE_OPTIONS += --enable-external-acl-helpers='ip_user,unix_group,ldap_group,wbinfo_group'
eed03830015b7138b9d4522e72bef650aa24b45fTimo SirainenCONFIGURE_OPTIONS += --enable-follow-x-forwarded-for
315ce5be539bfe8bc7777ab0654499c49583cea2Timo SirainenCONFIGURE_OPTIONS += --enable-large-cache-files
315ce5be539bfe8bc7777ab0654499c49583cea2Timo SirainenCONFIGURE_OPTIONS += --enable-negotiate-auth-helpers='squid_kerb_auth'
315ce5be539bfe8bc7777ab0654499c49583cea2Timo SirainenCONFIGURE_OPTIONS += --enable-ntlm-auth-helpers='smb_lm,fakeauth,no_check'
fcd443a32b01c4da131f36649d5a5fa5f8452dcfTimo SirainenCONFIGURE_OPTIONS += --enable-removal-policies='heap,lru'
315ce5be539bfe8bc7777ab0654499c49583cea2Timo SirainenCONFIGURE_OPTIONS += --enable-storeio='aufs,diskd,ufs'
e5b06a21b5f857d7037fd6ff41ba3bd449d1232aTimo SirainenCONFIGURE_OPTIONS += --enable-x-accelerator-vary
e5b06a21b5f857d7037fd6ff41ba3bd449d1232aTimo SirainenCONFIGURE_OPTIONS += --with-build-environment=POSIX_V6_ILP32_OFFBIG
e5b06a21b5f857d7037fd6ff41ba3bd449d1232aTimo Sirainen# common targets