Makefile revision 127
0N/A# The contents of this file are subject to the terms of the 0N/A# Common Development and Distribution License (the "License"). 0N/A# You may not use this file except in compliance with the License. 0N/A# See the License for the specific language governing permissions 0N/A# and limitations under the License. 0N/A# When distributing Covered Code, include this CDDL HEADER in each 0N/A# If applicable, add the following below this CDDL HEADER, with the 0N/A# fields enclosed by brackets "[]" replaced with your own identifying 0N/A# information: Portions Copyright [yyyy] [name of copyright owner] # Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved. # We patch auto* files, so regenerate headers and configure # This seems horribly wrong, but these defines break the ability to build c99 # compliant modules or with gcc. perl -pi -e 's/^(\#define _XOPEN_SOURCE_EXTENDED.*)/\/* $$1 *\//' \ # Until the fix for "17858 pkgdepend generate hurls on some python modules" is # generally installed on our build systems, we need to skip the dependency # When this is fixed, we need to remove the static dependencies from the # we don't want to leak $(CC_BITS) into BASECFLAGS as it causes problems with # so we find the ncurses headers # enable large files how they did in JDS # 64 bit shared objects need to go in a 64-bit directory (cd $(@D) ; gmake test || exit 0)