Makefile revision 147
80d2034f65b9348e5fd36291f03b0819181efb89Adam Moore# CDDL HEADER START
21f450f4fd5fd60f951de44878aae015ed0342e3Adam Moore# The contents of this file are subject to the terms of the
cb4f4f79feb7498d1f3406b88fb62209e5f5a444Adam Moore# Common Development and Distribution License (the "License").
80d2034f65b9348e5fd36291f03b0819181efb89Adam Moore# You may not use this file except in compliance with the License.
0a9c6f9f30a66e52ec4ea4ed93504580b3a5669aAdam Moore# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
80d2034f65b9348e5fd36291f03b0819181efb89Adam Moore# See the License for the specific language governing permissions
4f2de35716c5df46152747980516af484d0ab208Adam Moore# and limitations under the License.
03f9aefec605c500b64625110a955e65b900b100Adam Moore# When distributing Covered Code, include this CDDL HEADER in each
03f9aefec605c500b64625110a955e65b900b100Adam Moore# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
03f9aefec605c500b64625110a955e65b900b100Adam Moore# If applicable, add the following below this CDDL HEADER, with the
03f9aefec605c500b64625110a955e65b900b100Adam Moore# fields enclosed by brackets "[]" replaced with your own identifying
03f9aefec605c500b64625110a955e65b900b100Adam Moore# information: Portions Copyright [yyyy] [name of copyright owner]
03f9aefec605c500b64625110a955e65b900b100Adam Moore# CDDL HEADER END
03f9aefec605c500b64625110a955e65b900b100Adam Moore# Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved.
80d2034f65b9348e5fd36291f03b0819181efb89Adam MooreCOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
5f8408be995d28c8f351f37fd05e7c8633fdea40Adam MooreCOMPONENT_ARCHIVE_HASH= sha1:143adc547be83c6df75831ae957eef4b2706c9c0
5f8408be995d28c8f351f37fd05e7c8633fdea40Adam MooreCOMPONENT_ARCHIVE_URL= http://download.savannah.nongnu.org/releases/openexr/$(COMPONENT_ARCHIVE)
0771d781138a507b3e657573703f511291640bf3Adam Moore# Prevent RPATH/RUNPATH, even in ./configure. If conftest
9c42541e375e7bb70c53012b3012d70f1a380254Adam Moore# can't find something in the default search RUNPATH, we'd
9c42541e375e7bb70c53012b3012d70f1a380254Adam Moore# like to know why.
80d2034f65b9348e5fd36291f03b0819181efb89Adam MooreCFLAGS += $(studio_C99_ENABLE) $(CPP_POSIX) $(CPP_LARGEFILES)
8aa0880cd494c951e0f4aa7d82d8bdac7692c7d0Adam MooreCXXFLAGS += $(CC_BITS) -mt -library=Crun -library=Cstd -compat=5
8aa0880cd494c951e0f4aa7d82d8bdac7692c7d0Adam MooreCXXFLAGS += -D_XPG5 -D_XOPEN_SOURCE=500 -D__EXTENSIONS__=1
80d2034f65b9348e5fd36291f03b0819181efb89Adam MooreCONFIGURE_ENV += CXXLINK="$(CCC) $(CXXFLAGS) $(LDFLAGS)"
fb49666327c2cb6ea5a7d2dea5160b649bc07c51Adam MooreCONFIGURE_ENV += CXXCPP="$(CCC) $(CPPFLAGS) $(CXXFLAGS) -E"
482388c306e346930994afd7e59b3af43c00aac6Adam MooreCONFIGURE_ENV += PKG_CONFIG_PATH="$(PKG_CONFIG_PATH_$(BITS))"