4 # Modify according to your system's needs for dynamic loading
6 CFLAGS
= -O
-G
0 -DINTPTR
8 # AKCL directory and executable
10 AKCLDIR
=/WAR
/usr
/users
/mikem
/Software
/Kcl
/akcl
11 AKCL
=${AKCLDIR}/unixport
/saved_kcl
${AKCLDIR}/unixport
/
13 # EXCL (Allegro) batch command
15 EXCL
=/CHAGRIN
/usr
/users
/luke
/LS
/KCL
/ACLS
/cl
-batch
17 # Directory for Examples and Data -- MUST end in a / if not null
18 # For now, you have to install the Examples and Data directories by hand.
20 LSLIB
=/usr
/statlocal
/lib
/xlispstat
/
22 # Directory for saved_kcls binary
24 KCLSDIR
=/CHAGRIN
/usr
/users
/luke
/LS
/KCL
/KCLS
/
26 kcl
: Makefile saved_kcls
27 echo
"#!/bin/csh -f" > kcls
28 echo
"set KCLSDIR=${KCLSDIR}" >> kcls
29 echo
"setenv LSLIB ${LSLIB}" >> kcls
30 echo
'$${KCLSDIR}saved_kcls $${KCLSDIR}' >> kcls
33 excl
: Makefile lib
/clib.a lib
/exclglue.o
34 echo
'(load "defsys") (ls::compile-stats)' |
${EXCL}
35 sed
"s?./?${LSLIB}?" makesys.excl.
dist > makesys.excl
36 cat makesys.excl |
${EXCL}
38 saved_kcls
: lib
/clib.a
39 echo
'(load "defsys") (ls::compile-stats)' |
${AKCL}
40 cat makesys.kcl |
${AKCL}
43 (cd lib
; make CFLAGS
="${CFLAGS}")
46 (cd lib
; make CFLAGS
="${CFLAGS}" exclglue.o
)
50 rm -f
*.o
*.fasl kclcmplr
53 (cd lib
; make cleanall
)
54 rm -f
*.o
*.fasl kclcmplr saved_kcls kcls cls
57 # This lets you use 'make objects' to make .o files for changed .lsp
58 # files for kcl. If you use this approach, use 'cat makesys.kcl | kcl'
59 # to make the executable.
62 OBJECTS
=bayes.o compound.o dists.o fastmap.o kclglue.o \
63 kclpatch.o ladata.o linalg.o lsbasics.o lsfloat.o lsmath.o \
64 lsobjects.o lstoplevel.o matrices.o maximize.o nonlin.o \
65 regression.o statistics.o
68 .
/kclcmplr .
/ $*.lsp
$*.lsp S1000
70 kclcmplr
: Makefile defsys.lsp lsmacros.lsp lspackages.lsp
72 ln
-s
${AKCLDIR}/h
/cmpinclude.h cmpinclude.h
73 echo
'(load "defsys.lsp") (load "kclpatch.lsp") (load "lsobjects.lsp") (load "lsbasics.lsp") (load "ladata.lsp") (si:save-system "kclcmplr")' |
${AKCL}
76 objects
: kclcmplr
${OBJECTS}