5620N/A#
5620N/A# CDDL HEADER START
5620N/A#
5620N/A# The contents of this file are subject to the terms of the
5620N/A# Common Development and Distribution License (the "License").
5620N/A# You may not use this file except in compliance with the License.
5620N/A#
5620N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
5620N/A# or http://www.opensolaris.org/os/licensing.
5620N/A# See the License for the specific language governing permissions
5620N/A# and limitations under the License.
5620N/A#
5620N/A# When distributing Covered Code, include this CDDL HEADER in each
5620N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
5620N/A# If applicable, add the following below this CDDL HEADER, with the
5620N/A# fields enclosed by brackets "[]" replaced with your own identifying
5620N/A# information: Portions Copyright [yyyy] [name of copyright owner]
5620N/A#
5620N/A# CDDL HEADER END
5620N/A#
5620N/A
5620N/A#
5620N/A# Copyright (c) 2015, 2016, Oracle and/or its affiliates. All rights reserved.
5620N/A#
5620N/A
5620N/ACOMPILER = gcc
5689N/ABUILD_BITS = 32_and_64
5620N/Ainclude ../../../make-rules/shared-macros.mk
5620N/A
5620N/ACOMPONENT_NAME= libpng
5661N/ACOMPONENT_VERSION= 1.4.19
5620N/ACOMPONENT_PROJECT_URL= http://www.libpng.org/
5620N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
5620N/ACOMPONENT_ARCHIVE_HASH= \
5661N/A sha256:b73b7f0aec1f4d89fb6a587d4174dede493af8a3c04bb6eb87b0d10a8623bd7f
5661N/ACOMPONENT_ARCHIVE_URL= https://sourceforge.net/projects/libpng/files/libpng14/$(COMPONENT_VERSION)/$(COMPONENT_ARCHIVE)
5620N/ACOMPONENT_BUGDB= library/libpng
5620N/A
5661N/ATPNO= 27311
5620N/A
5689N/ASYSTEM_TEST_TARGET= $(SYSTEM_TESTS_NOT_IMPLEMENTED)
5689N/Ainclude $(WS_MAKE_RULES)/common.mk
5620N/A
5620N/ACOMPONENT_TEST_MASTER = $(COMPONENT_TEST_RESULTS_DIR)/results-all.master
5620N/ACOMPONENT_TEST_ARGS = -k -i
5620N/ACOMPONENT_TEST_TRANSFORMS += \
5620N/A '-n ' \
5620N/A '-e "/Pass /p" ' \
5620N/A '-e "/TOTAL:/p" ' \
5620N/A '-e "/Filter/p" ' \
5620N/A '-e "/PASS/p" ' \
5620N/A '-e "/ERROR:/p" '
5620N/A
5661N/A# for pngtest to run
5661N/ACOMPONENT_TEST_ENV += libtool_install_magic='%%%MAGIC variable%%%'
5661N/ACOMPONENT_TEST_ENV += libtool_execute_magic='%%%MAGIC variable%%%'
5620N/A
5620N/AREQUIRED_PACKAGES += library/zlib
5620N/AREQUIRED_PACKAGES += shell/ksh93
5620N/AREQUIRED_PACKAGES += system/library/math