Makefile revision 3996
16214N/A#
16214N/A# CDDL HEADER START
16130N/A#
16130N/A# The contents of this file are subject to the terms of the
16130N/A# Common Development and Distribution License (the "License").
16130N/A# You may not use this file except in compliance with the License.
16130N/A#
16130N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
16130N/A# or http://www.opensolaris.org/os/licensing.
16130N/A# See the License for the specific language governing permissions
16130N/A# and limitations under the License.
16130N/A#
16130N/A# When distributing Covered Code, include this CDDL HEADER in each
16130N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
16130N/A# If applicable, add the following below this CDDL HEADER, with the
16130N/A# fields enclosed by brackets "[]" replaced with your own identifying
16130N/A# information: Portions Copyright [yyyy] [name of copyright owner]
16130N/A#
16130N/A# CDDL HEADER END
16130N/A#
16130N/A# Copyright (c) 2012, 2015, Oracle and/or its affiliates. All rights reserved.
16130N/A#
16130N/Ainclude ../../../make-rules/shared-macros.mk
16130N/A
16130N/ACOMPONENT_NAME= php
16130N/ACOMPONENT_VERSION= 5.3.29
16130N/ACOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
16130N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.bz2
16130N/ACOMPONENT_ARCHIVE_HASH= \
16130N/A sha256:c4e1cf6972b2a9c7f2777a18497d83bf713cdbecabb65d3ff62ba441aebb0091
16130N/ACOMPONENT_ARCHIVE_URL= http://us.php.net/get/$(COMPONENT_ARCHIVE)/from/this/mirror
16130N/A
16130N/APATCH_DIR = ../php-sapi/patches
16130N/A
16214N/Ainclude ../php-sapi/php.mk
16214N/A
16130N/Ainclude $(WS_MAKE_RULES)/prep.mk
16130N/Ainclude $(WS_MAKE_RULES)/configure.mk
16130N/Ainclude $(WS_MAKE_RULES)/ips.mk
16130N/A
16130N/Ainclude ../common.mk
16130N/A
16130N/ACONFIGURE_OPTIONS += \
16130N/A --disable-all \
16130N/A $(COMMON_CONFIG_OPTIONS) \
16130N/A --with-config-file-path=$(NSAPI_CONF_DIR) \
16130N/A --with-config-file-scan-dir=$(MODULES_CONF_DIR) \
16130N/A --disable-discard-path \
16130N/A --enable-cgi \
16130N/A --enable-fastcgi \
16130N/A --enable-force-cgi-redirect
16130N/A
16130N/ACONFIGURE_ENV += $(CONF_ENVLINE)
16130N/A
16130N/ACOMPONENT_INSTALL_TARGETS = install-sapi
16130N/A
16130N/A# common targets
16130N/Aconfigure: $(CONFIGURE_32)
16130N/A
16130N/Abuild: $(BUILD_32)
16130N/A
16130N/Ainstall: $(INSTALL_32)
16130N/A
16130N/Atest: $(TEST_32)
16130N/A
16130N/A# php-sapi does the publish
16130N/Apublish: install
16130N/A
16214N/A
16214N/A