Makefile revision 3817
221N/A#
221N/A# CDDL HEADER START
221N/A#
221N/A# The contents of this file are subject to the terms of the
221N/A# Common Development and Distribution License (the "License").
221N/A# You may not use this file except in compliance with the License.
221N/A#
221N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
221N/A# or http://www.opensolaris.org/os/licensing.
221N/A# See the License for the specific language governing permissions
221N/A# and limitations under the License.
221N/A#
221N/A# When distributing Covered Code, include this CDDL HEADER in each
221N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
221N/A# If applicable, add the following below this CDDL HEADER, with the
221N/A# fields enclosed by brackets "[]" replaced with your own identifying
221N/A# information: Portions Copyright [yyyy] [name of copyright owner]
221N/A#
221N/A# CDDL HEADER END
221N/A#
221N/A
221N/A#
221N/A# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
221N/A#
221N/A
221N/Ainclude ../../make-rules/shared-macros.mk
618N/A
221N/ACOMPONENT_NAME= privoxy
221N/ACOMPONENT_VERSION= 3.0.17
221N/ACOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)-stable
221N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC)-src.tar.gz
221N/ACOMPONENT_PROJECT_URL= http://www.privoxy.org/
221N/ACOMPONENT_ARCHIVE_HASH= \
221N/A sha256:d1de36dc141180a5ab5e910507551564e958cc23a7d8daaa411e1564c208cd77
221N/ACOMPONENT_ARCHIVE_URL= http://downloads.sourceforge.net/ijbswa/$(COMPONENT_ARCHIVE)
221N/ACOMPONENT_BUGDB= utility/privoxy
221N/A
221N/ATPNO= 9002
221N/A
221N/Ainclude $(WS_MAKE_RULES)/prep.mk
221N/Ainclude $(WS_MAKE_RULES)/configure.mk
221N/Ainclude $(WS_MAKE_RULES)/ips.mk
221N/A
221N/ACOMPONENT_PRE_CONFIGURE_ACTION = \
221N/A ($(CLONEY) $(SOURCE_DIR) $(@D))
221N/A
221N/ACOMPONENT_PREP_ACTION = \
221N/A (cd $(@D) ; \
221N/A autoheader; \
autoconf )
CC += $(CC_BITS)
# Needed to installed most of the files into the proto area.
CONFIGURE_OPTIONS += --sysconfdir=/etc
CONFIGURE_OPTIONS += --localstatedir=/var
CONFIGURE_OPTIONS += --sbindir=$(CONFIGURE_PREFIX)/lib
ASLR_MODE = $(ASLR_ENABLE)
# common targets
configure: $(CONFIGURE_64)
build: $(BUILD_64)
install: $(INSTALL_64)
$(CP) $(BUILD_DIR_64)/templates/* $(PROTOETCDIR)/templates
test: $(NO_TESTS)
REQUIRED_PACKAGES += library/pcre
REQUIRED_PACKAGES += library/zlib
REQUIRED_PACKAGES += shell/ksh93
REQUIRED_PACKAGES += system/core-os
REQUIRED_PACKAGES += system/library
REQUIRED_PACKAGES += system/network