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