Makefile revision 2373
7e83c0e03fbf397167822e170d97c3a210658768William Giokas# CDDL HEADER START
7e83c0e03fbf397167822e170d97c3a210658768William Giokas# The contents of this file are subject to the terms of the
7e83c0e03fbf397167822e170d97c3a210658768William Giokas# Common Development and Distribution License (the "License").
7e83c0e03fbf397167822e170d97c3a210658768William Giokas# You may not use this file except in compliance with the License.
7e83c0e03fbf397167822e170d97c3a210658768William Giokas# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9e15a18acd19bf80faef774ee92877024ef599a5William Giokas# See the License for the specific language governing permissions
7e83c0e03fbf397167822e170d97c3a210658768William Giokas# and limitations under the License.
7e83c0e03fbf397167822e170d97c3a210658768William Giokas# When distributing Covered Code, include this CDDL HEADER in each
7e83c0e03fbf397167822e170d97c3a210658768William Giokas# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
7e83c0e03fbf397167822e170d97c3a210658768William Giokas# If applicable, add the following below this CDDL HEADER, with the
ca08063781666a530993f7c88db1256044689c24William Giokas# fields enclosed by brackets "[]" replaced with your own identifying
ca08063781666a530993f7c88db1256044689c24William Giokas# information: Portions Copyright [yyyy] [name of copyright owner]
ca08063781666a530993f7c88db1256044689c24William Giokas# CDDL HEADER END
7e83c0e03fbf397167822e170d97c3a210658768William Giokas# Copyright (c) 2012, 2013, Oracle and/or its affiliates. All rights reserved.
7e83c0e03fbf397167822e170d97c3a210658768William GiokasCOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
7e83c0e03fbf397167822e170d97c3a210658768William Giokas sha256:e12db21c623b82a2244c4dd9b06bb75af20868c1b748a105a6829a5acc36b287
7e83c0e03fbf397167822e170d97c3a210658768William GiokasCOMPONENT_ARCHIVE_URL= http://us.php.net/get/$(COMPONENT_ARCHIVE)/from/this/mirror
7e83c0e03fbf397167822e170d97c3a210658768William Giokas# webserver7-spi only for php NSAPI
7e83c0e03fbf397167822e170d97c3a210658768William Giokas#COMPONENT_VERSION_1= NONE
7e83c0e03fbf397167822e170d97c3a210658768William GiokasCOMPONENT_ARCHIVE_1= $(COMPONENT_NAME_1).tar.bz2
4a8fa990693edc47ac2192bf088a6e22e2390b41William Giokas sha256:9739fe99ed270955546313322775940c6b7e8eb802707d248342406ebe5b1c97
4a8fa990693edc47ac2192bf088a6e22e2390b41William Giokas# The Netscape server?
4a8fa990693edc47ac2192bf088a6e22e2390b41William Giokas# Came from Sun's Netscape (web stack) group originally?
4a8fa990693edc47ac2192bf088a6e22e2390b41William GiokasCOMPONENT_ARCHIVE_URL_1= $(EXTERNAL_ARCHIVE_MIRROR)/$(COMPONENT_ARCHIVE_1)
862f4963c6f7778cea9e715eeb11ea959eba6db3William Giokas $(RM) -r $(COMPONENT_DIR)/$(COMPONENT_SRC_1); \
7e83c0e03fbf397167822e170d97c3a210658768William Giokas $(UNPACK) $(UNPACK_ARGS) ./$(COMPONENT_ARCHIVE_1); \
f11880744c27209a42f502c690db86b38d2db14bZbigniew Jędrzejewski-Szmek --with-config-file-path=$(CONF_DIR) \
c736283bfb81f5b00756e08a13946c113a41527fJason St. John --with-config-file-scan-dir=$(CONF_DIR)/conf.d \
7e83c0e03fbf397167822e170d97c3a210658768William Giokas --with-mysqli=shared,$(MYSQL_DIR)/bin/mysql_config \
7e83c0e03fbf397167822e170d97c3a210658768William Giokas --with-nsapi=$(COMPONENT_DIR)/webserver7-spi \
sed -e 's%cd "$$phpdir" && cp $$FILES_BUILD "$$builddir"/build%cd "$$phpdir/build" \&\& cp $$FILES_BUILD "$$builddir"/build%' \
> phpize-proto.zts ; \
chmod 755 phpize-proto.zts )
$(GSED) -e "s@extension_dir = \(.*\)@extension_dir=$(PHP_ROOT_ZTS_EXT)@"< ../php-sapi/build/prototype/$(MACH)/$(CONFDIR)/php.ini > php.ini; \
test: $(TEST_32)