compile-all 1.85 KB
Newer Older
1
#!/bin/csh -fx
ram's avatar
ram committed
2
#
3
#  compile-all -- script to compile everything
ram's avatar
ram committed
4
#
wlott's avatar
wlott committed
5
# $Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/tools/Attic/compile-all,v 1.3 1991/12/12 02:35:37 wlott Exp $
ram's avatar
ram committed
6
7
8
9
10
11
12

if ($#argv) then
	set subdir = $argv[1]
else
	set subdir = alpha
endif

13
14
15
16
set dest = /afs/cs/project/clisp/build/@sys/$subdir
set src = /afs/cs/project/clisp/src/$subdir

if ($?LISP) then
wlott's avatar
wlott committed
17
	set lisp = "$LISP"
18
19
20
21
22
23
24
25
26
27
28
29
30
else
	set lisp = lisp
endif

if (-e $src/FEATURES) then
	set features = (`cat $src/FEATURES`)
else
	set features = ()
endif

$lisp -noinit << EOF
(setf *features* (list* $features *features*))
(setf (search-list "target:") '("$dest/" "$src/"))
ram's avatar
ram committed
31
32
33
34
35
36
(load "target:tools/setup")
(comf "target:tools/setup")
(comf "target:tools/rcs")
(quit)
EOF

37
38
39
$lisp -noinit << EOF
(setf *features* (list* $features *features*))
(setf (search-list "target:") '("$dest/" "$src/"))
ram's avatar
ram committed
40
41
42
43
44
45
(load "target:tools/setup")
(setf *interactive* nil *gc-verbose* nil)
(load "target:tools/worldcom")
(quit)
EOF

46
47
48
$lisp -noinit << EOF
(setf *features* (list* $features *features*))
(setf (search-list "target:") '("$dest/" "$src/"))
ram's avatar
ram committed
49
50
51
52
53
54
55
(setf (search-list "clx:") '("target:clx/"))
(load "target:tools/setup")
(setf *interactive* nil *gc-verbose* nil)
(load "target:tools/clxcom")
(quit)
EOF

56
57
58
$lisp -noinit << EOF
(setf *features* (list* $features *features*))
(setf (search-list "target:") '("$dest/" "$src/"))
ram's avatar
ram committed
59
60
61
62
63
64
(load "target:tools/setup")
(setf *interactive* nil *gc-verbose* nil)
(load "target:tools/hemcom")
(quit)
EOF

65
66
67
$lisp -noinit << EOF
(setf *features* (list* $features *features*))
(setf (search-list "target:") '("$dest/" "$src/"))
ram's avatar
ram committed
68
69
70
71
72
73
(load "target:tools/setup")
(setf *interactive* nil *gc-verbose* nil)
(load "target:tools/comcom")
(quit)
EOF

74
75
76
77
78
79
80
81
$lisp -noinit << EOF
(setf *features* (list* $features *features*))
(setf (search-list "target:") '("$dest/" "$src/"))
(setf *gc-verbose* nil)
(load "target:tools/pclcom")
(quit)
EOF

ram's avatar
ram committed
82
echo "Done..."