Makefile revision 3592
8267b99c0d7a187abe6f87ad50530dc08f5d1cdcAndy Gimblett# CDDL HEADER START
a79fe3aad8743ea57e473ea5f66a723244cb9c0eMarkus Roggenbach# The contents of this file are subject to the terms of the
97018cf5fa25b494adffd7e9b4e87320dae6bf47Christian Maeder# Common Development and Distribution License (the "License").
a79fe3aad8743ea57e473ea5f66a723244cb9c0eMarkus Roggenbach# You may not use this file except in compliance with the License.
a79fe3aad8743ea57e473ea5f66a723244cb9c0eMarkus Roggenbach# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
a79fe3aad8743ea57e473ea5f66a723244cb9c0eMarkus Roggenbach# or http://www.opensolaris.org/os/licensing.
a79fe3aad8743ea57e473ea5f66a723244cb9c0eMarkus Roggenbach# See the License for the specific language governing permissions
f3a94a197960e548ecd6520bb768cb0d547457bbChristian Maeder# and limitations under the License.
a79fe3aad8743ea57e473ea5f66a723244cb9c0eMarkus Roggenbach# When distributing Covered Code, include this CDDL HEADER in each
a79fe3aad8743ea57e473ea5f66a723244cb9c0eMarkus Roggenbach# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
fbb2d28086a1860850f661fbf4af531322bac405Christian Maeder# If applicable, add the following below this CDDL HEADER, with the
a79fe3aad8743ea57e473ea5f66a723244cb9c0eMarkus Roggenbach# fields enclosed by brackets "[]" replaced with your own identifying
a79fe3aad8743ea57e473ea5f66a723244cb9c0eMarkus Roggenbach# information: Portions Copyright [yyyy] [name of copyright owner]
2f35e5f6757968746dbab385be21fcae52378a3fLiam O'Reilly# CDDL HEADER END
a79fe3aad8743ea57e473ea5f66a723244cb9c0eMarkus Roggenbach# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
cdf1545bdcd39a9d53c00761ffa42e7b1174b91eLiam O'ReillyCOMPONENT_PROJECT_URL= http://www.gnu.org/software/autogen/
d0c66a832d7b556e20ea4af4852cdc27a5463d51Christian MaederCOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
2f35e5f6757968746dbab385be21fcae52378a3fLiam O'Reilly sha256:aa51f5adbf49c2cb48a7d6de3dbab15b89e0a04e7152195fe6fb3380e05c4991
2f35e5f6757968746dbab385be21fcae52378a3fLiam O'ReillyCOMPONENT_ARCHIVE_URL= http://ftp.gnu.org/gnu/autogen/rel$(COMPONENT_VERSION)/$(COMPONENT_ARCHIVE)
b6e474220ddcf68a75ca3dc26093c5ac21e31747Christian Maeder# build target is incorrect without this
90047eafd2de482c67bcd13103c6064e9b0cb254Andy GimblettCOMPONENT_PRE_CONFIGURE_ACTION = ($(CLONEY) $(SOURCE_DIR) $(@D))
d326dac41dadbe2b84bb7021cbfd91f4dd4a19bcAndy Gimblett# built in SFW with gcc and builds cleanly now only with gcc
90047eafd2de482c67bcd13103c6064e9b0cb254Andy Gimblett# strip the environment or install target fails
2f35e5f6757968746dbab385be21fcae52378a3fLiam O'Reilly# Replace all occurrences of "echo" with "/usr/gnu/bin/echo" in the two
90047eafd2de482c67bcd13103c6064e9b0cb254Andy Gimblett# scripts used by autogen that munge the man and mdoc output. This prevents
8528886a04f14abe0ddf80f50c853cc25bc821cdAndy Gimblett# bogus conversions (like "\f" -> Control-L) happening.
e54c5af823b9775dd2c058185ea5bdf7593950faAndy Gimblett# Adjust "tr" to "/usr/gnu/bin/tr" in the autoopts vendor.test.
b6e474220ddcf68a75ca3dc26093c5ac21e31747Christian Maeder# These changes now allow the autoopts tests to successfully complete.
b6e474220ddcf68a75ca3dc26093c5ac21e31747Christian Maeder $(GSED) -i -e 's|echo|/usr/gnu/bin/echo|' \
b6e474220ddcf68a75ca3dc26093c5ac21e31747Christian Maeder $(SOURCE_DIR)/autoopts/tpl/texi2mdoc.sh ; \
b6e474220ddcf68a75ca3dc26093c5ac21e31747Christian Maeder $(GSED) -i -e 's| tr | /usr/gnu/bin/tr |' \
b6e474220ddcf68a75ca3dc26093c5ac21e31747Christian Maeder# Master test results are the same for both 32-bit and 64-bit, so override
b6e474220ddcf68a75ca3dc26093c5ac21e31747Christian Maeder# here, rather than create multiple identical master files.
8528886a04f14abe0ddf80f50c853cc25bc821cdAndy GimblettCOMPONENT_TEST_MASTER = $(COMPONENT_TEST_RESULTS_DIR)/results-all.master
b6e474220ddcf68a75ca3dc26093c5ac21e31747Christian Maeder# common targets