460N/A# The contents of this file are subject to the terms of the 460N/A# Common Development and Distribution License (the "License"). 460N/A# You may not use this file except in compliance with the License. 460N/A# See the License for the specific language governing permissions 460N/A# and limitations under the License. 460N/A# When distributing Covered Code, include this CDDL HEADER in each 460N/A# If applicable, add the following below this CDDL HEADER, with the 460N/A# fields enclosed by brackets "[]" replaced with your own identifying 460N/A# information: Portions Copyright [yyyy] [name of copyright owner] 5649N/A# Copyright (c) 2011, 2016, Oracle and/or its affiliates. All rights reserved. 7397N/A# Separate build for test with --enable-test configured 7397N/A# Userland default optimization level is 4, but that causes test failures. 7397N/A# Upstream recommends level 2, which allows the tests to run, so we use that. 1472N/A# Berkeley DB uses TCLSH to run all the test suite test cases. 1472N/A# Per the test suite instructions in the BDB build manual, the tclsh 1472N/A# sourcing the test.tcl header and finally running the "run_std" command. 7397N/A# COMPONENT_POST_TEST_ACTION does this. 460N/A# adding to the C++ compiler because libtool appears to strip it from CXXFLAGS 460N/A# we need to enable large file support and build PIC for our shared libraries 5649N/A# BerkeleyDB < 6 does not support Java 8. Java 7 is EOL & removed. 1522N/A# Do not apply the standard licence transforms for this component. 1472N/A# By default "gmake test" runs standard tests, takes ~2 days per $(BITS).