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