Makefile revision 4735
6c2a76b3e2ccd32c35814b6e0f54da00190749d7Evan Hunt# CDDL HEADER START
c7fd128f8ea8a527fe27c1b95ab46df7155bc8e4Tinderbox User# The contents of this file are subject to the terms of the
c7fd128f8ea8a527fe27c1b95ab46df7155bc8e4Tinderbox User# Common Development and Distribution License (the "License").
ba9e87b35e561bc7354ce3f4b9685b747b7be507Tinderbox User# You may not use this file except in compliance with the License.
59663800d2ec04777dae2791dd92aa563faf94c8Evan Hunt# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
1f9754245cbd5eec2d2a667bb292f62f72386d4bMark Andrews# See the License for the specific language governing permissions
59663800d2ec04777dae2791dd92aa563faf94c8Evan Hunt# and limitations under the License.
0726d872f6f36901ea09321df57084614e5bb6faTinderbox User# When distributing Covered Code, include this CDDL HEADER in each
1ca2cf024391992fe14b2df7d3ae0f575d074452Evan Hunt# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
a2c370ca12bb0360ff7e969474ead3f788c65fffTinderbox User# If applicable, add the following below this CDDL HEADER, with the
8de3f14f1c300c3e1ed99084cc03485b42c92bf1Tinderbox User# fields enclosed by brackets "[]" replaced with your own identifying
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrews# information: Portions Copyright [yyyy] [name of copyright owner]
b886b04d8d2b085cbf3e1bf4442dee87f43ba5e4Tinderbox User# CDDL HEADER END
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews# Copyright (c) 2013, 2015, Oracle and/or its affiliates. All rights reserved.
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark AndrewsCOMPONENT_PROJECT_URL= http://frodo.looijaard.name/project/getopt/
415d630b6309922caee8469384a6fab75cf05032Mark AndrewsCOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
e813f036c8251b6d9d2a72fa84f80c2c9d2795afMark Andrews sha256:d0bf1dc642a993e7388a1cddfb9409bed375c21d5278056ccca3a0acd09dc5fe
9218b940febade3085fd6d95a15e67d5f94833f0Tinderbox UserCOMPONENT_ARCHIVE_URL= http://frodo.looijaard.name/system/files/software/$(COMPONENT_NAME)/$(COMPONENT_ARCHIVE)
415d630b6309922caee8469384a6fab75cf05032Mark Andrews# getopt doesn't use configure, override the hard-wired values in the Makefile.
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark AndrewsCOMPONENT_INSTALL_ARGS+= mandir=/usr/gnu/share/man
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrews# Stupid source tarball distribution contains two .o files.
aa9c561961e9d877946ebaa8795fa2be054ab7bfEvan Hunt '-e "s|\./getopt|getopt|g" ' \
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrews '-e "s|/usr/gnu/bin/getopt|getopt|g" ' \
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrews '-e "s|\./run-tests.*$$|XXX_CC_XXX|g" ' \
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrews '-e "s|^make.*: Leaving directory.*$$|XXX_CC_XXX|g" ' \
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrews '-e "s|^make.*: Entering directory.*$$|XXX_CC_XXX|g" ' \
0eb371ca0dab50ae3462e98794a6126198c52f4bMark Andrews '-e "s|^make\[1\].*$$|XXX_CC_XXX|g" ' \
cdfc81e048bd34c1d628380247bda6b80a89e20eAutomatic Updater '-e "/^XXX_CC_XXX$$/d" '
9218b940febade3085fd6d95a15e67d5f94833f0Tinderbox UserCOMPONENT_TEST_ENV += PATH=$(BUILD_DIR_$(BITS)):$(GNUBIN):/usr/bin
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic UpdaterCOMPONENT_SYSTEM_TEST_ENV += PATH=$(GNUBIN):/usr/bin/