1 ;;; -*- Mode: lisp; Package: CL-USER -*-
3 ;;; Defsystem to convert the colnew Fortran code to Lisp
5 ;;; Convert Fortran code to Lisp via
7 ;;; (mk:oos "colnew-lisp" :compile :force t)
9 (in-package #-gcl #:cl-user #+gcl "CL-USER")
14 (mk:define-language :f2cl-lisp
18 :binary-extension "lisp")
20 (defparameter *colnew-root* (maxima::maxima-load-pathname-directory))
22 (mk:defsystem colnew-lisp
23 :source-pathname *colnew-root*
27 :binary-pathname "lisp/"
29 :compiler-options (:common-as-array t :package :colnew)
33 ;; Linpack routines needed by colnew
35 :depends-on ("daxpy" "ddot"))
37 :depends-on ("idamax" "dscal" "daxpy"))
38 ;; BLAS routines needed by above
43 ;; Simple compatibility to define all of the needed
44 ;; common blocks in one place.
46 :compiler-options (:declare-common t :common-as-array t
48 ;; COLNEW itself, broken down into one subroutine per
51 :depends-on ("compat" "consts" "newmsh" "contrl"))
53 :depends-on ("compat" "lsyslv" "skale" "errchk" "newmsh"))
55 :depends-on ("compat"))
57 :depends-on ("compat" "approx" "horder"))
59 :depends-on ("compat" "vmonde" "rkbas"))
62 :depends-on ("compat" "vwblok" "gblock" "gderiv" "fcblok"
66 :depends-on ("compat" "dgesl" "dgefa"))
68 :depends-on ("compat" "dgesl"))
71 :depends-on ("compat"))
73 :depends-on ("compat"))
75 :depends-on ("compat"))
78 :depends-on ("factrb" "shiftb"))
80 :depends-on ("factrb" "shiftb"))
84 :depends-on ("subfor" "subbak"))
88 (mk:defsystem colnew-ex-lisp
89 :source-pathname *colnew-root*
91 :compiler-options (:package :colnew)
97 :compiler-options (:common-as-array t :package :colnew)
98 :depends-on ("fsub" "dfsub" "gsub" "dgsub" "exact"))
107 :compiler-options (:declare-common t :package :colnew)
108 :depends-on ("fsub" "dfsub" "gsub" "dgsub" "solutn"))
117 :compiler-options (:declare-common t :package :colnew)
118 :depends-on ("fsub" "dfsub" "gsub" "dgsub" "solutn"))