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