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