components/mysql-5-6/Makefile
author Bill Rushmore <bill.rushmore@oracle.com>
Fri, 07 Aug 2015 13:43:38 -0700
changeset 4746 8e237ffd0a48
parent 4726 4c4fc9ba31dd
child 5682 94c0ca64c022
permissions -rw-r--r--
20995635 Perl TK needs to be upgraded to work with Perl 5.20 20994112 Perl XML::Parser needs to work with Perl 5.20 20989929 Perl net-ssleay needs to be fixed so it builds with Perl 5.20 20989909 Perl libxml needs to be fixed so it builds with Perl 5.20 20989894 Perl DBI - needs to be fixed so it builds with Perl 5.20 20989877 AUTHEN-PAM needs to be fixed so it builds with Perl 5.20 21195142 OpenSCAP's Makefile needs to be updated to work with Perl 5.20 21216887 Dependencies and references to Perl 5.16 need to be replaced with Perl 5.20
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
4135
1222d02d1332 PSARC 2014/431 Update MySQL to 5.6
Murthy Narkedimilli <murthy.narkedimilli@oracle.com>
parents:
diff changeset
     1
#
1222d02d1332 PSARC 2014/431 Update MySQL to 5.6
Murthy Narkedimilli <murthy.narkedimilli@oracle.com>
parents:
diff changeset
     2
# CDDL HEADER START
1222d02d1332 PSARC 2014/431 Update MySQL to 5.6
Murthy Narkedimilli <murthy.narkedimilli@oracle.com>
parents:
diff changeset
     3
#
1222d02d1332 PSARC 2014/431 Update MySQL to 5.6
Murthy Narkedimilli <murthy.narkedimilli@oracle.com>
parents:
diff changeset
     4
# The contents of this file are subject to the terms of the
1222d02d1332 PSARC 2014/431 Update MySQL to 5.6
Murthy Narkedimilli <murthy.narkedimilli@oracle.com>
parents:
diff changeset
     5
# Common Development and Distribution License (the "License").
1222d02d1332 PSARC 2014/431 Update MySQL to 5.6
Murthy Narkedimilli <murthy.narkedimilli@oracle.com>
parents:
diff changeset
     6
# You may not use this file except in compliance with the License.
1222d02d1332 PSARC 2014/431 Update MySQL to 5.6
Murthy Narkedimilli <murthy.narkedimilli@oracle.com>
parents:
diff changeset
     7
#
1222d02d1332 PSARC 2014/431 Update MySQL to 5.6
Murthy Narkedimilli <murthy.narkedimilli@oracle.com>
parents:
diff changeset
     8
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
1222d02d1332 PSARC 2014/431 Update MySQL to 5.6
Murthy Narkedimilli <murthy.narkedimilli@oracle.com>
parents:
diff changeset
     9
# or http://www.opensolaris.org/os/licensing.
1222d02d1332 PSARC 2014/431 Update MySQL to 5.6
Murthy Narkedimilli <murthy.narkedimilli@oracle.com>
parents:
diff changeset
    10
# See the License for the specific language governing permissions
1222d02d1332 PSARC 2014/431 Update MySQL to 5.6
Murthy Narkedimilli <murthy.narkedimilli@oracle.com>
parents:
diff changeset
    11
# and limitations under the License.
1222d02d1332 PSARC 2014/431 Update MySQL to 5.6
Murthy Narkedimilli <murthy.narkedimilli@oracle.com>
parents:
diff changeset
    12
#
1222d02d1332 PSARC 2014/431 Update MySQL to 5.6
Murthy Narkedimilli <murthy.narkedimilli@oracle.com>
parents:
diff changeset
    13
# When distributing Covered Code, include this CDDL HEADER in each
1222d02d1332 PSARC 2014/431 Update MySQL to 5.6
Murthy Narkedimilli <murthy.narkedimilli@oracle.com>
parents:
diff changeset
    14
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
1222d02d1332 PSARC 2014/431 Update MySQL to 5.6
Murthy Narkedimilli <murthy.narkedimilli@oracle.com>
parents:
diff changeset
    15
# If applicable, add the following below this CDDL HEADER, with the
1222d02d1332 PSARC 2014/431 Update MySQL to 5.6
Murthy Narkedimilli <murthy.narkedimilli@oracle.com>
parents:
diff changeset
    16
# fields enclosed by brackets "[]" replaced with your own identifying
1222d02d1332 PSARC 2014/431 Update MySQL to 5.6
Murthy Narkedimilli <murthy.narkedimilli@oracle.com>
parents:
diff changeset
    17
# information: Portions Copyright [yyyy] [name of copyright owner]
1222d02d1332 PSARC 2014/431 Update MySQL to 5.6
Murthy Narkedimilli <murthy.narkedimilli@oracle.com>
parents:
diff changeset
    18
#
1222d02d1332 PSARC 2014/431 Update MySQL to 5.6
Murthy Narkedimilli <murthy.narkedimilli@oracle.com>
parents:
diff changeset
    19
# CDDL HEADER END
1222d02d1332 PSARC 2014/431 Update MySQL to 5.6
Murthy Narkedimilli <murthy.narkedimilli@oracle.com>
parents:
diff changeset
    20
#
1222d02d1332 PSARC 2014/431 Update MySQL to 5.6
Murthy Narkedimilli <murthy.narkedimilli@oracle.com>
parents:
diff changeset
    21
# Copyright (c) 2015, Oracle and/or its affiliates. All rights reserved.
1222d02d1332 PSARC 2014/431 Update MySQL to 5.6
Murthy Narkedimilli <murthy.narkedimilli@oracle.com>
parents:
diff changeset
    22
#
1222d02d1332 PSARC 2014/431 Update MySQL to 5.6
Murthy Narkedimilli <murthy.narkedimilli@oracle.com>
parents:
diff changeset
    23
4726
4c4fc9ba31dd 21164142 Upgrade the version of MySQL 5.6 to 5.6.25 on Solaris (disable parfait)
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents: 4725
diff changeset
    24
export PARFAIT_BUILD=no
4c4fc9ba31dd 21164142 Upgrade the version of MySQL 5.6 to 5.6.25 on Solaris (disable parfait)
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents: 4725
diff changeset
    25
4135
1222d02d1332 PSARC 2014/431 Update MySQL to 5.6
Murthy Narkedimilli <murthy.narkedimilli@oracle.com>
parents:
diff changeset
    26
include ../../make-rules/shared-macros.mk
1222d02d1332 PSARC 2014/431 Update MySQL to 5.6
Murthy Narkedimilli <murthy.narkedimilli@oracle.com>
parents:
diff changeset
    27
1222d02d1332 PSARC 2014/431 Update MySQL to 5.6
Murthy Narkedimilli <murthy.narkedimilli@oracle.com>
parents:
diff changeset
    28
COMPONENT_NAME        = mysql
4725
b637001b5b2d 21164142 Upgrade the version of MySQL 5.6 to 5.6.25 on Solaris
Murthy Narkedimilli <murthy.narkedimilli@oracle.com>
parents: 4339
diff changeset
    29
COMPONENT_VERSION     = 5.6.25
4135
1222d02d1332 PSARC 2014/431 Update MySQL to 5.6
Murthy Narkedimilli <murthy.narkedimilli@oracle.com>
parents:
diff changeset
    30
COMPONENT_SRC         = $(COMPONENT_NAME)-$(COMPONENT_VERSION)
1222d02d1332 PSARC 2014/431 Update MySQL to 5.6
Murthy Narkedimilli <murthy.narkedimilli@oracle.com>
parents:
diff changeset
    31
COMPONENT_ARCHIVE     = $(COMPONENT_SRC).tar.gz
1222d02d1332 PSARC 2014/431 Update MySQL to 5.6
Murthy Narkedimilli <murthy.narkedimilli@oracle.com>
parents:
diff changeset
    32
COMPONENT_ARCHIVE_HASH= \
4725
b637001b5b2d 21164142 Upgrade the version of MySQL 5.6 to 5.6.25 on Solaris
Murthy Narkedimilli <murthy.narkedimilli@oracle.com>
parents: 4339
diff changeset
    33
         sha256:15079c0b83d33a092649cbdf402c9225bcd3f33e87388407be5cdbf1432c7fbd
b637001b5b2d 21164142 Upgrade the version of MySQL 5.6 to 5.6.25 on Solaris
Murthy Narkedimilli <murthy.narkedimilli@oracle.com>
parents: 4339
diff changeset
    34
COMPONENT_ARCHIVE_URL = http://cdn.mysql.com/Downloads/MySQL-5.6/$(COMPONENT_ARCHIVE)
4135
1222d02d1332 PSARC 2014/431 Update MySQL to 5.6
Murthy Narkedimilli <murthy.narkedimilli@oracle.com>
parents:
diff changeset
    35
COMPONENT_PROJECT_URL = http://dev.mysql.com/ 
1222d02d1332 PSARC 2014/431 Update MySQL to 5.6
Murthy Narkedimilli <murthy.narkedimilli@oracle.com>
parents:
diff changeset
    36
COMPONENT_BUGDB       = database/mysql
1222d02d1332 PSARC 2014/431 Update MySQL to 5.6
Murthy Narkedimilli <murthy.narkedimilli@oracle.com>
parents:
diff changeset
    37
1222d02d1332 PSARC 2014/431 Update MySQL to 5.6
Murthy Narkedimilli <murthy.narkedimilli@oracle.com>
parents:
diff changeset
    38
include $(WS_MAKE_RULES)/prep.mk
1222d02d1332 PSARC 2014/431 Update MySQL to 5.6
Murthy Narkedimilli <murthy.narkedimilli@oracle.com>
parents:
diff changeset
    39
include $(WS_MAKE_RULES)/justmake.mk
1222d02d1332 PSARC 2014/431 Update MySQL to 5.6
Murthy Narkedimilli <murthy.narkedimilli@oracle.com>
parents:
diff changeset
    40
include $(WS_MAKE_RULES)/ips.mk
1222d02d1332 PSARC 2014/431 Update MySQL to 5.6
Murthy Narkedimilli <murthy.narkedimilli@oracle.com>
parents:
diff changeset
    41
1222d02d1332 PSARC 2014/431 Update MySQL to 5.6
Murthy Narkedimilli <murthy.narkedimilli@oracle.com>
parents:
diff changeset
    42
# Enable ASLR for this component
1222d02d1332 PSARC 2014/431 Update MySQL to 5.6
Murthy Narkedimilli <murthy.narkedimilli@oracle.com>
parents:
diff changeset
    43
ASLR_MODE           = $(ASLR_ENABLE)
1222d02d1332 PSARC 2014/431 Update MySQL to 5.6
Murthy Narkedimilli <murthy.narkedimilli@oracle.com>
parents:
diff changeset
    44
4725
b637001b5b2d 21164142 Upgrade the version of MySQL 5.6 to 5.6.25 on Solaris
Murthy Narkedimilli <murthy.narkedimilli@oracle.com>
parents: 4339
diff changeset
    45
# MySQL being one of Oracle's own product doesn't require to have a
b637001b5b2d 21164142 Upgrade the version of MySQL 5.6 to 5.6.25 on Solaris
Murthy Narkedimilli <murthy.narkedimilli@oracle.com>
parents: 4339
diff changeset
    46
# TPNO License number.
b637001b5b2d 21164142 Upgrade the version of MySQL 5.6 to 5.6.25 on Solaris
Murthy Narkedimilli <murthy.narkedimilli@oracle.com>
parents: 4339
diff changeset
    47
4135
1222d02d1332 PSARC 2014/431 Update MySQL to 5.6
Murthy Narkedimilli <murthy.narkedimilli@oracle.com>
parents:
diff changeset
    48
# This component uses cmake to generate Makefiles and thus does not
1222d02d1332 PSARC 2014/431 Update MySQL to 5.6
Murthy Narkedimilli <murthy.narkedimilli@oracle.com>
parents:
diff changeset
    49
# run any configure script
1222d02d1332 PSARC 2014/431 Update MySQL to 5.6
Murthy Narkedimilli <murthy.narkedimilli@oracle.com>
parents:
diff changeset
    50
CMAKE               = /usr/bin/cmake
1222d02d1332 PSARC 2014/431 Update MySQL to 5.6
Murthy Narkedimilli <murthy.narkedimilli@oracle.com>
parents:
diff changeset
    51
CMAKE_PREFIX        = /usr/mysql/5.6
1222d02d1332 PSARC 2014/431 Update MySQL to 5.6
Murthy Narkedimilli <murthy.narkedimilli@oracle.com>
parents:
diff changeset
    52
CONFDIR             = /etc/mysql/5.6
1222d02d1332 PSARC 2014/431 Update MySQL to 5.6
Murthy Narkedimilli <murthy.narkedimilli@oracle.com>
parents:
diff changeset
    53
DATA_PREFIX         = /var/mysql/5.6
1222d02d1332 PSARC 2014/431 Update MySQL to 5.6
Murthy Narkedimilli <murthy.narkedimilli@oracle.com>
parents:
diff changeset
    54
1222d02d1332 PSARC 2014/431 Update MySQL to 5.6
Murthy Narkedimilli <murthy.narkedimilli@oracle.com>
parents:
diff changeset
    55
CMAKE_BINDIR.32     = bin/$(MACH32)
1222d02d1332 PSARC 2014/431 Update MySQL to 5.6
Murthy Narkedimilli <murthy.narkedimilli@oracle.com>
parents:
diff changeset
    56
CMAKE_BINDIR.64     = bin
1222d02d1332 PSARC 2014/431 Update MySQL to 5.6
Murthy Narkedimilli <murthy.narkedimilli@oracle.com>
parents:
diff changeset
    57
CMAKE_LIBDIR.32     = lib
1222d02d1332 PSARC 2014/431 Update MySQL to 5.6
Murthy Narkedimilli <murthy.narkedimilli@oracle.com>
parents:
diff changeset
    58
CMAKE_LIBDIR.64     = lib/$(MACH64)
1222d02d1332 PSARC 2014/431 Update MySQL to 5.6
Murthy Narkedimilli <murthy.narkedimilli@oracle.com>
parents:
diff changeset
    59
CMAKE_PLUGINDIR.32  = lib/plugin
1222d02d1332 PSARC 2014/431 Update MySQL to 5.6
Murthy Narkedimilli <murthy.narkedimilli@oracle.com>
parents:
diff changeset
    60
CMAKE_PLUGINDIR.64  = lib/$(MACH64)/plugin
4725
b637001b5b2d 21164142 Upgrade the version of MySQL 5.6 to 5.6.25 on Solaris
Murthy Narkedimilli <murthy.narkedimilli@oracle.com>
parents: 4339
diff changeset
    61
CMAKE_CFLAGS.32     = -D__MATHERR_RENAME_EXCEPTION
b637001b5b2d 21164142 Upgrade the version of MySQL 5.6 to 5.6.25 on Solaris
Murthy Narkedimilli <murthy.narkedimilli@oracle.com>
parents: 4339
diff changeset
    62
CMAKE_CFLAGS.64     = -m64 -D__MATHERR_RENAME_EXCEPTION
b637001b5b2d 21164142 Upgrade the version of MySQL 5.6 to 5.6.25 on Solaris
Murthy Narkedimilli <murthy.narkedimilli@oracle.com>
parents: 4339
diff changeset
    63
CMAKE_CXXFLAGS.32   = -D__MATHERR_RENAME_EXCEPTION -template=extdef -xnorunpath
b637001b5b2d 21164142 Upgrade the version of MySQL 5.6 to 5.6.25 on Solaris
Murthy Narkedimilli <murthy.narkedimilli@oracle.com>
parents: 4339
diff changeset
    64
CMAKE_CXXFLAGS.64   = -m64 -D__MATHERR_RENAME_EXCEPTION -template=extdef -xnorunpath
4135
1222d02d1332 PSARC 2014/431 Update MySQL to 5.6
Murthy Narkedimilli <murthy.narkedimilli@oracle.com>
parents:
diff changeset
    65
1222d02d1332 PSARC 2014/431 Update MySQL to 5.6
Murthy Narkedimilli <murthy.narkedimilli@oracle.com>
parents:
diff changeset
    66
# Providing component specific build options to cmake
1222d02d1332 PSARC 2014/431 Update MySQL to 5.6
Murthy Narkedimilli <murthy.narkedimilli@oracle.com>
parents:
diff changeset
    67
CMAKE_OPTIONS += -DBUILD_CONFIG=mysql_release
1222d02d1332 PSARC 2014/431 Update MySQL to 5.6
Murthy Narkedimilli <murthy.narkedimilli@oracle.com>
parents:
diff changeset
    68
CMAKE_OPTIONS += -DINSTALL_LAYOUT=STANDALONE
1222d02d1332 PSARC 2014/431 Update MySQL to 5.6
Murthy Narkedimilli <murthy.narkedimilli@oracle.com>
parents:
diff changeset
    69
CMAKE_OPTIONS += -DCMAKE_INSTALL_PREFIX=$(CMAKE_PREFIX)
1222d02d1332 PSARC 2014/431 Update MySQL to 5.6
Murthy Narkedimilli <murthy.narkedimilli@oracle.com>
parents:
diff changeset
    70
CMAKE_OPTIONS += -DINSTALL_BINDIR=$(CMAKE_BINDIR.$(BITS))
1222d02d1332 PSARC 2014/431 Update MySQL to 5.6
Murthy Narkedimilli <murthy.narkedimilli@oracle.com>
parents:
diff changeset
    71
CMAKE_OPTIONS += -DINSTALL_SBINDIR=$(CMAKE_BINDIR.$(BITS))
1222d02d1332 PSARC 2014/431 Update MySQL to 5.6
Murthy Narkedimilli <murthy.narkedimilli@oracle.com>
parents:
diff changeset
    72
CMAKE_OPTIONS += -DINSTALL_SCRIPTDIR=$(CMAKE_BINDIR.$(BITS))
1222d02d1332 PSARC 2014/431 Update MySQL to 5.6
Murthy Narkedimilli <murthy.narkedimilli@oracle.com>
parents:
diff changeset
    73
CMAKE_OPTIONS += -DINSTALL_LIBDIR=$(CMAKE_LIBDIR.$(BITS))
1222d02d1332 PSARC 2014/431 Update MySQL to 5.6
Murthy Narkedimilli <murthy.narkedimilli@oracle.com>
parents:
diff changeset
    74
CMAKE_OPTIONS += -DINSTALL_PLUGINDIR=$(CMAKE_PLUGINDIR.$(BITS))
1222d02d1332 PSARC 2014/431 Update MySQL to 5.6
Murthy Narkedimilli <murthy.narkedimilli@oracle.com>
parents:
diff changeset
    75
CMAKE_OPTIONS += -DSYSCONFDIR=$(CONFDIR)
1222d02d1332 PSARC 2014/431 Update MySQL to 5.6
Murthy Narkedimilli <murthy.narkedimilli@oracle.com>
parents:
diff changeset
    76
CMAKE_OPTIONS += -DMYSQL_DATADIR=$(DATA_PREFIX)
1222d02d1332 PSARC 2014/431 Update MySQL to 5.6
Murthy Narkedimilli <murthy.narkedimilli@oracle.com>
parents:
diff changeset
    77
CMAKE_OPTIONS += -DWITH_SSL=bundled
1222d02d1332 PSARC 2014/431 Update MySQL to 5.6
Murthy Narkedimilli <murthy.narkedimilli@oracle.com>
parents:
diff changeset
    78
CMAKE_OPTIONS += -DWITH_READLINE=ON
1222d02d1332 PSARC 2014/431 Update MySQL to 5.6
Murthy Narkedimilli <murthy.narkedimilli@oracle.com>
parents:
diff changeset
    79
CMAKE_OPTIONS += -DENABLE_DTRACE=1
1222d02d1332 PSARC 2014/431 Update MySQL to 5.6
Murthy Narkedimilli <murthy.narkedimilli@oracle.com>
parents:
diff changeset
    80
CMAKE_OPTIONS += -DHAVE_REAL_DTRACE_INSTRUMENTING=ON
1222d02d1332 PSARC 2014/431 Update MySQL to 5.6
Murthy Narkedimilli <murthy.narkedimilli@oracle.com>
parents:
diff changeset
    81
CMAKE_OPTIONS += -DWITH_EXTRA_CHARSETS=complex
1222d02d1332 PSARC 2014/431 Update MySQL to 5.6
Murthy Narkedimilli <murthy.narkedimilli@oracle.com>
parents:
diff changeset
    82
CMAKE_OPTIONS += -DENABLED_LOCAL_INFILE=ON
1222d02d1332 PSARC 2014/431 Update MySQL to 5.6
Murthy Narkedimilli <murthy.narkedimilli@oracle.com>
parents:
diff changeset
    83
CMAKE_OPTIONS += -DWITH_ARCHIVE_STORAGE_ENGINE=1
1222d02d1332 PSARC 2014/431 Update MySQL to 5.6
Murthy Narkedimilli <murthy.narkedimilli@oracle.com>
parents:
diff changeset
    84
CMAKE_OPTIONS += -DWITH_BLACKHOLE_STORAGE_ENGINE=1
1222d02d1332 PSARC 2014/431 Update MySQL to 5.6
Murthy Narkedimilli <murthy.narkedimilli@oracle.com>
parents:
diff changeset
    85
CMAKE_OPTIONS += -DWITH_EXAMPLE_STORAGE_ENGINE=1
1222d02d1332 PSARC 2014/431 Update MySQL to 5.6
Murthy Narkedimilli <murthy.narkedimilli@oracle.com>
parents:
diff changeset
    86
CMAKE_OPTIONS += -DWITH_FEDERATED_STORAGE_ENGINE=1
1222d02d1332 PSARC 2014/431 Update MySQL to 5.6
Murthy Narkedimilli <murthy.narkedimilli@oracle.com>
parents:
diff changeset
    87
CMAKE_OPTIONS += -DWITH_INNOBASE_STORAGE_ENGINE=1
1222d02d1332 PSARC 2014/431 Update MySQL to 5.6
Murthy Narkedimilli <murthy.narkedimilli@oracle.com>
parents:
diff changeset
    88
CMAKE_OPTIONS += -DCMAKE_CXX_COMPILER=$(CXX)
1222d02d1332 PSARC 2014/431 Update MySQL to 5.6
Murthy Narkedimilli <murthy.narkedimilli@oracle.com>
parents:
diff changeset
    89
CMAKE_OPTIONS += -DCMAKE_C_COMPILER=$(CC)
4725
b637001b5b2d 21164142 Upgrade the version of MySQL 5.6 to 5.6.25 on Solaris
Murthy Narkedimilli <murthy.narkedimilli@oracle.com>
parents: 4339
diff changeset
    90
CMAKE_OPTIONS += -DCMAKE_C_FLAGS="$(CMAKE_CFLAGS.$(BITS))"
b637001b5b2d 21164142 Upgrade the version of MySQL 5.6 to 5.6.25 on Solaris
Murthy Narkedimilli <murthy.narkedimilli@oracle.com>
parents: 4339
diff changeset
    91
CMAKE_OPTIONS += -DCMAKE_CXX_FLAGS="$(CMAKE_CXXFLAGS.$(BITS))"
4135
1222d02d1332 PSARC 2014/431 Update MySQL to 5.6
Murthy Narkedimilli <murthy.narkedimilli@oracle.com>
parents:
diff changeset
    92
CMAKE_OPTIONS += '-DCOMPILATION_COMMENT=MySQL Community Server (GPL)'
1222d02d1332 PSARC 2014/431 Update MySQL to 5.6
Murthy Narkedimilli <murthy.narkedimilli@oracle.com>
parents:
diff changeset
    93
CMAKE_OPTIONS += -DFEATURE_SET=community
4725
b637001b5b2d 21164142 Upgrade the version of MySQL 5.6 to 5.6.25 on Solaris
Murthy Narkedimilli <murthy.narkedimilli@oracle.com>
parents: 4339
diff changeset
    94
CMAKE_OPTIONS += -DSUNPRO_CXX_LIBRARY=stdcxx4
4135
1222d02d1332 PSARC 2014/431 Update MySQL to 5.6
Murthy Narkedimilli <murthy.narkedimilli@oracle.com>
parents:
diff changeset
    95
1222d02d1332 PSARC 2014/431 Update MySQL to 5.6
Murthy Narkedimilli <murthy.narkedimilli@oracle.com>
parents:
diff changeset
    96
COMPONENT_PRE_BUILD_ACTION += cd $(@D);
1222d02d1332 PSARC 2014/431 Update MySQL to 5.6
Murthy Narkedimilli <murthy.narkedimilli@oracle.com>
parents:
diff changeset
    97
COMPONENT_PRE_BUILD_ACTION += export LDFLAGS=$(CMAKE_CXXFLAGS.$(BITS));
1222d02d1332 PSARC 2014/431 Update MySQL to 5.6
Murthy Narkedimilli <murthy.narkedimilli@oracle.com>
parents:
diff changeset
    98
COMPONENT_PRE_BUILD_ACTION += echo Running cmake with $(CMAKE_OPTIONS);
1222d02d1332 PSARC 2014/431 Update MySQL to 5.6
Murthy Narkedimilli <murthy.narkedimilli@oracle.com>
parents:
diff changeset
    99
COMPONENT_PRE_BUILD_ACTION += $(CMAKE) . $(CMAKE_OPTIONS);
1222d02d1332 PSARC 2014/431 Update MySQL to 5.6
Murthy Narkedimilli <murthy.narkedimilli@oracle.com>
parents:
diff changeset
   100
1222d02d1332 PSARC 2014/431 Update MySQL to 5.6
Murthy Narkedimilli <murthy.narkedimilli@oracle.com>
parents:
diff changeset
   101
build: $(BUILD_32_and_64)
1222d02d1332 PSARC 2014/431 Update MySQL to 5.6
Murthy Narkedimilli <murthy.narkedimilli@oracle.com>
parents:
diff changeset
   102
1222d02d1332 PSARC 2014/431 Update MySQL to 5.6
Murthy Narkedimilli <murthy.narkedimilli@oracle.com>
parents:
diff changeset
   103
install: $(INSTALL_32_and_64)
1222d02d1332 PSARC 2014/431 Update MySQL to 5.6
Murthy Narkedimilli <murthy.narkedimilli@oracle.com>
parents:
diff changeset
   104
1222d02d1332 PSARC 2014/431 Update MySQL to 5.6
Murthy Narkedimilli <murthy.narkedimilli@oracle.com>
parents:
diff changeset
   105
test: $(NO_TESTS)
1222d02d1332 PSARC 2014/431 Update MySQL to 5.6
Murthy Narkedimilli <murthy.narkedimilli@oracle.com>
parents:
diff changeset
   106
4339
6501cf9c29f9 21116842 add system-test targets to each component Makefile and to top-level Makefiles
Stacy Yeh <stacy.yeh@oracle.com>
parents: 4272
diff changeset
   107
system-test:    $(NO_TESTS)
6501cf9c29f9 21116842 add system-test targets to each component Makefile and to top-level Makefiles
Stacy Yeh <stacy.yeh@oracle.com>
parents: 4272
diff changeset
   108
4725
b637001b5b2d 21164142 Upgrade the version of MySQL 5.6 to 5.6.25 on Solaris
Murthy Narkedimilli <murthy.narkedimilli@oracle.com>
parents: 4339
diff changeset
   109
REQUIRED_PACKAGES += database/mysql-56/client
4135
1222d02d1332 PSARC 2014/431 Update MySQL to 5.6
Murthy Narkedimilli <murthy.narkedimilli@oracle.com>
parents:
diff changeset
   110
REQUIRED_PACKAGES += developer/build/cmake
1222d02d1332 PSARC 2014/431 Update MySQL to 5.6
Murthy Narkedimilli <murthy.narkedimilli@oracle.com>
parents:
diff changeset
   111
REQUIRED_PACKAGES += library/security/openssl
1222d02d1332 PSARC 2014/431 Update MySQL to 5.6
Murthy Narkedimilli <murthy.narkedimilli@oracle.com>
parents:
diff changeset
   112
REQUIRED_PACKAGES += runtime/perl-512
4746
8e237ffd0a48 20995635 Perl TK needs to be upgraded to work with Perl 5.20
Bill Rushmore <bill.rushmore@oracle.com>
parents: 4726
diff changeset
   113
REQUIRED_PACKAGES += runtime/perl-520
4135
1222d02d1332 PSARC 2014/431 Update MySQL to 5.6
Murthy Narkedimilli <murthy.narkedimilli@oracle.com>
parents:
diff changeset
   114
REQUIRED_PACKAGES += shell/ksh93
1222d02d1332 PSARC 2014/431 Update MySQL to 5.6
Murthy Narkedimilli <murthy.narkedimilli@oracle.com>
parents:
diff changeset
   115
REQUIRED_PACKAGES += system/core-os
1222d02d1332 PSARC 2014/431 Update MySQL to 5.6
Murthy Narkedimilli <murthy.narkedimilli@oracle.com>
parents:
diff changeset
   116
REQUIRED_PACKAGES += system/library
4725
b637001b5b2d 21164142 Upgrade the version of MySQL 5.6 to 5.6.25 on Solaris
Murthy Narkedimilli <murthy.narkedimilli@oracle.com>
parents: 4339
diff changeset
   117
REQUIRED_PACKAGES += system/library/c++-runtime
4135
1222d02d1332 PSARC 2014/431 Update MySQL to 5.6
Murthy Narkedimilli <murthy.narkedimilli@oracle.com>
parents:
diff changeset
   118
REQUIRED_PACKAGES += system/library/math
1222d02d1332 PSARC 2014/431 Update MySQL to 5.6
Murthy Narkedimilli <murthy.narkedimilli@oracle.com>
parents:
diff changeset
   119
REQUIRED_PACKAGES += system/network
4725
b637001b5b2d 21164142 Upgrade the version of MySQL 5.6 to 5.6.25 on Solaris
Murthy Narkedimilli <murthy.narkedimilli@oracle.com>
parents: 4339
diff changeset
   120
REQUIRED_PACKAGES += library/c++/stdcxx