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