Makefile revision 844
31ad608192c24eb56cf7a8294f6bfc080893193cJakub Hrozek# CDDL HEADER START
31ad608192c24eb56cf7a8294f6bfc080893193cJakub Hrozek# The contents of this file are subject to the terms of the
31ad608192c24eb56cf7a8294f6bfc080893193cJakub Hrozek# Common Development and Distribution License (the "License").
31ad608192c24eb56cf7a8294f6bfc080893193cJakub Hrozek# You may not use this file except in compliance with the License.
31ad608192c24eb56cf7a8294f6bfc080893193cJakub Hrozek# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
31ad608192c24eb56cf7a8294f6bfc080893193cJakub Hrozek# See the License for the specific language governing permissions
31ad608192c24eb56cf7a8294f6bfc080893193cJakub Hrozek# and limitations under the License.
31ad608192c24eb56cf7a8294f6bfc080893193cJakub Hrozek# When distributing Covered Code, include this CDDL HEADER in each
31ad608192c24eb56cf7a8294f6bfc080893193cJakub Hrozek# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
31ad608192c24eb56cf7a8294f6bfc080893193cJakub Hrozek# If applicable, add the following below this CDDL HEADER, with the
31ad608192c24eb56cf7a8294f6bfc080893193cJakub Hrozek# fields enclosed by brackets "[]" replaced with your own identifying
31ad608192c24eb56cf7a8294f6bfc080893193cJakub Hrozek# information: Portions Copyright [yyyy] [name of copyright owner]
31ad608192c24eb56cf7a8294f6bfc080893193cJakub Hrozek# CDDL HEADER END
31ad608192c24eb56cf7a8294f6bfc080893193cJakub Hrozek# Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
31ad608192c24eb56cf7a8294f6bfc080893193cJakub HrozekCOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
31ad608192c24eb56cf7a8294f6bfc080893193cJakub Hrozek sha256:c616906ab958de9c37bb86ca7547cfedbdfbad5e1ca2a4ab98983c9afa6a5950
31ad608192c24eb56cf7a8294f6bfc080893193cJakub HrozekCOMPONENT_ARCHIVE_URL= http://download.savannah.nongnu.org/releases/openexr/$(COMPONENT_ARCHIVE)
31ad608192c24eb56cf7a8294f6bfc080893193cJakub Hrozek# there seems to be no other way to enable large files support
31ad608192c24eb56cf7a8294f6bfc080893193cJakub Hrozek# it seems that --with-pic doesn't get PIC flags to the C++ compiler
09b915007009b3e7a0942630fae132a6c534e349Jakub Hrozek# libtools seems to be forcing -nolibs, so we have to add back libc, libm,
17195241500e46272018d7897d6e87249870caf2Pavel Reichl# libCstd and libCrun. The last two are needed because with Studio 12.2
17195241500e46272018d7897d6e87249870caf2Pavel Reichl# (and beyond), there is a bug in the CC driver that is not correctly using
17195241500e46272018d7897d6e87249870caf2Pavel Reichl# the '-library=Cstd,Crun' we are passing to it.