components/pigz/Makefile
author David Hollister <david.hollister@oracle.com>
Wed, 12 Oct 2016 14:01:13 -0600
changeset 7094 61352b4e5af5
parent 7063 c478967a99d2
child 7687 1093e2a9adbd
permissions -rw-r--r--
24797203 OpenStack RBAC profiles allow reading too many files 24797238 keystone RBAC and SMF should point at Apache log files 24797256 cinder RBAC and SMF should point at Apache log files 24830959 horizon RBAC and SMF should point at Apache log files
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
1226
5e2a9b83712f PSARC 2012/357 pigz
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
     1
#
5e2a9b83712f PSARC 2012/357 pigz
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
     2
# CDDL HEADER START
5e2a9b83712f PSARC 2012/357 pigz
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
     3
#
5e2a9b83712f PSARC 2012/357 pigz
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
     4
# The contents of this file are subject to the terms of the
5e2a9b83712f PSARC 2012/357 pigz
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
     5
# Common Development and Distribution License (the "License").
5e2a9b83712f PSARC 2012/357 pigz
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
     6
# You may not use this file except in compliance with the License.
5e2a9b83712f PSARC 2012/357 pigz
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
     7
#
5e2a9b83712f PSARC 2012/357 pigz
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
     8
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
5e2a9b83712f PSARC 2012/357 pigz
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
     9
# or http://www.opensolaris.org/os/licensing.
5e2a9b83712f PSARC 2012/357 pigz
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    10
# See the License for the specific language governing permissions
5e2a9b83712f PSARC 2012/357 pigz
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    11
# and limitations under the License.
5e2a9b83712f PSARC 2012/357 pigz
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    12
#
5e2a9b83712f PSARC 2012/357 pigz
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    13
# When distributing Covered Code, include this CDDL HEADER in each
5e2a9b83712f PSARC 2012/357 pigz
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    14
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
5e2a9b83712f PSARC 2012/357 pigz
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    15
# If applicable, add the following below this CDDL HEADER, with the
5e2a9b83712f PSARC 2012/357 pigz
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    16
# fields enclosed by brackets "[]" replaced with your own identifying
5e2a9b83712f PSARC 2012/357 pigz
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    17
# information: Portions Copyright [yyyy] [name of copyright owner]
5e2a9b83712f PSARC 2012/357 pigz
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    18
#
5e2a9b83712f PSARC 2012/357 pigz
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    19
# CDDL HEADER END
5e2a9b83712f PSARC 2012/357 pigz
John Beck <John.Beck@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: 4393
diff changeset
    21
1226
5e2a9b83712f PSARC 2012/357 pigz
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    22
#
5682
94c0ca64c022 15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents: 4393
diff changeset
    23
# Copyright (c) 2012, 2016, Oracle and/or its affiliates. All rights reserved.
94c0ca64c022 15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents: 4393
diff changeset
    24
#
94c0ca64c022 15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents: 4393
diff changeset
    25
BUILD_BITS= 64
1226
5e2a9b83712f PSARC 2012/357 pigz
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    26
include ../../make-rules/shared-macros.mk
5e2a9b83712f PSARC 2012/357 pigz
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    27
5e2a9b83712f PSARC 2012/357 pigz
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    28
COMPONENT_NAME=		pigz
7063
c478967a99d2 23132067 Upgrade pigz to 2.3.3
Rich Burridge <rich.burridge@oracle.com>
parents: 5682
diff changeset
    29
COMPONENT_VERSION=	2.3.3
1226
5e2a9b83712f PSARC 2012/357 pigz
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    30
COMPONENT_PROJECT_URL=	http://zlib.net/pigz/
5e2a9b83712f PSARC 2012/357 pigz
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    31
COMPONENT_ARCHIVE_HASH=	\
7063
c478967a99d2 23132067 Upgrade pigz to 2.3.3
Rich Burridge <rich.burridge@oracle.com>
parents: 5682
diff changeset
    32
    sha256:4e8b67b432ce7907575a549f3e1cac4709781ba0f6b48afea9f59369846b509c
1226
5e2a9b83712f PSARC 2012/357 pigz
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    33
COMPONENT_ARCHIVE_URL=	$(COMPONENT_PROJECT_URL)$(COMPONENT_ARCHIVE)
5e2a9b83712f PSARC 2012/357 pigz
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    34
7063
c478967a99d2 23132067 Upgrade pigz to 2.3.3
Rich Burridge <rich.burridge@oracle.com>
parents: 5682
diff changeset
    35
TPNO=			31875
1948
2d1537e7942d 18978320 Userland components should specify TPNOs in Makefiles instead of pkg manifests
John Beck <John.Beck@Oracle.COM>
parents: 1526
diff changeset
    36
5682
94c0ca64c022 15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents: 4393
diff changeset
    37
BUILD_STYLE= justmake
94c0ca64c022 15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents: 4393
diff changeset
    38
INSTALL_TARGET= build
94c0ca64c022 15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents: 4393
diff changeset
    39
SYSTEM_TEST_TARGET= $(SYSTEM_TEST_64)
94c0ca64c022 15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents: 4393
diff changeset
    40
include $(WS_MAKE_RULES)/common.mk
1226
5e2a9b83712f PSARC 2012/357 pigz
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    41
5e2a9b83712f PSARC 2012/357 pigz
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    42
PKG_PROTO_DIRS += $(BUILD_DIR_64)
5e2a9b83712f PSARC 2012/357 pigz
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    43
1526
e02c36c9062c 17656250 pigz doesn't compile on s12_33
John Beck <John.Beck@Oracle.COM>
parents: 1226
diff changeset
    44
studio_C99MODE=	$(studio_C99_ENABLE) 
e02c36c9062c 17656250 pigz doesn't compile on s12_33
John Beck <John.Beck@Oracle.COM>
parents: 1226
diff changeset
    45
1226
5e2a9b83712f PSARC 2012/357 pigz
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    46
CC += $(CC_BITS)
5e2a9b83712f PSARC 2012/357 pigz
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    47
COMPONENT_BUILD_ARGS += CC="$(CC)"
2137
b1e25f951af0 19612384 pigz needs parallel uncompress
Michael Gerdts <mike.gerdts@oracle.com>
parents: 1948
diff changeset
    48
COMPONENT_BUILD_ARGS += CFLAGS="$(CFLAGS) -DHAVE_PTHREAD_SETNAME_NP"
4393
963a977eeb62 21179642 pigz should have some master test results to compare against
John Beck <John.Beck@Oracle.COM>
parents: 4339
diff changeset
    49
COMPONENT_SYSTEM_TEST_TARGETS=	test
5682
94c0ca64c022 15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents: 4393
diff changeset
    50
COMPONENT_SYSTEM_TEST_ENV=	TARGETDIR=$(USRBINDIR)
4393
963a977eeb62 21179642 pigz should have some master test results to compare against
John Beck <John.Beck@Oracle.COM>
parents: 4339
diff changeset
    51
COMPONENT_TEST_TARGETS=	test
963a977eeb62 21179642 pigz should have some master test results to compare against
John Beck <John.Beck@Oracle.COM>
parents: 4339
diff changeset
    52
# Ignore these warnings that can come in random order.
963a977eeb62 21179642 pigz should have some master test results to compare against
John Beck <John.Beck@Oracle.COM>
parents: 4339
diff changeset
    53
COMPONENT_TEST_TRANSFORMS += \
7063
c478967a99d2 23132067 Upgrade pigz to 2.3.3
Rich Burridge <rich.burridge@oracle.com>
parents: 5682
diff changeset
    54
    '-e "/skipping:/d" ' \
c478967a99d2 23132067 Upgrade pigz to 2.3.3
Rich Burridge <rich.burridge@oracle.com>
parents: 5682
diff changeset
    55
    '-e "/Entering/d"' \
c478967a99d2 23132067 Upgrade pigz to 2.3.3
Rich Burridge <rich.burridge@oracle.com>
parents: 5682
diff changeset
    56
    '-e "/Leaving/d"'
1226
5e2a9b83712f PSARC 2012/357 pigz
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    57
3817
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 2137
diff changeset
    58
REQUIRED_PACKAGES += library/zlib
7063
c478967a99d2 23132067 Upgrade pigz to 2.3.3
Rich Burridge <rich.burridge@oracle.com>
parents: 5682
diff changeset
    59
REQUIRED_PACKAGES += system/library/math