Makefile revision 4416
#
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
# Common Development and Distribution License (the "License").
# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# See the License for the specific language governing permissions
# and limitations under the License.
#
# When distributing Covered Code, include this CDDL HEADER in each
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
# If applicable, add the following below this CDDL HEADER, with the
# fields enclosed by brackets "[]" replaced with your own identifying
# information: Portions Copyright [yyyy] [name of copyright owner]
#
# CDDL HEADER END
#
#
#
TPNO= 22435
# Use GCC on S11 to work around build issues with Studio 12.1
# We patch configure.in to allow building just modules (no SAPI's), e.g. intl.
# Since we are sharing the source, regenerate configure here.
ASLR_MODE = $(ASLR_ENABLE)
# .conf files go under /etc, not /usr
# var doesn't go under /usr either!
# Nor does php.ini and its friends.
# Adapted from PHP 5.3 Makefile.
# Creates alternate versions of the scripts needed for building extensions
# separately, since the generated versions of these scripts hardcode configuring
# for a PHP that is installed on the system.
( set -e; \
sed -e 's%(cd "$$phpdir" && cp $$FILES_BUILD "$$builddir"/build)%(cd "$$phpdir/build" \&\& cp $$FILES_BUILD "$$builddir"/build)%' | \
> proto-scripts/phpize-proto ; \
chmod 755 proto-scripts/phpize-proto ) ; \
( set -e; \
chmod 755 proto-scripts/php-config-proto ) ;
# For picking up php.ini-development and -production
PKG_PROTO_DIRS += $(COMPONENT_SRC)
install: $(INSTALL_64)
cp intl/build/prototype/$(MACH)/$(CONFIGURE_PREFIX)/lib/extensions/no-debug-zts-20131226/intl.so $(PROTOUSRPHPVERDIR)/lib/extensions/no-debug-zts-20131226/
# requirement from intl
# The test results are unstable between runs
test: $(TEST_64)