0N/A#
1879N/A# CDDL HEADER START
0N/A#
0N/A# The contents of this file are subject to the terms of the
0N/A# Common Development and Distribution License (the "License").
0N/A# You may not use this file except in compliance with the License.
0N/A#
0N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
0N/A# or http://www.opensolaris.org/os/licensing.
0N/A# See the License for the specific language governing permissions
0N/A# and limitations under the License.
0N/A#
0N/A# When distributing Covered Code, include this CDDL HEADER in each
0N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
0N/A# If applicable, add the following below this CDDL HEADER, with the
0N/A# fields enclosed by brackets "[]" replaced with your own identifying
0N/A# information: Portions Copyright [yyyy] [name of copyright owner]
0N/A#
1472N/A# CDDL HEADER END
1472N/A#
1472N/A
0N/A#
0N/A# Copyright (c) 2015, 2016, Oracle and/or its affiliates. All rights reserved.
0N/A#
1879N/A
1879N/ABUILD_BITS = 64_and_32
1879N/ACOMPILER = gcc
1879N/A
1879N/Ainclude ../../../make-rules/shared-macros.mk
0N/A
0N/ACOMPONENT_NAME= jpeg
0N/ACOMPONENT_VERSION= 6.0.2
0N/AHUMAN_VERSION= v6b
0N/ACOMPONENT_PROJECT_URL= https://sourceforge.net/projects/libjpeg/
0N/ACOMPONENT_SRC= jpeg-6b
0N/ACOMPONENT_SRC_NAME= jpegsrc.$(HUMAN_VERSION)
0N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC_NAME).tar.gz
0N/ACOMPONENT_ARCHIVE_HASH= \
0N/A sha256:75c3ec241e9996504fe02a9ed4d12f16b74ade713972f3db9e65ce95cd27e35d
0N/ACOMPONENT_ARCHIVE_URL= $(COMPONENT_PROJECT_URL)files/libjpeg/6b/$(COMPONENT_ARCHIVE)
0N/ACOMPONENT_BUGDB= library/libjpeg
0N/A
0N/ATPNO= 9298
0N/A
0N/Ainclude $(WS_MAKE_RULES)/common.mk
0N/A
1703N/ALDFLAGS += $(CC_BITS)
0N/A
1504N/ACONFIGURE_OPTIONS += --prefix=$(PROTOUSRDIR)
0N/ACONFIGURE_OPTIONS += --enable-shared
0N/A
0N/ACONFIGURE_ENV += INSTALL="$(INSTALL) -D"
0N/A
0N/A# Prevent libtool from embedding runpath (via -R).
0N/ACOMPONENT_POST_CONFIGURE_ACTION += \
0N/A $(GSED) -i -e 's/hardcode_into_libs=yes/hardcode_into_libs=no/' $(@D)/libtool; \
0N/A $(GSED) -i -e 's/hardcode_libdir_flag_spec=.*/hardcode_libdir_flag_spec=""/' $(@D)/libtool;
0N/A
0N/ACOMPONENT_TEST_MASTER = $(COMPONENT_TEST_RESULTS_DIR)/results-all.master
0N/A
1504N/AREQUIRED_PACKAGES += shell/ksh93
0N/A