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