Makefile revision 6197
2295e38944bfcd91b9507e2fa9abe5a561817648Till Mossakowski# CDDL HEADER START
39debaf3f18854486e9c5d21fecf3eb2630e5aa7Till Mossakowski# The contents of this file are subject to the terms of the
ceee56b395227c495432d0f3baa407730d7a09d2Christian Maeder# Common Development and Distribution License (the "License").
39debaf3f18854486e9c5d21fecf3eb2630e5aa7Till Mossakowski# You may not use this file except in compliance with the License.
ceee56b395227c495432d0f3baa407730d7a09d2Christian Maeder# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
ceee56b395227c495432d0f3baa407730d7a09d2Christian Maeder# or http://www.opensolaris.org/os/licensing.
ceee56b395227c495432d0f3baa407730d7a09d2Christian Maeder# See the License for the specific language governing permissions
ceee56b395227c495432d0f3baa407730d7a09d2Christian Maeder# and limitations under the License.
ceee56b395227c495432d0f3baa407730d7a09d2Christian Maeder# When distributing Covered Code, include this CDDL HEADER in each
ceee56b395227c495432d0f3baa407730d7a09d2Christian Maeder# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
ceee56b395227c495432d0f3baa407730d7a09d2Christian Maeder# If applicable, add the following below this CDDL HEADER, with the
ceee56b395227c495432d0f3baa407730d7a09d2Christian Maeder# fields enclosed by brackets "[]" replaced with your own identifying
ceee56b395227c495432d0f3baa407730d7a09d2Christian Maeder# information: Portions Copyright [yyyy] [name of copyright owner]
ceee56b395227c495432d0f3baa407730d7a09d2Christian Maeder# CDDL HEADER END
ceee56b395227c495432d0f3baa407730d7a09d2Christian Maeder# Copyright (c) 2015, 2016, Oracle and/or its affiliates. All rights reserved.
ceee56b395227c495432d0f3baa407730d7a09d2Christian Maederinclude ../../../make-rules/shared-macros.mk
ceee56b395227c495432d0f3baa407730d7a09d2Christian MaederCOMPONENT_PROJECT_URL= http://www.openjpeg.org/
ceee56b395227c495432d0f3baa407730d7a09d2Christian MaederCOMPONENT_SRC= $(COMPONENT_NAME)-version.2.1
ceee56b395227c495432d0f3baa407730d7a09d2Christian Maeder sha256:4afc996cd5e0d16360d71c58216950bcb4ce29a3272360eb29cadb1c8bce4efc
ceee56b395227c495432d0f3baa407730d7a09d2Christian MaederCOMPONENT_ARCHIVE_URL= https://github.com/uclouvain/$(COMPONENT_NAME)/archive/version.2.1.tar.gz
ceee56b395227c495432d0f3baa407730d7a09d2Christian Maeder# Requires images from an external source
39debaf3f18854486e9c5d21fecf3eb2630e5aa7Till Mossakowski# Workaround non-standard type usage in big endian builds.
39debaf3f18854486e9c5d21fecf3eb2630e5aa7Till MossakowskiCMAKE_OPTIONS += -DOPENJPEG_INSTALL_BIN_DIR=$(USRBIN)
39debaf3f18854486e9c5d21fecf3eb2630e5aa7Till MossakowskiCMAKE_OPTIONS += -DOPENJPEG_INSTALL_LIB_DIR=$(USRLIB)
39debaf3f18854486e9c5d21fecf3eb2630e5aa7Till MossakowskiCMAKE_OPTIONS += -DCMAKE_VERBOSE_MAKEFILE=ON