Makefile revision 6197
127N/A#
127N/A# CDDL HEADER START
127N/A#
127N/A# The contents of this file are subject to the terms of the
127N/A# Common Development and Distribution License (the "License").
127N/A# You may not use this file except in compliance with the License.
127N/A#
127N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
127N/A# or http://www.opensolaris.org/os/licensing.
127N/A# See the License for the specific language governing permissions
127N/A# and limitations under the License.
127N/A#
127N/A# When distributing Covered Code, include this CDDL HEADER in each
127N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
127N/A# If applicable, add the following below this CDDL HEADER, with the
127N/A# fields enclosed by brackets "[]" replaced with your own identifying
127N/A# information: Portions Copyright [yyyy] [name of copyright owner]
127N/A#
127N/A# CDDL HEADER END
127N/A#
127N/A
127N/A#
2899N/A# Copyright (c) 2015, 2016, Oracle and/or its affiliates. All rights reserved.
127N/A#
127N/A
127N/ABUILD_BITS = 64_and_32
127N/Ainclude ../../../make-rules/shared-macros.mk
127N/A
690N/ACOMPONENT_NAME= openjpeg
618N/ACOMPONENT_VERSION= 2.1.0
127N/ACOMPONENT_PROJECT_URL= http://www.openjpeg.org/
127N/ACOMPONENT_SRC= $(COMPONENT_NAME)-version.2.1
844N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
844N/ACOMPONENT_ARCHIVE_HASH= \
127N/A sha256:4afc996cd5e0d16360d71c58216950bcb4ce29a3272360eb29cadb1c8bce4efc
1258N/ACOMPONENT_ARCHIVE_URL= https://github.com/uclouvain/$(COMPONENT_NAME)/archive/version.2.1.tar.gz
127N/ACOMPONENT_BUGDB= library/openjpeg
2899N/A
2899N/ATPNO= 18449
127N/A
127N/ABUILD_STYLE = cmake
127N/A
127N/A# Requires images from an external source
738N/ATEST_TARGET = $(SKIP_TEST)
738N/A
738N/Ainclude $(WS_MAKE_RULES)/common.mk
127N/A
127N/A# Workaround non-standard type usage in big endian builds.
127N/ACFLAGS.studio.sparc += -Du_int16_t=uint16_t
127N/A
1938N/ACMAKE_OPTIONS += -DOPENJPEG_INSTALL_BIN_DIR=$(USRBIN)
1938N/ACMAKE_OPTIONS += -DOPENJPEG_INSTALL_LIB_DIR=$(USRLIB)
127N/ACMAKE_OPTIONS += -DCMAKE_VERBOSE_MAKEFILE=ON
127N/ACMAKE_OPTIONS += -DLCMS2_INCLUDE_DIR=$(USRINCDIR)/lcms
127N/A
127N/AREQUIRED_PACKAGES += developer/build/cmake
127N/AREQUIRED_PACKAGES += image/library/libpng
181N/AREQUIRED_PACKAGES += image/library/libtiff
181N/AREQUIRED_PACKAGES += library/lcms2
127N/AREQUIRED_PACKAGES += system/library/math
127N/A