0.7.12.34
[sbcl.git] / make-target-contrib.sh
1 #!/bin/sh
2
3 # This is a script to be run as part of make.sh. The only time you'd
4 # probably want to run it by itself is if you're trying to
5 # cross-compile the system or if you're doing some kind of
6 # troubleshooting.
7
8 # This software is part of the SBCL system. See the README file for
9 # more information.
10 #
11 # This software is derived from the CMU CL system, which was
12 # written at Carnegie Mellon University and released into the
13 # public domain. The software is in the public domain and is
14 # provided with absolutely no warranty. See the COPYING and CREDITS
15 # files for more information.
16
17 # usually SBCL_HOME refers to the installed root of SBCL, not the
18 # build directory.  Right now, however, where there are dependencies
19 # between contrib packages, we want the _uninstalled_ versions to be
20 # found
21 export SBCL_HOME=`pwd`/contrib
22
23 SBCL="`pwd`/src/runtime/sbcl --noinform --core `pwd`/output/sbcl.core --userinit /dev/null --sysinit /dev/null --disable-debugger"
24 SBCL_BUILDING_CONTRIB=1
25 export SBCL SBCL_BUILDING_CONTRIB
26
27 gnumake=${GNUMAKE:-gmake}
28
29 for i in contrib/*; do
30     test -d $i || continue;
31     # export INSTALL_DIR=$SBCL_HOME/`basename $i `
32     $gnumake -C $i test 
33 done