Makefile revision 3817
166N/A#
166N/A# CDDL HEADER START
166N/A#
166N/A# The contents of this file are subject to the terms of the
166N/A# Common Development and Distribution License (the "License").
166N/A# You may not use this file except in compliance with the License.
166N/A#
166N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
166N/A# or http://www.opensolaris.org/os/licensing.
166N/A# See the License for the specific language governing permissions
166N/A# and limitations under the License.
166N/A#
166N/A# When distributing Covered Code, include this CDDL HEADER in each
166N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
166N/A# If applicable, add the following below this CDDL HEADER, with the
166N/A# fields enclosed by brackets "[]" replaced with your own identifying
166N/A# information: Portions Copyright [yyyy] [name of copyright owner]
166N/A#
166N/A# CDDL HEADER END
166N/A#
166N/A
166N/A#
3728N/A# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
166N/A#
166N/A
166N/Ainclude ../../make-rules/shared-macros.mk
166N/A
166N/ACOMPONENT_NAME= gettext
3728N/ACOMPONENT_VERSION= 0.19.3
166N/AIPS_PKG_NAME= text/gnu-gettext
618N/ACOMPONENT_PROJECT_URL= http://www.gnu.org/software/gettext/
166N/ACOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
3728N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.xz
844N/ACOMPONENT_ARCHIVE_HASH= \
3728N/A sha256:f6fdb29c9ee8ce85c7e574f60ff64fa91cf0f4f018437dfe800227d15595db46
166N/ACOMPONENT_ARCHIVE_URL= http://ftp.gnu.org/pub/gnu/gettext/$(COMPONENT_ARCHIVE)
1258N/ACOMPONENT_BUGDB= utility/gnu-gettext
166N/A
3728N/ATPNO= 20141
2899N/A
3817N/Ainclude $(WS_MAKE_RULES)/prep.mk
3817N/Ainclude $(WS_MAKE_RULES)/configure.mk
3817N/Ainclude $(WS_MAKE_RULES)/ips.mk
166N/A
166N/ACONFIGURE_OPTIONS += --disable-java
166N/ACONFIGURE_OPTIONS += --disable-libasprintf
166N/ACONFIGURE_OPTIONS += --without-emacs
166N/ACONFIGURE_OPTIONS += --disable-openmp
166N/ACONFIGURE_OPTIONS += --disable-static
166N/ACONFIGURE_OPTIONS += --disable-shared
166N/ACONFIGURE_OPTIONS += CFLAGS="$(CFLAGS)"
166N/A
3728N/A# Fixes coredump in gnulib-test/test-localename test
3728N/ACONFIGURE_OPTIONS += ac_cv_func_newlocale=no
3728N/A
3728N/A# Everything is under /usr/bin and /usr/lib so set bindir and libdir correctly.
3728N/ACONFIGURE_BINDIR.64 = $(CONFIGURE_PREFIX)/bin
3728N/ACONFIGURE_LIBDIR.64 = $(CONFIGURE_PREFIX)/lib
3728N/A
3728N/A# Tests should run in a clean environment
3728N/ACOMPONENT_TEST_ENV = -i
3728N/ACOMPONENT_TEST_ENV += PATH=${PATH}:$(SPRO_VROOT)/bin
3477N/A
3730N/A# Strip compilation lines from test output
3730N/ACOMPONENT_TEST_TRANSFORMS += \
3730N/A '-e "s|^.*$(CC).*$$|XXX_CC_XXX|g" ' \
3730N/A '-e "s|^.*source=.*libtool=no.*$$|XXX_CC_XXX|g" ' \
3730N/A '-e "s|^.*DEPDIR=.deps.*$$|XXX_CC_XXX|g" ' \
3730N/A '-e "/^XXX_CC_XXX$$/d" '
3730N/A
3728N/AASLR_MODE = $(ASLR_ENABLE)
3728N/A
3728N/A# common targets
3728N/Aconfigure: $(CONFIGURE_64)
166N/A
3728N/Abuild: $(BUILD_64)
166N/A
3728N/Ainstall: $(INSTALL_64)
3728N/A
3728N/Atest: $(TEST_64)
166N/A
166N/A
3817N/AREQUIRED_PACKAGES += developer/icu
3817N/AREQUIRED_PACKAGES += developer/vala
3817N/AREQUIRED_PACKAGES += library/expat
3817N/AREQUIRED_PACKAGES += library/icu
3817N/AREQUIRED_PACKAGES += shell/ksh93
3817N/AREQUIRED_PACKAGES += source/locale/localedef
3817N/AREQUIRED_PACKAGES += system/library
3817N/AREQUIRED_PACKAGES += system/library/math
3817N/AREQUIRED_PACKAGES += system/locale/extra