1: # Procedures to build gforth from the CVS sources
2: # created: 2may00jaw
3:
4: # To build gforth from scratch you need autoconf and automake.
5: # This file can be used as shell script. If you make the environment
6: # variable GFORTH point to an existing gforth installation, this
7: # script takes over kernel and primitve files.
8:
9: # try to guess a previous version of Gforth
10:
11: if [ "$GFORTH" == "" ]
12: then
13: GFORTH=`which gforth`
14: fi
15:
16: # makes a aclocal.m4 which includes the automake macros for autconf
17:
18: aclocal
19:
20: # generate configure script
21:
22: autoconf
23:
24: # generate header files like engine/config.h.in
25:
26: autoheader
27:
28: # run configure script
29:
30: ./configure $*
31:
32: # if you have specified a previous Gforth, you can savely run make now
33: # with FORTHK and FORTHP changed appropriate.
34:
35: if [ "$GFORTH" != "" ]
36: then
37: make FORTHK="$GFORTH"
38: fi
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>