Makefile revision 1289
5b139d58acfcae4b1bcab5a895706abafc2a87a0Dav Glass#
5b139d58acfcae4b1bcab5a895706abafc2a87a0Dav Glass# CDDL HEADER START
5b139d58acfcae4b1bcab5a895706abafc2a87a0Dav Glass#
5b139d58acfcae4b1bcab5a895706abafc2a87a0Dav Glass# The contents of this file are subject to the terms of the
5b139d58acfcae4b1bcab5a895706abafc2a87a0Dav Glass# Common Development and Distribution License (the "License").
5b139d58acfcae4b1bcab5a895706abafc2a87a0Dav Glass# You may not use this file except in compliance with the License.
5b139d58acfcae4b1bcab5a895706abafc2a87a0Dav Glass#
5b139d58acfcae4b1bcab5a895706abafc2a87a0Dav Glass# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
5b139d58acfcae4b1bcab5a895706abafc2a87a0Dav Glass# or http://www.opensolaris.org/os/licensing.
5b139d58acfcae4b1bcab5a895706abafc2a87a0Dav Glass# See the License for the specific language governing permissions
5b139d58acfcae4b1bcab5a895706abafc2a87a0Dav Glass# and limitations under the License.
5b139d58acfcae4b1bcab5a895706abafc2a87a0Dav Glass#
5b139d58acfcae4b1bcab5a895706abafc2a87a0Dav Glass# When distributing Covered Code, include this CDDL HEADER in each
5b139d58acfcae4b1bcab5a895706abafc2a87a0Dav Glass# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
5b139d58acfcae4b1bcab5a895706abafc2a87a0Dav Glass# If applicable, add the following below this CDDL HEADER, with the
5b139d58acfcae4b1bcab5a895706abafc2a87a0Dav Glass# fields enclosed by brackets "[]" replaced with your own identifying
5b139d58acfcae4b1bcab5a895706abafc2a87a0Dav Glass# information: Portions Copyright [yyyy] [name of copyright owner]
5b139d58acfcae4b1bcab5a895706abafc2a87a0Dav Glass#
5b139d58acfcae4b1bcab5a895706abafc2a87a0Dav Glass# CDDL HEADER END
5b139d58acfcae4b1bcab5a895706abafc2a87a0Dav Glass#
5b139d58acfcae4b1bcab5a895706abafc2a87a0Dav Glass
5b139d58acfcae4b1bcab5a895706abafc2a87a0Dav Glass#
5b139d58acfcae4b1bcab5a895706abafc2a87a0Dav Glass# Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
5b139d58acfcae4b1bcab5a895706abafc2a87a0Dav Glass#
5b139d58acfcae4b1bcab5a895706abafc2a87a0Dav Glass
5b139d58acfcae4b1bcab5a895706abafc2a87a0Dav Glassinclude ../../make-rules/shared-macros.mk
5b139d58acfcae4b1bcab5a895706abafc2a87a0Dav Glass
5b139d58acfcae4b1bcab5a895706abafc2a87a0Dav GlassCOMPONENT_NAME= privoxy
5b139d58acfcae4b1bcab5a895706abafc2a87a0Dav GlassCOMPONENT_VERSION= 3.0.17
5b139d58acfcae4b1bcab5a895706abafc2a87a0Dav GlassCOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)-stable
5b139d58acfcae4b1bcab5a895706abafc2a87a0Dav GlassCOMPONENT_ARCHIVE= $(COMPONENT_SRC)-src.tar.gz
5b139d58acfcae4b1bcab5a895706abafc2a87a0Dav GlassCOMPONENT_PROJECT_URL= http://www.privoxy.org/
5b139d58acfcae4b1bcab5a895706abafc2a87a0Dav GlassCOMPONENT_ARCHIVE_HASH= \
5b139d58acfcae4b1bcab5a895706abafc2a87a0Dav Glass sha256:d1de36dc141180a5ab5e910507551564e958cc23a7d8daaa411e1564c208cd77
5b139d58acfcae4b1bcab5a895706abafc2a87a0Dav GlassCOMPONENT_ARCHIVE_URL= http://downloads.sourceforge.net/ijbswa/$(COMPONENT_ARCHIVE)
5b139d58acfcae4b1bcab5a895706abafc2a87a0Dav GlassCOMPONENT_BUGDB= utility/privoxy
5b139d58acfcae4b1bcab5a895706abafc2a87a0Dav Glass
5b139d58acfcae4b1bcab5a895706abafc2a87a0Dav Glassinclude ../../make-rules/prep.mk
5b139d58acfcae4b1bcab5a895706abafc2a87a0Dav Glassinclude ../../make-rules/configure.mk
5b139d58acfcae4b1bcab5a895706abafc2a87a0Dav Glassinclude ../../make-rules/ips.mk
5b139d58acfcae4b1bcab5a895706abafc2a87a0Dav Glass
5b139d58acfcae4b1bcab5a895706abafc2a87a0Dav GlassCOMPONENT_PRE_CONFIGURE_ACTION = \
5b139d58acfcae4b1bcab5a895706abafc2a87a0Dav Glass ($(CLONEY) $(SOURCE_DIR) $(@D))
5b139d58acfcae4b1bcab5a895706abafc2a87a0Dav Glass
5b139d58acfcae4b1bcab5a895706abafc2a87a0Dav GlassCOMPONENT_PREP_ACTION = \
(cd $(@D) ; \
autoheader; \
autoconf )
# Needed to installed most of the files into the proto area.
CONFIGURE_OPTIONS += --sysconfdir=/etc
CONFIGURE_OPTIONS += --localstatedir=/var
# common targets
build: $(BUILD_32)
install: $(INSTALL_32)
$(CP) $(BUILD_DIR_32)/templates/* $(PROTOETCDIR)/templates
test: $(NO_TESTS)
BUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
include ../../make-rules/depend.mk