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 $(srcdir)/*.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.
48 all-local: $(BUILT_FILES)
50 DISTCLEAN_FILES=$(DISTCLEAN_EXTRA_SRC_FILES)
52 ## The "clean" rule always just deletes some files and they are
53 ## specified in the conditional sections by adding
54 ## implementation-specific targets to the list CLEAN_TARGETS.
56 clean-local: $(CLEAN_TARGETS)
58 ## Tell make clean to delete all the <foo>-depends.mk files.
60 clisp-depends.mk cmucl-depends.mk scl-depends.mk acl-depends.mk \
61 sbcl-depends.mk gcl-depends.mk openmcl-depends.mk ecl-depends.mk abcl-depends.mk
62 CLEANFILES = $(DEPENDS_FILES) tools/sys-proclaim.lisp
64 ## Similarly, we do something hacky with the install rule. Most of the
65 ## time, we can actually use Automake's tools for this, but for the
66 ## crazy "install another copy of the implementation" approach that we
67 ## use with SCL and CLISP, we need to do it by hand.
68 WEIRD_INSTALL_TARGETS =
69 WEIRD_UNINSTALL_TARGETS =
70 install-exec-local: $(WEIRD_INSTALL_TARGETS)
71 uninstall-hook: $(WEIRD_UNINSTALL_TARGETS)
73 ## A rule to build binary directories of the form binary-<lispname>
74 ## and subdirectories ./numerical and ./numerical/slatec
75 binary_subdirs = / /numerical /numerical/slatec
76 lisps_enabled = @lisps_enabled@
79 for l in $(lisps_enabled); do for d in $(binary_subdirs); do $(MKDIR_P) binary-$$l$$d; done; done
81 ## Some hunks of lisp that get used by more than one implementation
82 LOADDEFSYSTEM = (load "$(top_srcdir)/lisp-utils/defsystem.lisp") (mk:add-registry-location "$(top_srcdir)/src/")
83 LOADMAKEDEPENDS = (load "$(top_srcdir)/lisp-utils/make-depends.lisp")
84 DS_OOS = funcall (intern (symbol-name :operate-on-system) :mk) "maxima"
86 QUIET="(setf *compile-print* nil) (setq *compile-verbose* nil)"
87 DEFSYSTEMCOMPILE = ($(DS_OOS) :compile :verbose nil)
88 DEFSYSTEMLOAD = ($(DS_OOS) :load :verbose nil )
90 # Set QUIET to an empty list, so that --eval '$(QUIET)' works.
92 DEFSYSTEMCOMPILE = ($(DS_OOS) :compile :verbose t)
93 DEFSYSTEMLOAD = ($(DS_OOS) :load :verbose t)
95 DEFSYSTEMTESTLOAD = ($(DS_OOS) :load :verbose t :test t)
97 ## A function that takes: $(1) = the target name or names (either a
98 ## string or a list of strings); $(2) = <foo>-depends.mk; $(3) = any
99 ## postscript that should be added. It outputs lisp code
100 ## that, when run, should create the dependency Makefile fragments.
101 MAKE_DEPENDS = '$(LOADDEFSYSTEM) $(LOADMAKEDEPENDS) (funcall (intern "CREATE-DEPENDENCY-FILE" :mk) $(1) "$(2)") $(3)'
103 ## CLISP #######################################################################
106 EXTRA_SCRIPTS += $(CLISP_MAXIMA)
109 CLISP_MAXIMA = binary-clisp/maxima$(EXEEXT)
110 clisplib_SCRIPTS = $(CLISP_MAXIMA)
111 clispexeflag = :EXECUTABLE t
113 CLISP_MAXIMA = binary-clisp/maxima.mem
114 clisplib_DATA = $(CLISP_MAXIMA)
116 ## Rather crazily, we install an extra copy of clisp. Maybe there's a
117 ## more sensible approach than this?!
118 WEIRD_INSTALL_TARGETS += install-clisp-copy
119 WEIRD_UNINSTALL_TARGETS += uninstall-clisp-copy
121 $(mkinstalldirs) $(DESTDIR)$(clisplibdir)
122 $(INSTALL_PROGRAM) @CLISP_RUNTIME_PATH@ "$(DESTDIR)$(clisplibdir)/@CLISP_RUNTIME@"
123 uninstall-clisp-copy:
124 rm -f "$(DESTDIR)$(clisplibdir)/@CLISP_RUNTIME@"
127 EXECUTECLISP = $(CLISP_NAME) -norc -q
128 clisplibdir = $(verpkglibdir)/binary-clisp
130 BUILT_FILES += $(CLISP_MAXIMA)
132 clisp: $(CLISP_MAXIMA)
136 echo '$(QUIET) $(LOADDEFSYSTEM) $(DEFSYSTEMCOMPILE)' > clisp-command.lisp
137 $(EXECUTECLISP) clisp-command.lisp
138 echo '$(LOADDEFSYSTEM) $(DEFSYSTEMLOAD) (ext:saveinitmem "$@" :init-function (function cl-user::run) $(clispexeflag))' > clisp-command.lisp
139 $(EXECUTECLISP) clisp-command.lisp
140 rm clisp-command.lisp
142 clisp-depends.mk: maxima.system Makefile *.lisp
143 echo $(call MAKE_DEPENDS,"$(CLISP_MAXIMA)",clisp-depends.mk.tmp) > clisp-command2.lisp
144 $(EXECUTECLISP) clisp-command2.lisp
145 cat clisp-depends.mk.tmp | sed -e "s#\\\\#/#g" > clisp-depends.mk
147 -include clisp-depends.mk
151 rm -rf binary-clisp clisp-command.lisp clisp-command2.lisp
152 CLEAN_TARGETS += clean-clisp
154 ## CMUCL #######################################################################
157 EXTRA_SCRIPTS += $(CMU_MAXIMA) lisp
160 CMU_MAXIMA = binary-cmucl/maxima
161 cmucllib_SCRIPTS = $(CMU_MAXIMA)
162 cmuflag = :executable t :init-function '\''cl-user::run
164 CMU_MAXIMA = binary-cmucl/maxima.core
165 cmucllib_SCRIPTS = lisp
166 cmucllib_DATA = $(CMU_MAXIMA)
170 # Newer versions of CMUCL have an INTL package that is compatible with
171 # maxima's. We just bind intl::*default-domain* here so that when we
172 # compile the files, we will get appropriate translations. (Otherwise
173 # we have to put (intl:textdomain "maxima") in each Lisp file.
174 INITINTL = (when (find-package "INTL") (set (find-symbol "*DEFAULT-DOMAIN*" "INTL") "maxima"))
175 CMU_COMPILE = echo '$(QUIET) $(INITINTL) $(LOADDEFSYSTEM) $(DEFSYSTEMCOMPILE)' | $(EXECUTECMUCL)
176 CMU_WRITE = echo '$(LOADDEFSYSTEM) $(DEFSYSTEMLOAD) (ext:save-lisp "$(CMU_MAXIMA)" $(cmuflag))' | $(EXECUTECMUCL)
177 CMU_BUILD = ($(CMU_COMPILE)) && ($(CMU_WRITE))
178 EXECUTECMUCL = $(CMUCL_NAME) -noinit -batch
180 cmucllibdir = $(verpkglibdir)/binary-cmucl
181 BUILT_FILES += $(CMU_MAXIMA)
189 cmucl-depends.mk: maxima.system Makefile *.lisp
190 echo $(call MAKE_DEPENDS,"$(CMU_MAXIMA)",cmucl-depends.mk.tmp) | $(EXECUTECMUCL)
191 cat cmucl-depends.mk.tmp | sed -e "s#\\\\#/#g" > cmucl-depends.mk
193 -include cmucl-depends.mk
198 CLEAN_TARGETS += clean-cmucl
200 ## SCL #########################################################################
203 scllibdir = $(verpkglibdir)/binary-scl
205 EXECUTESCL = $(SCL_NAME) -noinit -batch
206 BUILT_FILES += binary-scl/maxima.core
207 scllib_DATA = binary-scl/maxima.core
209 scl: binary-scl/maxima.core
211 binary-scl/maxima.core:
213 (echo '$(QUIET) $(LOADDEFSYSTEM) $(DEFSYSTEMCOMPILE)' | $(EXECUTESCL)) && \
214 (echo '$(LOADDEFSYSTEM) $(DEFSYSTEMLOAD) (ext:save-lisp "binary-scl/maxima.core")' | $(EXECUTESCL))
216 ## Just like with clisp, we install an extra copy of SCL. No, I don't
217 ## understand either. Also, I just read the SCL license agreement. Is
218 ## the user even allowed to do this?!
219 WEIRD_INSTALL_TARGETS += install-scl-copy
220 WEIRD_UNINSTALL_TARGETS += uninstall-scl-copy
222 $(mkinstalldirs) $(DESTDIR)$(scllibdir)
223 $(INSTALL_PROGRAM) @SCL_RUNTIME_PATH@ "$(DESTDIR)$(scllibdir)/@SCL_RUNTIME@"
225 rm -f "$(DESTDIR)$(scllibdir)/@SCL_RUNTIME@"
227 scl-depends.mk: maxima.system Makefile *.lisp
228 echo $(call MAKE_DEPENDS,"binary-scl/maxima.core",scl-depends.mk.tmp) | $(EXECUTESCL)
229 cat scl-depends.mk.tmp | sed -e "s#\\\\#/#g" > scl-depends.mk
231 -include scl-depends.mk
237 CLEAN_TARGETS += clean-scl
239 ## ACL #########################################################################
242 acllibdir = $(verpkglibdir)/binary-acl
244 EXECUTEACL = $(ACL_NAME) -batch
245 BUILT_FILES += binary-acl/maxima.dxl
247 acllib_DATA = binary-acl/maxima.dxl
249 acl: binary-acl/maxima.dxl
251 binary-acl/maxima.dxl:
253 (echo '$(QUIET) $(LOADDEFSYSTEM) $(DEFSYSTEMCOMPILE)' | $(EXECUTEACL)) && \
254 (echo '$(LOADDEFSYSTEM) $(DEFSYSTEMLOAD) (excl:dumplisp :name "binary-acl/maxima.dxl")' | $(EXECUTEACL))
256 acl-depends.mk: maxima.system Makefile *.lisp
257 echo $(call MAKE_DEPENDS,"binary-acl/maxima.dxl",acl-depends.mk.tmp) | $(EXECUTEACL)
258 cat acl-depends.mk.tmp | sed -e "s#\\\\#/#g" > acl-depends.mk
260 -include acl-depends.mk
265 CLEAN_TARGETS += clean-acl
267 ## SBCL ########################################################################
270 sbcllibdir = $(verpkglibdir)/binary-sbcl
272 EXTRA_SCRIPTS += $(SBCL_MAXIMA)
275 SBCL_MAXIMA = binary-sbcl/maxima$(EXEEXT)
276 sbcllib_SCRIPTS = $(SBCL_MAXIMA)
277 sb_slad = (sb-ext:save-lisp-and-die "$@" :executable t)
279 SBCL_MAXIMA = binary-sbcl/maxima.core
280 sbcllib_DATA = $(SBCL_MAXIMA)
281 sb_slad = (sb-ext:save-lisp-and-die "$@")
284 EXECUTESBCL = "$(SBCL_NAME)" --noinform --noprint $(SBCL_EXTRA_ARGS)
285 BUILT_FILES += $(SBCL_MAXIMA)
287 COMPILE_SBCL = echo '$(QUIET) $(LOADDEFSYSTEM) $(DEFSYSTEMCOMPILE) (sb-ext:quit)' | $(EXECUTESBCL)
288 WRITE_SBCL = echo '$(LOADDEFSYSTEM) $(DEFSYSTEMLOAD) $(sb_slad) (sb-ext:quit)' | $(EXECUTESBCL)
289 BUILD_SBCL = $(COMPILE_SBCL) && $(WRITE_SBCL)
297 sbcl-depends.mk: maxima.system Makefile *.lisp
298 echo $(call MAKE_DEPENDS,"$(SBCL_MAXIMA)",sbcl-depends.mk.tmp,(sb-ext:quit)) | $(EXECUTESBCL)
299 cat sbcl-depends.mk.tmp | sed -e "s#\\\\#/#g" > sbcl-depends.mk
301 -include sbcl-depends.mk
306 rm -rf binary-sbcl numerical/binary-sbcl numerical/slatec/binary-sbcl
307 CLEAN_TARGETS += clean-sbcl
309 ## GCL #########################################################################
311 # For gcl we execute all commands from a temp file for the following motive:
313 # Some versions of GCL 2.6.12 don't automatically close at the end of a lisp
314 # file that contains the commands needed for compiling maxima and crash if
315 # they reach a (quit). In newer versions of 2.6.12 sending the (quit) from the
316 # command-line causes a crash.
317 # GCL's --eval switch adds an implicit (progn) that breaks defsystem's
318 # (mk:add-registry-location).
319 # And when executing commands from stdin some GCL versions get the
320 # end-of-file from the end of the command list too early and therefore close
321 # before the last command has been processed.
322 # Providing all commands from the command-line and ending them with a
323 # (quit) so it doesn't matter if lisp automatically closes at the last
324 # or the second last command seems to work, though.
328 gcllibdir = $(verpkglibdir)/binary-gcl
330 EXTRA_SCRIPTS += binary-gcl/maxima
331 gcllib_SCRIPTS = binary-gcl/maxima
333 EXECUTEGCL = $(GCL_NAME)
334 BUILT_FILES += binary-gcl/maxima
336 sys_proc_dependency = tools/sys-proclaim.lisp
337 gcl_depends_targets = (list "binary-gcl/maxima" "tools/sys-proclaim.lisp")
339 tools/sys-proclaim.lisp: maxima.system *.lisp
341 touch sys-proclaim.lisp
343 echo '(load "generate-sys-proclaim.lisp") (system::quit)' | $(EXECUTEGCL)
346 mv sys-proclaim.lisp tools
348 gcl: binary-gcl/maxima
350 binary-gcl/maxima: $(sys_proc_dependency) gcl-depends.mk
353 echo '$(QUIET) $(LOADDEFSYSTEM) $(DEFSYSTEMCOMPILE) (system::quit)' | $(EXECUTEGCL)
354 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)
356 echo '$(LOADDEFSYSTEM) $(DEFSYSTEMCOMPILE) (system::quit)' | $(EXECUTEGCL)
357 echo '(setq si::*optimize-maximum-pages* nil) $(LOADDEFSYSTEM) $(DEFSYSTEMLOAD) (setq si::*optimize-maximum-pages* t) (si:save-system "binary-gcl/maxima") (system::quit)' | $(EXECUTEGCL)
360 gcl-depends.mk: maxima.system Makefile *.lisp
361 echo $(call MAKE_DEPENDS,$(gcl_depends_targets),gcl-depends.mk.tmp) '(system::quit)' | $(EXECUTEGCL)
362 cat gcl-depends.mk.tmp | sed -e "s#\\\\#/#g" > gcl-depends.mk
363 -include gcl-depends.mk
369 CLEAN_TARGETS += clean-gcl
371 ## OPENMCL / CCL ###############################################################
374 openmcllibdir = $(verpkglibdir)/binary-openmcl
375 EXTRA_SCRIPTS += $(OPENMCL_MAXIMA)
378 OPENMCL_MAXIMA = binary-openmcl/maxima$(EXEEXT)
379 openmcllib_SCRIPTS = $(OPENMCL_MAXIMA)
380 omcl_flag = :prepend-kernel t
382 OPENMCL_MAXIMA = binary-openmcl/maxima.image
383 openmcllib_DATA = $(OPENMCL_MAXIMA)
387 EXECUTEOPENMCL = $(OPENMCL_NAME)
388 BUILT_FILES += $(OPENMCL_MAXIMA)
390 COMPILE_OMCL = echo '$(QUIET) (require :defsystem) (mk:add-registry-location "$(top_srcdir)/src/") $(DEFSYSTEMCOMPILE) (ccl::quit)' | $(EXECUTEOPENMCL)
391 WRITE_OMCL = echo '(require :defsystem) (mk:add-registry-location "$(top_srcdir)/src/") $(DEFSYSTEMLOAD) (ccl:save-application "$@") (ccl::quit)' | $(EXECUTEOPENMCL)
392 BUILD_OMCL = $(COMPILE_OMCL) && $(WRITE_OMCL)
394 openmcl: $(OPENMCL_MAXIMA)
398 echo '(require :defsystem) $(DEFSYSTEMCOMPILE) (ccl::quit)' | $(EXECUTEOPENMCL) \
400 echo '(require :defsystem) $(DEFSYSTEMLOAD) (ccl:save-application "$@" $(omcl_flag)) (ccl::quit)' | $(EXECUTEOPENMCL)
402 openmcl-depends.mk: maxima.system Makefile *.lisp
403 echo $(call MAKE_DEPENDS,"$(OPENMCL_MAXIMA)",openmcl-depends.mk.tmp,(ccl:quit)) | $(EXECUTEOPENMCL)
404 cat openmcl-depends.mk.tmp | sed -e "s#\\\\#/#g" > openmcl-depends.mk
406 -include openmcl-depends.mk
411 rm -rf binary-openmcl
412 CLEAN_TARGETS += clean-openmcl
414 ## CCL64 #######################################################################
418 ccl64libdir = $(verpkglibdir)/binary-ccl64
419 EXTRA_SCRIPTS += $(OPENMCL_MAXIMA)
422 CCL64_MAXIMA = binary-ccl64/maxima$(EXEEXT)
423 ccl64lib_SCRIPTS = $(CCL64_MAXIMA)
424 omcl_flag = :prepend-kernel t
426 CCL64_MAXIMA = binary-ccl64/maxima.image
427 ccl64lib_DATA = $(CCL64_MAXIMA)
431 EXECUTECCL64 = $(CCL64_NAME)
432 BUILT_FILES += $(CCL64_MAXIMA)
434 COMPILE_CCL64 = $(EXECUTECCL64) --eval '$(QUIET)' --eval '(require :defsystem)' --eval '(mk:add-registry-location "$(top_srcdir)/src/")' --eval '$(DEFSYSTEMCOMPILE)' --eval '(ccl::quit)'
435 WRITE_CCL64 = $(EXECUTECCL64) --eval '(require :defsystem)' --eval '(mk:add-registry-location "$(top_srcdir)/src/")' --eval '$(DEFSYSTEMLOAD)' --eval '(ccl:save-application "$@")' --eval '(ccl::quit)'
436 BUILD_CCL64 = $(COMPILE_CCL64) && $(WRITE_CCL64)
438 ccl64: $(CCL64_MAXIMA)
442 $(EXECUTECCL64) --eval '(require :defsystem)' --eval '$(DEFSYSTEMCOMPILE)' --eval '(ccl::quit)' && \
443 $(EXECUTECCL64) --eval '(require :defsystem)' --eval '$(DEFSYSTEMLOAD)' --eval '(ccl:save-application "$@" $(omcl_flag))' --eval '(ccl::quit)'
445 ccl64-depends.mk: maxima.system Makefile *.lisp
446 echo $(call MAKE_DEPENDS,"$(CCL64_MAXIMA)",ccl64-depends.mk.tmp,(ccl:quit)) >ccl64-depends.mk.tmp
447 $(EXECUTECCL64) --load ccl64-depends.mk.tmp | sed -e "s#\\\\#/#g" > ccl64-depends.mk
449 -include ccl64-depends.mk
456 CLEAN_TARGETS += clean-ccl64
458 ## ECL #########################################################################
461 ecllibdir = $(verpkglibdir)/binary-ecl
462 EXTRA_SCRIPTS += binary-ecl/maxima
463 ecllib_SCRIPTS = binary-ecl/maxima
465 EXECUTEECL = $(ECL_NAME) -norc
466 BUILT_FILES += binary-ecl/maxima
468 ecl:binary-ecl/maxima
472 echo '$(QUIET) $(LOADDEFSYSTEM) $(DEFSYSTEMCOMPILE) (build-maxima-lib) (ext:quit)' | $(EXECUTEECL)
474 ecl-depends.mk: maxima.system Makefile *.lisp
475 echo $(call MAKE_DEPENDS,"binary-ecl/maxima",ecl-depends.mk.tmp,(quit)) | $(EXECUTEECL)
476 cat ecl-depends.mk.tmp | sed -e "s#\\\\#/#g" > ecl-depends.mk
478 -include ecl-depends.mk
482 rm -rf binary-ecl libmaxima.a
483 CLEAN_TARGETS += clean-ecl
485 ## ABCL ########################################################################
488 # ABCL compiles the individual files maxima is comprised of. But they aren't
489 # compiled into a single .jar archive, but need to be loaded by abcl in the
490 # right order => We need to copy all the stuff defsystem needs into the binary
491 # folder and need to use defsystem for loading all the files in the Right Order.
493 abcllibdir = $(verpkglibdir)/binary-abcl
494 EXTRA_SCRIPTS += binary-abcl/maxima
495 abcllib_SCRIPTS = binary-abcl/maxima
497 EXECUTEABCL = $(JRE) -jar $(ABCL_JAR) --noinit
498 BUILT_FILES += binary-abcl/maxima
500 WEIRD_INSTALL_TARGETS += install-abcl-folder
501 WEIRD_UNINSTALL_TARGETS += uninstall-abcl-folder
504 $(mkinstalldirs) $(DESTDIR)$(abcllibdir)
505 cp -r binary-abcl/* "$(DESTDIR)$(abcllibdir)"
506 chmod +x $(DESTDIR)$(abcllibdir)/maxima
507 uninstall-abcl-folder:
508 if test x"$(abcllibdir)" = x"" ; then echo "Error: No known maxima version"; exit -1; else rm -f "$(DESTDIR)$(abcllibdir)/*"; fi
510 abcl:binary-abcl/maxima
513 binary-abcl/maxima: Makefile.am startmaxima_abcl.sh
516 $(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)'
518 $(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)'
520 cat $(srcdir)/maxima.system | sed -e 's#"binary-abcl"#(ext:getenv "MAXIMA_IMAGESDIR_BIN")#g' > binary-abcl/maxima.system
521 cp $(srcdir)/maxima-package.lisp binary-abcl
522 cp $(srcdir)/autol.lisp binary-abcl
523 cp $(srcdir)/init-cl.lisp binary-abcl
524 cp $(srcdir)/max_ext.lisp binary-abcl
525 cp autoconf-variables.lisp binary-abcl
526 cp $(ABCL_JAR) binary-abcl/abcl.jar
527 cp $(srcdir)/../lisp-utils/defsystem.lisp binary-abcl
528 cp -a startmaxima_abcl.sh binary-abcl/maxima
529 touch binary-abcl/maxima
530 chmod +x binary-abcl/maxima
532 abcl-depends.mk: maxima.system Makefile *.lisp
533 echo $(call MAKE_DEPENDS,"binary-abcl/maxima",abcl-depends.mk.tmp,(quit)) | $(EXECUTEABCL)
534 cat abcl-depends.mk.tmp | sed -e "s#\\\\#/#g" > abcl-depends.mk
536 -include abcl-depends.mk
540 rm -rf binary-abcl libmaxima.a
541 CLEAN_TARGETS += clean-abcl
544 rm -f sbcl-depends.mk.tmp