1 ## Lisp normally uses ASDF for compiling big projects, an extensible make-like utility.
2 ## ASDF also allows to build maxima on systems that don't contain autotools.
3 ## It therefore is natural to use make only for initiating the build process
4 ## and to use the autotools for setting up all files, but to use the standard lisp
5 ## tools for the actual build.
7 ## The ASDF equivalent of a makefile is named maxima.system.
8 ## For details about its syntax see
9 ## https://common-lisp.net/project/asdf/asdf/The-defsystem-form.html
11 include $(top_srcdir)/common.mk
14 bin_SCRIPTS = maxima-command.ico maxima.bat set_lang.vbs
16 bin_SCRIPTS = maxima rmaxima
19 ## In instsrcdir, we install the lisp source files in src/ (including
20 ## the numerical subdirectories).
21 ## TODO: Should we also be installing the .system and .asd files here?
22 real_lisp_sources := $(shell echo *.lisp $(srcdir)/numerical/*.lisp $(srcdir)/numerical/slatec/*.lisp)
23 nobase_dist_instsrc_DATA = $(real_lisp_sources)
25 maxima.asd maxima.system \
26 numerical/slatec/fortran \
27 maxima-build.lisp maxima-command.ico set_lang.vbs \
31 ## If we can, we use Automake's blah_SCRIPTS targets to install
32 ## stuff. When doing this, we have to populate EXTRA_SCRIPTS, so we
33 ## use += and initialise here.
36 ## A debugging tool. If you're trying to understand the value of the
37 ## variable $(foo) when make runs, call "make echo_foo" and it will be
40 @echo "$(subst echo_,,$@)=$($(subst echo_,,$@))"
41 @echo "origin $(subst echo_,,$@) returns $(origin $(subst echo_,,$@))"
43 ## "all" depends on sharefiles.mk and whatever files we choose to
44 ## build. These are listed in BUILT_FILES, which is populated in the
45 ## implementation-dependent sections below.
47 ## The special treatment of share-subdirs.lisp is necessary due to the
48 ## following requirements:
49 ## - We want to autogenerate this file so it changes if source files are
51 ## - We want to ship the file with maxima.
52 ## - And we don't want to tell the autotools that we autogenerate this
53 ## file. Else "make distclean" would delete the file causing
54 ## "make distcleancheck" to fail.
56 all-local: $(BUILT_FILES) share-subdirs_autogenerated.lisp
57 if test share-subdirs_autogenerated.lisp -nt share-subdirs.lisp; then cp share-subdirs_autogenerated.lisp share-subdirs.lisp; fi
58 DISTCLEAN_FILES=$(DISTCLEAN_EXTRA_SRC_FILES)
60 ## The "clean" rule always just deletes some files and they are
61 ## specified in the conditional sections by adding
62 ## implementation-specific targets to the list CLEAN_TARGETS.
64 clean-local: $(CLEAN_TARGETS)
66 ## Tell make clean to delete all the <foo>-depends.mk files.
68 clisp-depends.mk cmucl-depends.mk scl-depends.mk acl-depends.mk \
69 sbcl-depends.mk gcl-depends.mk openmcl-depends.mk ecl-depends.mk abcl-depends.mk
70 CLEANFILES = $(DEPENDS_FILES) tools/sys-proclaim.lisp
72 ## Similarly, we do something hacky with the install rule. Most of the
73 ## time, we can actually use Automake's tools for this, but for the
74 ## crazy "install another copy of the implementation" approach that we
75 ## use with SCL and CLISP, we need to do it by hand.
76 WEIRD_INSTALL_TARGETS =
77 WEIRD_UNINSTALL_TARGETS =
78 install-exec-local: $(WEIRD_INSTALL_TARGETS)
79 uninstall-hook: $(WEIRD_UNINSTALL_TARGETS)
81 ## A rule to build binary directories of the form binary-<lispname>
82 ## and subdirectories ./numerical and ./numerical/slatec
83 binary_subdirs = / /numerical /numerical/slatec
84 lisps_enabled = @lisps_enabled@
87 for l in $(lisps_enabled); do for d in $(binary_subdirs); do $(MKDIR_P) binary-$$l$$d; done; done
89 ## Some hunks of lisp that get used by more than one implementation
90 LOADDEFSYSTEM = (load "$(top_srcdir)/lisp-utils/defsystem.lisp") (mk:add-registry-location "$(top_srcdir)/src/")
91 LOADMAKEDEPENDS = (load "$(top_srcdir)/lisp-utils/make-depends.lisp")
92 DS_OOS = funcall (intern (symbol-name :operate-on-system) :mk) "maxima"
94 QUIET="(setf *compile-print* nil) (setq *compile-verbose* nil)"
95 DEFSYSTEMCOMPILE = ($(DS_OOS) :compile :verbose nil)
96 DEFSYSTEMLOAD = ($(DS_OOS) :load :verbose nil )
98 DEFSYSTEMCOMPILE = ($(DS_OOS) :compile :verbose t)
99 DEFSYSTEMLOAD = ($(DS_OOS) :load :verbose t)
101 DEFSYSTEMTESTLOAD = ($(DS_OOS) :load :verbose t :test t)
103 ## A function that takes: $(1) = the target name or names (either a
104 ## string or a list of strings); $(2) = <foo>-depends.mk; $(3) = any
105 ## postscript that should be added. It outputs lisp code
106 ## that, when run, should create the dependency Makefile fragments.
107 MAKE_DEPENDS = '$(LOADDEFSYSTEM) $(LOADMAKEDEPENDS) (funcall (intern "CREATE-DEPENDENCY-FILE" :mk) $(1) "$(2)") $(3)'
109 ## CLISP #######################################################################
112 EXTRA_SCRIPTS += $(CLISP_MAXIMA)
115 CLISP_MAXIMA = binary-clisp/maxima$(EXEEXT)
116 clisplib_SCRIPTS = $(CLISP_MAXIMA)
117 clispexeflag = :EXECUTABLE t
119 CLISP_MAXIMA = binary-clisp/maxima.mem
120 clisplib_DATA = $(CLISP_MAXIMA)
122 ## Rather crazily, we install an extra copy of clisp. Maybe there's a
123 ## more sensible approach than this?!
124 WEIRD_INSTALL_TARGETS += install-clisp-copy
125 WEIRD_UNINSTALL_TARGETS += uninstall-clisp-copy
127 $(mkinstalldirs) $(DESTDIR)$(clisplibdir)
128 $(INSTALL_PROGRAM) @CLISP_RUNTIME_PATH@ "$(DESTDIR)$(clisplibdir)/@CLISP_RUNTIME@"
129 uninstall-clisp-copy:
130 rm -f "$(DESTDIR)$(clisplibdir)/@CLISP_RUNTIME@"
133 EXECUTECLISP = $(CLISP_NAME) -norc -q
134 clisplibdir = $(verpkglibdir)/binary-clisp
136 BUILT_FILES += $(CLISP_MAXIMA)
138 clisp: $(CLISP_MAXIMA)
142 echo '$(QUIET) $(LOADDEFSYSTEM) $(DEFSYSTEMCOMPILE)' > clisp-command.lisp
143 $(EXECUTECLISP) clisp-command.lisp
144 echo '$(LOADDEFSYSTEM) $(DEFSYSTEMLOAD) (ext:saveinitmem "$@" :init-function (function cl-user::run) $(clispexeflag))' > clisp-command.lisp
145 $(EXECUTECLISP) clisp-command.lisp
146 rm clisp-command.lisp
148 clisp-depends.mk: maxima.system Makefile *.lisp
149 echo $(call MAKE_DEPENDS,"$(CLISP_MAXIMA)",clisp-depends.mk.tmp) > clisp-command2.lisp
150 $(EXECUTECLISP) clisp-command2.lisp
151 cat clisp-depends.mk.tmp | sed -e "s#\\\\#/#g" > clisp-depends.mk
153 -include clisp-depends.mk
157 rm -rf binary-clisp clisp-command.lisp clisp-command2.lisp
158 CLEAN_TARGETS += clean-clisp
160 ## CMUCL #######################################################################
163 EXTRA_SCRIPTS += $(CMU_MAXIMA) lisp
166 CMU_MAXIMA = binary-cmucl/maxima
167 cmucllib_SCRIPTS = $(CMU_MAXIMA)
168 cmuflag = :executable t :init-function '\''cl-user::run
170 CMU_MAXIMA = binary-cmucl/maxima.core
171 cmucllib_SCRIPTS = lisp
172 cmucllib_DATA = $(CMU_MAXIMA)
176 # Newer versions of CMUCL have an INTL package that is compatible with
177 # maxima's. We just bind intl::*default-domain* here so that when we
178 # compile the files, we will get appropriate translations. (Otherwise
179 # we have to put (intl:textdomain "maxima") in each Lisp file.
180 INITINTL = (when (find-package "INTL") (set (find-symbol "*DEFAULT-DOMAIN*" "INTL") "maxima"))
181 CMU_COMPILE = echo '$(QUIET) $(INITINTL) $(LOADDEFSYSTEM) $(DEFSYSTEMCOMPILE)' | $(EXECUTECMUCL)
182 CMU_WRITE = echo '$(LOADDEFSYSTEM) $(DEFSYSTEMLOAD) (ext:save-lisp "$(CMU_MAXIMA)" $(cmuflag))' | $(EXECUTECMUCL)
183 CMU_BUILD = ($(CMU_COMPILE)) && ($(CMU_WRITE))
184 EXECUTECMUCL = $(CMUCL_NAME) -noinit -batch
186 cmucllibdir = $(verpkglibdir)/binary-cmucl
187 BUILT_FILES += $(CMU_MAXIMA)
195 cmucl-depends.mk: maxima.system Makefile *.lisp
196 echo $(call MAKE_DEPENDS,"$(CMU_MAXIMA)",cmucl-depends.mk.tmp) | $(EXECUTECMUCL)
197 cat cmucl-depends.mk.tmp | sed -e "s#\\\\#/#g" > cmucl-depends.mk
199 -include cmucl-depends.mk
204 CLEAN_TARGETS += clean-cmucl
206 ## SCL #########################################################################
209 scllibdir = $(verpkglibdir)/binary-scl
211 EXECUTESCL = $(SCL_NAME) -noinit -batch
212 BUILT_FILES += binary-scl/maxima.core
213 scllib_DATA = binary-scl/maxima.core
215 scl: binary-scl/maxima.core
217 binary-scl/maxima.core:
219 (echo '$(QUIET) $(LOADDEFSYSTEM) $(DEFSYSTEMCOMPILE)' | $(EXECUTESCL)) && \
220 (echo '$(LOADDEFSYSTEM) $(DEFSYSTEMLOAD) (ext:save-lisp "binary-scl/maxima.core")' | $(EXECUTESCL))
222 ## Just like with clisp, we install an extra copy of SCL. No, I don't
223 ## understand either. Also, I just read the SCL license agreement. Is
224 ## the user even allowed to do this?!
225 WEIRD_INSTALL_TARGETS += install-scl-copy
226 WEIRD_UNINSTALL_TARGETS += uninstall-scl-copy
228 $(mkinstalldirs) $(DESTDIR)$(scllibdir)
229 $(INSTALL_PROGRAM) @SCL_RUNTIME_PATH@ "$(DESTDIR)$(scllibdir)/@SCL_RUNTIME@"
231 rm -f "$(DESTDIR)$(scllibdir)/@SCL_RUNTIME@"
233 scl-depends.mk: maxima.system Makefile *.lisp
234 echo $(call MAKE_DEPENDS,"binary-scl/maxima.core",scl-depends.mk.tmp) | $(EXECUTESCL)
235 cat scl-depends.mk.tmp | sed -e "s#\\\\#/#g" > scl-depends.mk
237 -include scl-depends.mk
243 CLEAN_TARGETS += clean-scl
245 ## ACL #########################################################################
248 acllibdir = $(verpkglibdir)/binary-acl
250 EXECUTEACL = $(ACL_NAME) -batch
251 BUILT_FILES += binary-acl/maxima.dxl
253 acllib_DATA = binary-acl/maxima.dxl
255 acl: binary-acl/maxima.dxl
257 binary-acl/maxima.dxl:
259 (echo '$(QUIET) $(LOADDEFSYSTEM) $(DEFSYSTEMCOMPILE)' | $(EXECUTEACL)) && \
260 (echo '$(LOADDEFSYSTEM) $(DEFSYSTEMLOAD) (excl:dumplisp :name "binary-acl/maxima.dxl")' | $(EXECUTEACL))
262 acl-depends.mk: maxima.system Makefile *.lisp
263 echo $(call MAKE_DEPENDS,"binary-acl/maxima.dxl",acl-depends.mk.tmp) | $(EXECUTEACL)
264 cat acl-depends.mk.tmp | sed -e "s#\\\\#/#g" > acl-depends.mk
266 -include acl-depends.mk
271 CLEAN_TARGETS += clean-acl
273 ## SBCL ########################################################################
276 sbcllibdir = $(verpkglibdir)/binary-sbcl
278 EXTRA_SCRIPTS += $(SBCL_MAXIMA)
281 SBCL_MAXIMA = binary-sbcl/maxima$(EXEEXT)
282 sbcllib_SCRIPTS = $(SBCL_MAXIMA)
283 sb_slad = (sb-ext:save-lisp-and-die "$@" :executable t)
285 SBCL_MAXIMA = binary-sbcl/maxima.core
286 sbcllib_DATA = $(SBCL_MAXIMA)
287 sb_slad = (sb-ext:save-lisp-and-die "$@")
290 EXECUTESBCL = "$(SBCL_NAME)" --noinform --noprint $(SBCL_EXTRA_ARGS)
291 BUILT_FILES += $(SBCL_MAXIMA)
293 COMPILE_SBCL = echo '$(QUIET) $(LOADDEFSYSTEM) $(DEFSYSTEMCOMPILE) (sb-ext:quit)' | $(EXECUTESBCL)
294 WRITE_SBCL = echo '$(LOADDEFSYSTEM) $(DEFSYSTEMLOAD) $(sb_slad) (sb-ext:quit)' | $(EXECUTESBCL)
295 BUILD_SBCL = $(COMPILE_SBCL) && $(WRITE_SBCL)
303 sbcl-depends.mk: maxima.system Makefile *.lisp
304 echo $(call MAKE_DEPENDS,"$(SBCL_MAXIMA)",sbcl-depends.mk.tmp,(sb-ext:quit)) | $(EXECUTESBCL)
305 cat sbcl-depends.mk.tmp | sed -e "s#\\\\#/#g" > sbcl-depends.mk
307 -include sbcl-depends.mk
312 rm -rf binary-sbcl numerical/binary-sbcl numerical/slatec/binary-sbcl
313 CLEAN_TARGETS += clean-sbcl
315 ## GCL #########################################################################
317 # For gcl we execute all commands from a temp file for the following motive:
319 # Some versions of GCL 2.6.12 don't automatically close at the end of a lisp
320 # file that contains the commands needed for compiling maxima and crash if
321 # they reach a (quit). In newer versions of 2.6.12 sending the (quit) from the
322 # command-line causes a crash.
323 # GCL's --eval switch adds an implicit (progn) that breaks defsystem's
324 # (mk:add-registry-location).
325 # And when executing commands from stdin some GCL versions get the
326 # end-of-file from the end of the command list too early and therefore close
327 # before the last command has been processed.
328 # Providing all commands from the command-line and ending them with a
329 # (quit) so it doesn't matter if lisp automatically closes at the last
330 # or the second last command seems to work, though.
334 gcllibdir = $(verpkglibdir)/binary-gcl
336 EXTRA_SCRIPTS += binary-gcl/maxima
337 gcllib_SCRIPTS = binary-gcl/maxima
339 EXECUTEGCL = $(GCL_NAME)
340 BUILT_FILES += binary-gcl/maxima
342 sys_proc_dependency = tools/sys-proclaim.lisp
343 gcl_depends_targets = (list "binary-gcl/maxima" "tools/sys-proclaim.lisp")
345 tools/sys-proclaim.lisp: maxima.system *.lisp
347 touch sys-proclaim.lisp
349 echo '(load "generate-sys-proclaim.lisp") (system::quit)' | $(EXECUTEGCL)
352 mv sys-proclaim.lisp tools
354 gcl: binary-gcl/maxima
356 binary-gcl/maxima: $(sys_proc_dependency) gcl-depends.mk
359 echo '$(QUIET) $(LOADDEFSYSTEM) $(DEFSYSTEMCOMPILE) (system::quit)' | $(EXECUTEGCL)
360 echo '(let ((com (quote (progn (defvar compiler::*gazonk-prefix* "gazonk") (defun compiler::gazonk-name (&aux tem)(dotimes (i 1000) (unless (probe-file (setq tem (merge-pathnames (format nil "~d~d.lsp" compiler::*gazonk-prefix* i))))(return-from compiler::gazonk-name (pathname tem))))(error "1000 gazonk names used already!"))(let ((compiler::*gazonk-prefix* "maxima_gazonk")(compiler::*keep-gaz* t))$(LOADDEFSYSTEM)$(DEFSYSTEMLOAD))))))(let ((si::*collect-binary-modules* t))(eval com)(let ((compiler::*default-system-p* t))(dolist (l (directory "maxima_gazonk*.lsp")) (compile-file l) (delete-file l)))(compiler::link si::*binary-modules* "binary-gcl/maxima" (format nil "~S" com) "" nil)(dolist (l (directory "maxima_gazonk*.lsp")) (delete-file l)))) (system::quit)' | $(EXECUTEGCL)
362 echo '$(LOADDEFSYSTEM) $(DEFSYSTEMCOMPILE) (system::quit)' | $(EXECUTEGCL)
363 echo '$(LOADDEFSYSTEM) $(DEFSYSTEMLOAD) (when (fboundp (quote si::sgc-on))(si::sgc-on t)) (si:save-system "binary-gcl/maxima") (system::quit)' | $(EXECUTEGCL)
366 gcl-depends.mk: maxima.system Makefile *.lisp
367 echo $(call MAKE_DEPENDS,$(gcl_depends_targets),gcl-depends.mk.tmp) '(system::quit)' | $(EXECUTEGCL)
368 cat gcl-depends.mk.tmp | sed -e "s#\\\\#/#g" > gcl-depends.mk
369 -include gcl-depends.mk
375 CLEAN_TARGETS += clean-gcl
377 ## OPENMCL / CCL ###############################################################
380 openmcllibdir = $(verpkglibdir)/binary-openmcl
381 EXTRA_SCRIPTS += $(OPENMCL_MAXIMA)
384 OPENMCL_MAXIMA = binary-openmcl/maxima$(EXEEXT)
385 openmcllib_SCRIPTS = $(OPENMCL_MAXIMA)
386 omcl_flag = :prepend-kernel t
388 OPENMCL_MAXIMA = binary-openmcl/maxima.image
389 openmcllib_DATA = $(OPENMCL_MAXIMA)
393 EXECUTEOPENMCL = $(OPENMCL_NAME)
394 BUILT_FILES += $(OPENMCL_MAXIMA)
396 COMPILE_OMCL = echo '$(QUIET) (require :defsystem) (mk:add-registry-location "$(top_srcdir)/src/") $(DEFSYSTEMCOMPILE) (ccl::quit)' | $(EXECUTEOPENMCL)
397 WRITE_OMCL = echo '(require :defsystem) (mk:add-registry-location "$(top_srcdir)/src/") $(DEFSYSTEMLOAD) (ccl:save-application "$@") (ccl::quit)' | $(EXECUTEOPENMCL)
398 BUILD_OMCL = $(COMPILE_OMCL) && $(WRITE_OMCL)
400 openmcl: $(OPENMCL_MAXIMA)
404 echo '(require :defsystem) $(DEFSYSTEMCOMPILE) (ccl::quit)' | $(EXECUTEOPENMCL) \
406 echo '(require :defsystem) $(DEFSYSTEMLOAD) (ccl:save-application "$@" $(omcl_flag)) (ccl::quit)' | $(EXECUTEOPENMCL)
408 openmcl-depends.mk: maxima.system Makefile *.lisp
409 echo $(call MAKE_DEPENDS,"$(OPENMCL_MAXIMA)",openmcl-depends.mk.tmp,(ccl:quit)) | $(EXECUTEOPENMCL)
410 cat openmcl-depends.mk.tmp | sed -e "s#\\\\#/#g" > openmcl-depends.mk
412 -include openmcl-depends.mk
417 rm -rf binary-openmcl
418 CLEAN_TARGETS += clean-openmcl
420 ## CCL64 #######################################################################
424 ccl64libdir = $(verpkglibdir)/binary-ccl64
425 EXTRA_SCRIPTS += $(OPENMCL_MAXIMA)
428 CCL64_MAXIMA = binary-ccl64/maxima$(EXEEXT)
429 ccl64lib_SCRIPTS = $(CCL64_MAXIMA)
430 omcl_flag = :prepend-kernel t
432 CCL64_MAXIMA = binary-ccl64/maxima.image
433 ccl64lib_DATA = $(CCL64_MAXIMA)
437 EXECUTECCL64 = $(CCL64_NAME)
438 BUILT_FILES += $(CCL64_MAXIMA)
440 COMPILE_CCL64 = echo '$(QUIET) (require :defsystem) (mk:add-registry-location "$(top_srcdir)/src/") $(DEFSYSTEMCOMPILE) (ccl::quit)' | $(EXECUTECCL64)
441 WRITE_CCL64 = echo '(require :defsystem) (mk:add-registry-location "$(top_srcdir)/src/") $(DEFSYSTEMLOAD) (ccl:save-application "$@") (ccl::quit)' | $(EXECUTECCL64)
442 BUILD_CCL64 = $(COMPILE_CCL64) && $(WRITE_CCL64)
444 ccl64: $(CCL64_MAXIMA)
448 echo '(require :defsystem) $(DEFSYSTEMCOMPILE) (ccl::quit)' | $(EXECUTECCL64) \
450 echo '(require :defsystem) $(DEFSYSTEMLOAD) (ccl:save-application "$@" $(omcl_flag)) (ccl::quit)' | $(EXECUTECCL64)
452 ccl64-depends.mk: maxima.system Makefile *.lisp
453 echo $(call MAKE_DEPENDS,"$(CCL64_MAXIMA)",ccl64-depends.mk.tmp,(ccl:quit)) | $(EXECUTECCL64)
454 cat ccl64-depends.mk.tmp | sed -e "s#\\\\#/#g" > ccl64-depends.mk
456 -include ccl64-depends.mk
463 CLEAN_TARGETS += clean-ccl64
465 ## ECL #########################################################################
468 ecllibdir = $(verpkglibdir)/binary-ecl
469 EXTRA_SCRIPTS += binary-ecl/maxima
470 ecllib_SCRIPTS = binary-ecl/maxima
472 EXECUTEECL = $(ECL_NAME) -norc
473 BUILT_FILES += binary-ecl/maxima
475 ecl:binary-ecl/maxima
479 echo '$(QUIET) $(LOADDEFSYSTEM) $(DEFSYSTEMCOMPILE) (build-maxima-lib) (ext:quit)' | $(EXECUTEECL)
481 ecl-depends.mk: maxima.system Makefile *.lisp
482 echo $(call MAKE_DEPENDS,"binary-ecl/maxima",ecl-depends.mk.tmp,(quit)) | $(EXECUTEECL)
483 cat ecl-depends.mk.tmp | sed -e "s#\\\\#/#g" > ecl-depends.mk
485 -include ecl-depends.mk
489 rm -rf binary-ecl libmaxima.a
490 CLEAN_TARGETS += clean-ecl
492 ## ABCL ########################################################################
495 # ABCL compiles the individual files maxima is comprised of. But they aren't
496 # compiled into a single .jar archive, but need to be loaded by abcl in the
497 # right order => We need to copy all the stuff defsystem needs into the binary
498 # folder and need to use defsystem for loading all the files in the Right Order.
500 abcllibdir = $(verpkglibdir)/binary-abcl
501 EXTRA_SCRIPTS += binary-abcl/maxima
502 abcllib_SCRIPTS = binary-abcl/maxima
504 EXECUTEABCL = $(JRE) -jar $(ABCL_JAR) --noinit
505 BUILT_FILES += binary-abcl/maxima
507 WEIRD_INSTALL_TARGETS += install-abcl-folder
508 WEIRD_UNINSTALL_TARGETS += uninstall-abcl-folder
511 $(mkinstalldirs) $(DESTDIR)$(abcllibdir)
512 cp -r binary-abcl/* "$(DESTDIR)$(abcllibdir)"
513 chmod +x $(DESTDIR)$(abcllibdir)/maxima
514 uninstall-abcl-folder:
515 if test x"$(abcllibdir)" = x"" ; then echo "Error: No known maxima version"; exit -1; else rm -f "$(DESTDIR)$(abcllibdir)/*"; fi
517 abcl:binary-abcl/maxima
520 binary-abcl/maxima: Makefile.am startmaxima_abcl.sh
523 $(EXECUTEABCL) --eval '(setq *compile-verbose* nil)' --eval '(setf *compile-print* nil)' --eval '(load "$(top_srcdir)/lisp-utils/defsystem.lisp")' --eval '(mk:add-registry-location "$(top_srcdir)/src/")' --eval '($(DS_OOS) :compile :verbose nil)' --eval '(quit)'
525 $(EXECUTEABCL) --eval '(load "$(top_srcdir)/lisp-utils/defsystem.lisp")' --eval '(mk:add-registry-location "$(top_srcdir)/src/")' --eval '($(DS_OOS) :compile :verbose t)' --eval '(quit)'
527 cat $(srcdir)/maxima.system | sed -e 's#"binary-abcl"#(ext:getenv "MAXIMA_IMAGESDIR_BIN")#g' > binary-abcl/maxima.system
528 cp $(srcdir)/maxima-package.lisp binary-abcl
529 cp $(srcdir)/autol.lisp binary-abcl
530 cp $(srcdir)/init-cl.lisp binary-abcl
531 cp $(srcdir)/max_ext.lisp binary-abcl
532 cp share-subdirs.lisp binary-abcl
533 cp autoconf-variables.lisp binary-abcl
534 cp $(ABCL_JAR) binary-abcl/abcl.jar
535 cp $(srcdir)/../lisp-utils/defsystem.lisp binary-abcl
536 cp -a startmaxima_abcl.sh binary-abcl/maxima
537 touch binary-abcl/maxima
538 chmod +x binary-abcl/maxima
540 abcl-depends.mk: maxima.system Makefile *.lisp
541 echo $(call MAKE_DEPENDS,"binary-abcl/maxima",abcl-depends.mk.tmp,(quit)) | $(EXECUTEABCL)
542 cat abcl-depends.mk.tmp | sed -e "s#\\\\#/#g" > abcl-depends.mk
544 -include abcl-depends.mk
548 rm -rf binary-abcl libmaxima.a
549 CLEAN_TARGETS += clean-abcl