mirror of
git://git.code.sf.net/p/sbcl/sbcl
synced 2026-09-10 07:26:40 -04:00
NOTE: This is a slightly screwed-up checkin, which won't quite build as is, because the checked-in changes from the Alpha port expect various src/code/*types.lisp files (e.g. src/code/x86-linux-types.lisp) which Daniel Barlow created by hand once and for all. Those are in my working directory but I didn't check them in because almost immediately, probably 0.6.12.4, I expect to rearrange things so that the build process generates a types file on every run of make.sh. So since CVS add/delete is a little mixed up, I thought I'd just skip it, even though it means that this version isn't quite buildable unless you grab those files from DB's patch. merged Daniel Barlow's port to the Alpha CPU sbcl-devel 2001-05-04 moved CIRCULAR-LIST-P to early-extensions.lisp (since it logically belongs there, and DB's new definition, unlike the old one, doesn't have a physical dependence on IGNORE-ERRORS which prevents it from being there) merged boot-extensions.lisp, early-extensions.lisp, and late-extensions.lisp, since there's no longer any distinction between the files deleted CVS files from sbcl-alpha-extra-files.tar, since they were probably an oversight, I think also src/compiler/alpha/z050.pdf:-| The patch change - (/hexstr arguments) + #!+sb-show (/hexstr arguments) shouldn't be necessary because /SHOW, like all the /FOO macros, is already conditional on SB-SHOW. So I undid this change (and added some comments in src/code/show.lisp explaining the intended behavior of /FOO macros). merged stat_wrapper.c into the relatively new, related wrap.c file; deleted stat_wrapper.h since stat wrappers seem never intended to be used by C code anyway renamed build-tools/ to tools-for-build/ in the interest of unambiguous (even painfully unambiguous) globally-visible names tweaked tests/alien.impure.lisp so that the test uses a non-GENCGC-dependent variable (instead of having to have the test conditional on #+GENCGC).
66 lines
2.4 KiB
Bash
Executable file
66 lines
2.4 KiB
Bash
Executable file
#!/bin/sh
|
|
|
|
# Remove everything in directories which are only used for output.
|
|
# In most cases, we can remove the directories, too.
|
|
#
|
|
# (We don't remove all the directories themselves for a stupid technical
|
|
# reason: "gmake clean" in the src/runtime directory gets unhappy if the
|
|
# output/ directory doesn't exist, because it tries to build Depends
|
|
# before it cleans itself, and src/c-runtime/sbcl.h is a symlink into
|
|
# the output/ directory, and it gets the gcc dependency processing gets
|
|
# all confused trying to figure out a header file which is a symlink
|
|
# into a directory which doesn't exist. We'd like to be able to run
|
|
# this script (including "gmake clean" in the src/runtime directory)
|
|
# several times in a row without failure.. so we leave the output/
|
|
# directory in place.)
|
|
rm -rf obj/* output/* doc/user-manual \
|
|
doc/user-manual.junk doc/DBTOHTML_OUTPUT_DIR*
|
|
# (The doc/user-manual.junk and doc/DBTOHTML_OUTPUT_DIR* directories
|
|
# are created by the Cygnus db2html script when it formats the the
|
|
# user manual, and since this db2html script is the one which is
|
|
# currently used to format the manual for the standard binary
|
|
# distribution, we automatically clean up after it here in the
|
|
# standard clean.sh file.)
|
|
|
|
# Within other directories, remove things which don't look like source
|
|
# files. Some explanations:
|
|
# (symlinks)
|
|
# are never in the sources; they must've been created
|
|
# sbcl
|
|
# the runtime environment, created by compiling C code
|
|
# sbcl.h
|
|
# information about Lisp code needed to build the runtime environment,
|
|
# created by running GENESIS
|
|
# Config, target
|
|
# architecture-dependent or OS-dependent symlinks
|
|
# *.htm, *.html
|
|
# probably machine-generated translation of DocBook (*.sgml) files
|
|
# core
|
|
# probably a core dump -- not part of the sources anyway
|
|
# *~, #*#, TAGS
|
|
# common names for editor temporary files
|
|
find . \( \
|
|
-type l -or \
|
|
-name '*~' -or \
|
|
-name '#*#' -or \
|
|
-name '?*.x86f' -or \
|
|
-name '?*.axpf' -or \
|
|
-name '?*.lbytef' -or \
|
|
-name 'core' -or \
|
|
-name '?*.core' -or \
|
|
-name '*.map' -or \
|
|
-name '*.nm' -or \
|
|
-name '*.host-obj' -or \
|
|
-name '*.lisp-obj' -or \
|
|
-name '*.target-obj' -or \
|
|
-name '*.lib' -or \
|
|
-name '*.tmp' -or \
|
|
-name '*.o' -or \
|
|
-name 'sbcl' -or \
|
|
-name 'sbcl.h' -or \
|
|
-name 'depend' -or \
|
|
-name '*.htm' -or \
|
|
-name '*.html' -or \
|
|
-name 'TAGS' -or \
|
|
-name 'local-target-features.lisp-expr' \) -print | xargs rm -f
|