Makefile revision 575
98N/A#
98N/A# CDDL HEADER START
911N/A#
753N/A# The contents of this file are subject to the terms of the
98N/A# Common Development and Distribution License (the "License").
98N/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
98N/A# or http://www.opensolaris.org/os/licensing.
98N/A# See the License for the specific language governing permissions
98N/A# and limitations under the License.
98N/A#
98N/A# When distributing Covered Code, include this CDDL HEADER in each
98N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
98N/A# If applicable, add the following below this CDDL HEADER, with the
98N/A# fields enclosed by brackets "[]" replaced with your own identifying
98N/A# information: Portions Copyright [yyyy] [name of copyright owner]
98N/A#
98N/A# CDDL HEADER END
98N/A#
98N/A# Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved.
98N/A#
98N/Ainclude ../../make-rules/shared-macros.mk
98N/A
98N/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
98N/ACOMPONENT_ARCHIVE_HASH= sha1:143adc547be83c6df75831ae957eef4b2706c9c0
98N/ACOMPONENT_ARCHIVE_URL= http://download.savannah.nongnu.org/releases/openexr/$(COMPONENT_ARCHIVE)
98N/A
493N/Ainclude ../../make-rules/prep.mk
493N/Ainclude ../../make-rules/configure.mk
98N/Ainclude ../../make-rules/ips.mk
98N/A
753N/APATCH_LEVEL = 0
98N/A
911N/A# configure seems to add -nolibs, so we add that back to the C++ runtime and
911N/A# stdlib
911N/ACXXFLAGS += $(studio_CXXLIB_CSTD)
911N/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
98N/ALDFLAGS += -lc -lm
156N/A
156N/ACONFIGURE_ENV += CFLAGS="$(CFLAGS)"
493N/ACONFIGURE_ENV += CXXFLAGS="$(CXXFLAGS)"
493N/ACONFIGURE_ENV += LDFLAGS="$(LDFLAGS)"
493N/ACONFIGURE_ENV += PKG_CONFIG_PATH="$(PKG_CONFIG_PATH)"
493N/A
493N/ACONFIGURE_OPTIONS += --disable-static
493N/ACONFIGURE_OPTIONS += --enable-threading
493N/ACONFIGURE_OPTIONS += --enable-posix-sem
98N/ACONFIGURE_OPTIONS += --with-pic
98N/A
98N/Abuild: $(BUILD_32_and_64)
705N/A
705N/Ainstall: $(INSTALL_32_and_64)
814N/A
814N/Atest: $(TEST_32_and_64)
606N/A
606N/ABUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
606N/A
606N/Ainclude ../../make-rules/depend.mk
705N/A
606N/A