|
1 # |
|
2 # CDDL HEADER START |
|
3 # |
|
4 # The contents of this file are subject to the terms of the |
|
5 # Common Development and Distribution License (the "License"). |
|
6 # You may not use this file except in compliance with the License. |
|
7 # |
|
8 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE |
|
9 # or http://www.opensolaris.org/os/licensing. |
|
10 # See the License for the specific language governing permissions |
|
11 # and limitations under the License. |
|
12 # |
|
13 # When distributing Covered Code, include this CDDL HEADER in each |
|
14 # file and include the License file at usr/src/OPENSOLARIS.LICENSE. |
|
15 # If applicable, add the following below this CDDL HEADER, with the |
|
16 # fields enclosed by brackets "[]" replaced with your own identifying |
|
17 # information: Portions Copyright [yyyy] [name of copyright owner] |
|
18 # |
|
19 # CDDL HEADER END |
|
20 # |
|
21 |
|
22 # |
|
23 # Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved. |
|
24 # |
|
25 |
|
26 include ../../make-rules/shared-macros.mk |
|
27 |
|
28 COMPONENT_NAME= clisp |
|
29 COMPONENT_VERSION= 2.47 |
|
30 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION) |
|
31 COMPONENT_PROJECT_URL= http://clisp.cons.org/ |
|
32 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.bz2 |
|
33 COMPONENT_ARCHIVE_HASH= sha1:63749bf07409cee134c195547e6d911554b619d6 |
|
34 COMPONENT_ARCHIVE_URL= http://ftp.gnu.org/gnu/clisp/release/$(COMPONENT_VERSION)/$(COMPONENT_ARCHIVE) |
|
35 |
|
36 include ../../make-rules/prep.mk |
|
37 include ../../make-rules/configure.mk |
|
38 include ../../make-rules/ips.mk |
|
39 |
|
40 # Required to configure correctly. |
|
41 COMPONENT_PRE_CONFIGURE_ACTION = \ |
|
42 ($(CLONEY) $(SOURCE_DIR) $(@D)) |
|
43 |
|
44 COMPILER= gcc |
|
45 PATCH_LEVEL= 0 |
|
46 |
|
47 # The clisp configure script exits with a failure if run with bash, |
|
48 # but works fine with ksh. |
|
49 CONFIG_SHELL = /bin/ksh |
|
50 |
|
51 # clisp's configure script is not a GNU auto* tools generated configure script |
|
52 # and doesn't take --sbindir, so we need to override the default values. |
|
53 CONFIGURE_OPTIONS = CC="$(CC)" |
|
54 CONFIGURE_OPTIONS += --prefix=$(CONFIGURE_PREFIX) |
|
55 CONFIGURE_OPTIONS += --mandir=$(CONFIGURE_MANDIR) |
|
56 CONFIGURE_OPTIONS += --bindir=$(CONFIGURE_BINDIR.$(BITS)) |
|
57 CONFIGURE_OPTIONS += --libdir=$(CONFIGURE_LIBDIR.$(BITS)) |
|
58 CONFIGURE_OPTIONS += --srcdir=$(SOURCE_DIR) |
|
59 CONFIGURE_OPTIONS += --with-libsigsegv-prefix=$(CONFIGURE_PREFIX) |
|
60 CONFIGURE_OPTIONS += --with-libreadline-prefix=$(CONFIGURE_PREFIX) |
|
61 |
|
62 # common targets |
|
63 build: $(BUILD_32) |
|
64 |
|
65 install: $(INSTALL_32) |
|
66 |
|
67 test: $(TEST_32) |
|
68 |
|
69 BUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS) |
|
70 |
|
71 include ../../make-rules/depend.mk |