#
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
# Common Development and Distribution License (the "License").
# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# See the License for the specific language governing permissions
# and limitations under the License.
#
# When distributing Covered Code, include this CDDL HEADER in each
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
# If applicable, add the following below this CDDL HEADER, with the
# fields enclosed by brackets "[]" replaced with your own identifying
# information: Portions Copyright [yyyy] [name of copyright owner]
#
# CDDL HEADER END
#
#
#
# No need to build for older versions.
# Necessary to ensure patches applied to configure.ac take effect.
CFLAGS += $(CPP_XPG6MODE)
# using the setting from shared-macros.mk results in 23665701
# overriding it here till we can get gdm rebuilt
gcc_STACK_ALIGN.i386.32 =
# Disabled by default (temporarily disabled here because it significantly
# increases build time).
# Building dtrace probes doesn't work correctly (results in undefined symbols
# in programs), disable until we can figure out how to fix.
# The build process modifies the shebang line to use the version of Python
# automatically found; to avoid using the current system default, one is
# explicitly specified here.
# Configure doesn't find this since it's not in $PATH
# configure sets this to gcc's -fvisibility=hidden, replace with correct
# flag for Studio builds
# Assumes GNU msgfmt in PATH.
# Make sure SMF manifests are valid
done
$(TOUCH) $@
# 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.
# Strip random seeds from glib tests that use different values each run
# Strip filenames that are reported in different order between runs
# Standard automake test framework results transform
'-n ' \
'-e "/TOTAL/p" ' \
'-e "/SKIP/p" ' \
'-e "/PASS/p" ' \
'-e "/FAIL/p" ' \
'-e "/ERROR/p" '
REQUIRED_PACKAGES += $(PERL_PKG)