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