Makefile revision 6662
ce8d7a0627c0f246376cccd980463f8250a6a97ebjh# CDDL HEADER START
6ca0e6973c8176100f4a426444823ae5e777e28fsascha# The contents of this file are subject to the terms of the
6ded37e63424e43b00ca7c9055d355e071d6a444rbb# Common Development and Distribution License (the "License").
ce3da141a81ef0e22f46e496675f602e3c483b88rbb# You may not use this file except in compliance with the License.
6ca0e6973c8176100f4a426444823ae5e777e28fsascha# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
6ca0e6973c8176100f4a426444823ae5e777e28fsascha# See the License for the specific language governing permissions
ce3da141a81ef0e22f46e496675f602e3c483b88rbb# and limitations under the License.
6ca0e6973c8176100f4a426444823ae5e777e28fsascha# When distributing Covered Code, include this CDDL HEADER in each
6ca0e6973c8176100f4a426444823ae5e777e28fsascha# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
cb5d3f2f217d457dada4883addb1dc9f3f17bb85fielding# If applicable, add the following below this CDDL HEADER, with the
cb5d3f2f217d457dada4883addb1dc9f3f17bb85fielding# fields enclosed by brackets "[]" replaced with your own identifying
b20fd88fb62a14780223a39488dba735d3643fdcwrowe# information: Portions Copyright [yyyy] [name of copyright owner]
b20fd88fb62a14780223a39488dba735d3643fdcwrowe# CDDL HEADER END
8f9e3d3dc602155a189ed2f30ad4707af56a8368striker# Copyright (c) 2011, 2016, Oracle and/or its affiliates. All rights reserved.
6ca0e6973c8176100f4a426444823ae5e777e28fsaschaCOMPONENT_PROJECT_URL= http://cnswww.cns.cwru.edu/php/chet/readline/rltop.html
ef0665105781ee79245fd5014fbc8569730c47a9rbb sha256:56ba6071b9462f980c5a72ab0023893b65ba6debb4eeb475d7a563dc65cafd43
a78bdef3547c30be1a2222a3c8500bffaa8c9208aaron# For now, we want to continue to provide the libreadline and libhistory so's
149a7e48b1acb4511604cbdbb2753aa9408633eamartin# (and their links) from readline 5.2.
7dfed2b71c9c4223996cbd7c5c0c85c7c8fef2a4rbbCOMPONENT_SRC_1 = $(COMPONENT_NAME)-$(COMPONENT_VERSION_1)
7dfed2b71c9c4223996cbd7c5c0c85c7c8fef2a4rbb sha256:12e88d96aee2cd1192500356f0535540db499282ca7f76339fb4228c31249f45
7dfed2b71c9c4223996cbd7c5c0c85c7c8fef2a4rbbCOMPONENT_ARCHIVE_URL_1 = http://ftp.gnu.org/gnu/readline/$(COMPONENT_ARCHIVE_1)
7dfed2b71c9c4223996cbd7c5c0c85c7c8fef2a4rbb# readline likes to use ld directly and this is the easiest
0c7592379b55b7736dd70d2d87f53af9a2347614jerenkrantz# way to get it to add -lc
7dfed2b71c9c4223996cbd7c5c0c85c7c8fef2a4rbb# Build the readline examples as well.
7dfed2b71c9c4223996cbd7c5c0c85c7c8fef2a4rbbCOMPONENT_TEST_CMD = $(CAT) $(SOURCE_DIR)/examples/Inputrc | ./rlcat
7dfed2b71c9c4223996cbd7c5c0c85c7c8fef2a4rbb# Master test results are the same for 32-bit and 64-bit, so override
6ca0e6973c8176100f4a426444823ae5e777e28fsascha# here, rather than create multiple identical master files.
e87c4996d79ea15965d675b90c6e718369b58c3arbbCOMPONENT_TEST_MASTER = $(COMPONENT_TEST_RESULTS_DIR)/results-all.master
46a06e5f359747d9b673ea77fcef89a851192e18rbb# Needed to build the test program.
6ca0e6973c8176100f4a426444823ae5e777e28fsascha# Build the test program.
d472f67198d6b15dd1270136f180cca9c9263243trawick# Get correct libreadline.so.6 from the proto area.
d472f67198d6b15dd1270136f180cca9c9263243trawickCOMPONENT_TEST_ENV += LD_LIBRARY_PATH=$(TEST_LIBPATH.$(BITS))
4cbb3bcf66a6788196bcc7244e4e36705acfbb57rbbCOMPONENT_SYSTEM_TEST_CMD = $(CAT) $(SOURCE_DIR)/examples/Inputrc | ./rlcat
88ecd979f1112454432371f55a1420240fae3743trawick# Macros to configure, build, and install the old version for the time being.
88ecd979f1112454432371f55a1420240fae3743trawickBUILD_OLD_DIR_32 = $(COMPONENT_DIR)/build/$(COMPONENT_VERSION_1)-$(MACH32)
88ecd979f1112454432371f55a1420240fae3743trawickBUILD_OLD_DIR_64 = $(COMPONENT_DIR)/build/$(COMPONENT_VERSION_1)-$(MACH64)
4cbb3bcf66a6788196bcc7244e4e36705acfbb57rbb$(BUILD_OLD_DIR_32)/.configured: CONFIGURE_SCRIPT = $(SOURCE_DIR_1)/configure
ef0665105781ee79245fd5014fbc8569730c47a9rbb$(BUILD_OLD_DIR_64)/.configured: CONFIGURE_SCRIPT = $(SOURCE_DIR_1)/configure
6ca0e6973c8176100f4a426444823ae5e777e28fsascha# install the old version first
7bfe076b680e6e591add6cdc754ce9a6910682a2sascha$(BUILD_DIR_32)/.installed: $(BUILD_OLD_DIR_32)/.installed