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