Makefile revision 3996
2834197ede0bfaec5b57cb1666e0c21f76408570David Lawrence#
0ba23b0a24e0c17ee50073789704edaeeae2c360Andreas Gustafsson# CDDL HEADER START
250ed9e230b3903b1b264dd1ed2f691fc7cd2f8fAndreas Gustafsson#
717e2cf05b12506b40eb03f42ea963c30c7e9f97Brian Wellington# The contents of this file are subject to the terms of the
9c3531d72aeaad6c5f01efe6a1c82023e1379e4dDavid Lawrence# Common Development and Distribution License (the "License").
250ed9e230b3903b1b264dd1ed2f691fc7cd2f8fAndreas Gustafsson# You may not use this file except in compliance with the License.
250ed9e230b3903b1b264dd1ed2f691fc7cd2f8fAndreas Gustafsson#
250ed9e230b3903b1b264dd1ed2f691fc7cd2f8fAndreas Gustafsson# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
250ed9e230b3903b1b264dd1ed2f691fc7cd2f8fAndreas Gustafsson# or http://www.opensolaris.org/os/licensing.
250ed9e230b3903b1b264dd1ed2f691fc7cd2f8fAndreas Gustafsson# See the License for the specific language governing permissions
113251976d99be74da788bdb78300957b77a1381Andreas Gustafsson# and limitations under the License.
250ed9e230b3903b1b264dd1ed2f691fc7cd2f8fAndreas Gustafsson#
113251976d99be74da788bdb78300957b77a1381Andreas Gustafsson# When distributing Covered Code, include this CDDL HEADER in each
250ed9e230b3903b1b264dd1ed2f691fc7cd2f8fAndreas Gustafsson# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
40f53fa8d9c6a4fc38c0014495e7a42b08f52481David Lawrence# If applicable, add the following below this CDDL HEADER, with the
113251976d99be74da788bdb78300957b77a1381Andreas Gustafsson# fields enclosed by brackets "[]" replaced with your own identifying
250ed9e230b3903b1b264dd1ed2f691fc7cd2f8fAndreas Gustafsson# information: Portions Copyright [yyyy] [name of copyright owner]
113251976d99be74da788bdb78300957b77a1381Andreas Gustafsson#
250ed9e230b3903b1b264dd1ed2f691fc7cd2f8fAndreas Gustafsson# CDDL HEADER END
113251976d99be74da788bdb78300957b77a1381Andreas Gustafsson#
250ed9e230b3903b1b264dd1ed2f691fc7cd2f8fAndreas Gustafsson
113251976d99be74da788bdb78300957b77a1381Andreas Gustafsson#
250ed9e230b3903b1b264dd1ed2f691fc7cd2f8fAndreas Gustafsson# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
113251976d99be74da788bdb78300957b77a1381Andreas Gustafsson#
dbeb32261081835bb9ba44db68df5dfed0fda411Andreas Gustafsson
717e2cf05b12506b40eb03f42ea963c30c7e9f97Brian Wellingtoninclude ../../make-rules/shared-macros.mk
717e2cf05b12506b40eb03f42ea963c30c7e9f97Brian Wellington
250ed9e230b3903b1b264dd1ed2f691fc7cd2f8fAndreas GustafssonCOMPONENT_NAME= privoxy
40f53fa8d9c6a4fc38c0014495e7a42b08f52481David LawrenceCOMPONENT_VERSION= 3.0.17
a1747570262ed336c213aaf6bd31bc91993a46deAndreas GustafssonCOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)-stable
40f53fa8d9c6a4fc38c0014495e7a42b08f52481David LawrenceCOMPONENT_ARCHIVE= $(COMPONENT_SRC)-src.tar.gz
113251976d99be74da788bdb78300957b77a1381Andreas GustafssonCOMPONENT_PROJECT_URL= http://www.privoxy.org/
250ed9e230b3903b1b264dd1ed2f691fc7cd2f8fAndreas GustafssonCOMPONENT_ARCHIVE_HASH= \
113251976d99be74da788bdb78300957b77a1381Andreas Gustafsson sha256:d1de36dc141180a5ab5e910507551564e958cc23a7d8daaa411e1564c208cd77
250ed9e230b3903b1b264dd1ed2f691fc7cd2f8fAndreas GustafssonCOMPONENT_ARCHIVE_URL= http://downloads.sourceforge.net/ijbswa/$(COMPONENT_ARCHIVE)
250ed9e230b3903b1b264dd1ed2f691fc7cd2f8fAndreas GustafssonCOMPONENT_BUGDB= utility/privoxy
250ed9e230b3903b1b264dd1ed2f691fc7cd2f8fAndreas Gustafsson
250ed9e230b3903b1b264dd1ed2f691fc7cd2f8fAndreas GustafssonTPNO= 9002
250ed9e230b3903b1b264dd1ed2f691fc7cd2f8fAndreas Gustafsson
250ed9e230b3903b1b264dd1ed2f691fc7cd2f8fAndreas Gustafssoninclude $(WS_MAKE_RULES)/prep.mk
250ed9e230b3903b1b264dd1ed2f691fc7cd2f8fAndreas Gustafssoninclude $(WS_MAKE_RULES)/configure.mk
250ed9e230b3903b1b264dd1ed2f691fc7cd2f8fAndreas Gustafssoninclude $(WS_MAKE_RULES)/ips.mk
250ed9e230b3903b1b264dd1ed2f691fc7cd2f8fAndreas Gustafsson
250ed9e230b3903b1b264dd1ed2f691fc7cd2f8fAndreas GustafssonCOMPONENT_PRE_CONFIGURE_ACTION = \
250ed9e230b3903b1b264dd1ed2f691fc7cd2f8fAndreas Gustafsson ($(CLONEY) $(SOURCE_DIR) $(@D))
250ed9e230b3903b1b264dd1ed2f691fc7cd2f8fAndreas Gustafsson
51b951ab2a5e45e6a3994d033fec9b68e1f07985Mark AndrewsCOMPONENT_PREP_ACTION = \
250ed9e230b3903b1b264dd1ed2f691fc7cd2f8fAndreas Gustafsson (cd $(@D) ; \
1bc9afc3313249d656abae2d298c8d84308891d0Andreas Gustafsson autoheader; \
250ed9e230b3903b1b264dd1ed2f691fc7cd2f8fAndreas Gustafsson autoconf )
250ed9e230b3903b1b264dd1ed2f691fc7cd2f8fAndreas Gustafsson
250ed9e230b3903b1b264dd1ed2f691fc7cd2f8fAndreas Gustafsson# Needed to installed most of the files into the proto area.
717e2cf05b12506b40eb03f42ea963c30c7e9f97Brian WellingtonCONFIGURE_OPTIONS += --sysconfdir=/etc
250ed9e230b3903b1b264dd1ed2f691fc7cd2f8fAndreas GustafssonCONFIGURE_OPTIONS += --localstatedir=/var
250ed9e230b3903b1b264dd1ed2f691fc7cd2f8fAndreas Gustafsson
250ed9e230b3903b1b264dd1ed2f691fc7cd2f8fAndreas Gustafsson# common targets
dbeb32261081835bb9ba44db68df5dfed0fda411Andreas Gustafssonbuild: $(BUILD_32)
113251976d99be74da788bdb78300957b77a1381Andreas Gustafsson
250ed9e230b3903b1b264dd1ed2f691fc7cd2f8fAndreas Gustafssoninstall: $(INSTALL_32)
250ed9e230b3903b1b264dd1ed2f691fc7cd2f8fAndreas Gustafsson $(CP) $(BUILD_DIR_32)/templates/* $(PROTOETCDIR)/templates
113251976d99be74da788bdb78300957b77a1381Andreas Gustafsson
250ed9e230b3903b1b264dd1ed2f691fc7cd2f8fAndreas Gustafssontest: $(NO_TESTS)
250ed9e230b3903b1b264dd1ed2f691fc7cd2f8fAndreas Gustafsson
250ed9e230b3903b1b264dd1ed2f691fc7cd2f8fAndreas Gustafsson
e21d199dca95aff5d50f133d6b064309e209af00Brian WellingtonREQUIRED_PACKAGES += library/pcre
ef45c94e927e97ad0c804780a1eca59240088f60Andreas GustafssonREQUIRED_PACKAGES += library/zlib
ef45c94e927e97ad0c804780a1eca59240088f60Andreas GustafssonREQUIRED_PACKAGES += shell/ksh93
113251976d99be74da788bdb78300957b77a1381Andreas GustafssonREQUIRED_PACKAGES += system/core-os
113251976d99be74da788bdb78300957b77a1381Andreas GustafssonREQUIRED_PACKAGES += system/library
bfcdcde570be11e3d210cfdd262fae8b8e6c62ceMark AndrewsREQUIRED_PACKAGES += system/network
250ed9e230b3903b1b264dd1ed2f691fc7cd2f8fAndreas Gustafsson