99N/A# The contents of this file are subject to the terms of the 99N/A# Common Development and Distribution License (the "License"). 99N/A# You may not use this file except in compliance with the License. 99N/A# See the License for the specific language governing permissions 99N/A# and limitations under the License. 99N/A# When distributing Covered Code, include this CDDL HEADER in each 99N/A# If applicable, add the following below this CDDL HEADER, with the 99N/A# fields enclosed by brackets "[]" replaced with your own identifying 99N/A# information: Portions Copyright [yyyy] [name of copyright owner] 3996N/A# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved. 118N/A# We patch auto* files, so regenerate headers and configure 118N/A# This seems horribly wrong, but these defines break the ability to build c99 118N/A# compliant modules or with gcc. 118N/A perl -pi -e 's/^(\#define _XOPEN_SOURCE_EXTENDED.*)/\/* $$1 *\//' \ 646N/A# The python build is profile-guided for studio; to see the benefits of that, 646N/A# Python must be compiled with -xO5 and a different build target must be used. 646N/A# Use of xprofile requires that the same options be used during compilation and 646N/A# linking. The targets chosen are based on Solaris 11 minimum supported system 99N/A# we don't want to leak $(CC_BITS) into BASECFLAGS as it causes problems with 118N/A# so we find the ncurses headers 118N/A# enable large files how they did in JDS 99N/A# libffi for _ctypes 581N/A# Python puts its header files in a special place. 99N/A# 64 bit shared objects need to go in a 64-bit directory