Makefile revision 5680
#
# 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= 17708
# IPS_COMPONENT_VERSION is by default set to $(COMPONENT_VERSION) but in
# this case we need to replace the '-' by '.'.
# To get the Perl modules built it is necessary to copy the PerlMagick
# directory to the build directory
# Show name of "error tag" as part of the warning
# To remove the compiler complaints about __restrict keyword,
# -D_magickcore_restrict should be used.
# Needed to generate a decent RUNPATH for Magick.so
#
# configuration file 'type-ghostscript.xml' is being used.
# Configure option 'with-gs-font-dir' is required because some build systems
# might not have ghostscript fonts installed.
# Needed for "gmake test" to work successfully. If SHELLOPTS is exported (as
# it is by the Userland Makefiles), then all shell options get exported to
# child invocations of bash, which results in test failures due to nounset and
# xtrace being set unexpectedly, and errors such as "$1: unbound variable" and
# diffs failing due to script tracing in output files.
# Tests hang waiting for input unless stdin is redirected.
# Master test transforms
'-n '\
'-e "/TOTAL/p" ' \
'-e "/SKIP/p" ' \
'-e "/PASS/p" ' \
'-e "/FAIL/p" ' \
'-e "/ERROR/p" '
# Remove build machine runpath from libMagick++-6.Q16.so.1.0.0 and
# libMagickCore-6.Q16.so.1.0.0
COMPONENT_POST_INSTALL_ACTION.32 += \
$(ELFEDIT) -e 'dyn:delete RUNPATH' \
$(ELFEDIT) -e 'dyn:delete RPATH' \
$(ELFEDIT) -e 'dyn:delete RUNPATH' \
$(ELFEDIT) -e 'dyn:delete RPATH' \
COMPONENT_POST_INSTALL_ACTION.64 += \
$(ELFEDIT) -e 'dyn:delete RUNPATH' \
$(ELFEDIT) -e 'dyn:delete RPATH' \
$(ELFEDIT) -e 'dyn:delete RUNPATH' \
$(ELFEDIT) -e 'dyn:delete RPATH' \