components/desktop/libpng/Makefile
author John Beck <John.Beck@Oracle.COM>
Thu, 08 Sep 2016 09:45:54 -0700
changeset 6864 45128c94429d
parent 5691 dbd727b03c07
child 7687 1093e2a9adbd
permissions -rw-r--r--
24615249 work around pkgdepend issue to publish rjsmin on S11
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
5622
b0275c75884a 22916341 move libjpeg from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
     1
#
b0275c75884a 22916341 move libjpeg from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
     2
# CDDL HEADER START
b0275c75884a 22916341 move libjpeg from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
     3
#
b0275c75884a 22916341 move libjpeg from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
     4
# The contents of this file are subject to the terms of the
b0275c75884a 22916341 move libjpeg from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
     5
# Common Development and Distribution License (the "License").
b0275c75884a 22916341 move libjpeg from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
     6
# You may not use this file except in compliance with the License.
b0275c75884a 22916341 move libjpeg from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
     7
#
b0275c75884a 22916341 move libjpeg from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
     8
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
b0275c75884a 22916341 move libjpeg from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
     9
# or http://www.opensolaris.org/os/licensing.
b0275c75884a 22916341 move libjpeg from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    10
# See the License for the specific language governing permissions
b0275c75884a 22916341 move libjpeg from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    11
# and limitations under the License.
b0275c75884a 22916341 move libjpeg from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    12
#
b0275c75884a 22916341 move libjpeg from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    13
# When distributing Covered Code, include this CDDL HEADER in each
b0275c75884a 22916341 move libjpeg from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    14
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
b0275c75884a 22916341 move libjpeg from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    15
# If applicable, add the following below this CDDL HEADER, with the
b0275c75884a 22916341 move libjpeg from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    16
# fields enclosed by brackets "[]" replaced with your own identifying
b0275c75884a 22916341 move libjpeg from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    17
# information: Portions Copyright [yyyy] [name of copyright owner]
b0275c75884a 22916341 move libjpeg from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    18
#
b0275c75884a 22916341 move libjpeg from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    19
# CDDL HEADER END
b0275c75884a 22916341 move libjpeg from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    20
#
b0275c75884a 22916341 move libjpeg from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    21
b0275c75884a 22916341 move libjpeg from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    22
#
b0275c75884a 22916341 move libjpeg from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    23
# Copyright (c) 2015, 2016, Oracle and/or its affiliates. All rights reserved.
b0275c75884a 22916341 move libjpeg from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    24
#
b0275c75884a 22916341 move libjpeg from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    25
b0275c75884a 22916341 move libjpeg from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    26
COMPILER =		gcc
5691
dbd727b03c07 PSARC/2016/174 Removal of libpng 1.0 & 1.2
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents: 5663
diff changeset
    27
BUILD_BITS = 		32_and_64
5622
b0275c75884a 22916341 move libjpeg from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    28
include ../../../make-rules/shared-macros.mk
b0275c75884a 22916341 move libjpeg from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    29
b0275c75884a 22916341 move libjpeg from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    30
COMPONENT_NAME=		libpng
5663
971bf404a5c9 22503897 problem in LIBRARY/LIBPNG
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents: 5623
diff changeset
    31
COMPONENT_VERSION=	1.4.19
5622
b0275c75884a 22916341 move libjpeg from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    32
COMPONENT_PROJECT_URL=	http://www.libpng.org/
b0275c75884a 22916341 move libjpeg from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    33
COMPONENT_ARCHIVE=	$(COMPONENT_SRC).tar.gz
b0275c75884a 22916341 move libjpeg from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    34
COMPONENT_ARCHIVE_HASH=	\
5663
971bf404a5c9 22503897 problem in LIBRARY/LIBPNG
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents: 5623
diff changeset
    35
	sha256:b73b7f0aec1f4d89fb6a587d4174dede493af8a3c04bb6eb87b0d10a8623bd7f
971bf404a5c9 22503897 problem in LIBRARY/LIBPNG
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents: 5623
diff changeset
    36
COMPONENT_ARCHIVE_URL=	https://sourceforge.net/projects/libpng/files/libpng14/$(COMPONENT_VERSION)/$(COMPONENT_ARCHIVE)
5622
b0275c75884a 22916341 move libjpeg from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    37
COMPONENT_BUGDB=	library/libpng
b0275c75884a 22916341 move libjpeg from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    38
5663
971bf404a5c9 22503897 problem in LIBRARY/LIBPNG
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents: 5623
diff changeset
    39
TPNO=		27311
5622
b0275c75884a 22916341 move libjpeg from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    40
5691
dbd727b03c07 PSARC/2016/174 Removal of libpng 1.0 & 1.2
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents: 5663
diff changeset
    41
SYSTEM_TEST_TARGET= $(SYSTEM_TESTS_NOT_IMPLEMENTED)
dbd727b03c07 PSARC/2016/174 Removal of libpng 1.0 & 1.2
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents: 5663
diff changeset
    42
include $(WS_MAKE_RULES)/common.mk
5622
b0275c75884a 22916341 move libjpeg from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    43
b0275c75884a 22916341 move libjpeg from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    44
COMPONENT_TEST_MASTER = $(COMPONENT_TEST_RESULTS_DIR)/results-all.master
b0275c75884a 22916341 move libjpeg from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    45
COMPONENT_TEST_ARGS = -k -i
b0275c75884a 22916341 move libjpeg from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    46
COMPONENT_TEST_TRANSFORMS += \
b0275c75884a 22916341 move libjpeg from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    47
        '-n ' \
b0275c75884a 22916341 move libjpeg from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    48
        '-e "/Pass /p" ' \
b0275c75884a 22916341 move libjpeg from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    49
        '-e "/TOTAL:/p" ' \
b0275c75884a 22916341 move libjpeg from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    50
        '-e "/Filter/p" ' \
b0275c75884a 22916341 move libjpeg from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    51
        '-e "/PASS/p" ' \
b0275c75884a 22916341 move libjpeg from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    52
        '-e "/ERROR:/p" '
b0275c75884a 22916341 move libjpeg from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    53
5663
971bf404a5c9 22503897 problem in LIBRARY/LIBPNG
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents: 5623
diff changeset
    54
# for pngtest to run
971bf404a5c9 22503897 problem in LIBRARY/LIBPNG
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents: 5623
diff changeset
    55
COMPONENT_TEST_ENV +=   libtool_install_magic='%%%MAGIC variable%%%'
971bf404a5c9 22503897 problem in LIBRARY/LIBPNG
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents: 5623
diff changeset
    56
COMPONENT_TEST_ENV +=   libtool_execute_magic='%%%MAGIC variable%%%'
5622
b0275c75884a 22916341 move libjpeg from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    57
b0275c75884a 22916341 move libjpeg from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    58
REQUIRED_PACKAGES += library/zlib
b0275c75884a 22916341 move libjpeg from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    59
REQUIRED_PACKAGES += shell/ksh93
b0275c75884a 22916341 move libjpeg from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    60
REQUIRED_PACKAGES += system/library/math