Makefile revision 3469
10318N/A#
10318N/A# CDDL HEADER START
10318N/A#
10318N/A# The contents of this file are subject to the terms of the
10318N/A# Common Development and Distribution License (the "License").
10318N/A# You may not use this file except in compliance with the License.
10318N/A#
10318N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
10318N/A# or http://www.opensolaris.org/os/licensing.
10318N/A# See the License for the specific language governing permissions
10318N/A# and limitations under the License.
10318N/A#
10318N/A# When distributing Covered Code, include this CDDL HEADER in each
10318N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
10318N/A# If applicable, add the following below this CDDL HEADER, with the
11330N/A# fields enclosed by brackets "[]" replaced with your own identifying
10318N/A# information: Portions Copyright [yyyy] [name of copyright owner]
10318N/A#
10318N/A# CDDL HEADER END
10318N/A#
11313N/A# Copyright (c) 2012, 2014, Oracle and/or its affiliates. All rights reserved.
11313N/A#
11313N/Ainclude ../../../make-rules/shared-macros.mk
10318N/A
11313N/ACOMPONENT_NAME= APC
10318N/ACOMPONENT_VERSION= 3.1.9
10318N/ACOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
10318N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tgz
10318N/ACOMPONENT_ARCHIVE_HASH= \
10318N/A sha256:47def118d9da1a68521e1c9b3dd6660cf94be638ebecad010bdd7d7ca482d671
10318N/ACOMPONENT_ARCHIVE_URL= http://pecl.php.net/get/$(COMPONENT_ARCHIVE)
10318N/ACOMPONENT_PROJECT_URL= http://pecl.php.net/package/APC
10318N/A
10318N/Ainclude ../extensions.mk
10318N/A
10318N/ACONFIGURE_OPTIONS += \
10318N/A --enable-apc \
10318N/A --enable-apc-mmap
10318N/A
10318N/ACOMPONENT_POST_INSTALL_ACTION = ( \
10318N/A set -e; \
10318N/A $(MKDIR) $(PROTO_DIR)/$(APACHE2_SAMPLES_CONFDIR); \
10318N/A $(INSTALL) -m 0644 $(COMPONENT_DIR)/../Solaris/php-apc-stats.conf \
10318N/A $(PROTO_DIR)/$(APACHE2_SAMPLES_CONFDIR)/php$(PHP_REL)-apc-stats.conf; \
10318N/A $(GSED) -i -e "s@<<VERSION>>@$(PHP_REL)@g" \
10318N/A $(PROTO_DIR)/$(APACHE2_SAMPLES_CONFDIR)/php$(PHP_REL)-apc-stats.conf; \
10318N/A $(MKDIR) $(PROTO_DIR)/usr/php/$(PHP_REL)/samples/apc; \
10318N/A $(INSTALL) -m 0555 $(SOURCE_DIR)/apc.php \
10318N/A $(PROTO_DIR)/usr/php/$(PHP_REL)/samples/apc/apc.php; \
10318N/A ) ; \
10318N/A $(FIX_CONFIG_FILES)
10318N/A
10318N/APKG_PROTO_DIRS += $(COMPONENT_DIR)/../APC-zts/build/prototype/$(MACH)
10328N/A