12606N/A#
12606N/A# CDDL HEADER START
12606N/A#
12606N/A# The contents of this file are subject to the terms of the
12606N/A# Common Development and Distribution License (the "License").
12606N/A# You may not use this file except in compliance with the License.
12606N/A#
12606N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
12606N/A# or http://www.opensolaris.org/os/licensing.
17185N/A# See the License for the specific language governing permissions
12606N/A# and limitations under the License.
18644N/A#
17182N/A# When distributing Covered Code, include this CDDL HEADER in each
12747N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
12747N/A# If applicable, add the following below this CDDL HEADER, with the
17026N/A# fields enclosed by brackets "[]" replaced with your own identifying
12606N/A# information: Portions Copyright [yyyy] [name of copyright owner]
12606N/A#
12606N/A# CDDL HEADER END
12606N/A#
18688N/A
18688N/A#
12606N/A# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
18593N/A#
19013N/A
12606N/Ainclude ../../make-rules/shared-macros.mk
12773N/A
17488N/ACOMPONENT_NAME= readline
18106N/ACOMPONENT_VERSION= 5.2
12606N/ACOMPONENT_PROJECT_URL= http://cnswww.cns.cwru.edu/php/chet/readline/rltop.html
12771N/ACOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
12606N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
12606N/ACOMPONENT_ARCHIVE_HASH= \
12606N/A sha256:12e88d96aee2cd1192500356f0535540db499282ca7f76339fb4228c31249f45
20857N/ACOMPONENT_ARCHIVE_URL= http://ftp.gnu.org/gnu/readline/$(COMPONENT_ARCHIVE)
16401N/ACOMPONENT_BUGDB= library/readline
12606N/A
12606N/ATPNO= 9042
12606N/A
12606N/Ainclude $(WS_MAKE_RULES)/prep.mk
12606N/Ainclude $(WS_MAKE_RULES)/configure.mk
18993N/Ainclude $(WS_MAKE_RULES)/ips.mk
20857N/Ainclude $(WS_MAKE_RULES)/lint-libraries.mk
16401N/A
16401N/ALINT_FLAGS += -I$(PROTO_DIR)/usr/include
12606N/A
12606N/A# readline likes to use ld directly and this is the easiest
12606N/A# way to get it to add -lc
12606N/ALDFLAGS += -lc
12606N/ACONFIGURE_OPTIONS += --infodir=$(CONFIGURE_INFODIR)
12606N/ACONFIGURE_OPTIONS += --enable-shared
12606N/ACONFIGURE_OPTIONS += --disable-static
12606N/ACONFIGURE_OPTIONS += CFLAGS="$(CFLAGS)"
12606N/ACONFIGURE_OPTIONS += LDFLAGS="$(LDFLAGS)"
12606N/A
12606N/A# common targets
12606N/Abuild: $(BUILD_32_and_64)
17488N/A
18106N/Ainstall: $(INSTALL_32_and_64)
12606N/A
12606N/Atest: $(TEST_32_and_64)
12606N/A
12606N/A
12606N/AREQUIRED_PACKAGES += system/library
12648N/A