Makefile revision 7044
394N/A# The contents of this file are subject to the terms of the 394N/A# Common Development and Distribution License (the "License"). 394N/A# You may not use this file except in compliance with the License. 394N/A# See the License for the specific language governing permissions 394N/A# and limitations under the License. 394N/A# When distributing Covered Code, include this CDDL HEADER in each 394N/A# If applicable, add the following below this CDDL HEADER, with the 394N/A# fields enclosed by brackets "[]" replaced with your own identifying 394N/A# information: Portions Copyright [yyyy] [name of copyright owner] 394N/A# Copyright (c) 2011, 2016, Oracle and/or its affiliates. All rights reserved. 394N/A# IPS_COMPONENT_VERSION is by default set to $(COMPONENT_VERSION) but in 394N/A# 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 # 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. # S11 does not support .a files so we have to modify the test script in a way # that it finds the libraries in .libs dir # 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.