Makefile revision 5680
155N/A# The contents of this file are subject to the terms of the 155N/A# Common Development and Distribution License (the "License"). 155N/A# You may not use this file except in compliance with the License. 155N/A# See the License for the specific language governing permissions 155N/A# and limitations under the License. 155N/A# When distributing Covered Code, include this CDDL HEADER in each 155N/A# If applicable, add the following below this CDDL HEADER, with the 155N/A# fields enclosed by brackets "[]" replaced with your own identifying 155N/A# information: Portions Copyright [yyyy] [name of copyright owner] 5270N/A# Copyright (c) 2011, 2016, Oracle and/or its affiliates. All rights reserved. 277N/A# I want to override PERL_VERSION and PERL_ARCH because when building 215N/A# Override these compiler settings because they are causing problems 215N/A# in the ON build of the contrib components. 215N/A# ON doesn't use or need these settings or the compiler has some of them 215N/A# This also produces a perl more inline with past perl's. For better 3901N/A# Sparc optimization -xO4 makes perl dtrace probes broken 155N/A# The extra Configure parameters (cf_email, cf_by, myhostname) and 155N/A# the gawk and sed that follow are attempting to sanatize the 155N/A# are discoverable in perl's config via "perl -V". 155N/A# I'm assuming our compilers live on a path that contains "SUNWspro". 155N/A# If that changes the sed filter needs to change. 155N/A '/^myuname=/{print $$1" localhost "$$3" "$$5" "$$6" "$$7"\047"} ; \ 155N/A# perl's install path for sparc is based off the value of the 155N/A# "arch" command. So we must package that way also. 155N/A# Put studio compilers in PATH so we can tell Configure and gmake just 155N/A# use cc. Trying to avoid the full path so it doesn't end up in 1641N/A# ST=single-thread. MT=multi-thread. The only difference in the build is that 1641N/A# $(CONFIGURE_THREAD_OPTIONS) gets added to $(CONFIGURE_OPTIONS) in the MT case.