Makefile revision 5097
0N/A#
2362N/A# CDDL HEADER START
0N/A#
0N/A# The contents of this file are subject to the terms of the
0N/A# Common Development and Distribution License (the "License").
0N/A# You may not use this file except in compliance with the License.
2362N/A#
0N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
2362N/A# or http://www.opensolaris.org/os/licensing.
0N/A# See the License for the specific language governing permissions
0N/A# and limitations under the License.
0N/A#
0N/A# When distributing Covered Code, include this CDDL HEADER in each
0N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
0N/A# If applicable, add the following below this CDDL HEADER, with the
0N/A# fields enclosed by brackets "[]" replaced with your own identifying
0N/A# information: Portions Copyright [yyyy] [name of copyright owner]
0N/A#
0N/A# CDDL HEADER END
0N/A#
2362N/A# Copyright (c) 2015, Oracle and/or its affiliates. All rights reserved.
2362N/A#
2362N/Ainclude ../../make-rules/shared-macros.mk
0N/A
0N/ACOMPONENT_NAME= isl
0N/ACOMPONENT_VERSION= 0.12.2
0N/ACOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
0N/ACOMPONENT_PROJECT_URL= http://freecode.com/projects/isl
0N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.bz2
0N/ACOMPONENT_ARCHIVE_HASH= \
0N/A sha256:f4b3dbee9712850006e44f0db2103441ab3d13b406f77996d1df19ee89d11fb4
0N/ACOMPONENT_ARCHIVE_URL= http://isl.gforge.inria.fr/$(COMPONENT_ARCHIVE)
0N/ACOMPONENT_BUGDB= utility/gnu-compiler
0N/A
0N/ATPNO= 23799
0N/A
0N/Ainclude $(WS_MAKE_RULES)/prep.mk
0N/Ainclude $(WS_MAKE_RULES)/configure.mk
0N/Ainclude $(WS_MAKE_RULES)/ips.mk
0N/A
0N/A# For the DEBUG_BUILD macro please see RFE/Bug 22185118:
0N/A# https://bug.oraclecorp.com/pls/bug/webbug_edit.edit_info_top?rptno=22185118
0N/A# For the GCC CFLAGS/CXXFLAGS please see:
0N/A# - RFE/Bug 22185134:
0N/A# https://bug.oraclecorp.com/pls/bug/webbug_edit.edit_info_top?rptno=22185134
0N/A# - RFE/Bug 22185167:
0N/A# https://bug.oraclecorp.com/pls/bug/webbug_edit.edit_info_top?rptno=22185167
0N/A
0N/ACOMPILER = gcc
0N/A
0N/APATCH_LEVEL = 0
0N/ADEBUG_BUILD := 0
0N/APATH="/usr/gnu/bin:/usr/perl5/bin:/usr/bin:/usr/sbin"
0N/A
0N/AISL_GCC_ARCH_i386 = -mtune=opteron -march=opteron
0N/AISL_GCC_ARCH_i386 += -fno-strict-aliasing -fno-omit-frame-pointer
0N/AISL_GCC_ARCH_sparc = -mtune=ultrasparc3 -mcpu=ultrasparc3 -mvis2 -mhard-float
0N/AISL_GCC_ARCH_sparc += -fno-strict-aliasing -mno-unaligned-doubles -mimpure-text
0N/AISL_GCC_ARCH = $(ISL_GCC_ARCH_$(MACH))
0N/AISL_GCC_ARCH += -Wall -Wextra -Wcast-qual -Wcast-align
0N/A
0N/ACFLAGS += $(CC_BITS)
0N/Aifeq ($(DEBUG_BUILD),1)
0N/A CFLAGS += -g
0N/Aendif
0N/ACFLAGS += -std=c99
0N/ACFLAGS += -D__C99FEATURES__
0N/ACFLAGS += -D_STDC_C99
0N/ACFLAGS += $(CPP_XPG6MODE)
0N/ACFLAGS += $(ISL_GCC_ARCH)
0N/A
0N/ACXXFLAGS += $(CC_BITS)
0N/Aifeq ($(DEBUG_BUILD),1)
0N/A CXXFLAGS += -g
0N/Aendif
0N/ACXXFLAGS += -std=c++03
0N/ACXXFLAGS += $(CPP_XPG5MODE)
0N/ACXXFLAGS += $(ISL_GCC_ARCH)
0N/A
0N/ACPPFLAGS += $(CPP_LARGEFILES)
0N/ACPPFLAGS += $(CPP_POSIX)
0N/ACPPFLAGS += `pkg-config --cflags libgmp`
0N/ACPPFLAGS += `pkg-config --cflags libmpfr`
0N/A
0N/ACONFIGURE_ENV += CFLAGS="$(CFLAGS)"
0N/ACONFIGURE_ENV += CXXFLAGS="$(CXXFLAGS)"
0N/ACONFIGURE_ENV += CPPFLAGS="$(CPPFLAGS)"
0N/ACONFIGURE_ENV += LDFLAGS="$(LDFLAGS)"
0N/ACONFIGURE_ENV += LD_OPTIONS="$(LD_OPTIONS)"
0N/ACONFIGURE_ENV += CCLD="$(CC) $(CFLAGS) $(LDFLAGS)"
0N/ACONFIGURE_ENV += LIBS="$(LIBS)"
0N/ACONFIGURE_ENV += PATH="$(PATH)"
0N/A
0N/ACONFIGURE_OPTIONS += --localstatedir=/var
0N/ACONFIGURE_OPTIONS += --infodir=$(CONFIGURE_INFODIR)
0N/ACONFIGURE_OPTIONS += --disable-option-checking
0N/ACONFIGURE_OPTIONS += --disable-silent-rules
0N/ACONFIGURE_OPTIONS += --enable-shared=yes
0N/ACONFIGURE_OPTIONS += --enable-static=no
0N/ACONFIGURE_OPTIONS += --disable-libtool-lock
0N/ACONFIGURE_OPTIONS += --with-gcc-arch="$(ISL_GCC_ARCH)"
0N/ACONFIGURE_OPTIONS += --with-pic
0N/ACONFIGURE_OPTIONS += --with-int=gmp
0N/ACONFIGURE_OPTIONS += --with-gmp=system
0N/ACONFIGURE_OPTIONS += --with-gmp-prefix=$(CONFIGURE_PREFIX)
0N/ACONFIGURE_OPTIONS += --with-clang=no
0N/A
0N/ACOMPONENT_TEST_ENV += libtool_install_magic='%%%MAGIC variable%%%'
0N/ACOMPONENT_TEST_ENV += libtool_execute_magic='%%%MAGIC variable%%%'
0N/ACOMPONENT_TEST_ENV += PATH="$(GNUBIN):$(PATH)"
0N/A
0N/ACOMPONENT_POST_INSTALL_ACTION = \
0N/A ( cd $(PROTOUSRDIR) ; \
0N/A $(PYTHON) -m compileall . ; \
0N/A $(MKDIR) $(PROTOUSRLIBDIR)/pkgconfig ; \
0N/A $(CP) $(COMPONENT_DIR)/Solaris/isl.pc \
0N/A $(PROTOUSRLIBDIR)/pkgconfig/ ; \
0N/A $(GSED) -i 's^LIBDIR^$(USRLIBDIR)^g' \
0N/A $(PROTOUSRLIBDIR)/pkgconfig/isl.pc ; \
0N/A $(MKDIR) $(PROTOUSRLIBDIR64)/pkgconfig ; \
0N/A $(CP) $(COMPONENT_DIR)/Solaris/isl.pc \
0N/A $(PROTOUSRLIBDIR64)/pkgconfig/ ; \
0N/A $(GSED) -i 's^LIBDIR^$(USRLIBDIR64)^g' \
0N/A $(PROTOUSRLIBDIR64)/pkgconfig/isl.pc )
0N/A
0N/ACOMPONENT_TEST_MASTER = \
0N/A $(COMPONENT_TEST_RESULTS_DIR)/results-isl.master
0N/A
0N/ACOMPONENT_TEST_TRANSFORMS += \
0N/A '-e "/libtool/d"' \
0N/A '-e "/-m32/d"' \
0N/A '-e "/-m64/d"' \
0N/A '-e "/ld: warning/d"' \
0N/A '-e "/warning/d"' \
0N/A '-e "/prototype:/d"' \
0N/A '-e "/argument/d"' \
0N/A '-e "/Entering/d"' \
0N/A '-e "/Leaving/d"' \
0N/A '-e "/check-TESTS/d"' \
0N/A '-e "/all-recursive/d"' \
0N/A '-e "/test_input/d"' \
0N/A '-e "/\.pip$$/d"' \
0N/A '-e "/\.pwqp$$/d"' \
0N/A '-e "/Making all/d"' \
0N/A '-e "/Making check/d"' \
0N/A '-e "/Nothing to be done/d"' \
0N/A '-e "s/[0-9]\{1,\}\.[0-9]\{1,\} s, //g"' \
0N/A '-e "s^[0-9]\{1,\} kB/s^^g"' \
0N/A '-e "s^[0-9]\{1,\} kB/s^^g"' \
0N/A '-e "s^[0-9]\{1,\}\.[0-9]\{1,\} MB/s^^g"' \
0N/A '-e "s^[0-9]\{1,\}\.[0-9]\{1,\} MB/s^^g"' \
0N/A '-e "s/([0-9]\{1,\} B)//g"' \
0N/A '-e "s/([0-9]\{1,\} B)//g"' \
0N/A '-e "s/copied,/copied/g"' \
0N/A '-e "s/ \{1,\}copied/ copied/g"' \
0N/A '-e "s/copied $$/copied/g"' \
0N/A '-e "s/copied [0-9]\{1,\}\./copied/g"'
0N/A
0N/AASLR_MODE = $(ASLR_NOT_APPLICABLE)
0N/A
0N/Aconfigure: $(CONFIGURE_32_and_64)
0N/A
0N/Abuild: $(BUILD_32_and_64)
0N/A
0N/Ainstall: $(INSTALL_32_and_64)
0N/A
0N/Atest: $(TEST_32_and_64)
0N/A
0N/Asystem-test: $(SYSTEM_TESTS_NOT_IMPLEMENTED)
0N/A
0N/AREQUIRED_PACKAGES += library/gmp
0N/AREQUIRED_PACKAGES += system/library
0N/A
0N/A