pax_global_header 0000666 0000000 0000000 00000000064 11424243153 0014511 g ustar 00root root 0000000 0000000 52 comment=8b233b6fc9e89cf47d706aa5a0a4de2495718b39
clisp-2.49/ 0000775 0000000 0000000 00000000000 11424243153 0012561 5 ustar 00root root 0000000 0000000 clisp-2.49/ANNOUNCE 0000664 0000000 0000000 00000006335 11424243153 0013721 0 ustar 00root root 0000000 0000000 This is GNU CLISP, an ANSI Common Lisp implementation.
Availability
============
GNU CLISP is available via anonymous ftp (sources and selected binaries) from
and its mirrors.
More information at
,
,
and
.
See file on these sites, e.g.
,
where you will find links to general Common Lisp information
and documentation, as well as CLISP-specific links.
Mailing lists
=============
There are three mailing lists for users of CLISP. You will find
subscription information and archives on the homepage mentioned above.
-------------------------------------------------------------------------------
Common Lisp CLISP
Common Lisp is
* a general-purpose programming language and an AI language
* interactive
* a Lisp for professional use
Common Lisp programs are
* easy to test (interactive)
* easy to maintain (depending on programming style)
* portable across hardware/OS platforms and implementations
(there is a standard for the language and the library functions)
Our Common Lisp CLISP
* needs only 4 MB of memory
* implements most of the ANSI standard (including CLOS),
as well as many extensions (including MOP)
* can call your preferred editor
* is freely redistributable
Common Lisp provides
* clear syntax, carefully designed semantics
* several data types: numbers, strings, arrays, lists, characters, symbols,
structures, streams etc.
* runtime typing: the programmer need not bother about type declarations,
but he gets notified on type violations.
* many generic functions:
88 arithmetic functions for all kinds of numbers (integers, ratios,
floating point numbers, complex numbers),
44 search/filter/sort functions for lists, arrays and strings
* automatic memory management (garbage collection)
* packaging of programs into modules
* an object system, generic functions with powerful method combination
* macros: every programmer can make his own language extensions
Our Common Lisp CLISP provides
* an interpreter
* a compiler which makes execution of programs 5 times faster
* all data types with unlimited size (the size need never be declared,
the size of lists and arrays may be changed dynamically)
* integers of arbitrary length, unlimited floating point number precision
* 800+ library functions and macros, 600+ of them written in C
CLISP compares well with other ANSI CL implementations wrt performance
in most areas, such as CLOS, I/O, lists, integer arithmetics (CLISP's
bignum performance is better than that of some other CL implementations).
The worst performance CLISP exhibits in the area of floating point
arithmetics. While showing nothing spectacularly bad and easily
outperforming Java, Perl, TCL and any Scheme interpreter, CLISP is slower
than another open-source CL implementation, CMU CL (http://www.cons.org/cmucl),
which outperforms C and FORTRAN. If your code is heavily numeric, you
might prefer CMUCL, otherwise CLISP is a wise choice.
-------------------------------------------------------------------------------
clisp-2.49/COPYRIGHT 0000664 0000000 0000000 00000007570 11424243153 0014065 0 ustar 00root root 0000000 0000000 Hey Emacs! -*- coding: utf-8 -*-
Copyright (c) 1992-2010 Bruno Haible, Michael Stoll, Sam Steingold
All Rights Reserved
Summary:
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License version 2 as
published by the Free Software Foundation; see file GNU-GPL.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software Foundation,
Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
Note:
This copyright does NOT cover user programs that run in CLISP and
third-party packages not part of CLISP, if
a) They only reference external symbols in CLISP's public packages
that define API also provided by many other Common Lisp implementations
(namely the packages COMMON-LISP, COMMON-LISP-USER, KEYWORD, CLOS,
GRAY, EXT), i.e. if they don't rely on CLISP internals and would as
well run in any other Common Lisp implementation. Or
b) They only reference external symbols in CLISP's public packages
that define API also provided by many other Common Lisp implementations
(namely the packages COMMON-LISP, COMMON-LISP-USER, KEYWORD, CLOS,
GRAY, EXT) and some external, not CLISP specific, symbols in
third-party packages that are released with source code under a
GPL compatible license and that run in a great number of Common Lisp
implementations, i.e. if they rely on CLISP internals only to the
extent needed for gaining some functionality also available in a
great number of Common Lisp implementations.
Such user programs are not covered by the term "derived work" used in
the GNU GPL. Neither is their compiled code, i.e. the result of compiling
them by use of the function COMPILE-FILE. We refer to such user programs
as "independent work".
You may copy and distribute memory image files generated by the
function SAVEINITMEM, if it was generated only from CLISP and independent
work, and provided that you accompany them, in the sense of section 3
of the GNU GPL, with the source code of CLISP - precisely the same CLISP
version that was used to build the memory image -, the source or compiled
code of the user programs needed to rebuild the memory image (source
code for all the parts that are not independent work, see above), and
a precise description how to rebuild the memory image from these.
Foreign non-Lisp code that is linked with CLISP or loaded into CLISP
through dynamic linking is not exempted from this copyright. I.e. such
code, when distributed for use with CLISP, must be distributed under
the GPL.
Authors:
Generic CLISP: Bruno Haible, Michael Stoll
Atari version: Bruno Haible, Michael Stoll
Amiga version: Bruno Haible, Jörg Höhle
Acorn version: Bruno Haible, Peter Burwood
DOS version: Bruno Haible, Bernhard Degel, Jürgen Weber
OS/2 version: Bruno Haible
Unix version: Bruno Haible
Multithreading: Vladimir Tzankov
Maintenance:
Bruno Haible, Michael Stoll 1992-1993
Bruno Haible, Marcus Daniels 1994-1997
Bruno Haible, Pierpaolo Bernardi, Sam Steingold 1998
Bruno Haible, Sam Steingold 1999-2001
Sam Steingold 2002-2010
Email addresses (September 1992 or newer):
Bruno Haible bruno@clisp.org
Michael Stoll michael@rhein.iam.uni-bonn.de
Jörg Höhle Joerg-Cyril.Hoehle@t-systems.com
Peter Burwood clisp@arcangel.dircon.co.uk
Marcus Daniels marcus@sysc.pdx.edu
Pierpaolo Bernardi bernardp@cli.di.unipi.it
Sam Steingold sds@gnu.org
clisp-2.49/GNU-GPL 0000664 0000000 0000000 00000043357 11424243153 0013571 0 ustar 00root root 0000000 0000000 GNU GENERAL PUBLIC LICENSE
Version 2, June 1991
Copyright (C) 1989, 1991 Free Software Foundation, Inc.
51 Franklin Street, Fifth Floor,
Boston, MA 02110-1301, USA.
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
Preamble
The licenses for most software are designed to take away your
freedom to share and change it. By contrast, the GNU General Public
License is intended to guarantee your freedom to share and change free
software--to make sure the software is free for all its users. This
General Public License applies to most of the Free Software
Foundation's software and to any other program whose authors commit to
using it. (Some other Free Software Foundation software is covered by
the GNU Library General Public License instead.) You can apply it to
your programs, too.
When we speak of free software, we are referring to freedom, not
price. Our General Public Licenses are designed to make sure that you
have the freedom to distribute copies of free software (and charge for
this service if you wish), that you receive source code or can get it
if you want it, that you can change the software or use pieces of it
in new free programs; and that you know you can do these things.
To protect your rights, we need to make restrictions that forbid
anyone to deny you these rights or to ask you to surrender the rights.
These restrictions translate to certain responsibilities for you if you
distribute copies of the software, or if you modify it.
For example, if you distribute copies of such a program, whether
gratis or for a fee, you must give the recipients all the rights that
you have. You must make sure that they, too, receive or can get the
source code. And you must show them these terms so they know their
rights.
We protect your rights with two steps: (1) copyright the software, and
(2) offer you this license which gives you legal permission to copy,
distribute and/or modify the software.
Also, for each author's protection and ours, we want to make certain
that everyone understands that there is no warranty for this free
software. If the software is modified by someone else and passed on, we
want its recipients to know that what they have is not the original, so
that any problems introduced by others will not reflect on the original
authors' reputations.
Finally, any free program is threatened constantly by software
patents. We wish to avoid the danger that redistributors of a free
program will individually obtain patent licenses, in effect making the
program proprietary. To prevent this, we have made it clear that any
patent must be licensed for everyone's free use or not licensed at all.
The precise terms and conditions for copying, distribution and
modification follow.
GNU GENERAL PUBLIC LICENSE
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
0. This License applies to any program or other work which contains
a notice placed by the copyright holder saying it may be distributed
under the terms of this General Public License. The "Program", below,
refers to any such program or work, and a "work based on the Program"
means either the Program or any derivative work under copyright law:
that is to say, a work containing the Program or a portion of it,
either verbatim or with modifications and/or translated into another
language. (Hereinafter, translation is included without limitation in
the term "modification".) Each licensee is addressed as "you".
Activities other than copying, distribution and modification are not
covered by this License; they are outside its scope. The act of
running the Program is not restricted, and the output from the Program
is covered only if its contents constitute a work based on the
Program (independent of having been made by running the Program).
Whether that is true depends on what the Program does.
1. You may copy and distribute verbatim copies of the Program's
source code as you receive it, in any medium, provided that you
conspicuously and appropriately publish on each copy an appropriate
copyright notice and disclaimer of warranty; keep intact all the
notices that refer to this License and to the absence of any warranty;
and give any other recipients of the Program a copy of this License
along with the Program.
You may charge a fee for the physical act of transferring a copy, and
you may at your option offer warranty protection in exchange for a fee.
2. You may modify your copy or copies of the Program or any portion
of it, thus forming a work based on the Program, and copy and
distribute such modifications or work under the terms of Section 1
above, provided that you also meet all of these conditions:
a) You must cause the modified files to carry prominent notices
stating that you changed the files and the date of any change.
b) You must cause any work that you distribute or publish, that in
whole or in part contains or is derived from the Program or any
part thereof, to be licensed as a whole at no charge to all third
parties under the terms of this License.
c) If the modified program normally reads commands interactively
when run, you must cause it, when started running for such
interactive use in the most ordinary way, to print or display an
announcement including an appropriate copyright notice and a
notice that there is no warranty (or else, saying that you provide
a warranty) and that users may redistribute the program under
these conditions, and telling the user how to view a copy of this
License. (Exception: if the Program itself is interactive but
does not normally print such an announcement, your work based on
the Program is not required to print an announcement.)
These requirements apply to the modified work as a whole. If
identifiable sections of that work are not derived from the Program,
and can be reasonably considered independent and separate works in
themselves, then this License, and its terms, do not apply to those
sections when you distribute them as separate works. But when you
distribute the same sections as part of a whole which is a work based
on the Program, the distribution of the whole must be on the terms of
this License, whose permissions for other licensees extend to the
entire whole, and thus to each and every part regardless of who wrote it.
Thus, it is not the intent of this section to claim rights or contest
your rights to work written entirely by you; rather, the intent is to
exercise the right to control the distribution of derivative or
collective works based on the Program.
In addition, mere aggregation of another work not based on the Program
with the Program (or with a work based on the Program) on a volume of
a storage or distribution medium does not bring the other work under
the scope of this License.
3. You may copy and distribute the Program (or a work based on it,
under Section 2) in object code or executable form under the terms of
Sections 1 and 2 above provided that you also do one of the following:
a) Accompany it with the complete corresponding machine-readable
source code, which must be distributed under the terms of Sections
1 and 2 above on a medium customarily used for software interchange; or,
b) Accompany it with a written offer, valid for at least three
years, to give any third party, for a charge no more than your
cost of physically performing source distribution, a complete
machine-readable copy of the corresponding source code, to be
distributed under the terms of Sections 1 and 2 above on a medium
customarily used for software interchange; or,
c) Accompany it with the information you received as to the offer
to distribute corresponding source code. (This alternative is
allowed only for noncommercial distribution and only if you
received the program in object code or executable form with such
an offer, in accord with Subsection b above.)
The source code for a work means the preferred form of the work for
making modifications to it. For an executable work, complete source
code means all the source code for all modules it contains, plus any
associated interface definition files, plus the scripts used to
control compilation and installation of the executable. However, as a
special exception, the source code distributed need not include
anything that is normally distributed (in either source or binary
form) with the major components (compiler, kernel, and so on) of the
operating system on which the executable runs, unless that component
itself accompanies the executable.
If distribution of executable or object code is made by offering
access to copy from a designated place, then offering equivalent
access to copy the source code from the same place counts as
distribution of the source code, even though third parties are not
compelled to copy the source along with the object code.
4. You may not copy, modify, sublicense, or distribute the Program
except as expressly provided under this License. Any attempt
otherwise to copy, modify, sublicense or distribute the Program is
void, and will automatically terminate your rights under this License.
However, parties who have received copies, or rights, from you under
this License will not have their licenses terminated so long as such
parties remain in full compliance.
5. You are not required to accept this License, since you have not
signed it. However, nothing else grants you permission to modify or
distribute the Program or its derivative works. These actions are
prohibited by law if you do not accept this License. Therefore, by
modifying or distributing the Program (or any work based on the
Program), you indicate your acceptance of this License to do so, and
all its terms and conditions for copying, distributing or modifying
the Program or works based on it.
6. Each time you redistribute the Program (or any work based on the
Program), the recipient automatically receives a license from the
original licensor to copy, distribute or modify the Program subject to
these terms and conditions. You may not impose any further
restrictions on the recipients' exercise of the rights granted herein.
You are not responsible for enforcing compliance by third parties to
this License.
7. If, as a consequence of a court judgment or allegation of patent
infringement or for any other reason (not limited to patent issues),
conditions are imposed on you (whether by court order, agreement or
otherwise) that contradict the conditions of this License, they do not
excuse you from the conditions of this License. If you cannot
distribute so as to satisfy simultaneously your obligations under this
License and any other pertinent obligations, then as a consequence you
may not distribute the Program at all. For example, if a patent
license would not permit royalty-free redistribution of the Program by
all those who receive copies directly or indirectly through you, then
the only way you could satisfy both it and this License would be to
refrain entirely from distribution of the Program.
If any portion of this section is held invalid or unenforceable under
any particular circumstance, the balance of the section is intended to
apply and the section as a whole is intended to apply in other
circumstances.
It is not the purpose of this section to induce you to infringe any
patents or other property right claims or to contest validity of any
such claims; this section has the sole purpose of protecting the
integrity of the free software distribution system, which is
implemented by public license practices. Many people have made
generous contributions to the wide range of software distributed
through that system in reliance on consistent application of that
system; it is up to the author/donor to decide if he or she is willing
to distribute software through any other system and a licensee cannot
impose that choice.
This section is intended to make thoroughly clear what is believed to
be a consequence of the rest of this License.
8. If the distribution and/or use of the Program is restricted in
certain countries either by patents or by copyrighted interfaces, the
original copyright holder who places the Program under this License
may add an explicit geographical distribution limitation excluding
those countries, so that distribution is permitted only in or among
countries not thus excluded. In such case, this License incorporates
the limitation as if written in the body of this License.
9. The Free Software Foundation may publish revised and/or new versions
of the General Public License from time to time. Such new versions will
be similar in spirit to the present version, but may differ in detail to
address new problems or concerns.
Each version is given a distinguishing version number. If the Program
specifies a version number of this License which applies to it and "any
later version", you have the option of following the terms and conditions
either of that version or of any later version published by the Free
Software Foundation. If the Program does not specify a version number of
this License, you may choose any version ever published by the Free Software
Foundation.
10. If you wish to incorporate parts of the Program into other free
programs whose distribution conditions are different, write to the author
to ask for permission. For software which is copyrighted by the Free
Software Foundation, write to the Free Software Foundation; we sometimes
make exceptions for this. Our decision will be guided by the two goals
of preserving the free status of all derivatives of our free software and
of promoting the sharing and reuse of software generally.
NO WARRANTY
11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
REPAIR OR CORRECTION.
12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
POSSIBILITY OF SUCH DAMAGES.
END OF TERMS AND CONDITIONS
Appendix: How to Apply These Terms to Your New Programs
If you develop a new program, and you want it to be of the greatest
possible use to the public, the best way to achieve this is to make it
free software which everyone can redistribute and change under these terms.
To do so, attach the following notices to the program. It is safest
to attach them to the start of each source file to most effectively
convey the exclusion of warranty; and each file should have at least
the "copyright" line and a pointer to where the full notice is found.
Copyright (C)
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software Foundation,
Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
Also add information on how to contact you by electronic and paper mail.
If the program is interactive, make it output a short notice like this
when it starts in an interactive mode:
Gnomovision version 69, Copyright (C) year name of author
Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
This is free software, and you are welcome to redistribute it
under certain conditions; type `show c' for details.
The hypothetical commands `show w' and `show c' should show the appropriate
parts of the General Public License. Of course, the commands you use may
be called something other than `show w' and `show c'; they could even be
mouse-clicks or menu items--whatever suits your program.
You should also get your employer (if you work as a programmer) or your
school, if any, to sign a "copyright disclaimer" for the program, if
necessary. Here is a sample; alter the names:
Yoyodyne, Inc., hereby disclaims all copyright interest in the program
`Gnomovision' (which makes passes at compilers) written by James Hacker.
, 1 April 1989
Ty Coon, President of Vice
This General Public License does not permit incorporating your program into
proprietary programs. If your program is a subroutine library, you may
consider it more useful to permit linking proprietary applications with the
library. If this is what you want to do, use the GNU Library General
Public License instead of this License.
clisp-2.49/INSTALL 0000664 0000000 0000000 00000006032 11424243153 0013613 0 ustar 00root root 0000000 0000000 This is the source distribution of CLISP, an ANSI Common Lisp implementation.
Available from .
More information at , ,
and .
Contents:
---------
It consists of the following directories and files:
Documentation:
INSTALL this text
SUMMARY description, summary
ANNOUNCE announcement
COPYRIGHT copyright notice
GNU-GPL free software license
Source:
src/FILES.1 source documentation
src/_README README master
src/_clisp.1 manual page master
src/*.c C source files
src/*.d C source files
src/*.lisp Lisp source files
doc/* documentation
Installation:
configure main configuration script
src/configure auxiliary configuration script
src/*.in auxiliary files
utils/* auxiliary programs
unix/ installing on Unix (including Mac OS/X & mingw)
win32msvc/ installing on Win32, using MSVC
Other:
src/malloc/ a GNU malloc library routine
ffcall/ a foreign function call library
modules: add-on sofware
modules/queens/ sample external module for CLISP for you to explore
base: normally included in all linking sets
syscalls portable OS call interface
i18n user program internationalization
regexp POSIX regular expressions
readline advances command line editing and history
optional: will be available in "clisp -K full"
database
gdbm interface to GNU DBM
berkeley-db interface to Berkeley DB from Sleepycat Software
dirkey windows registry
postgresql PostGreSQL RDMBS interface
oracle Oracle RDMBS interface
math
libsvm Support Vector Machine predictive analytics
pari PARI Computer Algebra System
matlab matrix calculations using Matlab
netica Bayesian belief networks and influence diagrams
matching, file processing
pcre Perl-compatible regular expressions
wildcard wildcard matching (shell globbing)
zlib compress vectors
networking
rawsock low level socket interface
fastcgi FastCGI interface for web development
Installation:
-------------
For instruction on how to install CLISP
* on Unix (including cygwin): see file unix/INSTALL.
* on Win32 using mingw: see unix/INSTALL and pass --with-mingw to configure.
* on Win32 using MSVC++: see file win32msvc/INSTALL.
Authors:
--------
Bruno Haible
Michael Stoll
Marcus Daniels
Pierpaolo Bernardi
Sam Steingold
Email:
clisp-2.49/Makefile.devel 0000664 0000000 0000000 00000055050 11424243153 0015324 0 ustar 00root root 0000000 0000000 # This is the developer's -*- Makefile -*-, not the user's Makefile.
# Do not use it unless you know exactly what you are doing!
# Expects GNU make
# Some important programs:
SHELL = /bin/sh
MAKE = make
PERL = perl
GROFF = nroff -man
# GROFF = groff -mandoc
RM = rm -f
# http://ctags.sourceforge.net
CTAGS = ctags
.PHONY : all build-prerequisites htmldoc makefiles configures check-configures \
update-ansi-tests potfiles fixperms \
view-man view-html check-sbcl install-gcc \
multibuild-linux-x86 multibuild-darwin-powerpc \
build-aux-update gnulib-imported distrib release pre-release \
upload upload-ssh upload-sf upload-gnu \
src-distrib doc-distrib gnu-distrib tag-release tp-mail
all : build-prerequisites makefiles update-ansi-tests potfiles htmldoc
build-prerequisites : check-configures fixperms \
src/version.h \
src/asmi386.h src/ari80386.msvc.c src/sp80386.msvc.c
htmldoc:
make -C doc all html
MAKEMAKE_TMP=src/makemake
makefiles : win32msvc/makefile.msvc7 win32msvc/makefile.msvc6
$(RM) $(MAKEMAKE_TMP)
win32msvc/makefile.msvc6 : $(MAKEMAKE_TMP)
cd src && ./makemake --with-dynamic-ffi --without-dynamic-modules \
win32msvc msvc6 > ../win32msvc/makefile.msvc6
win32msvc/makefile.msvc7 : $(MAKEMAKE_TMP)
cd src && ./makemake --with-dynamic-ffi --without-dynamic-modules \
win32msvc msvc7 > ../win32msvc/makefile.msvc7
$(MAKEMAKE_TMP) : src/makemake.in version.sh
. ./version.sh; { \
echo "#!/bin/sh" ; \
sed -e "s/@PACKAGE_VERSION@/$${VERSION_NUMBER}/g" \
-e "s/@CLISP_DECOLONIZE@/echo $$x/" src/makemake.in ; \
} > $(MAKEMAKE_TMP)
chmod a+x $(MAKEMAKE_TMP)
CURDIR=$(shell pwd)
MODULES=berkeley-db clx/new-clx dirkey fastcgi i18n oracle pari pcre dbus \
postgresql rawsock readline regexp syscalls wildcard zlib gtk2 gdbm libsvm
CONFIG_H_IN = src/config.h.in $(patsubst %,modules/%/config.h.in,$(MODULES))
MOD_CONFIGURES=$(patsubst %,modules/%/configure,$(MODULES))
CONFIGURES=src/configure $(MOD_CONFIGURES)
GNULIB_USERS = src modules/regexp modules/syscalls modules/wildcard
MAKEFILE_IN = $(addsuffix /gllib/Makefile.in, $(GNULIB_USERS))
GET_PREFIX = grep -- --macro-prefix $$d/glm4/gnulib-cache.m4 | sed -e 's/.*--macro-prefix=\([^ ]*\) .*/\1/'
$(MAKEFILE_IN) : %/Makefile.in : %/Makefile.am %/../configure.in src/aclocal.m4
cd $* && cd .. && \
(test -f aclocal.m4 || ln -s $(CURDIR)/src/aclocal.m4 .) && \
ln -s $(CURDIR)/src '$$cl_cv_clisp_libdir' && \
automake gllib/Makefile && \
$(RM) '$$cl_cv_clisp_libdir' && \
d=. && PREFIX=`$(GET_PREFIX)` && \
sed -i -e 's,$$(top_srcdir)/src/build-aux,$$(CLISP_LIBDIR)/build-aux,' \
-e 's,$$(top_srcdir)/$$cl_cv_clisp_libdir,$$(CLISP_LIBDIR),' \
-e '/<.*build.aux/a\ | sed -e '"'"'s/_GL_/_'$${PREFIX}'_GL_/g'"'"' \\' \
-e 's/\(definition.*\) of _GL_/\1 of _'$${PREFIX}'_GL_/' \
gllib/Makefile.in && \
(test -L aclocal.m4 && $(RM) aclocal.m4 || true)
configures : $(CONFIGURES) $(CONFIG_H_IN) $(MAKEFILE_IN)
src/aclocal.m4 : $(wildcard src/m4/*.m4) $(wildcard src/glm4/*.m4) \
$(addsuffix .in,$(CONFIGURES))
$(RM) configure.ac
cp src/configure.in configure.ac
cat $(addsuffix .in,$(MOD_CONFIGURES)) | \
egrep -v -e 'AC_(INIT|PREREQ|CANONICAL_|GNU_SOURCE|CONFIG_HEADER|OUTPUT)' \
-e 'AC_CONFIG_FILE.*(Makefile|link\.sh)' >> configure.ac
aclocal --output=src/aclocal.m4 -I $(CURDIR)/src/m4 \
$(patsubst %, -I $(CURDIR)/%/glm4, $(GNULIB_USERS))
$(RM) configure.ac
AUTOCONF_FILES = src/aclocal.m4
AUTOCONF_CACHE = autom4te.cache
$(CONFIGURES) : %/configure : %/configure.in $(AUTOCONF_FILES) version.sh
cd $* && autoconf --include=$(CURDIR)/src
$(CONFIG_H_IN) : %/config.h.in : %/configure.in $(AUTOCONF_FILES)
cd $* && autoheader --include=$(CURDIR)/src
# syntax check
check-configures : configures
set -e; for f in $(CONFIGURES); do bash -x -n $$f; done
rm -rf `find . -name $(AUTOCONF_CACHE)`;
ANSITESTS_SVN = svn://common-lisp.net/project/ansi-test/svn/trunk/ansi-tests
update-ansi-tests:
if test -d ansi-tests; then \
cd ansi-tests && \
svn update; \
else \
svn co $(ANSITESTS_SVN); \
fi
# this must not be in "all" because this downloads 23MB XSL + 500kB DTD
update-docbook-utils :
make -C doc docbook-xsl docbook-dtd
CLISP=$(CURDIR)/build/clisp
potfiles :
cd src/po && CLISP='$(CLISP)' $(MAKE) -f Makefile.devel && $(MAKE) -f Makefile.devel clean
fixperms :
./utils/fix-perms.sh
view-man :
grep -v '^#[ie]' doc/_clisp.1 | $(GROFF) -Tascii | less
# all possible browsers, some might not be present, but we do not care
# list GUI first because they put themselves into background
BROWSERS=firefox mozilla netscape opera links lynx
view-html :
grep -v '^#[ie]' doc/_clisp.html > /tmp/clisp.html
for b in $(BROWSERS); do $$b /tmp/clisp.html; done
src/version.h: version.sh
. ./version.sh ; { \
echo "/* generated by Makefile.devel from version.sh */" ; \
echo "#define PACKAGE_NAME \"GNU CLISP\"" ; \
echo "#define PACKAGE_TARNAME \"clisp\"" ; \
echo "#define PACKAGE_VERSION \"$$VERSION_NUMBER ($$RELEASE_DATE)\"" ; \
echo "#define PACKAGE_STRING \"GNU CLISP $$VERSION_NUMBER ($$RELEASE_DATE)\"" ; \
echo "#define PACKAGE_BUGREPORT \"http://clisp.cons.org/\""; \
} > src/version.h
src/asmi386.h : src/asmi386.hh
sed -e 's,//.*$$,,' < src/asmi386.hh > src/asmi386.h
src/ari80386.msvc.c : src/ari80386.d src/asmi386.sh
src/asmi386.sh -no-C < src/ari80386.d > src/ari80386.msvc.c
src/sp80386.msvc.c : src/sp80386.d src/asmi386.sh
src/asmi386.sh -no-C < src/sp80386.d > src/sp80386.msvc.c
# Build and test all essential memory models on a Linux/x86 machine.
MULTIBUILD_OPTIONS =
MULTIBUILD_CFLAGS = -g
multibuild-linux-x86: build-linux-x86-standard-spvw_mixed_blocks-staggered \
build-linux-x86-standard-spvw_mixed_blocks-opposite \
build-linux-x86-standard-spvw_mixed_blocks-opposite-fixedmemsize \
build-linux-x86-standard-spvw_mixed_pages \
build-linux-x86-noexec-spvw_mixed_blocks-staggered \
build-linux-x86-noexec-spvw_mixed_blocks-opposite \
build-linux-x86-noexec-spvw_mixed_blocks-opposite-fixedmemsize \
build-linux-x86-noexec-spvw_mixed_pages \
build-linux-x86-spvw_pure_blocks \
build-linux-x86-wide
build-linux-x86-standard-spvw_mixed_blocks-staggered:
rm -rf $@
CFLAGS="-O -falign-functions=4 $(MULTIBUILD_CFLAGS)" \
CPPFLAGS="-DSTANDARD_HEAPCODES -DCONS_HEAP_GROWS_UP" \
./configure --cbc $(MULTIBUILD_OPTIONS) $@
build-linux-x86-standard-spvw_mixed_blocks-opposite:
rm -rf $@
CFLAGS="-O -falign-functions=4 $(MULTIBUILD_CFLAGS)" \
CPPFLAGS="-DSTANDARD_HEAPCODES -DCONS_HEAP_GROWS_DOWN" \
./configure --cbc $(MULTIBUILD_OPTIONS) $@
build-linux-x86-standard-spvw_mixed_blocks-opposite-fixedmemsize:
rm -rf $@
CFLAGS="-O -falign-functions=4 $(MULTIBUILD_CFLAGS)" \
CPPFLAGS="-DSTANDARD_HEAPCODES -DNO_VIRTUAL_MEMORY -DNO_TRIVIALMAP" \
./configure --cbc $(MULTIBUILD_OPTIONS) $@
build-linux-x86-standard-spvw_mixed_pages:
rm -rf $@
CFLAGS="-O -falign-functions=4 $(MULTIBUILD_CFLAGS)" \
CPPFLAGS="-DSTANDARD_HEAPCODES -DNO_SINGLEMAP -DNO_TRIVIALMAP" \
./configure --cbc $(MULTIBUILD_OPTIONS) $@
build-linux-x86-noexec-spvw_mixed_blocks-staggered:
rm -rf $@
CFLAGS="-O -falign-functions=4 $(MULTIBUILD_CFLAGS)" \
CPPFLAGS="-DLINUX_NOEXEC_HEAPCODES -DCONS_HEAP_GROWS_UP" \
./configure --cbc $(MULTIBUILD_OPTIONS) $@
build-linux-x86-noexec-spvw_mixed_blocks-opposite:
rm -rf $@
CFLAGS="-O -falign-functions=4 $(MULTIBUILD_CFLAGS)" \
CPPFLAGS="-DLINUX_NOEXEC_HEAPCODES -DCONS_HEAP_GROWS_DOWN" \
./configure --cbc $(MULTIBUILD_OPTIONS) $@
build-linux-x86-noexec-spvw_mixed_blocks-opposite-fixedmemsize:
rm -rf $@
CFLAGS="-O -falign-functions=4 $(MULTIBUILD_CFLAGS)" \
CPPFLAGS="-DLINUX_NOEXEC_HEAPCODES -DNO_VIRTUAL_MEMORY -DNO_TRIVIALMAP" \
./configure --cbc $(MULTIBUILD_OPTIONS) $@
build-linux-x86-noexec-spvw_mixed_pages:
rm -rf $@
CFLAGS="-O -falign-functions=4 $(MULTIBUILD_CFLAGS)" \
CPPFLAGS="-DLINUX_NOEXEC_HEAPCODES -DNO_SINGLEMAP -DNO_TRIVIALMAP" \
./configure --cbc $(MULTIBUILD_OPTIONS) $@
build-linux-x86-spvw_pure_blocks:
rm -rf $@
CFLAGS="-O -falign-functions=4 $(MULTIBUILD_CFLAGS)" \
CPPFLAGS="-DTYPECODES" \
./configure --cbc $(MULTIBUILD_OPTIONS) $@
build-linux-x86-wide:
rm -rf $@
CFLAGS="-O -falign-functions=4 $(MULTIBUILD_CFLAGS)" \
CPPFLAGS="-DWIDE" \
./configure --cbc $(MULTIBUILD_OPTIONS) $@
multibuild-darwin-powerpc: \
build-darwin-powerpc-standard-spvw_mixed_blocks-staggered \
build-darwin-powerpc-standard-spvw_mixed_blocks-opposite \
build-darwin-powerpc-standard-spvw_mixed_blocks-opposite-fixedmemsize \
build-darwin-powerpc-standard-spvw_mixed_pages \
build-darwin-powerpc-noexec-spvw_mixed_blocks-staggered \
build-darwin-powerpc-noexec-spvw_mixed_blocks-opposite \
build-darwin-powerpc-noexec-spvw_mixed_blocks-opposite-fixedmemsize \
build-darwin-powerpc-noexec-spvw_mixed_pages \
build-darwin-powerpc-spvw_pure_blocks \
build-darwin-powerpc-wide
build-darwin-powerpc-standard-spvw_mixed_blocks-staggered:
rm -rf $@
CFLAGS="-O $(MULTIBUILD_CFLAGS)" \
CPPFLAGS="-DSTANDARD_HEAPCODES -DCONS_HEAP_GROWS_UP" \
./configure --cbc $(MULTIBUILD_OPTIONS) $@
build-darwin-powerpc-standard-spvw_mixed_blocks-opposite:
rm -rf $@
CFLAGS="-O $(MULTIBUILD_CFLAGS)" \
CPPFLAGS="-DSTANDARD_HEAPCODES -DCONS_HEAP_GROWS_DOWN" \
./configure --cbc $(MULTIBUILD_OPTIONS) $@
build-darwin-powerpc-standard-spvw_mixed_blocks-opposite-fixedmemsize:
rm -rf $@
CFLAGS="-O $(MULTIBUILD_CFLAGS)" \
CPPFLAGS="-DSTANDARD_HEAPCODES -DNO_VIRTUAL_MEMORY -DNO_TRIVIALMAP" \
./configure --cbc $(MULTIBUILD_OPTIONS) $@
build-darwin-powerpc-standard-spvw_mixed_pages:
rm -rf $@
CFLAGS="-O $(MULTIBUILD_CFLAGS)" \
CPPFLAGS="-DSTANDARD_HEAPCODES -DNO_SINGLEMAP -DNO_TRIVIALMAP" \
./configure --cbc $(MULTIBUILD_OPTIONS) $@
build-darwin-powerpc-noexec-spvw_mixed_blocks-staggered:
rm -rf $@
CFLAGS="-O $(MULTIBUILD_CFLAGS)" \
CPPFLAGS="-DLINUX_NOEXEC_HEAPCODES -DCONS_HEAP_GROWS_UP" \
./configure --cbc $(MULTIBUILD_OPTIONS) $@
build-darwin-powerpc-noexec-spvw_mixed_blocks-opposite:
rm -rf $@
CFLAGS="-O $(MULTIBUILD_CFLAGS)" \
CPPFLAGS="-DLINUX_NOEXEC_HEAPCODES -DCONS_HEAP_GROWS_DOWN" \
./configure --cbc $(MULTIBUILD_OPTIONS) $@
build-darwin-powerpc-noexec-spvw_mixed_blocks-opposite-fixedmemsize:
rm -rf $@
CFLAGS="-O $(MULTIBUILD_CFLAGS)" \
CPPFLAGS="-DLINUX_NOEXEC_HEAPCODES -DNO_VIRTUAL_MEMORY -DNO_TRIVIALMAP" \
./configure --cbc $(MULTIBUILD_OPTIONS) $@
build-darwin-powerpc-noexec-spvw_mixed_pages:
rm -rf $@
CFLAGS="-O $(MULTIBUILD_CFLAGS)" \
CPPFLAGS="-DLINUX_NOEXEC_HEAPCODES -DNO_SINGLEMAP -DNO_TRIVIALMAP" \
./configure --cbc $(MULTIBUILD_OPTIONS) $@
build-darwin-powerpc-spvw_pure_blocks:
rm -rf $@
CFLAGS="-O $(MULTIBUILD_CFLAGS)" \
CPPFLAGS="-DTYPECODES" \
./configure --cbc $(MULTIBUILD_OPTIONS) $@
build-darwin-powerpc-wide:
rm -rf $@
CFLAGS="-O $(MULTIBUILD_CFLAGS)" \
CPPFLAGS="-DWIDE" \
./configure --cbc $(MULTIBUILD_OPTIONS) $@
SRCDIRS=src utils benchmarks emacs modules sacla-tests tests
TAGS : force
$(CTAGS) -e -R --langmap=c:.c.d.f $(SRCDIRS)
tags : force
$(CTAGS) -R --langmap=c:.c.d.f $(SRCDIRS)
# Bootstrap SBCL.
SBCL_VERSION = 0.8.15
SBCL_SOURCE_FILE = sbcl-$(SBCL_VERSION)-source.tar.bz2
SBCL_SOURCE_URL = http://www.haible.de/bruno/$(SBCL_SOURCE_FILE)
check-sbcl:
./configure --cbc build-for-sbcl
test -f $(SBCL_SOURCE_FILE) || wget $(SBCL_SOURCE_URL)
rm -rf sbcl-$(SBCL_VERSION)
bunzip2 -c < $(SBCL_SOURCE_FILE) | tar xvf -
clisp=$(CURDIR)/build-for-sbcl/clisp; \
cd sbcl-$(SBCL_VERSION) && sh make.sh $$clisp
# Build a GCC from source.
# Note that this requires ca. 1 GB of disk space.
GCC_VERSION = 3.4.3
GCC_SOURCE_FILE = gcc-$(GCC_VERSION).tar.bz2
GCC_SOURCE_URL = http://ftp.gnu.org/gnu/gcc/gcc-$(GCC_VERSION)/$(GCC_SOURCE_FILE)
# Put here the --prefix that you would like to use for installing gcc.
# It should *not* be the same --prefix as you use for other programs.
GCC_INSTALL_DIR = $(shell dirname $$(dirname $$(which clisp | head -1)))/inst-gcc-$(GCC_VERSION)
install-gcc:
test -f $(GCC_SOURCE_FILE) || wget $(GCC_SOURCE_URL)
rm -rf gcc-$(GCC_VERSION) gcc-$(GCC_VERSION)-build
bunzip2 -c < $(GCC_SOURCE_FILE) | tar xvf -
mkdir gcc-$(GCC_VERSION)-build
gcc_install_dir='$(GCC_INSTALL_DIR)' ; \
cd gcc-$(GCC_VERSION)-build && ../gcc-$(GCC_VERSION)/configure --prefix="$$gcc_install_dir" --enable-shared --enable-threads `if grep __GLIBC__ /usr/include/features.h > /dev/null 2>/dev/null; then echo --enable-__cxa_atexit; fi` --enable-version-specific-runtime-libs --enable-languages=c,c++ --enable-nls
cd gcc-$(GCC_VERSION)-build && make bootstrap
cd gcc-$(GCC_VERSION)-build && make install
rm -rf gcc-$(GCC_VERSION)-build
rm -rf gcc-$(GCC_VERSION)
GNULIB_CVS_ROOT = :pserver:anonymous@pserver.git.sv.gnu.org:/gnulib.git
GNULIB_CVS_REPOSITORY = HEAD
GNULIB_GIT = git://git.savannah.gnu.org/gnulib.git
GNULIB_CHECKOUT := gnulib
update-gnulib:
if test -d $(GNULIB_CHECKOUT); then \
cd $(GNULIB_CHECKOUT) ; \
if test -d .git; then git pull; else cvs update -d -P; fi \
else \
if git --version >/dev/null 2>&1; then \
git clone "$(GNULIB_GIT)" $(GNULIB_CHECKOUT) ; \
else cvs -d "$(GNULIB_CVS_ROOT)" checkout -d $(GNULIB_CHECKOUT) $(GNULIB_CVS_REPOSITORY); fi \
fi
# it is important to get ltmain.sh and libtool.m4 from the same version of
# libtool. Don't rely on what's installed in /usr/share or similar.
LIBTOOL_VERSION = 2.2.8
LIBTOOL_SOURCE_FILE = libtool-$(LIBTOOL_VERSION).tar.gz
LIBTOOL_SOURCE_URL = http://ftp.gnu.org/gnu/libtool/$(LIBTOOL_SOURCE_FILE)
# an alternative way to update libtool files is "cd src; libtoolize --copy"
GTK2_SVN_ROOT = http://svn.gnome.org/svn/gtk+/trunk/m4macros
GNULIB_AUX=config.guess config.rpath config.sub depcomp install-sh missing
# it is important not to have "*.m4" targets with ": force" dependencies
# because otherwise every make will rebuild all configures
build-aux-update : update-gnulib force
for f in $(GNULIB_AUX); do \
cp -afuv $(GNULIB_CHECKOUT)/build-aux/$$f src/build-aux; \
done
cp -afuv /usr/share/automake*/compile src/build-aux
test -f $(LIBTOOL_SOURCE_FILE) || wget $(LIBTOOL_SOURCE_URL)
rm -rf libtool-$(LIBTOOL_VERSION)
gunzip -c < $(LIBTOOL_SOURCE_FILE) | tar xf -
cp -afuv libtool-$(LIBTOOL_VERSION)/libltdl/config/ltmain.sh src/build-aux/ltmain.sh
chmod +x src/build-aux/ltmain.sh
for f in libtool ltoptions ltsugar ltversion lt~obsolete; do \
cp -afuv libtool-$(LIBTOOL_VERSION)/libltdl/m4/$$f.m4 src/m4/; done
rm -rf libtool-$(LIBTOOL_VERSION) $(LIBTOOL_SOURCE_FILE)
cd src/m4; rm -fv gtk-2.0.m4; wget $(GTK2_SVN_ROOT)/gtk-2.0.m4
# gnulib-tool hack to support multiple gllib directories:
# headers are generated for each gllib differently, depending on which
# features are actually used, so we need to be able to include all these
# generated headers without fear that one will shadow another, so we
# prepend the macro-prefix before the guard macros
GNULIB_TOOL_PATCH = gnulib-tool.patch
GNULIB_TOOL = $(GNULIB_CHECKOUT)/gnulib-tool-patched --import \
--no-vc-files --no-libtool --no-changelog --aux-dir=src/build-aux
# unistd is needed in both syscalls and core separately because unistd.h
# is generated differently depending on whether gethostname (required by
# uname) is present
GNULIB_CORE = no-c++ stdint stdbool havelib gettext localcharset \
uniwidth/width streq uniname/uniname unitypes link-follow \
nocrash libsigsegv gnu-make gettimeofday getpagesize sys_time
# these modules are included as dependencies by regexp and fnmatch
# so we include them here so that they appear once in src/gl*
# instead of N times in $(GNULIB_USERS)/gl*
GNULIB_MODULES = alloca-opt alloca extensions include_next verify string \
mbsinit wchar wctype mbrtowc mbsrtowcs memchr nl_langinfo
GNULIB_COMMON = $(GNULIB_CORE) $(GNULIB_MODULES)
GNULIB_AVOID = $(addprefix --avoid=, $(GNULIB_COMMON))
GNULIB_IMPORTED_LOG = /tmp/gnulib-imported.log
gnulib-imported : update-gnulib force
$(RM) configure.ac; ln -sv src/configure.in configure.ac
$(RM) $(addsuffix /glm4/gnulib-cache.m4, $(GNULIB_USERS)) \
$(GNULIB_IMPORTED_LOG)
cp $(GNULIB_CHECKOUT)/gnulib-tool $(GNULIB_CHECKOUT)/gnulib-tool-patched
patch $(GNULIB_CHECKOUT)/gnulib-tool-patched $(GNULIB_TOOL_PATCH)
$(GNULIB_TOOL) --source-base=src/gllib --m4-base=src/glm4 \
$(GNULIB_COMMON) | tee -a $(GNULIB_IMPORTED_LOG)
$(GNULIB_TOOL) --source-base=modules/syscalls/gllib \
--macro-prefix=sc_gl --m4-base=modules/syscalls/glm4 \
$(GNULIB_AVOID) mktime strftime strptime strverscmp uname \
| tee -a $(GNULIB_IMPORTED_LOG)
$(GNULIB_TOOL) --source-base=modules/regexp/gllib \
--macro-prefix=rx_gl --m4-base=modules/regexp/glm4 \
$(GNULIB_AVOID) regex | tee -a $(GNULIB_IMPORTED_LOG)
$(GNULIB_TOOL) --source-base=modules/wildcard/gllib \
--macro-prefix=wc_gl --m4-base=modules/wildcard/glm4 \
$(GNULIB_AVOID) fnmatch-gnu | tee -a $(GNULIB_IMPORTED_LOG)
$(RM) configure.ac
for d in $(GNULIB_USERS); do $(RM) `find $$d/gllib -name \*~`; done
for d in $(GNULIB_USERS); do $(RM) `find $$d/glm4 -name \*~`; done
# _GL_UNUSED is defined by gnulib-common.m4:gl_COMMON_BODY which places
# the definition into config.h. Since we cannot know which gnulib-common
# will be used by a given configure.in, we cannot use a prefix for it
# and thus must revert the effects of --macro-prefix in imported code.
for d in $(GNULIB_USERS); do \
PREFIX=`$(GET_PREFIX)`; test -n "$${PREFIX}" && \
sed -i -e 's/_'$${PREFIX}'_GL_UNUSED/_GL_UNUSED/g' $$d/gllib/*.c; done
cd src/glm4; \
for f in *.m4; do \
if test -f ../m4/$$f; then \
echo == $$f; \
if cmp $$f ../m4/$$f; then \
cd ../m4; cvs rm -f $$f; cd ../glm4; \
fi; \
fi; \
done
$(RM) $(GNULIB_CHECKOUT)/gnulib-tool-patched
@echo the import log is in $(GNULIB_IMPORTED_LOG)
distrib : fixperms src-distrib doc-distrib gnu-distrib
# start gpg agent before "make release"!
release : distrib upload tag-release
# 2-3 weeks before a release
# manually: check for new versions of
# libsvm, netica api, postgresql, berkeley-db, dbus, pcre, readline
pre-release : gnulib-imported build-aux-update tp-mail
## RELEASE TODO:
# Before doing a "make distrib":
# * update version.sh, src/NEWS, doc/history.xml
# * "make -f Makefile.devel all"
# === Note that for clisp to report its version correctly, src/version.h and
# === src/configure must be regenerated after version.sh is updated
# web pages to be updated:
# * www/index.html, www/impnotes.html, www/clisp.html, www/impnotes/
# dates to be updated (1st release each calendar year):
# * banner in src/spvw.d
# * COPYRIGHT
# * clisp-doc-copyright in doc/impent.xml
# * AC_COPYRIGHT in src/configure.in
## CLISP release announcements go to:
# clisp-announce@lists.sourceforge.net
# info-gnu@gnu.org
# news:comp.lang.lisp
# news:comp.os.linux.announce (linux-announce@news.ornl.gov)
# http://freshmeat.net/projects/clisp/
# https://sourceforge.net/news/submit.php?group_id=1355
# WIKIs to be updated: http://en.wikipedia.org/wiki/CLISP
VER=$(shell . ./version.sh ; echo $$VERSION_NUMBER)
REL=$(shell . ./version.sh ; echo $$RELEASE_DATE)
ARCHIVE=../archives/$(VER)
SUFFIX=
# The distribution's top directory is called TOPDIR here.
TOPDIR=clisp-$(VER)$(SUFFIX)
SRC_DIST=$(ARCHIVE)/$(TOPDIR).tar.bz2
SRC_DIST1=$(ARCHIVE)/$(TOPDIR).tar.gz
DOC_DIST=$(ARCHIVE)/$(TOPDIR)-impnotes.zip
UPLOAD=$(SRC_DIST) $(SRC_DIST1) $(DOC_DIST) src/NEWS
SSHUP=podval:~/public_html/clisp/
GNU_TOP=$(ARCHIVE)/NEWS $(ARCHIVE)/SUMMARY
GNU_SRC=$(SRC_DIST1) $(SRC_DIST)
GNU_DIST=$(GNU_TOP) $(GNU_SRC)
GNU_SYM=$(ARCHIVE)/$(TOPDIR).symlink.directive
# Assume tar/bzip2/gzip are present
# set this if you are using GNU tar
EXCLUDE=--exclude CVS --exclude \*.fas --exclude \*.lib --exclude \*.obj \
--exclude \*.exe --exclude \*.mem --exclude \*.o --exclude build \
--exclude .cvsignore --exclude \*~ --exclude .\#\* \
--exclude $(AUTOCONF_CACHE) --exclude tmp --exclude queued \
--exclude libtool-\*.tar.gz \
`sed "s/^/--exclude /" doc/.cvsignore` \
--exclude TAGS --exclude \*.elc --exclude \*.orig --exclude \*.rej
T = $(TOPDIR)
SOURCES1 = $T/ANNOUNCE $T/COPYRIGHT $T/GNU-GPL $T/INSTALL $T/SUMMARY $T/clisp.spec $T/configure
SOURCES2 = $T/src
SOURCES4 = $T/utils
SOURCES5 = $T/unix $T/win32msvc
SOURCES6 = $T/modules
# for developers only: $T/benchmarks $T/sacla-tests $T/ansi-tests
SOURCES7 = $T/tests $T/emacs $T/doc $T/Makefile.devel
SOURCES = $(SOURCES1) $(SOURCES2) $(SOURCES4) $(SOURCES5) $(SOURCES6) $(SOURCES7)
$(SRC_DIST1) : $(SRC_DIST)
bzcat -v $(SRC_DIST) | gzip -9 -v > $(SRC_DIST1)
upload-ssh : $(SRC_DIST1) force
for h in $(SSHUP) ; do scp $(UPLOAD) $${h}; done
upload-sf : $(SRC_DIST1) force
rsync -avP -e ssh $(UPLOAD) frs.sf.net:/home/frs/project/c/cl/clisp/clisp/$(VER)/
upload-gnu : force # gnu-distrib -- do not re-sign everything
UP=""; for f in $(GNU_DIST); do \
UP=$${UP}" $$f $$f.sig $$f.directive.asc"; done; \
lftp ftp://ftp-upload.gnu.org/incoming/ftp -e "mput $${UP} $(GNU_SYM).asc; quit"
upload : upload-ssh upload-sf upload-gnu
src-distrib : force
mkdir -p $(ARCHIVE)
ln -s . $(TOPDIR)
tar cvfhj $(SRC_DIST) $(EXCLUDE) $(SOURCES)
$(RM) $(TOPDIR)
echo $(SRC_DIST)
doc-distrib : force
mkdir -p $(ARCHIVE)
ln -s . $(TOPDIR)
zip -9vor $(DOC_DIST) $(TOPDIR)/doc/html -x \*.cvsignore -x \*.symlinks -x \*CVS\* -x .\#\* -x \*~
$(RM) $(TOPDIR)
# http://www.gnu.org/prep/maintain/html_node/Automated-Upload-Procedure.html
GPG=gpg --use-agent --yes
gnu-distrib : $(SRC_DIST1) force
mkdir -p $(ARCHIVE)
cp -f src/NEWS SUMMARY $(ARCHIVE)
for f in $(GNU_DIST); do $(GPG) -b $$f; done
for f in $(GNU_TOP); do \
$(RM) $$f.directive; \
echo "version: 1.1" >> $$f.directive; \
echo "directory: clisp" >> $$f.directive; \
echo "filename: "`basename $$f` >> $$f.directive; \
$(GPG) --clearsign $$f.directive; \
done
for f in $(GNU_SRC); do \
$(RM) $$f.directive; \
echo "version: 1.1" >> $$f.directive; \
echo "directory: clisp/release/$(VER)" >> $$f.directive; \
echo "filename: "`basename $$f` >> $$f.directive; \
$(GPG) --clearsign $$f.directive; \
done
echo "version: 1.1" > $(GNU_SYM)
echo "directory: clisp/release" >> $(GNU_SYM)
echo "rmsymlink: latest" >> $(GNU_SYM)
echo "symlink: $(VER) latest" >> $(GNU_SYM)
$(GPG) --clearsign $(GNU_SYM)
tag-release : force
cvs tag -FR clisp_$(subst .,_,$(VER))-$(REL) .
TP_EMAIL=coordinator@translationproject.org
MESSAGE_FILE=tp_message
TP_SUFFIX=-pre1
tp-mail : force
echo "Domain: clisp" > $(MESSAGE_FILE)
if test -n "$(TP_SUFFIX)"; then \
f=`make -f Makefile.devel src-distrib SUFFIX=$(TP_SUFFIX) | tail -n 2 | head -n 1`; \
for h in $(SSHUP) ; do scp $$f $${h}; done \
else f=$(SRC_DIST); fi; f=`basename $$f`; \
echo "Location: http://clisp.podval.org/$$f" >> $(MESSAGE_FILE); \
cat $(MESSAGE_FILE); \
mail -s "CLISP pre-release $$f is available" \
-c clisp-devel@lists.sf.net $(TP_EMAIL) < $(MESSAGE_FILE)
$(RM) $(MESSAGE_FILE)
force :
clisp-2.49/SUMMARY 0000664 0000000 0000000 00000002563 11424243153 0013647 0 ustar 00root root 0000000 0000000 ANSI Common Lisp is a high-level, general-purpose programming language.
GNU CLISP is a Common Lisp implementation by Bruno Haible of Karlsruhe
University and Michael Stoll of Munich University, both in Germany.
It conforms to the ANSI Common Lisp standard, and offers many extensions.
It runs on most GNU and Unix systems (GNU/Linux, GNU/Hurd, FreeBSD, NetBSD,
OpenBSD, Solaris, Tru64, HP-UX, BeOS, IRIX, AIX, Mac OS X and others)
and on other systems (Windows NT/2000/XP/Vista, Windows 95/98/ME)
and needs only 4 MB of RAM.
It is Free Software and may be distributed under the terms of GNU GPL,
while it is possible to distribute commercial proprietary applications
compiled with GNU CLISP.
The user interface comes in English, German, French, Spanish, Dutch,
Russian and Danish, and can be changed during run time.
GNU CLISP includes an interpreter, a compiler, a debugger, CLOS, MOP,
a foreign language interface, a socket interface, i18n, fast bignums,
arbitrary precision floats and more.
An X11 interface is available through CLX, Garnet, CLUE/CLIO.
GNU CLISP runs Maxima, ACL2 and many other Common Lisp packages.
More information at
,
,
and
.
Sources and selected binaries are available by anonymous ftp from
and its mirrors.
clisp-2.49/clisp.spec 0000664 0000000 0000000 00000007430 11424243153 0014553 0 ustar 00root root 0000000 0000000 # Copyright (C) 1998-2008 by Sam Steingold
# Distributed under the terms of the GNU General Public License.
# See .
# The purpose of this file is creation of source/binary RPMs,
# **NOT** building/installing CLISP.
# I work from a CVS sandbox, so unpacking and patching is irrelevant to me.
# to create the source/binary RPMs, do
# rpmbuild -bb --sign clisp.spec
%define src /usr/local/src
%define prefix /usr
%define name clisp
%define version %(. version.sh; echo ${VERSION_NUMBER})
%define builddir build-rpm
%define mysrc %{src}/%{name}/current
# do not strip CLISP binaries, otherwise (disassemble #'cons) won't work
%define debug_package %{nil}
# don't you just love that you have to fit the macro into one line?
# this automatically upgrades `release' with each build.
# don't forget to remove the file `.release' when changing `version'.
#%define release %(test -f .release || echo 0 >> .release; echo "1 + " `cat .release` | bc > .,release; mv -fv .,release .release; cat .release)
#%define release %(cat .release)
%define release 1
%define modules libsvm rawsock berkeley-db pcre bindings/glibc clx/new-clx zlib
Summary: Common Lisp (ANSI CL) implementation
Name: %{name}
Version: %{version}
Release: %{release}
# this crap does not accept PNG
#Icon: clisp.png
License: GPL
Group: development/languages
Source: ftp://ftp.gnu.org/pub/gnu/clisp/latest/
URL: http://clisp.cons.org/
Packager: Sam Steingold
Provides: clisp, ansi-cl
Distribution: Fedora GNU/Linux
BuildRoot: %{_tmppath}/%{name}-root
%description
%(cat SUMMARY)
This binary distribution was built with the following modules:
base: i18n regexp syscalls readline
(run "clisp" or "clisp -K base" to use them)
full: in addition to the above, also
%{modules}
(run "clisp -K full" to use them)
%prep
cat <