3 # GNU Mes --- Maxwell Equations of Software
4 # Copyright © 2017,2018 Jan (janneke) Nieuwenhuizen <janneke@gnu.org>
6 # This file is part of GNU Mes.
8 # GNU Mes is free software; you can redistribute it and/or modify it
9 # under the terms of the GNU General Public License as published by
10 # the Free Software Foundation; either version 3 of the License, or (at
11 # your option) any later version.
13 # GNU Mes is distributed in the hope that it will be useful, but
14 # WITHOUT ANY WARRANTY; without even the implied warranty of
15 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 # GNU General Public License for more details.
18 # You should have received a copy of the GNU General Public License
19 # along with GNU Mes. If not, see <http://www.gnu.org/licenses/>.
23 abs_top_srcdir="@abs_top_srcdir@"
24 abs_top_builddir="@abs_top_builddir@"
25 prefix=${prefix-@prefix@}
26 VERSION=${VERSION-@VERSION@}
28 . ${srcdest}build-aux/config.sh
29 . ${srcdest}build-aux/trace.sh
31 MES_SEED=${MES_SEED-../mes-seed}
32 GUILE=${GUILE-$(command -v guile)}
33 MES_ARENA=${MES_ARENA-100000000}
35 if [ -n "$GUILE" -a "$GUILE" != true ]; then
36 sh ${srcdest}build-aux/build-guile.sh
40 sh ${srcdest}build-aux/build-cc.sh
43 if [ -n "$CC32" ]; then
44 sh ${srcdest}build-aux/build-cc32.sh
47 if [ -n "$TCC" ]; then
48 CC32=$TCC sh ${srcdest}build-aux/build-cc32.sh
51 sh ${srcdest}build-aux/build-mes.sh
52 sh ${srcdest}build-aux/build-x86_64-mes.sh