Makefile revision 3469
f579559b3a14c1f1ef96c372e7626c4733e6ef7dTom Gundersen#
f579559b3a14c1f1ef96c372e7626c4733e6ef7dTom Gundersen# CDDL HEADER START
f579559b3a14c1f1ef96c372e7626c4733e6ef7dTom Gundersen#
f579559b3a14c1f1ef96c372e7626c4733e6ef7dTom Gundersen# The contents of this file are subject to the terms of the
f579559b3a14c1f1ef96c372e7626c4733e6ef7dTom Gundersen# Common Development and Distribution License (the "License").
f579559b3a14c1f1ef96c372e7626c4733e6ef7dTom Gundersen# You may not use this file except in compliance with the License.
f579559b3a14c1f1ef96c372e7626c4733e6ef7dTom Gundersen#
f579559b3a14c1f1ef96c372e7626c4733e6ef7dTom Gundersen# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
f579559b3a14c1f1ef96c372e7626c4733e6ef7dTom Gundersen# or http://www.opensolaris.org/os/licensing.
f579559b3a14c1f1ef96c372e7626c4733e6ef7dTom Gundersen# See the License for the specific language governing permissions
f579559b3a14c1f1ef96c372e7626c4733e6ef7dTom Gundersen# and limitations under the License.
f579559b3a14c1f1ef96c372e7626c4733e6ef7dTom Gundersen#
f579559b3a14c1f1ef96c372e7626c4733e6ef7dTom Gundersen# When distributing Covered Code, include this CDDL HEADER in each
f579559b3a14c1f1ef96c372e7626c4733e6ef7dTom Gundersen# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
f579559b3a14c1f1ef96c372e7626c4733e6ef7dTom Gundersen# If applicable, add the following below this CDDL HEADER, with the
f579559b3a14c1f1ef96c372e7626c4733e6ef7dTom Gundersen# fields enclosed by brackets "[]" replaced with your own identifying
f579559b3a14c1f1ef96c372e7626c4733e6ef7dTom Gundersen# information: Portions Copyright [yyyy] [name of copyright owner]
f579559b3a14c1f1ef96c372e7626c4733e6ef7dTom Gundersen#
f579559b3a14c1f1ef96c372e7626c4733e6ef7dTom Gundersen# CDDL HEADER END
f579559b3a14c1f1ef96c372e7626c4733e6ef7dTom Gundersen#
f579559b3a14c1f1ef96c372e7626c4733e6ef7dTom Gundersen# Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved.
f579559b3a14c1f1ef96c372e7626c4733e6ef7dTom Gundersen#
f579559b3a14c1f1ef96c372e7626c4733e6ef7dTom Gunderseninclude ../../../make-rules/shared-macros.mk
f579559b3a14c1f1ef96c372e7626c4733e6ef7dTom Gundersen
f579559b3a14c1f1ef96c372e7626c4733e6ef7dTom GundersenCOMPONENT_NAME= zendopcache
f579559b3a14c1f1ef96c372e7626c4733e6ef7dTom GundersenCOMPONENT_VERSION= 7.0.2
f579559b3a14c1f1ef96c372e7626c4733e6ef7dTom GundersenCOMPONENT_PROJECT_URL= http://pecl.php.net/package/ZendOpcache
1346b1f0388f4100bb3c2a2bb23bc881769c020cTom GundersenCOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
f5be560181d092c5f52a2b819aedcd48220f36abTom GundersenCOMPONENT_ARCHIVE= $(COMPONENT_SRC).tgz
5c1d3fc93d91384bbac29adf01074fa4375317eaUmut Tezduyar LindskogCOMPONENT_ARCHIVE_HASH= \
f579559b3a14c1f1ef96c372e7626c4733e6ef7dTom Gundersen sha256:4aea4f0242dc50a5a68e7a170c3c537716e5da03b2a7b322349f211c09d90f44
f579559b3a14c1f1ef96c372e7626c4733e6ef7dTom GundersenCOMPONENT_ARCHIVE_URL= http://pecl.php.net/get/$(COMPONENT_ARCHIVE)
f579559b3a14c1f1ef96c372e7626c4733e6ef7dTom GundersenCOMPONENT_BUGDB= utility/php
f579559b3a14c1f1ef96c372e7626c4733e6ef7dTom Gundersen
f579559b3a14c1f1ef96c372e7626c4733e6ef7dTom Gunderseninclude ../extensions.mk
06f021a8048583d66202e3ac5cd0a12386d33ac2Tom Gunderseninclude ../cleancr.mk
2cc412b59353576cece2d5b30c6a39c70552f0a0Tom Gundersen
f579559b3a14c1f1ef96c372e7626c4733e6ef7dTom GundersenCOMPONENT_PREP_ACTION += $(call cleancr,$(SOURCE_DIR)/Optimizer/zend_optimizer_internal.h)
aba496a58acf9d9c61314de71353550e579f85eeUmut Tezduyar LindskogCOMPONENT_PREP_ACTION += $(call cleancr,$(SOURCE_DIR)/Optimizer/zend_optimizer.c)
aba496a58acf9d9c61314de71353550e579f85eeUmut Tezduyar LindskogCOMPONENT_PREP_ACTION += $(call cleancr,$(SOURCE_DIR)/Optimizer/zend_optimizer.h)
1a436809498faf6486815baa0338fb6b8e5def07Tom Gundersen
f579559b3a14c1f1ef96c372e7626c4733e6ef7dTom GundersenCOMPONENT_POST_INSTALL_ACTION = ( \
f579559b3a14c1f1ef96c372e7626c4733e6ef7dTom Gundersen set -e; \
f579559b3a14c1f1ef96c372e7626c4733e6ef7dTom Gundersen $(FIX_CONFIG_FILES) \
f579559b3a14c1f1ef96c372e7626c4733e6ef7dTom Gundersen )
f579559b3a14c1f1ef96c372e7626c4733e6ef7dTom Gundersen
f579559b3a14c1f1ef96c372e7626c4733e6ef7dTom Gundersen# Testing note:
52433f6b65eccd1c54606dde999610640f3458acTom Gundersen# According to: https://github.com/zendtech/ZendOptimizerPlus/issues/13
02b59d57e0c08231645120077f651151f5bb2babTom Gundersen# and https://github.com/zendtech/ZendOptimizerPlus/issues/13
52433f6b65eccd1c54606dde999610640f3458acTom Gundersen# these tests are having issues.
02b59d57e0c08231645120077f651151f5bb2babTom Gundersen# My own testing shows that if these are run by hand most of them pass.
02b59d57e0c08231645120077f651151f5bb2babTom Gundersen# There is some issue around the cli version of php not liking this optimizer.
02b59d57e0c08231645120077f651151f5bb2babTom Gundersen