Makefile revision 7120
#
# 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= 17707
# publish for only one version of perl
# There are tests, but they fail consistently because the test samples are out
# of date and not generated with a known configuration. See
TEST_TARGET= $(SKIP_TEST)
# We want to build a couple of extra things after the installs are done, so set
# the install targets appropriately.
# Depends on newer cairo, which cannot be updated in S11.
# GMP header files for the guile extension (no --with- flag)
# The guile build is broken with studio (15732452), so we disable this for now.
# Java header files (--with-javaincludedir allows for only one directory)
# PHP header files (no --with- flag)
CXX += $(studio_NORUNPATH)
# Make sure to use the right python, depending on the 32/64-bit build.
# perl, ruby, php ship 64-bit only.
$(INSTALL_64): COMPONENT_INSTALL_ARGS += PHP_INSTALL_DIR=$(shell PATH=$(PATH) php-config --extension-dir)
# is no place to stick 64-bit modules, so skip it. On the other hand, make
# sure to find the right tcl bits when building 32-bit.
# Put the 64-bit lua module in a 64-bit directory.
# Use GNU ln, which supports the -r (--relative) option.
# Create the config file once the 32-bit build is complete. This runs the bits
# we just built, so we have to set a handful of variables to the right place.
# The 32-bit executables are in their own directory, so we have to point to
# that version of dot explicitly.
# Once the build is complete, compile the .py file. There's no need to compile
# the one in the "64" directory, so don't recurse. And make sure that the
# build path doesn't get embedded in the .pyc file.
# The test infrastructure doesn't run in a VPATHed environment.
REQUIRED_PACKAGES += $(PERL_PKG)