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