#
# 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
#
#
#
# The GnuTLS API and ABI have incompatible changes between versions 2.8.6
# and 3.4.1; but the basic symlink name 'libgnutls.so' and pkg-config file
# name 'gnutls.pc' are unchanged. As a result, it's not possible to have
# both versions installed at the same time in the default paths in a way
# that makes it possible to build programs that are only compatible with
# one version of the API. As a result, GnuTLS version 3 delivered to a folder
# called gnutls-3 temporarily. The plan is to integrate 3.4.1 and move all
# programs to 3.4.1; after all usage of 2.8.6 excised, move 3.4.1 to the
# default location.
# We need to build an extra static version of this library for
BUILD_32_and_64 += $(WANBOOT_BUILD)
# Force libtool to pass this flag through using -Wc.
# Set the wanboot CFLAGS as needed for the wanboot compilation
CFLAGS.wanboot += -D_BOOT
CFLAGS.wanboot += -g
# Set the wanboot configure options as needed for wanboot
# For wanboot tell configure that we don't have lots of the
# standard unix environment. This will cache these values, and set
# them to no.
'-n -e "/SKIP/p" ' \
'-e "/PASS/p" ' \
'-e "/FAIL/p" ' \
'-e "/TOTAL/p" ' \
'-e "/ERROR/p" '