components/ruby/stomp/Makefile
author Shawn Walker-Salas <shawn.walker@oracle.com>
Wed, 30 Mar 2016 13:33:31 -0700
changeset 5682 94c0ca64c022
parent 5350 0bd2e97a57c6
child 5816 19f33e9a0aee
permissions -rw-r--r--
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh 22228656 remove redundant declarations and additions from makefiles 22252545 simplify build rules for components from common upstream 22378457 tclConfig.sh compiler settings are too specific 22727315 httping curses gui missing 22750630 procmail ignores userland cflags and may use private strstr function 22758725 wdiff uses diff from PATH instead of /usr/gnu/bin/diff 22926847 cloog Makefile typo when setting ASLR_MODE 22935090 tk config script has wrong linker flags
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
5323
4aa2cfbd75bb PSARC/2015/290 Stomp plugin for Ruby
saurabh.vyas@oracle.com
parents:
diff changeset
     1
4aa2cfbd75bb PSARC/2015/290 Stomp plugin for Ruby
saurabh.vyas@oracle.com
parents:
diff changeset
     2
# CDDL HEADER START
4aa2cfbd75bb PSARC/2015/290 Stomp plugin for Ruby
saurabh.vyas@oracle.com
parents:
diff changeset
     3
#
4aa2cfbd75bb PSARC/2015/290 Stomp plugin for Ruby
saurabh.vyas@oracle.com
parents:
diff changeset
     4
# The contents of this file are subject to the terms of the
4aa2cfbd75bb PSARC/2015/290 Stomp plugin for Ruby
saurabh.vyas@oracle.com
parents:
diff changeset
     5
# Common Development and Distribution License (the "License").
4aa2cfbd75bb PSARC/2015/290 Stomp plugin for Ruby
saurabh.vyas@oracle.com
parents:
diff changeset
     6
# You may not use this file except in compliance with the License.
4aa2cfbd75bb PSARC/2015/290 Stomp plugin for Ruby
saurabh.vyas@oracle.com
parents:
diff changeset
     7
#
4aa2cfbd75bb PSARC/2015/290 Stomp plugin for Ruby
saurabh.vyas@oracle.com
parents:
diff changeset
     8
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
4aa2cfbd75bb PSARC/2015/290 Stomp plugin for Ruby
saurabh.vyas@oracle.com
parents:
diff changeset
     9
# or http://www.opensolaris.org/os/licensing.
4aa2cfbd75bb PSARC/2015/290 Stomp plugin for Ruby
saurabh.vyas@oracle.com
parents:
diff changeset
    10
# See the License for the specific language governing permissions
4aa2cfbd75bb PSARC/2015/290 Stomp plugin for Ruby
saurabh.vyas@oracle.com
parents:
diff changeset
    11
# and limitations under the License.
4aa2cfbd75bb PSARC/2015/290 Stomp plugin for Ruby
saurabh.vyas@oracle.com
parents:
diff changeset
    12
#
4aa2cfbd75bb PSARC/2015/290 Stomp plugin for Ruby
saurabh.vyas@oracle.com
parents:
diff changeset
    13
# When distributing Covered Code, include this CDDL HEADER in each
4aa2cfbd75bb PSARC/2015/290 Stomp plugin for Ruby
saurabh.vyas@oracle.com
parents:
diff changeset
    14
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
4aa2cfbd75bb PSARC/2015/290 Stomp plugin for Ruby
saurabh.vyas@oracle.com
parents:
diff changeset
    15
# If applicable, add the following below this CDDL HEADER, with the
4aa2cfbd75bb PSARC/2015/290 Stomp plugin for Ruby
saurabh.vyas@oracle.com
parents:
diff changeset
    16
# fields enclosed by brackets "[]" replaced with your own identifying
4aa2cfbd75bb PSARC/2015/290 Stomp plugin for Ruby
saurabh.vyas@oracle.com
parents:
diff changeset
    17
# information: Portions Copyright [yyyy] [name of copyright owner]
4aa2cfbd75bb PSARC/2015/290 Stomp plugin for Ruby
saurabh.vyas@oracle.com
parents:
diff changeset
    18
#
4aa2cfbd75bb PSARC/2015/290 Stomp plugin for Ruby
saurabh.vyas@oracle.com
parents:
diff changeset
    19
# CDDL HEADER END
4aa2cfbd75bb PSARC/2015/290 Stomp plugin for Ruby
saurabh.vyas@oracle.com
parents:
diff changeset
    20
#
5682
94c0ca64c022 15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents: 5350
diff changeset
    21
94c0ca64c022 15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents: 5350
diff changeset
    22
#
5325
25836c8f6fb0 21230525 Add ruby-STOMP module to userland consolidation (fix build/copyright)
saurabh.vyas@oracle.com
parents: 5323
diff changeset
    23
# Copyright (c) 2016, Oracle and/or its affiliates. All rights reserved.
5323
4aa2cfbd75bb PSARC/2015/290 Stomp plugin for Ruby
saurabh.vyas@oracle.com
parents:
diff changeset
    24
#
4aa2cfbd75bb PSARC/2015/290 Stomp plugin for Ruby
saurabh.vyas@oracle.com
parents:
diff changeset
    25
include ../../../make-rules/shared-macros.mk
4aa2cfbd75bb PSARC/2015/290 Stomp plugin for Ruby
saurabh.vyas@oracle.com
parents:
diff changeset
    26
5350
0bd2e97a57c6 22599480 move mcollective to Ruby 2.1
saurabh.vyas@oracle.com
parents: 5325
diff changeset
    27
#
0bd2e97a57c6 22599480 move mcollective to Ruby 2.1
saurabh.vyas@oracle.com
parents: 5325
diff changeset
    28
# Override the inherited RUBY values in shared-macros.mk to be
0bd2e97a57c6 22599480 move mcollective to Ruby 2.1
saurabh.vyas@oracle.com
parents: 5325
diff changeset
    29
# a later release.
0bd2e97a57c6 22599480 move mcollective to Ruby 2.1
saurabh.vyas@oracle.com
parents: 5325
diff changeset
    30
# 
0bd2e97a57c6 22599480 move mcollective to Ruby 2.1
saurabh.vyas@oracle.com
parents: 5325
diff changeset
    31
RUBY_VERSION=       2.1
0bd2e97a57c6 22599480 move mcollective to Ruby 2.1
saurabh.vyas@oracle.com
parents: 5325
diff changeset
    32
RUBY_LIB_VERSION=   2.1.0
0bd2e97a57c6 22599480 move mcollective to Ruby 2.1
saurabh.vyas@oracle.com
parents: 5325
diff changeset
    33
RUBY_VERSIONS=      2.1.0
0bd2e97a57c6 22599480 move mcollective to Ruby 2.1
saurabh.vyas@oracle.com
parents: 5325
diff changeset
    34
5323
4aa2cfbd75bb PSARC/2015/290 Stomp plugin for Ruby
saurabh.vyas@oracle.com
parents:
diff changeset
    35
COMPONENT_NAME=		stomp
4aa2cfbd75bb PSARC/2015/290 Stomp plugin for Ruby
saurabh.vyas@oracle.com
parents:
diff changeset
    36
COMPONENT_VERSION=	1.3.4
4aa2cfbd75bb PSARC/2015/290 Stomp plugin for Ruby
saurabh.vyas@oracle.com
parents:
diff changeset
    37
COMPONENT_SRC=		$(COMPONENT_NAME)-$(COMPONENT_VERSION)
4aa2cfbd75bb PSARC/2015/290 Stomp plugin for Ruby
saurabh.vyas@oracle.com
parents:
diff changeset
    38
COMPONENT_ARCHIVE= $(COMPONENT_SRC).gem
4aa2cfbd75bb PSARC/2015/290 Stomp plugin for Ruby
saurabh.vyas@oracle.com
parents:
diff changeset
    39
COMPONENT_ARCHIVE_HASH=	\
4aa2cfbd75bb PSARC/2015/290 Stomp plugin for Ruby
saurabh.vyas@oracle.com
parents:
diff changeset
    40
    sha256:adc77e8760236bd6d751991e0a4fc2bfd5443fc45dd5cfedb0d8c99273bc5897
4aa2cfbd75bb PSARC/2015/290 Stomp plugin for Ruby
saurabh.vyas@oracle.com
parents:
diff changeset
    41
COMPONENT_ARCHIVE_URL=	http://rubygems.org/gems/$(COMPONENT_ARCHIVE)
4aa2cfbd75bb PSARC/2015/290 Stomp plugin for Ruby
saurabh.vyas@oracle.com
parents:
diff changeset
    42
COMPONENT_PROJECT_URL=  https://rubygems.org/gems/stomp/
4aa2cfbd75bb PSARC/2015/290 Stomp plugin for Ruby
saurabh.vyas@oracle.com
parents:
diff changeset
    43
COMPONENT_BUGDB=	utility/ruby-stomp
4aa2cfbd75bb PSARC/2015/290 Stomp plugin for Ruby
saurabh.vyas@oracle.com
parents:
diff changeset
    44
4aa2cfbd75bb PSARC/2015/290 Stomp plugin for Ruby
saurabh.vyas@oracle.com
parents:
diff changeset
    45
TPNO=                   23495
4aa2cfbd75bb PSARC/2015/290 Stomp plugin for Ruby
saurabh.vyas@oracle.com
parents:
diff changeset
    46
4aa2cfbd75bb PSARC/2015/290 Stomp plugin for Ruby
saurabh.vyas@oracle.com
parents:
diff changeset
    47
# No gemspec is shipped with the gem. Create one
4aa2cfbd75bb PSARC/2015/290 Stomp plugin for Ruby
saurabh.vyas@oracle.com
parents:
diff changeset
    48
COMPONENT_POST_UNPACK_ACTION= \
5350
0bd2e97a57c6 22599480 move mcollective to Ruby 2.1
saurabh.vyas@oracle.com
parents: 5325
diff changeset
    49
    $(GEM) spec --ruby $(COMPONENT_ARCHIVE) > $(SOURCE_DIR)/$(GEMSPEC)
5323
4aa2cfbd75bb PSARC/2015/290 Stomp plugin for Ruby
saurabh.vyas@oracle.com
parents:
diff changeset
    50
5325
25836c8f6fb0 21230525 Add ruby-STOMP module to userland consolidation (fix build/copyright)
saurabh.vyas@oracle.com
parents: 5323
diff changeset
    51
include $(WS_MAKE_RULES)/prep.mk
25836c8f6fb0 21230525 Add ruby-STOMP module to userland consolidation (fix build/copyright)
saurabh.vyas@oracle.com
parents: 5323
diff changeset
    52
include $(WS_MAKE_RULES)/ips.mk
25836c8f6fb0 21230525 Add ruby-STOMP module to userland consolidation (fix build/copyright)
saurabh.vyas@oracle.com
parents: 5323
diff changeset
    53
include $(WS_MAKE_RULES)/gem.mk
25836c8f6fb0 21230525 Add ruby-STOMP module to userland consolidation (fix build/copyright)
saurabh.vyas@oracle.com
parents: 5323
diff changeset
    54
5323
4aa2cfbd75bb PSARC/2015/290 Stomp plugin for Ruby
saurabh.vyas@oracle.com
parents:
diff changeset
    55
ASLR_MODE = $(ASLR_NOT_APPLICABLE)
4aa2cfbd75bb PSARC/2015/290 Stomp plugin for Ruby
saurabh.vyas@oracle.com
parents:
diff changeset
    56
4aa2cfbd75bb PSARC/2015/290 Stomp plugin for Ruby
saurabh.vyas@oracle.com
parents:
diff changeset
    57
# common targets
4aa2cfbd75bb PSARC/2015/290 Stomp plugin for Ruby
saurabh.vyas@oracle.com
parents:
diff changeset
    58
build:		$(BUILD_64)
4aa2cfbd75bb PSARC/2015/290 Stomp plugin for Ruby
saurabh.vyas@oracle.com
parents:
diff changeset
    59
4aa2cfbd75bb PSARC/2015/290 Stomp plugin for Ruby
saurabh.vyas@oracle.com
parents:
diff changeset
    60
install:	$(INSTALL_64)
4aa2cfbd75bb PSARC/2015/290 Stomp plugin for Ruby
saurabh.vyas@oracle.com
parents:
diff changeset
    61
4aa2cfbd75bb PSARC/2015/290 Stomp plugin for Ruby
saurabh.vyas@oracle.com
parents:
diff changeset
    62
test:		$(NO_TESTS)
4aa2cfbd75bb PSARC/2015/290 Stomp plugin for Ruby
saurabh.vyas@oracle.com
parents:
diff changeset
    63
4aa2cfbd75bb PSARC/2015/290 Stomp plugin for Ruby
saurabh.vyas@oracle.com
parents:
diff changeset
    64
system-test:    $(NO_TESTS)
4aa2cfbd75bb PSARC/2015/290 Stomp plugin for Ruby
saurabh.vyas@oracle.com
parents:
diff changeset
    65
4aa2cfbd75bb PSARC/2015/290 Stomp plugin for Ruby
saurabh.vyas@oracle.com
parents:
diff changeset
    66
4aa2cfbd75bb PSARC/2015/290 Stomp plugin for Ruby
saurabh.vyas@oracle.com
parents:
diff changeset
    67
REQUIRED_PACKAGES += network/amqp/rabbitmq
5350
0bd2e97a57c6 22599480 move mcollective to Ruby 2.1
saurabh.vyas@oracle.com
parents: 5325
diff changeset
    68
REQUIRED_PACKAGES += runtime/ruby-21
5323
4aa2cfbd75bb PSARC/2015/290 Stomp plugin for Ruby
saurabh.vyas@oracle.com
parents:
diff changeset
    69
REQUIRED_PACKAGES += system/core-os