2 (or (find-package "MAKE") (make-package "MAKE" :use
'(LISP)))
6 (or (fboundp 'make
) (load "make.lisp" ))
7 (or (member :cl
*features
*) (setq *features
* (cons :cl
*features
*)))
9 (setf (get :maxima
:source-path
) "foo.lisp")
10 (setf (get :maxima
:object-path
)
14 #+cmu
(namestring (make-pathname :name
"foo" :type
(c::backend-fasl-file-type c
::*target-backend
*)))
15 #-
(or cmu
:CLISP excl lucid
) "foo.o")
20 ;;;----Adjust these for your site if this is a lisp machine.
21 (setf (get :maxima
:object-path
)
22 (if (boundp '*logical-object
*) *logical-object
*
23 #+ti
"max:maxima.object;foo.xld"
24 #+symbolics
"alonzo:>maxima>object>foo.bin"))
25 (setf (get :maxima
:source-path
)
26 (if (boundp '*logical-source
*) *logical-source
*
27 "rascal:/usr2/maxima/src/foo.lisp")))
29 #+(and cl
(not lispm
))
30 (or (member :nocp lisp
:*features
*) (push :nocp
*features
*))
32 (load (make::our-merge
"maxima-package" (get :maxima
:source-path
)))
35 (if (fboundp 'sloop
::sloop
) (push :SLOOP
*features
*))
38 (setf (get :maxima
:make
)
40 #-sloop sloop
;include sloop if not there in
44 ;module destructuring-let
46 ;module compatibility-macros1
48 #-
(or kcl lispm
) generr
53 ;module compatibility-macros
56 #+symbolics method-compat
60 ;module fundamental-macros
64 ;module utility-macros
77 ;module numerical-macros
80 ;;other (:module macros (
81 ;; other-macros rat-macros numerical-macros))
84 (load "SYS-PROCLAIM.lisp")
85 #-cmu
(proclaim '(optimize (safety 0) (speed 3))))
104 ;module simplification
118 ;; we should really look, *seriously*, at the functionality provided
119 ;; by the dskfn package. mainly, it saves and manages environments.
127 ;newfac ;why was this commented out?
130 ;module rational-functions
138 ;module maxima-language-compiler-macros
140 ;module maxima-language-compiler
141 ;; this includes the translator itself and runtime
142 ;; support needed for translated code.
163 ;module numerical-functions
173 (:progn
;;reset this from nparse
174 #-cmu
(proclaim '(optimize (safety 0) (speed 3))))
184 ;module documentation
188 #+obsolete mudoc
;is this used?
189 ;module algebraic-database
194 askp
) ;does this belong here?
199 ;module taylor-series
201 ;module definite-integration
207 plotll
; fix the instance
215 ;module special-functions
217 ;module matrix-algebra
225 ;module pattern-matching
249 ;module miscellaneous
264 ;module poisson-series
268 ;module interaction-with-editor
274 ;module translated-packages
275 #+(or lispm main-files-loaded
)
289 (:load-source autol max_ext
)
291 (format t
"~%Setting object path default to ~a"
292 (setf (get :maxima
:object-path
)
293 (probe-file (object 'clmacs
)))))
294 (:load-source version autol max_ext init_max1
)
300 (cond ( (>= (si::get-system-version
'system
) 349)
301 (push :genera Lisp
:*features
*)
302 (push :zlch lisp
:*features
*))
303 (t (push :pre-genera lisp
:*features
*)))
306 (cond ((= (si::get-system-version
) 1)
307 (push :tirel3 Lisp
:*features
*)))
310 (setf (get :maxima-macros
:source-path
)(get :maxima
:source-path
))
311 (setf (get :maxima-macros
:object-path
)(get :maxima
:object-path
))
312 (setf (get :maxima-macros
:make
)
316 ;module destructuring-let
318 ;module compatibility-macros1
322 #+kcl
(:load-source fundcl
)
326 ;module compatibility-macros
329 #+symbolics method-compat
330 ;module prerequisites
333 ;module fundamental-macros
337 ;module utility-macros
350 ;module numerical-macros
357 (setq make
::*system-p
* t
)
365 (setf (get :minima
:source-path
) "/usr/local/schelter/cl/foo.lisp")
366 (setf (get :minima
:object-path
) "/usr/local/schelter/cl/o/foo.o")
367 (setf (get :minima
:make
)
370 ;module compatibility-macros1
376 ;module compatibility-macros
380 #+symbolics method-compat
405 ;module simplification
426 ;module rational-functions
443 (format t
"~%Setting object path default to ~a"
444 (setf (get :maxima
:object-path
)
445 (probe-file (object 'clmacs
)))))
446 (:load-source version autol max_ext init_max1
)
449 ;(in-package "MAXIMA")
450 ;(let ((si::*defuns* '(defun defmfun))) (make-declare :maxima))
453 (setf (get 'maxima
::fixed-args
:proclaim
) #'(lambda (x)
454 (setf (get x
'compiler
::fixed-args
)