Makefile revision 5680
25cc5fbba63f84b47e389af749f55abbbde71c8cChristian Maeder# CDDL HEADER START
25cc5fbba63f84b47e389af749f55abbbde71c8cChristian Maeder# The contents of this file are subject to the terms of the
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder# Common Development and Distribution License (the "License").
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder# You may not use this file except in compliance with the License.
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder# or http://www.opensolaris.org/os/licensing.
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder# See the License for the specific language governing permissions
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder# and limitations under the License.
f2f9df2e17e70674f0bf426ed1763c973ee4cde0Christian Maeder# When distributing Covered Code, include this CDDL HEADER in each
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder# If applicable, add the following below this CDDL HEADER, with the
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder# fields enclosed by brackets "[]" replaced with your own identifying
6a79849bed67264c396dddb3e9c184bdfc1a1bc9Christian Maeder# information: Portions Copyright [yyyy] [name of copyright owner]
6a79849bed67264c396dddb3e9c184bdfc1a1bc9Christian Maeder# CDDL HEADER END
6a79849bed67264c396dddb3e9c184bdfc1a1bc9Christian Maeder# Copyright (c) 2013, 2016, Oracle and/or its affiliates. All rights reserved.
c0c2380bced8159ff0297ece14eba948bd236471Christian Maeder sha256:cc3f8745879eee0508de1a70fc2d267a2d06b7433faa8bb07a787768dcfed781
c0c2380bced8159ff0297ece14eba948bd236471Christian MaederCOMPONENT_ARCHIVE_URL = http://cdn.mysql.com/Downloads/MySQL-5.5/$(COMPONENT_ARCHIVE)
c0c2380bced8159ff0297ece14eba948bd236471Christian MaederCOMPONENT_PROJECT_URL = http://dev.mysql.com/
6a79849bed67264c396dddb3e9c184bdfc1a1bc9Christian Maeder# MySQL doesn't like cloning
e593b89bfd4952698dc37feced21cefe869d87a2Christian Maeder# Remove "-z ignore" to avoid link problem, missing C++ runtime
5d44c8cecd07b47ce537c7e14bf7b41a39f08507Christian Maeder# This component uses cmake to generate Makefiles and thus does not
a2d6702f18737cc5fff8e8631c08f221f8375c4bChristian Maeder# run any configure script
f4505a64a089693012a3f5c3b1f12a82cd7a2a5aKlaus Luettich# Providing component specific build options to cmake
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian MaederCMAKE_OPTIONS += -DBUILD_CONFIG=mysql_release
9e748851c150e1022fb952bab3315e869aaf0214Christian MaederCMAKE_OPTIONS += -DINSTALL_LAYOUT=STANDALONE
9e748851c150e1022fb952bab3315e869aaf0214Christian MaederCMAKE_OPTIONS += -DINSTALL_BINDIR=$(CMAKE_BINDIR.$(BITS))
6a79849bed67264c396dddb3e9c184bdfc1a1bc9Christian MaederCMAKE_OPTIONS += -DINSTALL_SBINDIR=$(CMAKE_BINDIR.$(BITS))
6a79849bed67264c396dddb3e9c184bdfc1a1bc9Christian MaederCMAKE_OPTIONS += -DINSTALL_SCRIPTDIR=$(CMAKE_BINDIR.$(BITS))
6a79849bed67264c396dddb3e9c184bdfc1a1bc9Christian MaederCMAKE_OPTIONS += -DINSTALL_LIBDIR=$(CMAKE_LIBDIR.$(BITS))
6a79849bed67264c396dddb3e9c184bdfc1a1bc9Christian MaederCMAKE_OPTIONS += -DINSTALL_PLUGINDIR=$(CMAKE_PLUGINDIR.$(BITS))
9e748851c150e1022fb952bab3315e869aaf0214Christian MaederCMAKE_OPTIONS += -DMYSQL_DATADIR=$(DATA_PREFIX)
c0c2380bced8159ff0297ece14eba948bd236471Christian MaederCMAKE_OPTIONS += -DWITH_EXTRA_CHARSETS=complex
fd09d0eee026d0db12542af37fd0fbd0790f0eeaChristian MaederCMAKE_OPTIONS += -DWITH_ARCHIVE_STORAGE_ENGINE=1
fd09d0eee026d0db12542af37fd0fbd0790f0eeaChristian MaederCMAKE_OPTIONS += -DWITH_BLACKHOLE_STORAGE_ENGINE=1
fd09d0eee026d0db12542af37fd0fbd0790f0eeaChristian MaederCMAKE_OPTIONS += -DWITH_EXAMPLE_STORAGE_ENGINE=1
9e748851c150e1022fb952bab3315e869aaf0214Christian MaederCMAKE_OPTIONS += -DWITH_FEDERATED_STORAGE_ENGINE=1
6a79849bed67264c396dddb3e9c184bdfc1a1bc9Christian MaederCMAKE_OPTIONS += -DWITH_INNOBASE_STORAGE_ENGINE=1
6a79849bed67264c396dddb3e9c184bdfc1a1bc9Christian MaederCMAKE_OPTIONS += '-DCOMPILATION_COMMENT=MySQL Community Server (GPL)'
549b97cfbe3a6687db74440a550b68b2fc19a272Christian MaederREQUIRED_PACKAGES += library/security/openssl