Makefile revision 854
328N/A#
328N/A# CDDL HEADER START
328N/A#
328N/A# The contents of this file are subject to the terms of the
328N/A# Common Development and Distribution License (the "License").
328N/A# You may not use this file except in compliance with the License.
328N/A#
328N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
328N/A# or http://www.opensolaris.org/os/licensing.
328N/A# See the License for the specific language governing permissions
328N/A# and limitations under the License.
328N/A#
328N/A# When distributing Covered Code, include this CDDL HEADER in each
328N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
328N/A# If applicable, add the following below this CDDL HEADER, with the
328N/A# fields enclosed by brackets "[]" replaced with your own identifying
328N/A# information: Portions Copyright [yyyy] [name of copyright owner]
328N/A#
328N/A# CDDL HEADER END
328N/A#
328N/A
328N/A#
844N/A# Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
328N/A#
328N/A
328N/Ainclude ../../make-rules/shared-macros.mk
328N/A
328N/ACOMPONENT_NAME= clisp
328N/ACOMPONENT_VERSION= 2.47
328N/ACOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
328N/ACOMPONENT_PROJECT_URL= http://clisp.cons.org/
328N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.bz2
844N/ACOMPONENT_ARCHIVE_HASH= \
844N/A sha256:565256a50caca44a969b7440c986b3203a0b9679babd0f1dbcbc61a4f4622edb
328N/ACOMPONENT_ARCHIVE_URL= http://ftp.gnu.org/gnu/clisp/release/$(COMPONENT_VERSION)/$(COMPONENT_ARCHIVE)
328N/A
328N/Ainclude ../../make-rules/prep.mk
328N/Ainclude ../../make-rules/configure.mk
328N/Ainclude ../../make-rules/ips.mk
328N/A
328N/A# Required to configure correctly.
328N/ACOMPONENT_PRE_CONFIGURE_ACTION = \
328N/A ($(CLONEY) $(SOURCE_DIR) $(@D))
328N/A
328N/ACOMPILER= gcc
328N/APATCH_LEVEL= 0
328N/A
480N/A# SHELLOPTS appears to cause clisp's configure script to fail while
480N/A# checking the compiler.
480N/Aunexport SHELLOPTS
328N/A
328N/A# clisp's configure script is not a GNU auto* tools generated configure script
328N/A# and doesn't take --sbindir, so we need to override the default values.
328N/ACONFIGURE_OPTIONS = CC="$(CC)"
328N/ACONFIGURE_OPTIONS += --prefix=$(CONFIGURE_PREFIX)
328N/ACONFIGURE_OPTIONS += --mandir=$(CONFIGURE_MANDIR)
328N/ACONFIGURE_OPTIONS += --bindir=$(CONFIGURE_BINDIR.$(BITS))
328N/ACONFIGURE_OPTIONS += --libdir=$(CONFIGURE_LIBDIR.$(BITS))
328N/ACONFIGURE_OPTIONS += --srcdir=$(SOURCE_DIR)
328N/ACONFIGURE_OPTIONS += --with-libsigsegv-prefix=$(CONFIGURE_PREFIX)
328N/ACONFIGURE_OPTIONS += --with-libreadline-prefix=$(CONFIGURE_PREFIX)
328N/A
328N/A# common targets
328N/Abuild: $(BUILD_32)
328N/A
328N/Ainstall: $(INSTALL_32)
328N/A
328N/Atest: $(TEST_32)
328N/A
328N/ABUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
328N/A
328N/Ainclude ../../make-rules/depend.mk