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