Permalink
Browse files

Makefile cleaned up -- removed ancient CL targets

  • Loading branch information...
1 parent 604c8ff commit 15c8b99806a3ef0a6b292b8f12158d702bca22cc @blindglobe committed Mar 18, 2007
Showing with 9 additions and 38 deletions.
  1. +9 −38 Makefile
View
@@ -1,44 +1,22 @@
.SUFFIXES: .o .lsp
+default:
+ @echo "Targets:"
+ @echo " clean - remove build droppings"
+ @echo " sbcl - build using SBCL"
+ @echo " clisp - build using CLISP"
+ @echo " "
+
#
# Modify according to your system's needs for dynamic loading
#
CFLAGS = -O -G 0 -DINTPTR
-#
-# AKCL directory and executable
-#
-AKCLDIR=/WAR/usr/users/mikem/Software/Kcl/akcl
-AKCL=${AKCLDIR}/unixport/saved_kcl ${AKCLDIR}/unixport/
-#
-# EXCL (Allegro) batch command
-#
-EXCL=/CHAGRIN/usr/users/luke/LS/KCL/ACLS/cl -batch
-#
+
# Directory for Examples and Data -- MUST end in a / if not null
# For now, you have to install the Examples and Data directories by hand.
#
LSLIB=/usr/statlocal/lib/xlispstat/
-#
-# Directory for saved_kcls binary
-#
-KCLSDIR=/CHAGRIN/usr/users/luke/LS/KCL/KCLS/
-kcl: Makefile saved_kcls
- echo "#!/bin/csh -f" > kcls
- echo "set KCLSDIR=${KCLSDIR}" >> kcls
- echo "setenv LSLIB ${LSLIB}" >> kcls
- echo '$${KCLSDIR}saved_kcls $${KCLSDIR}' >> kcls
- chmod +x kcls
-
-excl: Makefile lib/clib.a lib/exclglue.o
- echo '(load "defsys") (ls::compile-stats)' | ${EXCL}
- sed "s?./?${LSLIB}?" makesys.excl.dist > makesys.excl
- cat makesys.excl | ${EXCL}
-
-saved_kcls: lib/clib.a
- echo '(load "defsys") (ls::compile-stats)' | ${AKCL}
- cat makesys.kcl | ${AKCL}
-
lib/clib.a:
(cd lib; make CFLAGS="${CFLAGS}")
@@ -47,7 +25,7 @@ lib/exclglue.o:
clean:
(cd lib; make clean)
- rm -f *.o *.fasl kclcmplr
+ rm -f *.o *.fasl kclcmplr *~
cleanall:
(cd lib; make cleanall)
@@ -67,10 +45,3 @@ OBJECTS=bayes.o compound.o dists.o fastmap.o kclglue.o \
.lsp.o:
./kclcmplr ./ $*.lsp $*.lsp S1000
-kclcmplr: Makefile defsys.lsp lsmacros.lsp lspackages.lsp
- rm -f cmpinclude.h
- ln -s ${AKCLDIR}/h/cmpinclude.h cmpinclude.h
- echo '(load "defsys.lsp") (load "kclpatch.lsp") (load "lsobjects.lsp") (load "lsbasics.lsp") (load "ladata.lsp") (si:save-system "kclcmplr")' | ${AKCL}
-
-
-objects: kclcmplr ${OBJECTS}

0 comments on commit 15c8b99

Please sign in to comment.