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