Makefile revision 3661
256N/A#
256N/A# CDDL HEADER START
256N/A#
256N/A# The contents of this file are subject to the terms of the
256N/A# Common Development and Distribution License (the "License").
256N/A# You may not use this file except in compliance with the License.
256N/A#
256N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
256N/A# or http://www.opensolaris.org/os/licensing.
256N/A# See the License for the specific language governing permissions
256N/A# and limitations under the License.
256N/A#
256N/A# When distributing Covered Code, include this CDDL HEADER in each
256N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
256N/A# If applicable, add the following below this CDDL HEADER, with the
256N/A# fields enclosed by brackets "[]" replaced with your own identifying
256N/A# information: Portions Copyright [yyyy] [name of copyright owner]
256N/A#
256N/A# CDDL HEADER END
256N/A#
256N/A# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
256N/A#
2617N/Ainclude ../../make-rules/shared-macros.mk
256N/A
256N/ACOMPONENT_NAME= openexr
256N/ACOMPONENT_VERSION= 1.6.1
256N/ACOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
256N/ACOMPONENT_PROJECT_URL= http://www.openexr.com/
256N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
256N/ACOMPONENT_ARCHIVE_HASH= \
256N/A sha256:c616906ab958de9c37bb86ca7547cfedbdfbad5e1ca2a4ab98983c9afa6a5950
844N/ACOMPONENT_ARCHIVE_URL= http://download.savannah.nongnu.org/releases/openexr/$(COMPONENT_ARCHIVE)
844N/ACOMPONENT_BUGDB= library/openexr
256N/A
256N/ATPNO= 10771
1273N/A
256N/Ainclude ../../make-rules/prep.mk
3661N/Ainclude ../../make-rules/configure.mk
3661N/Ainclude ../../make-rules/ips.mk
256N/A
256N/APATCH_LEVEL = 0
256N/A
256N/A# there seems to be no other way to enable large files support
256N/ACXXFLAGS += $(CPP_LARGEFILES)
256N/A# it seems that --with-pic doesn't get PIC flags to the C++ compiler
256N/ACXXFLAGS += $(CC_PIC)
256N/A# libtools seems to be forcing -nolibs, so we have to add back libc, libm,
256N/A# libCstd and libCrun. The last two are needed because with Studio 12.2
256N/A# (and beyond), there is a bug in the CC driver that is not correctly using
256N/A# the '-library=Cstd,Crun' we are passing to it.
2617N/ALIBS += -lc -lm -lCstd -lCrun
2617N/A
256N/ACONFIGURE_ENV += CFLAGS="$(CFLAGS)"
256N/ACONFIGURE_ENV += CXXFLAGS="$(CXXFLAGS)"
256N/ACONFIGURE_ENV += LIBS="$(LIBS)"
256N/ACONFIGURE_ENV += PKG_CONFIG_PATH="$(PKG_CONFIG_PATH)"
256N/A
256N/ACONFIGURE_OPTIONS += --disable-static
256N/ACONFIGURE_OPTIONS += --enable-threading
256N/ACONFIGURE_OPTIONS += --enable-posix-sem
256N/ACONFIGURE_OPTIONS += --with-pic
256N/A
ASLR_MODE = $(ASLR_ENABLE)
build: $(BUILD_32_and_64)
install: $(INSTALL_32_and_64)
test: $(TEST_32_and_64)
BUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
include ../../make-rules/depend.mk