Makefile revision 7243
#
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
# Common Development and Distribution License (the "License").
# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# See the License for the specific language governing permissions
# and limitations under the License.
#
# When distributing Covered Code, include this CDDL HEADER in each
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
# If applicable, add the following below this CDDL HEADER, with the
# fields enclosed by brackets "[]" replaced with your own identifying
# information: Portions Copyright [yyyy] [name of copyright owner]
#
# CDDL HEADER END
#
#
#
BUILD_BITS= 64
TPNO= 28337
# Enable adiheap and adistack security extensions
TEST_TARGET= $(TEST_64)
CFLAGS += $(CPP_LARGEFILES)
# <getopt.h> changed between 11 & 12.
# Squid has own prefix
CONFIGURE_OPTIONS += --enable-auth-basic='DB,NCSA,NIS,LDAP,PAM,getpwnam,MSNT-multi-domain,POP3,SMB,SMB_LM,SASL'
# Appends the following line to the end of the squid.conf configuration
# file. This line is necessary for running squid for testing.
# This starts up squid as user webservd.
# To test manually follow along in the book
# Squid Proxy Server 3.1 Beginner's Guide Page 34
#
# Add this to the top of /etc/squid/squid.conf:
# acl my_machine src 192.0.2.21 # Replace with your desktop's IP address
# http_access allow my_machine
#
# You will probably need to remove or comment out the following lines or Squid
# will fail to start:
# # acl manager proto cache_object
#
# Make sure apache is running.
# # svcs apache22
# Start squid:
# # svcadm enable squid
# On your desktop set your web browser to proxy through this squid:
# Edit -> Preferences -> Advanced -> Network -> Settings
# Check: Manual proxy configuration
# HTTP Proxy: <squid servers IP address> Port: 3128
# Save
# Enter <squid server URL> in your web browser. You should be accessing squid
# and seeing files stored in the http server on that machine.
# Enter <squid server URL>:897 in your web browser and squid should complain.
# Squid is working properly.
# squid tests use cppunit. Currently this requires a version of cppunit
# installed that have been built with the GNU version 5.3 compilers.
'-n ' \
'-e "/=====/p" ' \
'-e "/TOTAL/p" ' \
'-e "/SKIP/p" ' \
'-e "/PASS/p" ' \
'-e "/FAIL/p" ' \
'-e "/Can not open file/d" ' \
'-e "/ERROR/p" '
REQUIRED_PACKAGES += $(PERL_PKG)