Makefile revision 3873
aa1d397c4736cd86540555193d71e55fa3b37b2aMark Andrews# CDDL HEADER START
e999539fb3e45b2617571e0e3ecd651992291701Mark Andrews# The contents of this file are subject to the terms of the
e999539fb3e45b2617571e0e3ecd651992291701Mark Andrews# Common Development and Distribution License (the "License").
2a40fdc2d34adb8a5c72a748449699666032d461Mark Andrews# You may not use this file except in compliance with the License.
a3b428812703d22a605a9f882e71ed65f0ffdc65Mark Andrews# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington# See the License for the specific language governing permissions
ac4e70ff8955669341f435bc0a734a17c01af124Mark Andrews# and limitations under the License.
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington# When distributing Covered Code, include this CDDL HEADER in each
d56e188030368b835122d759ebbf8d9613c166f4Mark Andrews# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
c718d15a9a95054ee3c71540c02335426071fc6dMark Andrews# If applicable, add the following below this CDDL HEADER, with the
a9789e288ee11ae4315e27235c33bae5405bd7c4Mark Andrews# fields enclosed by brackets "[]" replaced with your own identifying
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews# information: Portions Copyright [yyyy] [name of copyright owner]
4b2cb1422c7c600fbc13b1cb06a8b4693bc11af8Mark Andrews# CDDL HEADER END
4b2cb1422c7c600fbc13b1cb06a8b4693bc11af8Mark Andrews# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
91216cff91b34c9ff6e846dc23f248219cafe660Andreas GustafssonCOMPONENT_PROJECT_URL= http://www.gnu.org/software/gettext/
aa1d397c4736cd86540555193d71e55fa3b37b2aMark AndrewsCOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews sha256:f6fdb29c9ee8ce85c7e574f60ff64fa91cf0f4f018437dfe800227d15595db46
c718d15a9a95054ee3c71540c02335426071fc6dMark AndrewsCOMPONENT_ARCHIVE_URL= http://ftp.gnu.org/pub/gnu/gettext/$(COMPONENT_ARCHIVE)
efb0e886f18894a1d2489f1ad74ad14b579e11c7Mark Andrews# Fixes coredump in gnulib-test/test-localename test
aa1d397c4736cd86540555193d71e55fa3b37b2aMark Andrews# Commands go under /usr/bin so set bindir correctly.
aa1d397c4736cd86540555193d71e55fa3b37b2aMark Andrews# Tests should run in a clean environment
26a77b80bb7ee886c6fa704348d5e80a011d8811Mark AndrewsCOMPONENT_TEST_ENV += PATH=${PATH}:$(SPRO_VROOT)/bin
6f046a065e5543f8cd7e2f24991c65d2372f4c8dMark Andrews# Strip compilation lines from test output
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews '-e "s|^.*$(CC).*$$|XXX_CC_XXX|g" ' \
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews '-e "s|^.*source=.*libtool=no.*$$|XXX_CC_XXX|g" ' \
62ee2c9f460d2e2e45dcf1abc8b4b4a4a43f5618Mark Andrews '-e "s|^.*DEPDIR=.deps.*$$|XXX_CC_XXX|g" ' \
4b2cb1422c7c600fbc13b1cb06a8b4693bc11af8Mark Andrews '-e "/^XXX_CC_XXX$$/d" '
efb0e886f18894a1d2489f1ad74ad14b579e11c7Mark Andrews# common targets