#
# 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
#
#
#
# Berkeley DB uses TCLSH to run all the test suite test cases.
# Per the test suite instructions in the BDB build manual, the tclsh
# include path must be correct in include.tcl then tclsh is run by
# sourcing the test.tcl header and finally running the "run_std" command.
# COMPONENT_POST_TEST_ACTION does this after BDB has been recompiled
# for test (--enable-test)
(cd $(@D); \
cd $(@D); \
< include.tcl.orig > include.tcl; \
# adding to the C++ compiler because libtool appears to strip it from CXXFLAGS
CXX += $(studio_NORUNPATH)
# we need to enable large file support and build PIC for our shared libraries
CXXFLAGS += $(CPP_LARGEFILES)
COMPONENT_TEST_TARGETS = test
# Do not apply the standard licence transforms for this component.
# common targets
build: $(BUILD_32_and_64)
test: $(TEST_32_and_64)
# By default "gmake test" runs standard tests, takes ~2 days per $(BITS).