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