version 1.2, 2000/06/10 21:10:50
|
version 1.28, 2008/07/15 16:11:49
|
Line 1
|
Line 1
|
# Procedures to build gforth from the CVS sources |
# Procedures to build gforth from the CVS sources |
# created: 2may00jaw |
|
|
|
# To build gforth from scratch you need autoconf and automake. |
|
# This file can be used as shell script. If you make the environment |
|
# variable GFORTH point to an existing gforth installation, this |
|
# script takes over kernel and primitve files. |
|
|
|
# try to guess a previous version of Gforth |
|
|
|
if [ "$GFORTH" == "" ] |
#use this with parameters and env variables like "configure" |
then |
|
GFORTH=`which gforth` |
|
fi |
|
|
|
# makes a aclocal.m4 which includes the automake macros for autconf |
#Copyright (C) 2000,2002,2003,2006,2007,2008 Free Software Foundation, Inc. |
|
|
aclocal |
#This file is part of Gforth. |
|
|
# generate configure script |
#Gforth 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 3 |
|
#of the License, or (at your option) any later version. |
|
|
autoconf |
#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. |
|
|
# generate header files like engine/config.h.in |
#You should have received a copy of the GNU General Public License |
|
#along with this program. If not, see http://www.gnu.org/licenses/. |
|
|
autoheader |
|
|
|
# run configure script |
# created: 2may00jaw |
|
|
./configure $* |
|
|
|
# if you have specified a previous Gforth, you can savely run make now |
# To build gforth from scratch you need autoconf, automake and a |
# with FORTHK and FORTHP changed appropriate. |
# gforth-0.6.2 |
|
|
if [ "$GFORTH" != "" ] |
./autogen.sh && |
then |
./configure "$@" && |
make FORTHK="$GFORTH" |
echo Running: make && |
fi |
make && |
|
make doc && |
|
make more |