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
6410N/ABUILD_BITS = 64_and_32
5620N/ACOMPILER = gcc
5620N/A
5620N/Ainclude ../../../make-rules/shared-macros.mk
5620N/A
5620N/ACOMPONENT_NAME= jpeg
5620N/ACOMPONENT_VERSION= 6.0.2
5620N/AHUMAN_VERSION= v6b
5620N/ACOMPONENT_PROJECT_URL= https://sourceforge.net/projects/libjpeg/
5620N/ACOMPONENT_SRC= jpeg-6b
5620N/ACOMPONENT_SRC_NAME= jpegsrc.$(HUMAN_VERSION)
5620N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC_NAME).tar.gz
5620N/ACOMPONENT_ARCHIVE_HASH= \
5620N/A sha256:75c3ec241e9996504fe02a9ed4d12f16b74ade713972f3db9e65ce95cd27e35d
5620N/ACOMPONENT_ARCHIVE_URL= $(COMPONENT_PROJECT_URL)files/libjpeg/6b/$(COMPONENT_ARCHIVE)
5620N/ACOMPONENT_BUGDB= library/libjpeg
5620N/A
5620N/ATPNO= 9298
5620N/A
6410N/Ainclude $(WS_MAKE_RULES)/common.mk
5620N/A
5620N/ALDFLAGS += $(CC_BITS)
5620N/A
6410N/ACONFIGURE_OPTIONS += --prefix=$(PROTOUSRDIR)
5620N/ACONFIGURE_OPTIONS += --enable-shared
6410N/A
6410N/ACONFIGURE_ENV += INSTALL="$(INSTALL) -D"
5620N/A
6410N/A# Prevent libtool from embedding runpath (via -R).
6410N/ACOMPONENT_POST_CONFIGURE_ACTION += \
6410N/A $(GSED) -i -e 's/hardcode_into_libs=yes/hardcode_into_libs=no/' $(@D)/libtool; \
6410N/A $(GSED) -i -e 's/hardcode_libdir_flag_spec=.*/hardcode_libdir_flag_spec=""/' $(@D)/libtool;
5620N/A
5620N/ACOMPONENT_TEST_MASTER = $(COMPONENT_TEST_RESULTS_DIR)/results-all.master
5620N/A
5620N/AREQUIRED_PACKAGES += shell/ksh93