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