components/parallel/Makefile
author Rich Burridge <rich.burridge@oracle.com>
Thu, 23 Feb 2017 13:46:52 -0800
changeset 7687 1093e2a9adbd
parent 5797 432ac76de3b0
child 7757 b1ac9348d4f0
permissions -rw-r--r--
25590368 Userland components should include "upstream" release tracking information
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
1083
dcfa3638d3e2 PSARC 2012/182 GNU parallel version 20120422
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     1
#
dcfa3638d3e2 PSARC 2012/182 GNU parallel version 20120422
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     2
# CDDL HEADER START
dcfa3638d3e2 PSARC 2012/182 GNU parallel version 20120422
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     3
#
dcfa3638d3e2 PSARC 2012/182 GNU parallel version 20120422
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     4
# The contents of this file are subject to the terms of the
dcfa3638d3e2 PSARC 2012/182 GNU parallel version 20120422
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     5
# Common Development and Distribution License (the "License").
dcfa3638d3e2 PSARC 2012/182 GNU parallel version 20120422
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     6
# You may not use this file except in compliance with the License.
dcfa3638d3e2 PSARC 2012/182 GNU parallel version 20120422
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     7
#
dcfa3638d3e2 PSARC 2012/182 GNU parallel version 20120422
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     8
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
dcfa3638d3e2 PSARC 2012/182 GNU parallel version 20120422
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     9
# or http://www.opensolaris.org/os/licensing.
dcfa3638d3e2 PSARC 2012/182 GNU parallel version 20120422
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    10
# See the License for the specific language governing permissions
dcfa3638d3e2 PSARC 2012/182 GNU parallel version 20120422
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    11
# and limitations under the License.
dcfa3638d3e2 PSARC 2012/182 GNU parallel version 20120422
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    12
#
dcfa3638d3e2 PSARC 2012/182 GNU parallel version 20120422
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    13
# When distributing Covered Code, include this CDDL HEADER in each
dcfa3638d3e2 PSARC 2012/182 GNU parallel version 20120422
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    14
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
dcfa3638d3e2 PSARC 2012/182 GNU parallel version 20120422
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    15
# If applicable, add the following below this CDDL HEADER, with the
dcfa3638d3e2 PSARC 2012/182 GNU parallel version 20120422
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    16
# fields enclosed by brackets "[]" replaced with your own identifying
dcfa3638d3e2 PSARC 2012/182 GNU parallel version 20120422
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    17
# information: Portions Copyright [yyyy] [name of copyright owner]
dcfa3638d3e2 PSARC 2012/182 GNU parallel version 20120422
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    18
#
dcfa3638d3e2 PSARC 2012/182 GNU parallel version 20120422
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    19
# CDDL HEADER END
dcfa3638d3e2 PSARC 2012/182 GNU parallel version 20120422
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    20
#
dcfa3638d3e2 PSARC 2012/182 GNU parallel version 20120422
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    21
dcfa3638d3e2 PSARC 2012/182 GNU parallel version 20120422
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    22
#
7687
1093e2a9adbd 25590368 Userland components should include "upstream" release tracking information
Rich Burridge <rich.burridge@oracle.com>
parents: 5797
diff changeset
    23
# Copyright (c) 2012, 2017, Oracle and/or its affiliates. All rights reserved.
1083
dcfa3638d3e2 PSARC 2012/182 GNU parallel version 20120422
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    24
#
5682
94c0ca64c022 15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents: 5638
diff changeset
    25
BUILD_BITS= 64
1083
dcfa3638d3e2 PSARC 2012/182 GNU parallel version 20120422
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    26
include ../../make-rules/shared-macros.mk
dcfa3638d3e2 PSARC 2012/182 GNU parallel version 20120422
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    27
dcfa3638d3e2 PSARC 2012/182 GNU parallel version 20120422
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    28
COMPONENT_NAME=		parallel
5586
82b7375fd3dd 22876749 Update parallel to version 20160222
Rich Burridge <rich.burridge@oracle.com>
parents: 5383
diff changeset
    29
COMPONENT_VERSION=	20160222
1083
dcfa3638d3e2 PSARC 2012/182 GNU parallel version 20120422
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    30
# A leading "0." is included to make it easier to upgrade the package, should
dcfa3638d3e2 PSARC 2012/182 GNU parallel version 20120422
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    31
# the maintainers decide to go to a more standard version numbering system.
5586
82b7375fd3dd 22876749 Update parallel to version 20160222
Rich Burridge <rich.burridge@oracle.com>
parents: 5383
diff changeset
    32
IPS_COMPONENT_VERSION=  0.2016.2.22
1083
dcfa3638d3e2 PSARC 2012/182 GNU parallel version 20120422
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    33
COMPONENT_ARCHIVE=	$(COMPONENT_SRC).tar.bz2
dcfa3638d3e2 PSARC 2012/182 GNU parallel version 20120422
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    34
COMPONENT_ARCHIVE_HASH=	\
5586
82b7375fd3dd 22876749 Update parallel to version 20160222
Rich Burridge <rich.burridge@oracle.com>
parents: 5383
diff changeset
    35
    sha256:8dfbe539036a6ff02f9f542751e8621f42d285b3c9a7d9245042a6cc6ddc55ea
7687
1093e2a9adbd 25590368 Userland components should include "upstream" release tracking information
Rich Burridge <rich.burridge@oracle.com>
parents: 5797
diff changeset
    36
COMPONENT_ANITYA_ID=	5448
1083
dcfa3638d3e2 PSARC 2012/182 GNU parallel version 20120422
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    37
5586
82b7375fd3dd 22876749 Update parallel to version 20160222
Rich Burridge <rich.burridge@oracle.com>
parents: 5383
diff changeset
    38
TPNO=			27217
1948
2d1537e7942d 18978320 Userland components should specify TPNOs in Makefiles instead of pkg manifests
John Beck <John.Beck@Oracle.COM>
parents: 1480
diff changeset
    39
5682
94c0ca64c022 15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents: 5638
diff changeset
    40
TEST_TARGET= $(NO_TESTS)
94c0ca64c022 15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents: 5638
diff changeset
    41
include $(WS_MAKE_RULES)/gnu-component.mk
1083
dcfa3638d3e2 PSARC 2012/182 GNU parallel version 20120422
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    42
5383
daa35fd7ea40 20045498 Upgrade Parallel to latest version
Rich Burridge <rich.burridge@oracle.com>
parents: 4746
diff changeset
    43
# Set PATH to find the correct pod2man, so that the man pages can be
1083
dcfa3638d3e2 PSARC 2012/182 GNU parallel version 20120422
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    44
# automatically generated
5383
daa35fd7ea40 20045498 Upgrade Parallel to latest version
Rich Burridge <rich.burridge@oracle.com>
parents: 4746
diff changeset
    45
COMPONENT_BUILD_ENV += \
5682
94c0ca64c022 15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents: 5638
diff changeset
    46
	PATH="$(USRBINDIR):$(GNUBIN):$(USRDIR)/perl5/$(PERL_VERSION)/bin"
5383
daa35fd7ea40 20045498 Upgrade Parallel to latest version
Rich Burridge <rich.burridge@oracle.com>
parents: 4746
diff changeset
    47
5797
432ac76de3b0 23078956 adjust the remainder of the userland components to use perl 5.22
Craig Mohrman <craig.mohrman@oracle.com>
parents: 5682
diff changeset
    48
# Adjust '#!/usr/bin/perl'
432ac76de3b0 23078956 adjust the remainder of the userland components to use perl 5.22
Craig Mohrman <craig.mohrman@oracle.com>
parents: 5682
diff changeset
    49
PERL_SCRIPTS = \
432ac76de3b0 23078956 adjust the remainder of the userland components to use perl 5.22
Craig Mohrman <craig.mohrman@oracle.com>
parents: 5682
diff changeset
    50
	$(PROTOUSRBINDIR)/niceload \
432ac76de3b0 23078956 adjust the remainder of the userland components to use perl 5.22
Craig Mohrman <craig.mohrman@oracle.com>
parents: 5682
diff changeset
    51
	$(PROTOUSRBINDIR)/parallel \
432ac76de3b0 23078956 adjust the remainder of the userland components to use perl 5.22
Craig Mohrman <craig.mohrman@oracle.com>
parents: 5682
diff changeset
    52
	$(PROTOUSRBINDIR)/sql
1083
dcfa3638d3e2 PSARC 2012/182 GNU parallel version 20120422
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    53
1434
c782e620dd26 17296512 Add ASLR_NOT_APPLICABLE as an ASLR mode in Userland
Rich Burridge <rich.burridge@oracle.com>
parents: 1095
diff changeset
    54
ASLR_MODE = $(ASLR_NOT_APPLICABLE)
c782e620dd26 17296512 Add ASLR_NOT_APPLICABLE as an ASLR mode in Userland
Rich Burridge <rich.burridge@oracle.com>
parents: 1095
diff changeset
    55
5638
b88b6c00208e 22970244 userland should build with perl 5.22 as the default
Craig Mohrman <craig.mohrman@oracle.com>
parents: 5586
diff changeset
    56
REQUIRED_PACKAGES += $(PERL_PKG)
3817
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 2225
diff changeset
    57
REQUIRED_PACKAGES += shell/which
5383
daa35fd7ea40 20045498 Upgrade Parallel to latest version
Rich Burridge <rich.burridge@oracle.com>
parents: 4746
diff changeset
    58
REQUIRED_PACKAGES += system/core-os