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