#
# 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
#
#
# MySQL 5.7 is compiled using GCC. Note that the MySQL Server 5.7 for
# Solaris dowloaded from http://dev.mysql.com/downloads/mysql/ is a
# hybrid, the server part is compiled using GCC and the client library
# is compiled using SunStudio and the "stlport4" C++ runtime
# library. In this build both server and client is compiled using GCC.
# Requires new pkgmogrify feature, available in S12 but not 11.3, so do not
# publish.
#We use cp(1) instead of cloney because we use TAR to copy files and the TAR
#used doesn't handle long links
CLONEY=echo
# MySQL being one of Oracle's own product doesn't require to have a TPNO
# License number, but it uses Boost, which does have such a requirement.
# This component uses cmake to generate Makefiles and thus does not
# run any configure script
# The install layout differs from "INSTALL_LAYOUT=STANDALONE" in that
# we put scripts into the "bin" directory and the "lib" directory has
# setting and let the MySQL CMake setup add the other flags.
# For "lib", 64-bit uses subdir but 32-bit does not
# Providing component specific build options to cmake
CMAKE_OPTIONS += '-DCOMPILATION_COMMENT=MySQL Community Server (GPL)'
# For easier parsing, remove backslash+newline
# Generate a new version of "mysql-57test.p5m.include"
@if [ -s $(BUILD_DIR)/mysql-57test.p5m.include.diff ] ; then \
echo "ERROR: \"mysql-57test.p5m.include\" need to be updated, you can find the new suggested content in" ; \
exit 1 ; \
fi
# Find all file names outside "mysql-test" and "sql-bench"
# If you for some reason deliberately want to leave out some
# file from the IPS package but yet install if building from
# source, you add a "egrep -v ...." below
echo "ERROR: A file installed is not packaged, i.e. not mentioned in any \"*.p5m\" file, see" ; \
exit 1 ; \
fi
@echo "No problems found!"