Makefile revision 4406
7d262a3647a517a86d6d83058aedd18b7a6b06dfMark Andrews#
7d262a3647a517a86d6d83058aedd18b7a6b06dfMark Andrews# CDDL HEADER START
7d262a3647a517a86d6d83058aedd18b7a6b06dfMark Andrews#
f4c0d8db2b1a14e62660fa92f8aaf614b99d7f2fWitold Krecicki# The contents of this file are subject to the terms of the
96d49a84fff54fe19b430c56912db0a55cf3ded8Mark Andrews# Common Development and Distribution License (the "License").
96d49a84fff54fe19b430c56912db0a55cf3ded8Mark Andrews# You may not use this file except in compliance with the License.
f4c0d8db2b1a14e62660fa92f8aaf614b99d7f2fWitold Krecicki#
10966da999f8f7f364418aa446d8ead9c8a761cfMark Andrews# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
10966da999f8f7f364418aa446d8ead9c8a761cfMark Andrews# or http://www.opensolaris.org/os/licensing.
f4c0d8db2b1a14e62660fa92f8aaf614b99d7f2fWitold Krecicki# See the License for the specific language governing permissions
047e477d27b7faa9a063fde549e2b2c141f2291bWitold Krecicki# and limitations under the License.
f4c0d8db2b1a14e62660fa92f8aaf614b99d7f2fWitold Krecicki#
322efcb27d26cb5949ceabf6d3b93d0a2e25746fWitold Krecicki# When distributing Covered Code, include this CDDL HEADER in each
322efcb27d26cb5949ceabf6d3b93d0a2e25746fWitold Krecicki# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
4681ab1fc2c40e1d70fae38e64630c72c51c300eWitold Krecicki# If applicable, add the following below this CDDL HEADER, with the
4681ab1fc2c40e1d70fae38e64630c72c51c300eWitold Krecicki# fields enclosed by brackets "[]" replaced with your own identifying
4681ab1fc2c40e1d70fae38e64630c72c51c300eWitold Krecicki# information: Portions Copyright [yyyy] [name of copyright owner]
4681ab1fc2c40e1d70fae38e64630c72c51c300eWitold Krecicki#
4681ab1fc2c40e1d70fae38e64630c72c51c300eWitold Krecicki# CDDL HEADER END
b56bd9b59f590ade778ac6621fb5bede4001d8aeMark Andrews#
b56bd9b59f590ade778ac6621fb5bede4001d8aeMark Andrews
b56bd9b59f590ade778ac6621fb5bede4001d8aeMark Andrews#
96beefd76f597b77d4fcd51f8d766e5e59a2d216Mark Andrews# Copyright (c) 2015, Oracle and/or its affiliates. All rights reserved.
96beefd76f597b77d4fcd51f8d766e5e59a2d216Mark Andrews#
3f06b888ae80a8724b300ab39a4276537b0241cdWitold Krecicki
3f06b888ae80a8724b300ab39a4276537b0241cdWitold Krecickiinclude ../../../make-rules/shared-macros.mk
3f06b888ae80a8724b300ab39a4276537b0241cdWitold Krecickiinclude $(WS_COMPONENTS)/php/php-metadata.mk
948fe5822b9c8489856bc38b3063e30e9d34fcd3Mark Andrews
948fe5822b9c8489856bc38b3063e30e9d34fcd3Mark AndrewsCOMPONENT_NAME= suhosin
948fe5822b9c8489856bc38b3063e30e9d34fcd3Mark AndrewsCOMPONENT_VERSION= 0.9.37.1
ecff557eebd67a717ab6fd3323af27363ee3273dMark AndrewsCOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
ecff557eebd67a717ab6fd3323af27363ee3273dMark AndrewsCOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
ecff557eebd67a717ab6fd3323af27363ee3273dMark AndrewsCOMPONENT_ARCHIVE_HASH= \
fbc50678e18eced2c1324bd968e77d4d7737d0caMark Andrews sha256:322ba104a17196bae63d39404da103fd011b09fde0f02484dc44366511c586ba
fbc50678e18eced2c1324bd968e77d4d7737d0caMark AndrewsCOMPONENT_ARCHIVE_URL= http://download.suhosin.org/$(COMPONENT_ARCHIVE)
fbc50678e18eced2c1324bd968e77d4d7737d0caMark AndrewsCOMPONENT_PROJECT_URL= http://www.suhosin.org/
fbc50678e18eced2c1324bd968e77d4d7737d0caMark Andrews
c2afbab9dc8de73c85b32624a8364bc7532d1fa9Witold KrecickiTPNO= 22432
c2afbab9dc8de73c85b32624a8364bc7532d1fa9Witold Krecicki
c2afbab9dc8de73c85b32624a8364bc7532d1fa9Witold Krecickiinclude $(WS_MAKE_RULES)/prep.mk
51ec0decc11beda6b903fbfa18c35edef09ad5feWitold Krecickiinclude $(WS_MAKE_RULES)/configure.mk
51ec0decc11beda6b903fbfa18c35edef09ad5feWitold Krecickiinclude $(WS_MAKE_RULES)/ips.mk
3d0b7d5cc3428dedf4486e949fbd536eef494b99Evan Hunt
3d0b7d5cc3428dedf4486e949fbd536eef494b99Evan Huntinclude $(PHP_TOP_DIR)/phpize.mk
3d0b7d5cc3428dedf4486e949fbd536eef494b99Evan Hunt
3d0b7d5cc3428dedf4486e949fbd536eef494b99Evan HuntCONFIGURE_OPTIONS += --enable-suhosin
3d0b7d5cc3428dedf4486e949fbd536eef494b99Evan Hunt
3d0b7d5cc3428dedf4486e949fbd536eef494b99Evan Hunt# Run MySQL tests - requires MySQL (and maybe configuration!)
9268297baa1429d8851c36972d918dde66544746Mark Andrews#COMPONENT_TEST_ENV += TEST_SUHOSIN_MYSQL=1
9268297baa1429d8851c36972d918dde66544746Mark Andrews
9268297baa1429d8851c36972d918dde66544746Mark Andrewsconfigure: $(CONFIGURE_64)
9268297baa1429d8851c36972d918dde66544746Mark Andrewsbuild: $(BUILD_64)
d7ab0204e26098847232548f03833e185db0b99fMark Andrewsinstall: $(INSTALL_64)
d7ab0204e26098847232548f03833e185db0b99fMark Andrewstest: $(TEST_64)
d7ab0204e26098847232548f03833e185db0b99fMark Andrews
aabcb1fde0ca255ff30f0a5c10cbd39f798cc5b7Mark AndrewsREQUIRED_PACKAGES += system/library
aabcb1fde0ca255ff30f0a5c10cbd39f798cc5b7Mark Andrews