components/ruby/ruby-21/Makefile
author Stacy Yeh <stacy.yeh@oracle.com>
Thu, 21 May 2015 13:48:49 -0700
changeset 4339 6501cf9c29f9
parent 4210 d367c184f47f
child 5066 7e7b4d607ab6
permissions -rw-r--r--
21116842 add system-test targets to each component Makefile and to top-level Makefiles
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
4210
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
     1
#
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
     2
# CDDL HEADER START
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
     3
#
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
     4
# The contents of this file are subject to the terms of the
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
     5
# Common Development and Distribution License (the "License").
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
     6
# You may not use this file except in compliance with the License.
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
     7
#
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
     8
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
     9
# or http://www.opensolaris.org/os/licensing.
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
    10
# See the License for the specific language governing permissions
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
    11
# and limitations under the License.
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
    12
#
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
    13
# When distributing Covered Code, include this CDDL HEADER in each
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
    14
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
    15
# If applicable, add the following below this CDDL HEADER, with the
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
    16
# fields enclosed by brackets "[]" replaced with your own identifying
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
    17
# information: Portions Copyright [yyyy] [name of copyright owner]
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
    18
#
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
    19
# CDDL HEADER END
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
    20
#
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
    21
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
    22
#
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
    23
# Copyright (c) 2015, Oracle and/or its affiliates. All rights reserved.
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
    24
#
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
    25
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
    26
include ../../../make-rules/shared-macros.mk
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
    27
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
    28
COMPONENT_NAME=		ruby
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
    29
COMPONENT_VERSION=	2.1.6
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
    30
COMPONENT_PROJECT_URL=	http://www.ruby-lang.org/
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
    31
COMPONENT_SRC=	\
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
    32
	$(COMPONENT_NAME)-$(COMPONENT_VERSION)
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
    33
COMPONENT_ARCHIVE=	$(COMPONENT_SRC).tar.gz
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
    34
COMPONENT_ARCHIVE_HASH=	\
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
    35
    sha256:1e1362ae7427c91fa53dc9c05aee4ee200e2d7d8970a891c5bd76bee28d28be4
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
    36
COMPONENT_ARCHIVE_URL=	\
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
    37
	http://cache.ruby-lang.org/pub/ruby/2.1/$(COMPONENT_ARCHIVE)
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
    38
COMPONENT_BUGDB=	utility/ruby
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
    39
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
    40
TPNO=			22307
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
    41
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
    42
include $(WS_MAKE_RULES)/prep.mk
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
    43
include $(WS_MAKE_RULES)/ips.mk
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
    44
include $(WS_MAKE_RULES)/configure.mk
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
    45
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
    46
# COMPONENT_VERSION <major>.<minor>.<teeny>
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
    47
# is transformed into <major>.<minor> for RUBY_VER.
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
    48
# First change the separator '.' to ' ', so we can use "word" to pull the 
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
    49
# first two space-separated words from the string.
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
    50
RUBY_VER_WORDS=	$(subst ., ,$(COMPONENT_VERSION))
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
    51
RUBY_VER=$(word 1,$(RUBY_VER_WORDS)).$(word 2,$(RUBY_VER_WORDS))
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
    52
# the library-compatible version
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
    53
RUBY_LIB_VER=2.1.0
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
    54
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
    55
PROTORUBYDIR=$(PROTO_DIR)/usr/ruby/$(RUBY_VER)
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
    56
PROTO_RBCONFIG_FILE=$(PROTORUBYDIR)/lib/ruby/$(RUBY_LIB_VER)/$(MACH64)-solaris$(SOLARIS_VERSION)/rbconfig.rb
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
    57
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
    58
# these macros are used in the package manifest
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
    59
PKG_MACROS+=	RUBY_VER=$(RUBY_VER) RUBY_LIB_VER=$(RUBY_LIB_VER)
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
    60
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
    61
# Prevent re-compile of ripper.so during install, which would result in
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
    62
# an erroneous full build directory in its RUNPATH.  The below change to 
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
    63
# ext/ripper/Makefile is identical to what occurs during install
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
    64
# and prevents its regeneration. 
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
    65
COMPONENT_PRE_INSTALL_ACTION += \
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
    66
	$(GSED) -i -e "s/^static: check/static: all/" $(BUILD_DIR_64)/ext/ripper/Makefile ; \
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
    67
	$(TOUCH) -r $(BUILD_DIR_64)/ext/ripper/ripper.o $(BUILD_DIR_64)/ext/ripper/Makefile
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
    68
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
    69
# Apply some of the edits here--including to the sed scripts themselves.
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
    70
# These modifications of ruby.1 must occur after ruby
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
    71
# is installed, not before.  Although there are some other patches
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
    72
# to ruby.1 that occur before, the ruby installation does some 
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
    73
# formatting of ruby.1 that won't occur if the below changes
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
    74
# are applied.
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
    75
# Fix generated rbconfig.rb using /usr/bin/sed; gsed doesn't 
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
    76
# work for some of the commands in rbconfig.sedscript.
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
    77
COMPONENT_POST_INSTALL_ACTION += \
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
    78
	$(GSED) -e "s/RUBY_VER/$(RUBY_VER)/" \
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
    79
	    -e "s/RUBY_LIB_VER/$(RUBY_LIB_VER)/" Solaris/gem.1-generic \
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
    80
	    > Solaris/gem.1 ; \
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
    81
	$(GSED) -e "s/RUBY_VER/$(RUBY_VER)/" \
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
    82
	    -e "s/RUBY_LIB_VER/$(RUBY_LIB_VER)/" Solaris/ruby.1.sedscript \
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
    83
	    > Solaris/ruby.1.sedscript.mod ; \
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
    84
	$(GSED) -e  "s/RUBY_VER/$(RUBY_VER)/" \
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
    85
	    -e "s/RUBY_LIB_VER/$(RUBY_LIB_VER)/" Solaris/rbconfig.sedscript \
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
    86
	    > Solaris/rbconfig.sedscript.mod ; \
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
    87
	$(GSED) -i -f Solaris/ruby.1.sedscript.mod \
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
    88
	    $(PROTORUBYDIR)/share/man/man1/ruby.1 ; \
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
    89
	/usr/bin/sed -f Solaris/rbconfig.sedscript.mod \
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
    90
	$(PROTO_RBCONFIG_FILE) > rbconfig.rb.mod ; \
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
    91
	$(MV) rbconfig.rb.mod $(PROTO_RBCONFIG_FILE)
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
    92
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
    93
# default LD_OPTION $(LD_B_DIRECT) causes problems--
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
    94
# during install of ruby, ruby is executed and will core dump
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
    95
# after compiling with this option
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
    96
LD_B_DIRECT=
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
    97
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
    98
# don't use LD_Z_IGNORE: causes ruby linker problems with 
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
    99
# unreferenced symbol tgetent in libreadline, similar to bug #15617172
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
   100
LD_Z_IGNORE=
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
   101
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
   102
# sparc build sometimes fails with studio 12.3 because of 17537968;
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
   103
# -xO3 worked around the problem. Also, iropt optimizer has a 
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
   104
# an assertion failure when compiling ext/socket/raddrinfo.c,
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
   105
# (CR 20704428); dropping down to -xO2 works around the bug.
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
   106
studio_OPT.sparc.64 = -xO2
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
   107
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
   108
# without this define, config fails frequently on i386 when including 
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
   109
# /usr/include/sys/isa_defs.h with error: "ISA not supported";
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
   110
# many extensions don't get built and at least one error causes 
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
   111
# the build to fail
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
   112
studio_XBITS.i386.64 += -D__amd64
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
   113
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
   114
CONFIGURE_PREFIX =	$(USRDIR)/$(COMPONENT_NAME)/$(RUBY_VER)
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
   115
# change CONFIGURE_BINDIR.64 because this path will be embedded in
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
   116
# the header for ruby scripts; we are only building 64-bit,
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
   117
# so the real path for ruby will not have $(MACH64) in it
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
   118
CONFIGURE_BINDIR.64 =   $(CONFIGURE_BINDIR.32)
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
   119
# not strictly needed, since ruby doesn't use sbin, but
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
   120
# change this as well, for consistency with BINDIR
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
   121
CONFIGURE_SBINDIR.64 =   $(CONFIGURE_SBINDIR.32)
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
   122
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
   123
# we are building 64-bit, but most of the ruby libraries (*.rb files)
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
   124
# are non-bit-specfic text files, so don't put them under lib/$(MACH64).
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
   125
# The 64-bit *.so libraries will be in the $(MACH64)-solaris$(SOLARIS_VERSION)
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
   126
# arch directories under lib
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
   127
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
   128
CONFIGURE_OPTIONS +=	--with-rubylibprefix=$(CONFIGURE_LIBDIR.32)/ruby
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
   129
CONFIGURE_OPTIONS +=	--enable-shared
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
   130
CONFIGURE_OPTIONS +=	--enable-rpath
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
   131
# Don't need docs for ruby C source files
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
   132
CONFIGURE_OPTIONS +=	--disable-install-capi
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
   133
CONFIGURE_OPTIONS +=	--disable-option-checking
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
   134
CONFIGURE_OPTIONS +=	--with-openssl
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
   135
# If Ruby is configured with __builtin_setjmp, may cause
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
   136
# problems with gems compiled with gcc.  Studio compiler doesn't 
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
   137
# report an error for __builtin_setjmp, but gcc would.
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
   138
CONFIGURE_OPTIONS +=	--with-setjmp-type=_setjmp
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
   139
CONFIGURE_OPTIONS +=	CFLAGS="$(CFLAGS)"
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
   140
CONFIGURE_OPTIONS +=	DTRACE="/usr/sbin/dtrace"
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
   141
# ensure we use the 64-bit configuration file, not the 32-bit one
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
   142
CONFIGURE_OPTIONS +=	--with-tclConfig-file=/usr/lib/64/tclConfig.sh
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
   143
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
   144
# fiddle.so (ext/fiddle) links to libffi, which does not define
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
   145
# ffi_raw_size(), although its prototype is in libffi's 
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
   146
# /usr/lib/libffi-3.0/include/ffi.h header file.  
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
   147
# Defining FFI_NO_RAW_API avoids use of ffi_raw_size().
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
   148
# This is a workaround to bug
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
   149
# 17349280 - libffi is missing ffi_raw_size()
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
   150
CFLAGS +=		-DFFI_NO_RAW_API
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
   151
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
   152
# keep ASLR disabled; 
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
   153
# miniruby may core dump on sparc during build
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
   154
ASLR_MODE =		$(ASLR_DISABLE)
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
   155
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
   156
CLEAN_PATHS +=		Solaris/gem.1 Solaris/rbconfig.sedscript.mod \
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
   157
			Solaris/ruby.1.sedscript.mod
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
   158
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
   159
# Some tests produce warnings if HTTP_PROXY is set
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
   160
COMPONENT_TEST_ENV += "--unset=HTTP_PROXY"
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
   161
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
   162
# This set of tests goes through thousands of entries in the passwd
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
   163
# and group table, taking hours to run; move it aside so we skip it.
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
   164
# There may also be spurious errors if group memberships are modified
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
   165
# during testing.
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
   166
COMPONENT_PRE_TEST_ACTION += \
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
   167
	( if test -e $(SOURCE_DIR)/test/etc/test_etc.rb ; then \
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
   168
	    $(MV) $(SOURCE_DIR)/test/etc/test_etc.rb \
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
   169
	    $(SOURCE_DIR)/test/etc/test_etc.rb-save ; fi )
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
   170
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
   171
COMPONENT_TEST_TRANSFORMS += \
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
   172
	'-e "/^linking shared-object ripper.so$$/d" ' \
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
   173
	'-e "s|^20[0-9][0-9]-[01][1-9]-[0-3][0-9].*|XXX_DATE_TIME_XXX|" ' \
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
   174
	'-e "s|\(^[[:space:]]*CC = \).*|\1|" ' \
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
   175
	'-e "s|\(^[[:space:]]*LD = \).*|\1|" ' \
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
   176
	'-e "s|\(^[[:space:]]*LDSHARED = \).*|\1|" ' \
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
   177
	'-e "s|\(^[[:space:]]*CFLAGS = \).*|\1|" ' \
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
   178
	'-e "s|\(^[[:space:]]*XCFLAGS = \).*|\1|" ' \
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
   179
	'-e "s|\(^[[:space:]]*CPPFLAGS = \).*|\1|" ' \
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
   180
	'-e "s|\(^[[:space:]]*DLDFLAGS = \).*|\1|" ' \
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
   181
	'-e "s|\(^[[:space:]]*SOLIBS = \).*|\1|" ' \
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
   182
	'-e "s|\(^cc: \).*|\1|" ' \
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
   183
	'-e "s|^\.[\.FES]\+|XXX_DOTS_XXX|" ' \
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
   184
	'-e "s|\(Insecure world writable dir \).*\( in PATH, mode \)[0-7].*|\1XXX_DIR_XXX\2XXX_MODE_XXX|g" ' \
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
   185
	'-e "s|\(^Driver is \).*|\1XXX_RUBY_VERSION_XXX|" ' \
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
   186
	'-e "s|\(^Target is \).*|\1XXX_RUBY_VERSION_XXX|" ' \
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
   187
	'-e "s|\(^Finished tests in \).*|\1|" ' \
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
   188
        '-e "s|^[[:space:]]*[0-9]\+) \([FSE][a-z]\+:$$\)|NUM) \1|" ' \
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
   189
	'-e "s|URI::HTTP:[0-9a-fx]\+ |URI::HTTP:0xXXX |" ' \
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
   190
	'-e "s|\(.*\#test_no_memory_leak \).*:$$|\1XXX_RUBY_FILE_XXX:|" ' \
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
   191
	'-e "s|/tmp/.*:[0-9]\+: |XXX_TMPFILE_XXX: |" ' \
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
   192
	'-e "s|[0-9]\+\( tests, \)[0-9]\+\( assertions, \)[0-9]\+\( failures, \)[0-9]\+\( errors, \)[0-9]\+\( skips\)|XXX_NUM_XXX\1XXX_NUM_XXX\2XXX_NUM_XXX\3XXX_NUM_XXX\4XXX_NUM_XXX\5|" ' \
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
   193
	'-e "s|\(^ruby -v: \).*|\1XXX_RUBY_VERSION_XXX|" ' \
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
   194
	'-e "s|\(\[yes-test-all\] Error \)[0-9]\+$$|\1NUM|"'
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
   195
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
   196
# master test results are not entirely clean, so not
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
   197
# appropriate to run at top level
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
   198
$(SKIP_TEST_AT_TOP_LEVEL)
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
   199
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
   200
# common targets
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
   201
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
   202
build:		$(BUILD_64)
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
   203
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
   204
install:	build $(INSTALL_64)
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
   205
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
   206
test:	$(TEST_64)
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
   207
4339
6501cf9c29f9 21116842 add system-test targets to each component Makefile and to top-level Makefiles
Stacy Yeh <stacy.yeh@oracle.com>
parents: 4210
diff changeset
   208
system-test:    $(SYSTEM_TESTS_NOT_IMPLEMENTED)
6501cf9c29f9 21116842 add system-test targets to each component Makefile and to top-level Makefiles
Stacy Yeh <stacy.yeh@oracle.com>
parents: 4210
diff changeset
   209
4210
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
   210
REQUIRED_PACKAGES += library/database/gdbm
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
   211
REQUIRED_PACKAGES += library/libffi
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
   212
REQUIRED_PACKAGES += library/ncurses
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
   213
REQUIRED_PACKAGES += library/readline
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
   214
REQUIRED_PACKAGES += library/security/openssl
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
   215
REQUIRED_PACKAGES += library/zlib
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
   216
REQUIRED_PACKAGES += runtime/tcl-8
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
   217
REQUIRED_PACKAGES += runtime/tk-8
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
   218
REQUIRED_PACKAGES += system/core-os
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
   219
REQUIRED_PACKAGES += system/library
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
   220
REQUIRED_PACKAGES += system/library/math
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
   221
REQUIRED_PACKAGES += system/linker
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
   222
REQUIRED_PACKAGES += x11/library/libx11