Makefile revision 407
407N/A#
407N/A# CDDL HEADER START
407N/A#
407N/A# The contents of this file are subject to the terms of the
407N/A# Common Development and Distribution License (the "License").
407N/A# You may not use this file except in compliance with the License.
407N/A#
407N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
407N/A# or http://www.opensolaris.org/os/licensing.
407N/A# See the License for the specific language governing permissions
407N/A# and limitations under the License.
407N/A#
407N/A# When distributing Covered Code, include this CDDL HEADER in each
407N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
407N/A# If applicable, add the following below this CDDL HEADER, with the
407N/A# fields enclosed by brackets "[]" replaced with your own identifying
407N/A# information: Portions Copyright [yyyy] [name of copyright owner]
407N/A#
407N/A# CDDL HEADER END
407N/A#
407N/A
407N/A#
407N/A# Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved.
407N/A#
407N/A
407N/Ainclude ../../make-rules/shared-macros.mk
407N/A
407N/ACOMPONENT_NAME= privoxy
407N/ACOMPONENT_VERSION= 3.0.8
407N/ACOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)-stable
407N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC)-src.tar.gz
407N/ACOMPONENT_PROJECT_URL= http://www.privoxy.org/
407N/ACOMPONENT_ARCHIVE_HASH= sha1:7fe2b7afde4066ef1f170f5f11850cf9da428a42
407N/ACOMPONENT_ARCHIVE_URL= http://downloads.sourceforge.net/ijbswa/$(COMPONENT_ARCHIVE)
407N/A
407N/Ainclude ../../make-rules/prep.mk
407N/Ainclude ../../make-rules/configure.mk
407N/Ainclude ../../make-rules/ips.mk
407N/A
407N/ACOMPONENT_PRE_CONFIGURE_ACTION = \
407N/A ($(CLONEY) $(SOURCE_DIR) $(@D))
407N/A
407N/ACOMPONENT_PREP_ACTION = \
407N/A (cd $(@D) ; \
407N/A autoheader; \
407N/A autoconf )
407N/A
407N/A# Needed to installed most of the files into the proto area.
407N/ACONFIGURE_OPTIONS += --sysconfdir=/etc
407N/ACONFIGURE_OPTIONS += --localstatedir=/var
407N/A
407N/A# DESTDIR doesn't work correctly, so we specify some of the paths directly.
407N/ACOMPONENT_INSTALL_ARGS += prefix=$(PROTOUSRDIR)
407N/ACOMPONENT_INSTALL_ARGS += CONF_BASE=$(PROTOETCDIR)
407N/ACOMPONENT_INSTALL_ARGS += SBIN_DEST=$(PROTOUSRSBINDIR)
407N/ACOMPONENT_INSTALL_ARGS += MAN_DIR=$(PROTOUSRSHAREMANDIR)
407N/ACOMPONENT_INSTALL_ARGS += VAR_DEST=$(PROTO_DIR)/var
407N/A
407N/A# common targets
407N/Abuild: $(BUILD_32)
407N/A
407N/Ainstall: $(INSTALL_32)
407N/A $(CP) $(BUILD_DIR_32)/templates/* $(PROTOETCDIR)/templates
407N/A $(MKDIR) $(PROTOUSRSHAREDOCDIR)/privoxy
407N/A $(CP) $(BUILD_DIR_32)/doc/text/faq.txt $(PROTOUSRSHAREDOCDIR)/privoxy
407N/A
407N/Atest: $(NO_TESTS)
407N/A
407N/ABUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
407N/A
407N/Ainclude ../../make-rules/depend.mk