Makefile revision 844
70N/A#
70N/A# CDDL HEADER START
70N/A#
70N/A# The contents of this file are subject to the terms of the
943N/A# Common Development and Distribution License (the "License").
70N/A# You may not use this file except in compliance with the License.
70N/A#
919N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
919N/A# or http://www.opensolaris.org/os/licensing.
919N/A# See the License for the specific language governing permissions
919N/A# and limitations under the License.
919N/A#
919N/A# When distributing Covered Code, include this CDDL HEADER in each
919N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
919N/A# If applicable, add the following below this CDDL HEADER, with the
919N/A# fields enclosed by brackets "[]" replaced with your own identifying
919N/A# information: Portions Copyright [yyyy] [name of copyright owner]
919N/A#
919N/A# CDDL HEADER END
919N/A#
919N/A
919N/A#
919N/A# Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
919N/A#
70N/A
70N/Ainclude ../../make-rules/shared-macros.mk
70N/A
70N/ACOMPONENT_NAME= readline
493N/ACOMPONENT_VERSION= 5.2
70N/ACOMPONENT_PROJECT_URL= http://cnswww.cns.cwru.edu/php/chet/readline/rltop.html
70N/ACOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
851N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
70N/ACOMPONENT_ARCHIVE_HASH= \
911N/A sha256:12e88d96aee2cd1192500356f0535540db499282ca7f76339fb4228c31249f45
911N/ACOMPONENT_ARCHIVE_URL= http://ftp.gnu.org/gnu/readline/$(COMPONENT_ARCHIVE)
911N/A
911N/Ainclude ../../make-rules/prep.mk
70N/Ainclude ../../make-rules/configure.mk
70N/Ainclude ../../make-rules/ips.mk
70N/Ainclude ../../make-rules/lint-libraries.mk
70N/A
70N/ALINT_FLAGS += -I$(PROTO_DIR)/usr/include
70N/A
70N/A# readline likes to use ld directly and this is the easiest
70N/A# way to get it to add -lc
70N/ALDFLAGS += -lc
493N/ACONFIGURE_OPTIONS += --infodir=$(CONFIGURE_INFODIR)
969N/ACONFIGURE_OPTIONS += --enable-shared
70N/ACONFIGURE_OPTIONS += --disable-static
493N/ACONFIGURE_OPTIONS += CFLAGS="$(CFLAGS)"
70N/ACONFIGURE_OPTIONS += LDFLAGS="$(LDFLAGS)"
70N/A
70N/A# common targets
70N/Abuild: $(BUILD_32_and_64)
70N/A
install: $(INSTALL_32_and_64)
test: $(TEST_32_and_64)
BUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
include ../../make-rules/depend.mk