Makefile revision 7243
5620N/A# The contents of this file are subject to the terms of the 5620N/A# Common Development and Distribution License (the "License"). 5620N/A# You may not use this file except in compliance with the License. 5620N/A# See the License for the specific language governing permissions 5620N/A# and limitations under the License. 5620N/A# When distributing Covered Code, include this CDDL HEADER in each 5620N/A# If applicable, add the following below this CDDL HEADER, with the 5620N/A# fields enclosed by brackets "[]" replaced with your own identifying 5620N/A# information: Portions Copyright [yyyy] [name of copyright owner] 5620N/A# Copyright (c) 2011, 2016, Oracle and/or its affiliates. All rights reserved. 5620N/A# Enable adiheap security extension. 5620N/A# adistack fails with libgcc exception unwinding code. 6410N/A# IPS_COMPONENT_VERSION is by default set to $(COMPONENT_VERSION) but in 5620N/A# this case we need to replace the '-' by '.'. 5620N/A# To get the Perl modules built it is necessary to copy the PerlMagick 5620N/A# directory to the build directory 5620N/A# Don't use rpath, or relink! -e 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' \ -e 's|need_relink=yes|need_relink=not_on_solaris|' \ # Prevent older versions of libMagick{Core,Wand}-6.Q16.so from the build # machine from being found ahead of new versions from the proto area. # To remove the compiler complaints about __restrict keyword, # -D_magickcore_restrict should be used. # Using option 'with-fontconfig=no' so that the fonts/fonts path specified in # 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.