Makefile revision 535
0N/A#
328N/A# CDDL HEADER START
0N/A#
0N/A# The contents of this file are subject to the terms of the
0N/A# Common Development and Distribution License (the "License").
0N/A# You may not use this file except in compliance with the License.
180N/A#
0N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
180N/A# or http://www.opensolaris.org/os/licensing.
0N/A# See the License for the specific language governing permissions
0N/A# and limitations under the License.
0N/A#
0N/A# When distributing Covered Code, include this CDDL HEADER in each
0N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
0N/A# If applicable, add the following below this CDDL HEADER, with the
0N/A# fields enclosed by brackets "[]" replaced with your own identifying
0N/A# information: Portions Copyright [yyyy] [name of copyright owner]
0N/A#
0N/A# CDDL HEADER END
0N/A#
180N/A
180N/A#
180N/A# Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved.
0N/A#
0N/A
5N/Ainclude ../../make-rules/shared-macros.mk
5N/A
338N/APATH=/usr/bin:/usr/gnu/bin:/usr/sbin:/usr/perl5/bin
338N/A
338N/ACOMPONENT_NAME= squid
338N/ACOMPONENT_VERSION= 3.1.8
338N/ACOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
338N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
338N/ACOMPONENT_ARCHIVE_HASH= sha1:1b3e14e653a77462607aefa7931605a5e24829b9
338N/ACOMPONENT_ARCHIVE_URL= http://www.squid-cache.org/Versions/v3/3.1/$(COMPONENT_ARCHIVE)
338N/A
338N/Ainclude ../../make-rules/prep.mk
338N/Ainclude ../../make-rules/configure.mk
338N/Ainclude ../../make-rules/ips.mk
338N/A
338N/ACOMPILER = gcc
338N/A
338N/ACFLAGS += -I/usr/include/kerberosv5
338N/ACFLAGS += $(CPP_LARGEFILES)
338N/A
338N/A# Squid has own prefix
338N/ACONFIGURE_PREFIX = /usr/squid
338N/A
338N/ACONFIGURE_OPTIONS += CFLAGS="$(CFLAGS)"
338N/ACONFIGURE_OPTIONS += --libexecdir=$(CONFIGURE_PREFIX)/libexec
338N/ACONFIGURE_OPTIONS += --localstatedir=/var/squid
338N/ACONFIGURE_OPTIONS += --sharedstatedir=/var/squid
338N/ACONFIGURE_OPTIONS += --sysconfdir=$(ETCDIR)/squid
338N/ACONFIGURE_OPTIONS += --mandir=$(CONFIGURE_PREFIX)/man
338N/ACONFIGURE_OPTIONS += --enable-arp-acl
0N/ACONFIGURE_OPTIONS += --enable-auth='basic,digest,negotiate,ntlm'
8N/ACONFIGURE_OPTIONS += --enable-basic-auth-helpers='DB,NCSA,YP,LDAP,PAM,getpwnam,MSNT,POP3,multi-domain-NTLM,SMB,SASL'
0N/ACONFIGURE_OPTIONS += --enable-cache-digests
0N/ACONFIGURE_OPTIONS += --enable-carp
0N/ACONFIGURE_OPTIONS += --enable-coss-aio-ops
0N/ACONFIGURE_OPTIONS += --enable-delay-pools
0N/ACONFIGURE_OPTIONS += --enable-digest-auth-helpers='ldap,password'
0N/ACONFIGURE_OPTIONS += --enable-external-acl-helpers='ip_user,unix_group,ldap_group,wbinfo_group'
0N/ACONFIGURE_OPTIONS += --enable-follow-x-forwarded-for
0N/ACONFIGURE_OPTIONS += --enable-forward-log
0N/ACONFIGURE_OPTIONS += --enable-forw-via-db
27N/ACONFIGURE_OPTIONS += --enable-htcp
0N/ACONFIGURE_OPTIONS += --enable-icmp
27N/ACONFIGURE_OPTIONS += --enable-large-cache-files
27N/ACONFIGURE_OPTIONS += --enable-multicast-miss
27N/ACONFIGURE_OPTIONS += --enable-negotiate-auth-helpers='squid_kerb_auth'
0N/ACONFIGURE_OPTIONS += --enable-ntlm-auth-helpers='smb_lm,fakeauth,no_check'
0N/ACONFIGURE_OPTIONS += --enable-ntlm-fail-open
0N/ACONFIGURE_OPTIONS += --enable-referer-log
0N/ACONFIGURE_OPTIONS += --enable-removal-policies='heap,lru'
0N/ACONFIGURE_OPTIONS += --enable-snmp
0N/ACONFIGURE_OPTIONS += --enable-ssl
0N/ACONFIGURE_OPTIONS += --enable-storeio='aufs,diskd,ufs'
0N/ACONFIGURE_OPTIONS += --enable-useragent-log
0N/ACONFIGURE_OPTIONS += --enable-x-accelerator-vary
0N/ACONFIGURE_OPTIONS += --with-aio
286N/ACONFIGURE_OPTIONS += --with-aufs-threads=8
27N/ACONFIGURE_OPTIONS += --with-large-files
27N/ACONFIGURE_OPTIONS += --with-build-environment=POSIX_V6_ILP32_OFFBIG
27N/ACONFIGURE_OPTIONS += --with-pthreads
27N/A
27N/ACOMPONENT_POST_BUILD_ACTION= \
27N/A (cd $(COMPONENT_DIR) ; \
27N/A $(CP) squid.conf.default $(@D)/src)
27N/A
27N/A# common targets
32N/Abuild: $(BUILD_32)
32N/A
315N/Ainstall: $(INSTALL_32)
315N/A
311N/Atest: $(NO_TESTS)
311N/A
27N/ABUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
27N/A
27N/Ainclude ../../make-rules/depend.mk
27N/A