From d8a4d498a6a0d1d34e25b6838b6450bd7d3e646f Mon Sep 17 00:00:00 2001 From: dos-reis Date: Thu, 22 May 2008 15:25:13 +0000 Subject: Avoid numeric constants macros. --- Makefile.in | 254 +++--- configure | 66 +- configure.ac | 1335 +++++++++++++-------------- configure.ac.pamphlet | 11 +- src/ChangeLog | 2 + src/Makefile.in | 142 ++- src/Makefile.pamphlet | 4 - src/algebra/Makefile.in | 2316 +++++++++++++++++++++++------------------------ src/hyper/Makefile.in | 5 +- src/hyper/htadd.c | 4 +- src/hyper/token.h | 370 ++++---- src/input/Makefile.in | 1502 +++++++++++++++--------------- src/interp/Makefile.in | 918 +++++++++---------- 13 files changed, 3465 insertions(+), 3464 deletions(-) diff --git a/Makefile.in b/Makefile.in index 6a823af9..e87b1701 100644 --- a/Makefile.in +++ b/Makefile.in @@ -1,127 +1,127 @@ - -## ---------------------------------------- -## -- Old-style OpenAxiom makefile variables -- -## ---------------------------------------- - -GCLOPTS=@GCLOPTS@ - -pamphlets = configure.ac.pamphlet Makefile.pamphlet - - -subdir = - -SUBDIRS = src - -build_srcdir = $(builddir)/src - -AXIOM_SRC_TARGETS = all-algebra all-asq all-axiomsys all-boot \ - all-clef all-doc all-graph all-hyper all-input all-interpsys \ - all-lib all-lisp all-sman all-driver all-src - -.PHONY: all $(AXIOM_SRC_TARGETS) -all: all-ax - -all-ax: all-src - @echo finished system build on `date` | tee > lastBuildDate - -all-src: stamp-rootdirs @axiom_all_prerequisites@ - -ifeq ($(strip $(axiom_include_gcl)),yes) -all-boot all-lisp all-interpsys all-axiomsys \ - all-algebra all-input: all-gcl -endif - -$(AXIOM_SRC_TARGETS): - cd "$(build_srcdir)" && $(MAKE) $@ - -stamp-rootdirs: $(axiom_build_document) - @mkdir -p "${TMP}" - @$(STAMP) stamp-rootdirs - - -.PHONY: all-noweb -all-noweb: $(axiom_build_bindir)/notangle - -.PHONY: maybe-cp-noweb-srcdir -maybe-cp-noweb-srcdir: $(srcdir)/noweb - ## Even though out-of-source build is what we recommend, - ## noweb does not directly support that sort of build. - ## So we copy the source to the build directory. - ## We try to be nice to those who chose otherwise - ## to build directly from the OpenAxiom source dir. - if test "$(srcdir)" != "$(builddir)" -a ! -d noweb; then \ - cp -r "$(srcdir)"/noweb "$(builddir)"; \ - fi - -$(addprefix $(axiom_build_bindir)/, notangle noweave): maybe-cp-noweb-srcdir - ## Noweb would like to install many things even if we - ## are not interested in those. Prepare the ground. - $(mkinstalldirs) "$(axiom_build_bindir)" - $(mkinstalldirs) "$(axiom_build_libdir)" - $(mkinstalldirs) "$(axiom_build_texdir)" - $(mkinstalldirs) "$(axiom_build_mandir)" - $(TOUCH) $(addprefix noweb/src/shell/, \ - noweave notangle noweb noroff toroff) \ - $(wildcard "$(builddir)"/noweb/src/c/*.h) \ - $(wildcard "$(builddir)"/noweb/src/c/*.c) - ## noweb's Makefile needs editing before we can build to suit - ## our needs. In particular, we must say when helper programs go, - ## where the noweb style file goes, where the man pages go (even though - ## in this specific context, they are not needed). Finally, - ## noweb insists on running `texhash' after installation, which is - ## of no practical value for us in ths specific context. We must - ## convince it not to go there. - cd noweb/src && \ - cat Makefile \ - | sed -e "s,^BIN=.*,BIN=$(axiom_abs_build_bindir)," \ - -e "s,^LIB=.*,LIB=$(axiom_abs_build_libdir)," \ - -e "s,^MAN=.*,MAN=$(axiom_abs_build_mandir)," \ - -e "s,^TEXINPUTS=.*,TEXINPUTS=$(axiom_abs_build_texdir)," \ - -e "s, make , $$\(MAKE\) ," \ - -e "s,c/nt,c/nt$(EXEEXT)," \ - -e "s,c/markup,c/markup$(EXEEXT)," \ - -e "s,c/mnt,c/mnt$(EXEEXT)," \ - -e "s,c/finduses,c/finduses$(EXEEXT)," \ - -e "s/-texhash.*/:/" \ - -e "s/ install-elisp//" \ - > Makefile.tmp && mv Makefile.tmp Makefile && \ - ./awkname $(AWK) && $(MAKE) all install -.PHONY: all-gcl -all-gcl: $(axiom_build_bindir)/gcl$(EXEEXT) - -$(axiom_build_bindir)/gcl$(EXEEXT): - if test "$(srcdir)" != "$(builddir)" -a ! -d gcl; then \ - cp -r "$(srcdir)"/gcl "$(builddir)"; \ - fi; cd gcl; \ - ./configure --prefix="$(axiom_abs_builddir)" ${GCLOPTS} && \ - $(MAKE) && $(MAKE) install -install: - @echo Installing OpenAxiom in $(DESTDIR)$(prefix) - @$(mkinstalldirs) "$(DESTDIR)$(open_axiom_installdir)" - cp -pr "$(builddir)"/$(target)/* "$(DESTDIR)$(open_axiom_installdir)" - rm -f "$(DESTDIR)$(bindir)"/open-axiom - @$(mkinstalldirs) "$(DESTDIR)$(bindir)" - $(INSTALL_PROGRAM) src/driver/open-axiom$(EXEEXT) "$(DESTDIR)$(bindir)" - @echo OpenAxiom installation finished. - -.PHONY: check -check: - cd src && $(MAKE) all-check - - -mostlyclean-local: - @-rm -f lastBuildDate - -clean-local: mostlyclean-local - @rm -fr "$(axiom_build_nowebdir)" - @ rm -f stamp-* - @ rm -rf int - -distclean-local: clean-local - @-rm -rf build - @-rm -rf "$(axiom_targetdir)" - @-rm -f config.status config.log - @-rm -f Makefile - -$(top_builddir)/config.status: $(top_srcdir)/configure - $(SHELL) ./config.status --recheck + +## ---------------------------------------- +## -- Old-style OpenAxiom makefile variables -- +## ---------------------------------------- + +GCLOPTS=@GCLOPTS@ + +pamphlets = configure.ac.pamphlet Makefile.pamphlet + + +subdir = + +SUBDIRS = src + +build_srcdir = $(builddir)/src + +AXIOM_SRC_TARGETS = all-algebra all-asq all-axiomsys all-boot \ + all-clef all-doc all-graph all-hyper all-input all-interpsys \ + all-lib all-lisp all-sman all-driver all-src + +.PHONY: all $(AXIOM_SRC_TARGETS) +all: all-ax + +all-ax: all-src + @echo finished system build on `date` | tee > lastBuildDate + +all-src: stamp-rootdirs @axiom_all_prerequisites@ + +ifeq ($(strip $(axiom_include_gcl)),yes) +all-boot all-lisp all-interpsys all-axiomsys \ + all-algebra all-input: all-gcl +endif + +$(AXIOM_SRC_TARGETS): + cd "$(build_srcdir)" && $(MAKE) $@ + +stamp-rootdirs: $(axiom_build_document) + @mkdir -p "${TMP}" + @$(STAMP) stamp-rootdirs + + +.PHONY: all-noweb +all-noweb: $(axiom_build_bindir)/notangle + +.PHONY: maybe-cp-noweb-srcdir +maybe-cp-noweb-srcdir: $(srcdir)/noweb + ## Even though out-of-source build is what we recommend, + ## noweb does not directly support that sort of build. + ## So we copy the source to the build directory. + ## We try to be nice to those who chose otherwise + ## to build directly from the OpenAxiom source dir. + if test "$(srcdir)" != "$(builddir)" -a ! -d noweb; then \ + cp -r "$(srcdir)"/noweb "$(builddir)"; \ + fi + +$(addprefix $(axiom_build_bindir)/, notangle noweave): maybe-cp-noweb-srcdir + ## Noweb would like to install many things even if we + ## are not interested in those. Prepare the ground. + $(mkinstalldirs) "$(axiom_build_bindir)" + $(mkinstalldirs) "$(axiom_build_libdir)" + $(mkinstalldirs) "$(axiom_build_texdir)" + $(mkinstalldirs) "$(axiom_build_mandir)" + $(TOUCH) $(addprefix noweb/src/shell/, \ + noweave notangle noweb noroff toroff) \ + $(wildcard "$(builddir)"/noweb/src/c/*.h) \ + $(wildcard "$(builddir)"/noweb/src/c/*.c) + ## noweb's Makefile needs editing before we can build to suit + ## our needs. In particular, we must say when helper programs go, + ## where the noweb style file goes, where the man pages go (even though + ## in this specific context, they are not needed). Finally, + ## noweb insists on running `texhash' after installation, which is + ## of no practical value for us in ths specific context. We must + ## convince it not to go there. + cd noweb/src && \ + cat Makefile \ + | sed -e "s,^BIN=.*,BIN=$(axiom_abs_build_bindir)," \ + -e "s,^LIB=.*,LIB=$(axiom_abs_build_libdir)," \ + -e "s,^MAN=.*,MAN=$(axiom_abs_build_mandir)," \ + -e "s,^TEXINPUTS=.*,TEXINPUTS=$(axiom_abs_build_texdir)," \ + -e "s, make , $$\(MAKE\) ," \ + -e "s,c/nt,c/nt$(EXEEXT)," \ + -e "s,c/markup,c/markup$(EXEEXT)," \ + -e "s,c/mnt,c/mnt$(EXEEXT)," \ + -e "s,c/finduses,c/finduses$(EXEEXT)," \ + -e "s/-texhash.*/:/" \ + -e "s/ install-elisp//" \ + > Makefile.tmp && mv Makefile.tmp Makefile && \ + ./awkname $(AWK) && $(MAKE) all install +.PHONY: all-gcl +all-gcl: $(axiom_build_bindir)/gcl$(EXEEXT) + +$(axiom_build_bindir)/gcl$(EXEEXT): + if test "$(srcdir)" != "$(builddir)" -a ! -d gcl; then \ + cp -r "$(srcdir)"/gcl "$(builddir)"; \ + fi; cd gcl; \ + ./configure --prefix="$(axiom_abs_builddir)" ${GCLOPTS} && \ + $(MAKE) && $(MAKE) install +install: + @echo Installing OpenAxiom in $(DESTDIR)$(prefix) + @$(mkinstalldirs) "$(DESTDIR)$(open_axiom_installdir)" + cp -pr "$(builddir)"/$(target)/* "$(DESTDIR)$(open_axiom_installdir)" + rm -f "$(DESTDIR)$(bindir)"/open-axiom + @$(mkinstalldirs) "$(DESTDIR)$(bindir)" + $(INSTALL_PROGRAM) src/driver/open-axiom$(EXEEXT) "$(DESTDIR)$(bindir)" + @echo OpenAxiom installation finished. + +.PHONY: check +check: + cd src && $(MAKE) all-check + + +mostlyclean-local: + @-rm -f lastBuildDate + +clean-local: mostlyclean-local + @rm -fr "$(axiom_build_nowebdir)" + @ rm -f stamp-* + @ rm -rf int + +distclean-local: clean-local + @-rm -rf build + @-rm -rf "$(axiom_targetdir)" + @-rm -f config.status config.log + @-rm -f Makefile + +$(top_builddir)/config.status: $(top_srcdir)/configure + $(SHELL) ./config.status --recheck diff --git a/configure b/configure index 5384a46c..7a2db870 100755 --- a/configure +++ b/configure @@ -870,6 +870,7 @@ X_EXTRA_LIBS X_CLFAGS axiom_src_all axiom_use_x +openaxiom_host_has_regex PLF CCF LDF @@ -3796,7 +3797,7 @@ ia64-*-hpux*) ;; *-*-irix6*) # Find out which ABI we are using. - echo '#line 3799 "configure"' > conftest.$ac_ext + echo '#line 3800 "configure"' > conftest.$ac_ext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? @@ -6941,11 +6942,11 @@ else -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:6944: $lt_compile\"" >&5) + (eval echo "\"\$as_me:6945: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 - echo "$as_me:6948: \$? = $ac_status" >&5 + echo "$as_me:6949: \$? = $ac_status" >&5 if (exit $ac_status) && test -s "$ac_outfile"; then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings other than the usual output. @@ -7209,11 +7210,11 @@ else -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:7212: $lt_compile\"" >&5) + (eval echo "\"\$as_me:7213: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 - echo "$as_me:7216: \$? = $ac_status" >&5 + echo "$as_me:7217: \$? = $ac_status" >&5 if (exit $ac_status) && test -s "$ac_outfile"; then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings other than the usual output. @@ -7313,11 +7314,11 @@ else -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:7316: $lt_compile\"" >&5) + (eval echo "\"\$as_me:7317: $lt_compile\"" >&5) (eval "$lt_compile" 2>out/conftest.err) ac_status=$? cat out/conftest.err >&5 - echo "$as_me:7320: \$? = $ac_status" >&5 + echo "$as_me:7321: \$? = $ac_status" >&5 if (exit $ac_status) && test -s out/conftest2.$ac_objext then # The compiler can only warn and ignore the option if not recognized @@ -9765,7 +9766,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext < conftest.$ac_ext <&5) + (eval echo "\"\$as_me:12237: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 - echo "$as_me:12240: \$? = $ac_status" >&5 + echo "$as_me:12241: \$? = $ac_status" >&5 if (exit $ac_status) && test -s "$ac_outfile"; then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings other than the usual output. @@ -12337,11 +12338,11 @@ else -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:12340: $lt_compile\"" >&5) + (eval echo "\"\$as_me:12341: $lt_compile\"" >&5) (eval "$lt_compile" 2>out/conftest.err) ac_status=$? cat out/conftest.err >&5 - echo "$as_me:12344: \$? = $ac_status" >&5 + echo "$as_me:12345: \$? = $ac_status" >&5 if (exit $ac_status) && test -s out/conftest2.$ac_objext then # The compiler can only warn and ignore the option if not recognized @@ -13907,11 +13908,11 @@ else -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:13910: $lt_compile\"" >&5) + (eval echo "\"\$as_me:13911: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 - echo "$as_me:13914: \$? = $ac_status" >&5 + echo "$as_me:13915: \$? = $ac_status" >&5 if (exit $ac_status) && test -s "$ac_outfile"; then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings other than the usual output. @@ -14011,11 +14012,11 @@ else -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:14014: $lt_compile\"" >&5) + (eval echo "\"\$as_me:14015: $lt_compile\"" >&5) (eval "$lt_compile" 2>out/conftest.err) ac_status=$? cat out/conftest.err >&5 - echo "$as_me:14018: \$? = $ac_status" >&5 + echo "$as_me:14019: \$? = $ac_status" >&5 if (exit $ac_status) && test -s out/conftest2.$ac_objext then # The compiler can only warn and ignore the option if not recognized @@ -16241,11 +16242,11 @@ else -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:16244: $lt_compile\"" >&5) + (eval echo "\"\$as_me:16245: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 - echo "$as_me:16248: \$? = $ac_status" >&5 + echo "$as_me:16249: \$? = $ac_status" >&5 if (exit $ac_status) && test -s "$ac_outfile"; then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings other than the usual output. @@ -16509,11 +16510,11 @@ else -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:16512: $lt_compile\"" >&5) + (eval echo "\"\$as_me:16513: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 - echo "$as_me:16516: \$? = $ac_status" >&5 + echo "$as_me:16517: \$? = $ac_status" >&5 if (exit $ac_status) && test -s "$ac_outfile"; then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings other than the usual output. @@ -16613,11 +16614,11 @@ else -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:16616: $lt_compile\"" >&5) + (eval echo "\"\$as_me:16617: $lt_compile\"" >&5) (eval "$lt_compile" 2>out/conftest.err) ac_status=$? cat out/conftest.err >&5 - echo "$as_me:16620: \$? = $ac_status" >&5 + echo "$as_me:16621: \$? = $ac_status" >&5 if (exit $ac_status) && test -s out/conftest2.$ac_objext then # The compiler can only warn and ignore the option if not recognized @@ -19353,7 +19354,7 @@ fi -axiom_src_subdirs="lib lisp boot interp share algebra input etc doc" +axiom_src_subdirs="lib hyper lisp boot interp share algebra input etc doc" { echo "$as_me:$LINENO: checking target system type" >&5 @@ -25130,6 +25131,7 @@ echo "$as_me: The Garphics component is disabled." >&6;} fi +openaxiom_host_has_regex= if test "${ac_cv_header_regex_h+set}" = set; then { echo "$as_me:$LINENO: checking for regex.h" >&5 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6; } @@ -25285,17 +25287,14 @@ echo "${ECHO_T}$ac_cv_header_regex_h" >&6; } fi if test $ac_cv_header_regex_h = yes; then - axiom_src_all="$axiom_src_all all-hyper" - axiom_src_subdirs="$axiom_src_subdirs hyper" - ac_config_files="$ac_config_files src/hyper/Makefile:config/var-def.mk:src/hyper/Makefile.in:config/setup-dep.mk" - + openaxiom_host_has_regex=yes else - { echo "$as_me:$LINENO: HyperDoc is disabled." >&5 -echo "$as_me: HyperDoc is disabled." >&6;} + openaxiom_host_has_regex=no fi + axiom_host_has_libbfd= ## Check for these only if we are going to build GCL from source. case $axiom_all_prerequisites in @@ -25664,6 +25663,8 @@ ac_config_files="$ac_config_files src/Makefile:config/var-def.mk:src/Makefile.in ac_config_files="$ac_config_files src/lib/Makefile:config/var-def.mk:src/lib/Makefile.in:config/setup-dep.mk" +ac_config_files="$ac_config_files src/hyper/Makefile:config/var-def.mk:src/hyper/Makefile.in:config/setup-dep.mk" + ac_config_files="$ac_config_files src/driver/Makefile:config/var-def.mk:src/driver/Makefile.in:config/setup-dep.mk" ac_config_files="$ac_config_files src/lisp/Makefile:config/var-def.mk:src/lisp/Makefile.in:config/setup-dep.mk" @@ -26239,10 +26240,10 @@ do "src/graph/view3D/Makefile") CONFIG_FILES="$CONFIG_FILES src/graph/view3D/Makefile:config/var-def.mk:src/graph/view3D/Makefile.in:config/setup-dep.mk" ;; "src/graph/viewAlone/Makefile") CONFIG_FILES="$CONFIG_FILES src/graph/viewAlone/Makefile:config/var-def.mk:src/graph/viewAlone/Makefile.in:config/setup-dep.mk" ;; "src/graph/viewman/Makefile") CONFIG_FILES="$CONFIG_FILES src/graph/viewman/Makefile:config/var-def.mk:src/graph/viewman/Makefile.in:config/setup-dep.mk" ;; - "src/hyper/Makefile") CONFIG_FILES="$CONFIG_FILES src/hyper/Makefile:config/var-def.mk:src/hyper/Makefile.in:config/setup-dep.mk" ;; "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile:config/var-def.mk:Makefile.in:config/setup-dep.mk" ;; "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile:config/var-def.mk:src/Makefile.in:config/setup-dep.mk" ;; "src/lib/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/Makefile:config/var-def.mk:src/lib/Makefile.in:config/setup-dep.mk" ;; + "src/hyper/Makefile") CONFIG_FILES="$CONFIG_FILES src/hyper/Makefile:config/var-def.mk:src/hyper/Makefile.in:config/setup-dep.mk" ;; "src/driver/Makefile") CONFIG_FILES="$CONFIG_FILES src/driver/Makefile:config/var-def.mk:src/driver/Makefile.in:config/setup-dep.mk" ;; "src/lisp/Makefile") CONFIG_FILES="$CONFIG_FILES src/lisp/Makefile:config/var-def.mk:src/lisp/Makefile.in:config/setup-dep.mk" ;; "src/boot/Makefile") CONFIG_FILES="$CONFIG_FILES src/boot/Makefile:config/var-def.mk:src/boot/Makefile.in:config/setup-dep.mk" ;; @@ -26471,6 +26472,7 @@ X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim X_CLFAGS!$X_CLFAGS$ac_delim axiom_src_all!$axiom_src_all$ac_delim axiom_use_x!$axiom_use_x$ac_delim +openaxiom_host_has_regex!$openaxiom_host_has_regex$ac_delim PLF!$PLF$ac_delim CCF!$CCF$ac_delim LDF!$LDF$ac_delim @@ -26487,7 +26489,7 @@ LIBOBJS!$LIBOBJS$ac_delim LTLIBOBJS!$LTLIBOBJS$ac_delim _ACEOF - if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 33; then + if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 34; then break elif $ac_last_try; then { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 diff --git a/configure.ac b/configure.ac index 3a6a1320..2aa0c8e7 100644 --- a/configure.ac +++ b/configure.ac @@ -1,667 +1,668 @@ -sinclude(config/open-axiom.m4) -sinclude(config/aclocal.m4) -AC_INIT([OpenAxiom], [1.2.0-2008-05-21], - [open-axiom-bugs@lists.sf.net]) - -AC_CONFIG_AUX_DIR(config) -AC_CONFIG_MACRO_DIR(config) -AC_CONFIG_HEADERS([config/openaxiom-c-macros.h]) -# AM_INIT_AUTOMAKE([foreign]) -AC_PREREQ([2.60]) - -AC_CONFIG_SRCDIR(src/Makefile.pamphlet) - -oa_use_libtool_for_shared_lib=yes -oa_shrobj_flags= -oa_shrlib_flags= -# Tell Libtool to assume `dlopen' so that it does not have to -# emulate it. -AC_LIBTOOL_DLOPEN -AC_LIBTOOL_WIN32_DLL -AC_PROG_LIBTOOL -AC_SUBST(LIBTOOL_DEPS) -# Give me extension of libraries -eval shared_ext=\"$shrext_cmds\" -AC_SUBST(shared_ext) -AC_SUBST(libext) -# Don't use Libtool for building actual DLLs on MinGW and Cygwin -case $host in - *mingw*|*cygwin*) - oa_use_libtool_for_shared_lib=no - oa_shrobj_flags='-prefer-pic' - oa_shrlib_flags="-shared --export-all-symbols" - ;; - *darwin*) - oa_shrobj_flags='-dynamic' - oa_shrlib_flags='-dynamiclib -undefined suppress -flat_namespace' - ;; - *) - oa_shrobj_flags='-prefer-pic' - oa_shrlib_flags='-shared -module' - ;; -esac -AC_SUBST(oa_use_libtool_for_shared_lib) -AC_SUBST(oa_shrobj_flags) -AC_SUBST(oa_shrlib_flags) - -axiom_optimize_options=speed -## Shall we proclaim safety? -axiom_enable_checking=no # don't turn on checking by default. -AC_ARG_ENABLE([checking], [ --enable-checking turn runtime checking on], - [case $enableval in - yes|no) axiom_enable_checking=$enableval ;; - *) AC_MSG_ERROR([erroneous value for --enable-checking]) ;; - esac]) -if test x"$axiom_enable_checking" = xyes; then - axiom_optimize_options="$axiom_optimize_options safety" - AC_MSG_NOTICE([runtime checking may increase compilation time]) -fi -AC_SUBST(axiom_enable_checking) -AC_SUBST(axiom_optimize_options) - -axiom_src_subdirs="lib lisp boot interp share algebra input etc doc" -AC_SUBST(axiom_src_subdirs) - -AC_CANONICAL_SYSTEM - -open_axiom_installdir=$libdir/open-axiom/$target/$PACKAGE_VERSION -AC_SUBST(open_axiom_installdir) - -if test $build != $target; then - AC_MSG_WARN([Cross build is not supported.]) - AC_MSG_WARN([Please notify open-axiom-devel@open-axiom.org if you succeed.]) -fi -## Where tools for the build platform are sequestered -axiom_build_sharedir=$axiom_builddir/share - -## On Windows system, we prefer the default installation -## location to be 'C:/Program Files/OpenAxiom', following Windows -## convention. We cannot use AC_PREFIX_DEFAULT directly as it seems -## to operate unconditionally. Therefore, we resort to this dirty -## trick stepping over Autoconf's internals. -case $host in - *mingw*) - ac_default_prefix="C:/Program Files/OpenAxiom" - ;; - *) ;; -esac - -## Accumulate list of utils needed for the build platform -## It is vital that noweb is present in the build environement. -axiom_all_prerequisites= - -case $build in - *linux*) - # GNU/Linux systems come equipped with GNU Make, called `make' - AC_CHECK_PROGS([MAKE], [make], - [AC_MSG_ERROR([Make utility missing.])]) - ;; - *) - # Other systems tend to spell it `gmake' and such - AC_CHECK_PROGS([MAKE], [gmake make], - [AC_MSG_ERROR([Make utility missing.])]) - if ! $MAKE --version | grep 'GNU' 2>/dev/null; then - AC_MSG_ERROR([OpenAxiom build system needs GNU Make.]) - fi - ;; -esac - -## Make sure the C compiler is from GCC -AC_PROG_CC -if test x$GCC != xyes; then - AC_MSG_ERROR([We need a C compiler from GCC]) -fi -axiom_cflags="-O2 -fno-strength-reduce -Wall -D_GNU_SOURCE" -AC_SUBST(axiom_cflags) - -## What is the extension of object files on this platform? -AC_OBJEXT - -AC_DEFINE_UNQUOTED([OPENAXIOM_EXEEXT], ["$ac_cv_exeext"], - [Extension of executable file.]) - - -AC_PROG_INSTALL -# AC_PROG_LN_S -AC_CHECK_PROG([TOUCH], [touch], - [touch], [AC_MSG_ERROR(['touch' program is missing.])]) -AC_CHECK_PROGS([MKTEMP], [mktemp]) - -case $build in - *-solaris9) - AC_CHECK_PROG([AWK], [gawk], - [gawk], [AC_MSG_ERROR([OpenAxiom needs gawk])]) - - AC_CHECK_PROG([PATCH], [gpatch], - [gptach], [AC_MSG_ERROR([OpenAxiom needs gpatch])]) - ;; - - *) - AC_PROG_AWK - - AC_CHECK_PROGS([PATCH], [gpatch patch], - [AC_MSG_ERROR([OpenAxiom needs a patch program])]) - ;; -esac - -AC_CHECK_PROG([AR], [ar], [ar], [AC_MSG_ERROR([program 'ar' is missing])]) - -AC_PATH_PROG([LATEX], [latex]) -AC_CHECK_PROGS([MAKEINDEX], [makeindex]) -if test -n "$LATEX"; then \ - : -else - AC_MSG_NOTICE([Documentation is disabled.]) -fi - -## --------------------------------------- -## Make sure noweb executable is available -## --------------------------------------- -AC_CHECK_PROGS([NOTANGLE], [notangle]) -AC_CHECK_PROGS([NOWEAVE], [noweave]) - -## In case noweb is missing we need to build our own. -if test -z $NOTANGLE -o -z $NOWEAVE ; then - ## Yes, but do we have the source files to build from? - if test ! -d ${srcdir}/noweb; then - AC_MSG_NOTICE([OpenAxiom requires noweb utilties]) - AC_MSG_ERROR([Please get the tarball of dependencies and reconfigure]) - fi - NOTANGLE='$(axiom_build_bindir)/notangle' - NOWEAVE='$(axiom_build_bindir)/noweave' - axiom_all_prerequisites="$axiom_all_prerequisites all-noweb" -fi - -## ------------------------ -## -- Which Lisp to use? -- -## ------------------------ -## -## We will default to GCL later, if no lisp implementation is specified. -axiom_lisp= -axiom_lisp_flavor=unknown -AC_ARG_WITH([lisp], [ --with-lisp=L use L as Lisp platform], - [axiom_lisp=$withval]) -## If --enable-gcl is specified, we need to check for coonsistency -axiom_include_gcl= -if test -z $axiom_lisp; then - AC_ARG_ENABLE([gcl], [ --enable-gcl build GCL from OpenAxiom source], - [case $enableval in - yes|no) axiom_include_gcl=$enableval ;; - *) AC_MSG_ERROR([erroneous value for --enable-gcl]) ;; - esac]) -fi -## We need to build our own GCL if none is avalaible, or the existing -## one is too old. -if test -z $axiom_lisp; then - AC_CHECK_PROGS([AXIOM_LISP], [gcl sbcl clisp]) - ## A lisp may not be available AND the GCL source may also - ## be missing. Instruct user to either build one or get - ## the dependencies from our website. - if test x$AXIOM_LISP = xgcl; then - AC_MSG_CHECKING([$AXIOM_LISP version]) - v=`$AXIOM_LISP -batch -eval "(format t \"~S\" (lisp-implementation-version))"` - AC_MSG_RESULT([$v]) - case $v in - *2.6.7*|*2.6.8*) ;; # OK - *) - AC_MSG_WARN([$v is not supported by this version of OpenAxiom. $AXIOM_LISP will be ignored.]) - AXIOM_LISP= - ;; - esac - fi - if test -z $AXIOM_LISP && test ! -d ${srcdir}/gcl; then - AC_MSG_ERROR([OpenAxiom requires a Lisp system. Either separately build one (GCL-2.6.7, GCL-2.6.8, SBCL, CLisp), or get the dependency tarball from OpenAxiom download website.]) - fi - axiom_lisp=$AXIOM_LISP -else - ## Honor use of Lisp image specified on command line - AXIOM_LISP=$axiom_lisp - AC_SUBST(AXIOM_LISP) - : -fi -## Coherence check for GCL inclusion. -case $axiom_include_gcl,$axiom_lisp in - ,|no,|yes*) - ## It doesn't make sense not to include GCL when no Lisp image - ## is available. Give up. - if test $axiom_include_gcl,$AXIOM_LISP = no,; then - AC_MSG_ERROR([--disable-gcl specified but no GCL image found]) - fi - - ## No Lisp image was specified and none was available from - ## the build environment; build GCL from OpenAxiom source. - ## User may explicilty specify --enable-gcl, but may be missing - ## the dependency tarball. - if test ! -d ${srcdir}/gcl; then - AC_MSG_ERROR([The OpenAxiom dependency tarball is missing; please get it from our website.]) - fi - AXIOM_LISP='$(axiom_build_bindir)/gcl' - axiom_all_prerequisites="$axiom_all_prerequisites all-gcl" - axiom_include_gcl=yes - axiom_lisp_flavor=gcl - axiom_fasl_type=o - ;; - yes,*) - AC_MSG_ERROR([--with-lisp=$axiom_lisp conflicts with --enable-gcl]) - ;; - *) - ## As of this writting, the Lisp systems ECL, GCL, SBCL, and CLisp all - ## understands the command line option --help, though they do - ## behave very differently. Some of them just print out the - ## help information and exits. Others, such as GCL, think they - ## must enter a read-eval-print loop (which isn't very helpful). - AC_MSG_CHECKING([which flavor of Lisp]) - what=`echo '(quit)' | $axiom_lisp --help` - case $what in - *GCL*) - axiom_lisp_flavor=gcl - ;; - *ecl*) - axiom_lisp_flavor=ecl - ;; - *sbcl*) - axiom_lisp_flavor=sbcl - ;; - *CLISP*) - ## Not all variants of CLisp have FFI support. FFI is used - ## internally used by OpenAxiom in essential way. - if ! $axiom_lisp -q -x '*features*' | grep ':FFI' 2>/dev/null - then - AC_MSG_ERROR([$axiom_lisp does not support Foreign Function Interface. Please upgrade to a better version of CLisp or install SBCL.]) - fi - axiom_lisp_flavor=clisp - ;; - esac - AC_MSG_RESULT([$axiom_lisp_flavor]) -esac -AC_SUBST(axiom_include_gcl) -AC_SUBST(axiom_lisp_flavor) -AC_DEFINE_UNQUOTED([OPENAXIOM_BASE_RTS], - [openaxiom_${axiom_lisp_flavor}_runtime], - [The kind of base runtime system for this build.]) - -## The following is a horrible hack to arrange for GCL to successfully -## rebuild symbol tables with "rsym" on Windows platform. It should -## go away as soon as GCL upstream is fixed. -case $axiom_lisp_flavor,$target in - gcl,*mingw*) - axiom_gcl_rsym_hack='d=`echo "(format nil \"~a\" si::*system-directory*)" | $(AXIOM_LISP) | grep "/gcl.*/" | sed -e "s,\",,g"`; cp $$d/rsym$(EXEEXT) .' - ;; - *) - ## Breath. - axiom_gcl_rsym_hack=':' - ;; -esac -AC_SUBST(axiom_gcl_rsym_hack) -## How are we supposed to tell the Lisp system to eval an expression -## in batch mode? What is the extension of a compiled Lisp file? -case $axiom_lisp_flavor in - gcl) - axiom_quiet_flags='-batch' - axiom_eval_flags='-eval' - ;; - ecl) - axiom_quiet_flags= - axiom_eval_flags='-eval' - ;; - sbcl) - axiom_quiet_flags='--noinform --noprint' - axiom_eval_flags='--eval' - ;; - clisp) - axiom_quiet_flags='--quiet' - axiom_eval_flags='-x' - ;; - *) AC_MSG_ERROR([We do not know how to build OpenAxiom this $axiom_lisp]) ;; -esac -AC_SUBST(axiom_quiet_flags) -AC_SUBST(axiom_eval_flags) -if test -z $axiom_fasl_type; then - AC_MSG_CHECKING([compiled Lisp file extension]) - ## We set the IFS to as we don't want automatic - ## replacement of by . - axiom_save_IFS=$IFS - IFS=' ' - axiom_fasl_type=`$axiom_lisp $axiom_quiet_flags $axiom_eval_flags '(progn (format t "axiom_fasl_type=~a" (pathname-type (compile-file-pathname "foo.lisp" #+:ecl :type #+:ecl :object))) (quit))'` - - ## Now pull out the fasl type. ECL has the habit of spitting noise - ## about internal loading. Therefore, we must look only for a line that - ## begins with axiom_fasl_type. - axiom_fasl_type=`echo $axiom_fasl_type | grep '^axiom_fasl_type'` - IFS=$axiom_save_IFS - axiom_fasl_type=`echo $axiom_fasl_type | sed -e 's/axiom_fasl_type=//'` - if test -z $axiom_fasl_type; then - AC_MSG_ERROR([Could not determine extension for compiled Lisp files]) - fi - AC_MSG_RESULT([$axiom_fasl_type]) -fi -AC_SUBST(axiom_fasl_type) - -AC_SUBST(axiom_all_prerequisites) - -# FIXME: Move this out of here. -axiom_c_runtime= -AC_SUBST(axiom_c_runtime) - -AC_CHECK_HEADERS([stdint.h inttypes.h]) -AC_TYPE_UINT8_T -AC_CHECK_HEADERS([signal.h], - [], - [AC_MSG_ERROR([OpenAxiom needs signal support.])]) -AC_CHECK_DECLS([sigaction], [], [], - [#include ]) -AC_CHECK_HEADERS([sys/stat.h], - [], - [AC_MSG_ERROR([OpenAxiom needs ])]) -case $host in - *mingw*) - ;; - *) - AC_CHECK_HEADERS([dirent.h], - [], - [AC_MSG_ERROR([OpenAxiom needs ])]) - ;; -esac - -AC_CHECK_HEADERS([unistd.h], [], - [AC_MSG_ERROR([OpenAxiom needs ])]) -AC_CHECK_DECLS([getuid, geteuid, getgid, getegid], [], [], - [#include ]) - -AC_CHECK_DECLS([kill], [], [], - [#include ]) -case $host in - *mingw*) - AC_CHECK_HEADERS([winsock2.h], - [axiom_host_has_socket=yes], - []) - axiom_c_runtime_extra="-lwsock32" - ;; - *) - AC_CHECK_HEADERS([sys/socket.h], - [axiom_host_has_socket=yes], - []) - ;; -esac -if test x$axiom_host_has_socket != xyes; then \ - AC_MSG_ERROR([OpenAxiom needs suport for sockets.]) -fi -## solaris-based systems tend to hide the socket library. -case $host in - *solaris*) - AC_SEARCH_LIBS([accept], [socket], - [axiom_c_runtime_extra="-lsocket"], - [AC_MSG_ERROR([socket library not found])]) - ;; - *) ;; -esac - -AC_SUBST(axiom_c_runtime_extra) - -AC_EGREP_HEADER([has_af_local], - [#if HAVE_SYS_SOCKET_H - # include - #else - # include - #endif - #ifdef AF_LOCAL - has_af_local - #endif], - [AC_DEFINE([HAVE_AF_LOCAL], [1], [Host has AF_LOCAL])]) - - -AC_EGREP_HEADER([has_af_unix], - [#if HAVE_SYS_SOCKET_H - # include - #else - # include - #endif - #ifdef AF_UNIX - has_af_unix - #endif], - [AC_DEFINE([HAVE_AF_UNIX], [1], [Host has AF_UNIX])]) - -AC_CHECK_HEADERS([sys/wait.h]) - -if test x"$ac_cv_header_sys_wait_h" = xyes; then \ - AC_CHECK_DECLS([wait], - [], - [], - [#include ]) -fi - -AC_CHECK_DECLS([fork], - [], - [], - [#include ]) - -axiom_use_sman=1 -if test x"$ac_cv_have_decl_fork" = xyes \ - -a x"$ac_cv_have_decl_wait" = xyes; then \ - axiom_c_runtime="$axiom_c_runtime terminal_io" - axiom_src_all="$axiom_src_all all-sman all-clef" - axiom_src_subdirs="$axiom_src_subdirs clef sman" - AXIOM_MAKEFILE([src/clef/Makefile]) - AXIOM_MAKEFILE([src/sman/Makefile]) -else - axiom_use_sman=0 - AC_MSG_NOTICE([Superman component is disabled.]) -fi - -AC_DEFINE_UNQUOTED([OPENAXIOM_USE_SMAN], [$axiom_use_sman], - [Whether to use the session manager as driver.]) - -axiom_src_all="all-input $axiom_src_all" - -AC_PATH_XTRA -## Output directives for the C compiler -AC_SUBST(X_CLFAGS) -## Output directives for the linker -AC_SUBST(X_LIBS) -## Output any extra libraries required by X11 -AC_SUBST(X_EXTRA_LIBS) - -## Finally, output the list of libraries that need to appear before -lX11 -## Some part of OpenAxiom depends on Xpm. That library has kind uncertain -## future. At some point in the past, it was deprecated, to be -## replaced by xpm-nox; then came back again. So, its support may -## vary from system to system. For the moment, we assume that if X11 -## is found then, Xpm is already present. Though, clearly that is a -## very optimistic assumption. Long term, OpenAxiom should get rid of -## dependence on Xpm. A nearly fool-proof test would be probably -## inspired by AC_PATH_XTRA. I don't have time to get to that -## complication right now. Will fix later. -X_PRE_LIBS="-lXpm $X_PRE_LIBS" -AC_SUBST(X_PRE_LIBS) - -## If the system supports X11, then build graphics -axiom_use_x=no -if test -z $no_x; then - axiom_use_x=yes - axiom_c_runtime="$axiom_c_runtime graphics" - axiom_src_all="$axiom_src_all all-graph" - axiom_src_subdirs="$axiom_src_subdirs graph" - AXIOM_MAKEFILE([src/graph/Makefile]) - AXIOM_MAKEFILE([src/graph/Gdraws/Makefile]) - AXIOM_MAKEFILE([src/graph/view2D/Makefile]) - AXIOM_MAKEFILE([src/graph/view3D/Makefile]) - AXIOM_MAKEFILE([src/graph/viewAlone/Makefile]) - AXIOM_MAKEFILE([src/graph/viewman/Makefile]) -else - AC_MSG_NOTICE([The Garphics component is disabled.]) -fi -AC_SUBST(axiom_src_all) -AC_SUBST(axiom_use_x) -AC_CHECK_HEADER([regex.h], - [axiom_src_all="$axiom_src_all all-hyper" - axiom_src_subdirs="$axiom_src_subdirs hyper" - AXIOM_MAKEFILE([src/hyper/Makefile])], - [AC_MSG_NOTICE([HyperDoc is disabled.])]) - -axiom_host_has_libbfd= -## Check for these only if we are going to build GCL from source. -case $axiom_all_prerequisites in - *all-gcl*) - AC_CHECK_HEADER([bfd.h]) - AC_HAVE_LIBRARY([bfd], [axiom_host_has_libbfd=yes]) - - axiom_gcl_bfd_option= - if test x"$ac_cv_header_bfd_h" = xyes \ - && test x"$axiom_host_has_libbfd" = xyes; then - axiom_gcl_bfd_option="--disable-dynsysbfd" - else - axiom_gcl_bfd_option="--disable-statsysbfd --enable-locbfd" - fi - ;; - *) - # Nothing to worry about - ;; -esac -# axiom_gcl_mm_option="--enable-maxpage=256*1024" -axiom_gcl_x_option="--disable-tkconfig --disable-x --disable-xgcl" -axiom_gcl_emacs="--enable-emacs=correct" - -PFL= -CCF="-O2 -fno-strength-reduce -Wall -D_GNU_SOURCE" -LDF= -LISP=lsp - -case $target in - *bsd*) - AC_DEFINE([BSDplatform], [], [BSD flavour]) - CCF="-O2 -pipe -fno-strength-reduce -Wall -D_GNU_SOURCE -I/usr/local/include" - LDF="-L/usr/local/lib" - ;; - windows) - AC_DEFINE([MSYSplatform], [], [MS]) - SRCDIRS=bootdir interpdir sharedir algebradir etcdir docdir inputdir - ;; - *linux*) - AC_DEFINE([LINUXplatform], [], [Linux flavour]) - ;; - *solaris*) - AC_DEFINE([SUNplatform], [], [SunOS flavour]) - ;; - powerpc*darwin*) - AC_DEFINE([MACOSXplatform], [], [MACOX flavour]) - CCF="-O2 -fno-strength-reduce -Wall -D_GNU_SOURCE \ - -I/usr/include -I/usr/include/sys" - axiom_gcl_bfd_option="--disable-statsysbfd \ - --enable-machine=powerpc-macosx" - axiom_gcl_mm_option="--enable-vssize=65536*2" - ;; -esac - -GCLOPTS="$axiom_gcl_emacs $axiom_gcl_bfd_option $axiom_gcl_mm_option $axiom_gcl_x_option" - -AC_SUBST(PLF) -AC_SUBST(CCF) -AC_SUBST(LDF) -AC_SUBST(LISP) -AC_SUBST(GCLOPTS) -case $axiom_lisp_flavor in - gcl) - void_type='void' - char_type='char' - int_type='int' - float_type='float' - double_type='double' - string_type='string' - pointer_type='object' - ;; - sbcl) - void_type='sb-alien:void' - char_type='sb-alien:char' - int_type='sb-alien:int' - float_type='sb-alien:float' - double_type='sb-alien:double' - string_type='sb-alien:c-string' - pointer_type='sb-alien:system-area-pointer' - ;; - clisp) - void_type='nil' - char_type='ffi:character' - int_type='ffi:int' - float_type='ffi:single-float' - double_type='ffi:double-float' - string_type='ffi:c-string' - pointer_type='ffi:c-pointer' - ;; - ecl) - void_type=':void' - char_type=':char' - int_type=':int' - float_type=':float' - double_type=':double' - string_type=':cstring' - pointer_type=':pointer-void' - ;; - *) - AC_MSG_ERROR([We do not know how to translate native types for this Lisp]) - ;; -esac -AC_SUBST(void_type) -AC_SUBST(char_type) -AC_SUBST(int_type) -AC_SUBST(float_type) -AC_SUBST(double_type) -AC_SUBST(string_type) -AC_SUBST(pointer_type) - -AXIOM_MAKEFILE([Makefile]) -AXIOM_MAKEFILE([src/Makefile]) -AXIOM_MAKEFILE([src/lib/Makefile]) -AXIOM_MAKEFILE([src/driver/Makefile]) -AXIOM_MAKEFILE([src/lisp/Makefile]) -AXIOM_MAKEFILE([src/boot/Makefile]) -AXIOM_MAKEFILE([src/interp/Makefile]) -AXIOM_MAKEFILE([src/share/Makefile]) -AXIOM_MAKEFILE([src/algebra/Makefile]) -AXIOM_MAKEFILE([src/input/Makefile]) -AXIOM_MAKEFILE([src/etc/Makefile]) -AXIOM_MAKEFILE([src/doc/Makefile]) - - -## We now generate the "document" script and support files at configure time. -## We put them in the build directory because they are intended to be -## build support utils only. -AC_CONFIG_FILES(build/scripts/document:$srcdir/src/scripts/document.in, \ - [chmod +x build/scripts/document]) - -AC_OUTPUT - -## Generate rules for Algebra bootstrap files. -echo -n "building list of Algebra bootstrap files..." -egrep ".*BOOTSTRAP>>=" $srcdir/src/algebra/*.spad.pamphlet \ - | sort | uniq | \ - while IFS=':' read spad_file chunk_desc; do - chunk_desc=`echo $chunk_desc | sed -e 's,<<,,' -e 's,>>=,,'` - set $chunk_desc; bootstrap_file=$1 - cat >> src/algebra/tmp-extract-lisp-files.mk <>=' \ - $srcdir/src/algebra/*.spad.pamphlet \ - | sort | uniq | \ - while IFS=':' read spad_file chunk_desc; do - chunk_desc=`echo $chunk_desc | sed -e 's,<<,,' -e 's,>>=,,'` - set $chunk_desc; spad_abbrev=$2 - cat >> src/algebra/tmp-extract-spad.mk </dev/null; then + AC_MSG_ERROR([OpenAxiom build system needs GNU Make.]) + fi + ;; +esac + +## Make sure the C compiler is from GCC +AC_PROG_CC +if test x$GCC != xyes; then + AC_MSG_ERROR([We need a C compiler from GCC]) +fi +axiom_cflags="-O2 -fno-strength-reduce -Wall -D_GNU_SOURCE" +AC_SUBST(axiom_cflags) + +## What is the extension of object files on this platform? +AC_OBJEXT + +AC_DEFINE_UNQUOTED([OPENAXIOM_EXEEXT], ["$ac_cv_exeext"], + [Extension of executable file.]) + + +AC_PROG_INSTALL +# AC_PROG_LN_S +AC_CHECK_PROG([TOUCH], [touch], + [touch], [AC_MSG_ERROR(['touch' program is missing.])]) +AC_CHECK_PROGS([MKTEMP], [mktemp]) + +case $build in + *-solaris9) + AC_CHECK_PROG([AWK], [gawk], + [gawk], [AC_MSG_ERROR([OpenAxiom needs gawk])]) + + AC_CHECK_PROG([PATCH], [gpatch], + [gptach], [AC_MSG_ERROR([OpenAxiom needs gpatch])]) + ;; + + *) + AC_PROG_AWK + + AC_CHECK_PROGS([PATCH], [gpatch patch], + [AC_MSG_ERROR([OpenAxiom needs a patch program])]) + ;; +esac + +AC_CHECK_PROG([AR], [ar], [ar], [AC_MSG_ERROR([program 'ar' is missing])]) + +AC_PATH_PROG([LATEX], [latex]) +AC_CHECK_PROGS([MAKEINDEX], [makeindex]) +if test -n "$LATEX"; then \ + : +else + AC_MSG_NOTICE([Documentation is disabled.]) +fi + +## --------------------------------------- +## Make sure noweb executable is available +## --------------------------------------- +AC_CHECK_PROGS([NOTANGLE], [notangle]) +AC_CHECK_PROGS([NOWEAVE], [noweave]) + +## In case noweb is missing we need to build our own. +if test -z $NOTANGLE -o -z $NOWEAVE ; then + ## Yes, but do we have the source files to build from? + if test ! -d ${srcdir}/noweb; then + AC_MSG_NOTICE([OpenAxiom requires noweb utilties]) + AC_MSG_ERROR([Please get the tarball of dependencies and reconfigure]) + fi + NOTANGLE='$(axiom_build_bindir)/notangle' + NOWEAVE='$(axiom_build_bindir)/noweave' + axiom_all_prerequisites="$axiom_all_prerequisites all-noweb" +fi + +## ------------------------ +## -- Which Lisp to use? -- +## ------------------------ +## +## We will default to GCL later, if no lisp implementation is specified. +axiom_lisp= +axiom_lisp_flavor=unknown +AC_ARG_WITH([lisp], [ --with-lisp=L use L as Lisp platform], + [axiom_lisp=$withval]) +## If --enable-gcl is specified, we need to check for coonsistency +axiom_include_gcl= +if test -z $axiom_lisp; then + AC_ARG_ENABLE([gcl], [ --enable-gcl build GCL from OpenAxiom source], + [case $enableval in + yes|no) axiom_include_gcl=$enableval ;; + *) AC_MSG_ERROR([erroneous value for --enable-gcl]) ;; + esac]) +fi +## We need to build our own GCL if none is avalaible, or the existing +## one is too old. +if test -z $axiom_lisp; then + AC_CHECK_PROGS([AXIOM_LISP], [gcl sbcl clisp]) + ## A lisp may not be available AND the GCL source may also + ## be missing. Instruct user to either build one or get + ## the dependencies from our website. + if test x$AXIOM_LISP = xgcl; then + AC_MSG_CHECKING([$AXIOM_LISP version]) + v=`$AXIOM_LISP -batch -eval "(format t \"~S\" (lisp-implementation-version))"` + AC_MSG_RESULT([$v]) + case $v in + *2.6.7*|*2.6.8*) ;; # OK + *) + AC_MSG_WARN([$v is not supported by this version of OpenAxiom. $AXIOM_LISP will be ignored.]) + AXIOM_LISP= + ;; + esac + fi + if test -z $AXIOM_LISP && test ! -d ${srcdir}/gcl; then + AC_MSG_ERROR([OpenAxiom requires a Lisp system. Either separately build one (GCL-2.6.7, GCL-2.6.8, SBCL, CLisp), or get the dependency tarball from OpenAxiom download website.]) + fi + axiom_lisp=$AXIOM_LISP +else + ## Honor use of Lisp image specified on command line + AXIOM_LISP=$axiom_lisp + AC_SUBST(AXIOM_LISP) + : +fi +## Coherence check for GCL inclusion. +case $axiom_include_gcl,$axiom_lisp in + ,|no,|yes*) + ## It doesn't make sense not to include GCL when no Lisp image + ## is available. Give up. + if test $axiom_include_gcl,$AXIOM_LISP = no,; then + AC_MSG_ERROR([--disable-gcl specified but no GCL image found]) + fi + + ## No Lisp image was specified and none was available from + ## the build environment; build GCL from OpenAxiom source. + ## User may explicilty specify --enable-gcl, but may be missing + ## the dependency tarball. + if test ! -d ${srcdir}/gcl; then + AC_MSG_ERROR([The OpenAxiom dependency tarball is missing; please get it from our website.]) + fi + AXIOM_LISP='$(axiom_build_bindir)/gcl' + axiom_all_prerequisites="$axiom_all_prerequisites all-gcl" + axiom_include_gcl=yes + axiom_lisp_flavor=gcl + axiom_fasl_type=o + ;; + yes,*) + AC_MSG_ERROR([--with-lisp=$axiom_lisp conflicts with --enable-gcl]) + ;; + *) + ## As of this writting, the Lisp systems ECL, GCL, SBCL, and CLisp all + ## understands the command line option --help, though they do + ## behave very differently. Some of them just print out the + ## help information and exits. Others, such as GCL, think they + ## must enter a read-eval-print loop (which isn't very helpful). + AC_MSG_CHECKING([which flavor of Lisp]) + what=`echo '(quit)' | $axiom_lisp --help` + case $what in + *GCL*) + axiom_lisp_flavor=gcl + ;; + *ecl*) + axiom_lisp_flavor=ecl + ;; + *sbcl*) + axiom_lisp_flavor=sbcl + ;; + *CLISP*) + ## Not all variants of CLisp have FFI support. FFI is used + ## internally used by OpenAxiom in essential way. + if ! $axiom_lisp -q -x '*features*' | grep ':FFI' 2>/dev/null + then + AC_MSG_ERROR([$axiom_lisp does not support Foreign Function Interface. Please upgrade to a better version of CLisp or install SBCL.]) + fi + axiom_lisp_flavor=clisp + ;; + esac + AC_MSG_RESULT([$axiom_lisp_flavor]) +esac +AC_SUBST(axiom_include_gcl) +AC_SUBST(axiom_lisp_flavor) +AC_DEFINE_UNQUOTED([OPENAXIOM_BASE_RTS], + [openaxiom_${axiom_lisp_flavor}_runtime], + [The kind of base runtime system for this build.]) + +## The following is a horrible hack to arrange for GCL to successfully +## rebuild symbol tables with "rsym" on Windows platform. It should +## go away as soon as GCL upstream is fixed. +case $axiom_lisp_flavor,$target in + gcl,*mingw*) + axiom_gcl_rsym_hack='d=`echo "(format nil \"~a\" si::*system-directory*)" | $(AXIOM_LISP) | grep "/gcl.*/" | sed -e "s,\",,g"`; cp $$d/rsym$(EXEEXT) .' + ;; + *) + ## Breath. + axiom_gcl_rsym_hack=':' + ;; +esac +AC_SUBST(axiom_gcl_rsym_hack) +## How are we supposed to tell the Lisp system to eval an expression +## in batch mode? What is the extension of a compiled Lisp file? +case $axiom_lisp_flavor in + gcl) + axiom_quiet_flags='-batch' + axiom_eval_flags='-eval' + ;; + ecl) + axiom_quiet_flags= + axiom_eval_flags='-eval' + ;; + sbcl) + axiom_quiet_flags='--noinform --noprint' + axiom_eval_flags='--eval' + ;; + clisp) + axiom_quiet_flags='--quiet' + axiom_eval_flags='-x' + ;; + *) AC_MSG_ERROR([We do not know how to build OpenAxiom this $axiom_lisp]) ;; +esac +AC_SUBST(axiom_quiet_flags) +AC_SUBST(axiom_eval_flags) +if test -z $axiom_fasl_type; then + AC_MSG_CHECKING([compiled Lisp file extension]) + ## We set the IFS to as we don't want automatic + ## replacement of by . + axiom_save_IFS=$IFS + IFS=' ' + axiom_fasl_type=`$axiom_lisp $axiom_quiet_flags $axiom_eval_flags '(progn (format t "axiom_fasl_type=~a" (pathname-type (compile-file-pathname "foo.lisp" #+:ecl :type #+:ecl :object))) (quit))'` + + ## Now pull out the fasl type. ECL has the habit of spitting noise + ## about internal loading. Therefore, we must look only for a line that + ## begins with axiom_fasl_type. + axiom_fasl_type=`echo $axiom_fasl_type | grep '^axiom_fasl_type'` + IFS=$axiom_save_IFS + axiom_fasl_type=`echo $axiom_fasl_type | sed -e 's/axiom_fasl_type=//'` + if test -z $axiom_fasl_type; then + AC_MSG_ERROR([Could not determine extension for compiled Lisp files]) + fi + AC_MSG_RESULT([$axiom_fasl_type]) +fi +AC_SUBST(axiom_fasl_type) + +AC_SUBST(axiom_all_prerequisites) + +# FIXME: Move this out of here. +axiom_c_runtime= +AC_SUBST(axiom_c_runtime) + +AC_CHECK_HEADERS([stdint.h inttypes.h]) +AC_TYPE_UINT8_T +AC_CHECK_HEADERS([signal.h], + [], + [AC_MSG_ERROR([OpenAxiom needs signal support.])]) +AC_CHECK_DECLS([sigaction], [], [], + [#include ]) +AC_CHECK_HEADERS([sys/stat.h], + [], + [AC_MSG_ERROR([OpenAxiom needs ])]) +case $host in + *mingw*) + ;; + *) + AC_CHECK_HEADERS([dirent.h], + [], + [AC_MSG_ERROR([OpenAxiom needs ])]) + ;; +esac + +AC_CHECK_HEADERS([unistd.h], [], + [AC_MSG_ERROR([OpenAxiom needs ])]) +AC_CHECK_DECLS([getuid, geteuid, getgid, getegid], [], [], + [#include ]) + +AC_CHECK_DECLS([kill], [], [], + [#include ]) +case $host in + *mingw*) + AC_CHECK_HEADERS([winsock2.h], + [axiom_host_has_socket=yes], + []) + axiom_c_runtime_extra="-lwsock32" + ;; + *) + AC_CHECK_HEADERS([sys/socket.h], + [axiom_host_has_socket=yes], + []) + ;; +esac +if test x$axiom_host_has_socket != xyes; then \ + AC_MSG_ERROR([OpenAxiom needs suport for sockets.]) +fi +## solaris-based systems tend to hide the socket library. +case $host in + *solaris*) + AC_SEARCH_LIBS([accept], [socket], + [axiom_c_runtime_extra="-lsocket"], + [AC_MSG_ERROR([socket library not found])]) + ;; + *) ;; +esac + +AC_SUBST(axiom_c_runtime_extra) + +AC_EGREP_HEADER([has_af_local], + [#if HAVE_SYS_SOCKET_H + # include + #else + # include + #endif + #ifdef AF_LOCAL + has_af_local + #endif], + [AC_DEFINE([HAVE_AF_LOCAL], [1], [Host has AF_LOCAL])]) + + +AC_EGREP_HEADER([has_af_unix], + [#if HAVE_SYS_SOCKET_H + # include + #else + # include + #endif + #ifdef AF_UNIX + has_af_unix + #endif], + [AC_DEFINE([HAVE_AF_UNIX], [1], [Host has AF_UNIX])]) + +AC_CHECK_HEADERS([sys/wait.h]) + +if test x"$ac_cv_header_sys_wait_h" = xyes; then \ + AC_CHECK_DECLS([wait], + [], + [], + [#include ]) +fi + +AC_CHECK_DECLS([fork], + [], + [], + [#include ]) + +axiom_use_sman=1 +if test x"$ac_cv_have_decl_fork" = xyes \ + -a x"$ac_cv_have_decl_wait" = xyes; then \ + axiom_c_runtime="$axiom_c_runtime terminal_io" + axiom_src_all="$axiom_src_all all-sman all-clef" + axiom_src_subdirs="$axiom_src_subdirs clef sman" + AXIOM_MAKEFILE([src/clef/Makefile]) + AXIOM_MAKEFILE([src/sman/Makefile]) +else + axiom_use_sman=0 + AC_MSG_NOTICE([Superman component is disabled.]) +fi + +AC_DEFINE_UNQUOTED([OPENAXIOM_USE_SMAN], [$axiom_use_sman], + [Whether to use the session manager as driver.]) + +axiom_src_all="all-input $axiom_src_all" + +AC_PATH_XTRA +## Output directives for the C compiler +AC_SUBST(X_CLFAGS) +## Output directives for the linker +AC_SUBST(X_LIBS) +## Output any extra libraries required by X11 +AC_SUBST(X_EXTRA_LIBS) + +## Finally, output the list of libraries that need to appear before -lX11 +## Some part of OpenAxiom depends on Xpm. That library has kind uncertain +## future. At some point in the past, it was deprecated, to be +## replaced by xpm-nox; then came back again. So, its support may +## vary from system to system. For the moment, we assume that if X11 +## is found then, Xpm is already present. Though, clearly that is a +## very optimistic assumption. Long term, OpenAxiom should get rid of +## dependence on Xpm. A nearly fool-proof test would be probably +## inspired by AC_PATH_XTRA. I don't have time to get to that +## complication right now. Will fix later. +X_PRE_LIBS="-lXpm $X_PRE_LIBS" +AC_SUBST(X_PRE_LIBS) + +## If the system supports X11, then build graphics +axiom_use_x=no +if test -z $no_x; then + axiom_use_x=yes + axiom_c_runtime="$axiom_c_runtime graphics" + axiom_src_all="$axiom_src_all all-graph" + axiom_src_subdirs="$axiom_src_subdirs graph" + AXIOM_MAKEFILE([src/graph/Makefile]) + AXIOM_MAKEFILE([src/graph/Gdraws/Makefile]) + AXIOM_MAKEFILE([src/graph/view2D/Makefile]) + AXIOM_MAKEFILE([src/graph/view3D/Makefile]) + AXIOM_MAKEFILE([src/graph/viewAlone/Makefile]) + AXIOM_MAKEFILE([src/graph/viewman/Makefile]) +else + AC_MSG_NOTICE([The Garphics component is disabled.]) +fi +AC_SUBST(axiom_src_all) +AC_SUBST(axiom_use_x) +openaxiom_host_has_regex= +AC_CHECK_HEADER([regex.h], + [openaxiom_host_has_regex=yes], + [openaxiom_host_has_regex=no]) +AC_SUBST(openaxiom_host_has_regex) + +axiom_host_has_libbfd= +## Check for these only if we are going to build GCL from source. +case $axiom_all_prerequisites in + *all-gcl*) + AC_CHECK_HEADER([bfd.h]) + AC_HAVE_LIBRARY([bfd], [axiom_host_has_libbfd=yes]) + + axiom_gcl_bfd_option= + if test x"$ac_cv_header_bfd_h" = xyes \ + && test x"$axiom_host_has_libbfd" = xyes; then + axiom_gcl_bfd_option="--disable-dynsysbfd" + else + axiom_gcl_bfd_option="--disable-statsysbfd --enable-locbfd" + fi + ;; + *) + # Nothing to worry about + ;; +esac +# axiom_gcl_mm_option="--enable-maxpage=256*1024" +axiom_gcl_x_option="--disable-tkconfig --disable-x --disable-xgcl" +axiom_gcl_emacs="--enable-emacs=correct" + +PFL= +CCF="-O2 -fno-strength-reduce -Wall -D_GNU_SOURCE" +LDF= +LISP=lsp + +case $target in + *bsd*) + AC_DEFINE([BSDplatform], [], [BSD flavour]) + CCF="-O2 -pipe -fno-strength-reduce -Wall -D_GNU_SOURCE -I/usr/local/include" + LDF="-L/usr/local/lib" + ;; + windows) + AC_DEFINE([MSYSplatform], [], [MS]) + SRCDIRS=bootdir interpdir sharedir algebradir etcdir docdir inputdir + ;; + *linux*) + AC_DEFINE([LINUXplatform], [], [Linux flavour]) + ;; + *solaris*) + AC_DEFINE([SUNplatform], [], [SunOS flavour]) + ;; + powerpc*darwin*) + AC_DEFINE([MACOSXplatform], [], [MACOX flavour]) + CCF="-O2 -fno-strength-reduce -Wall -D_GNU_SOURCE \ + -I/usr/include -I/usr/include/sys" + axiom_gcl_bfd_option="--disable-statsysbfd \ + --enable-machine=powerpc-macosx" + axiom_gcl_mm_option="--enable-vssize=65536*2" + ;; +esac + +GCLOPTS="$axiom_gcl_emacs $axiom_gcl_bfd_option $axiom_gcl_mm_option $axiom_gcl_x_option" + +AC_SUBST(PLF) +AC_SUBST(CCF) +AC_SUBST(LDF) +AC_SUBST(LISP) +AC_SUBST(GCLOPTS) +case $axiom_lisp_flavor in + gcl) + void_type='void' + char_type='char' + int_type='int' + float_type='float' + double_type='double' + string_type='string' + pointer_type='object' + ;; + sbcl) + void_type='sb-alien:void' + char_type='sb-alien:char' + int_type='sb-alien:int' + float_type='sb-alien:float' + double_type='sb-alien:double' + string_type='sb-alien:c-string' + pointer_type='sb-alien:system-area-pointer' + ;; + clisp) + void_type='nil' + char_type='ffi:character' + int_type='ffi:int' + float_type='ffi:single-float' + double_type='ffi:double-float' + string_type='ffi:c-string' + pointer_type='ffi:c-pointer' + ;; + ecl) + void_type=':void' + char_type=':char' + int_type=':int' + float_type=':float' + double_type=':double' + string_type=':cstring' + pointer_type=':pointer-void' + ;; + *) + AC_MSG_ERROR([We do not know how to translate native types for this Lisp]) + ;; +esac +AC_SUBST(void_type) +AC_SUBST(char_type) +AC_SUBST(int_type) +AC_SUBST(float_type) +AC_SUBST(double_type) +AC_SUBST(string_type) +AC_SUBST(pointer_type) + +AXIOM_MAKEFILE([Makefile]) +AXIOM_MAKEFILE([src/Makefile]) +AXIOM_MAKEFILE([src/lib/Makefile]) +AXIOM_MAKEFILE([src/hyper/Makefile]) +AXIOM_MAKEFILE([src/driver/Makefile]) +AXIOM_MAKEFILE([src/lisp/Makefile]) +AXIOM_MAKEFILE([src/boot/Makefile]) +AXIOM_MAKEFILE([src/interp/Makefile]) +AXIOM_MAKEFILE([src/share/Makefile]) +AXIOM_MAKEFILE([src/algebra/Makefile]) +AXIOM_MAKEFILE([src/input/Makefile]) +AXIOM_MAKEFILE([src/etc/Makefile]) +AXIOM_MAKEFILE([src/doc/Makefile]) + + +## We now generate the "document" script and support files at configure time. +## We put them in the build directory because they are intended to be +## build support utils only. +AC_CONFIG_FILES(build/scripts/document:$srcdir/src/scripts/document.in, \ + [chmod +x build/scripts/document]) + +AC_OUTPUT + +## Generate rules for Algebra bootstrap files. +echo -n "building list of Algebra bootstrap files..." +egrep ".*BOOTSTRAP>>=" $srcdir/src/algebra/*.spad.pamphlet \ + | sort | uniq | \ + while IFS=':' read spad_file chunk_desc; do + chunk_desc=`echo $chunk_desc | sed -e 's,<<,,' -e 's,>>=,,'` + set $chunk_desc; bootstrap_file=$1 + cat >> src/algebra/tmp-extract-lisp-files.mk <>=' \ + $srcdir/src/algebra/*.spad.pamphlet \ + | sort | uniq | \ + while IFS=':' read spad_file chunk_desc; do + chunk_desc=`echo $chunk_desc | sed -e 's,<<,,' -e 's,>>=,,'` + set $chunk_desc; spad_abbrev=$2 + cat >> src/algebra/tmp-extract-spad.mk <>= +openaxiom_host_has_regex= AC_CHECK_HEADER([regex.h], - [axiom_src_all="$axiom_src_all all-hyper" - axiom_src_subdirs="$axiom_src_subdirs hyper" - AXIOM_MAKEFILE([src/hyper/Makefile])], - [AC_MSG_NOTICE([HyperDoc is disabled.])]) + [openaxiom_host_has_regex=yes], + [openaxiom_host_has_regex=no]) +AC_SUBST(openaxiom_host_has_regex) @ @@ -1165,6 +1165,7 @@ AC_CONFIG_SRCDIR(src/Makefile.pamphlet) AXIOM_MAKEFILE([Makefile]) AXIOM_MAKEFILE([src/Makefile]) AXIOM_MAKEFILE([src/lib/Makefile]) +AXIOM_MAKEFILE([src/hyper/Makefile]) AXIOM_MAKEFILE([src/driver/Makefile]) AXIOM_MAKEFILE([src/lisp/Makefile]) AXIOM_MAKEFILE([src/boot/Makefile]) @@ -1276,7 +1277,7 @@ AC_SUBST(oa_shrlib_flags) <> -axiom_src_subdirs="lib lisp boot interp share algebra input etc doc" +axiom_src_subdirs="lib hyper lisp boot interp share algebra input etc doc" AC_SUBST(axiom_src_subdirs) <> diff --git a/src/ChangeLog b/src/ChangeLog index 1f7213cd..b3772f79 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,5 +1,7 @@ 2008-05-22 Gabriel Dos Reis + * hyper/token.h: Avoid numeric constants macros. + * hyper/hyper.h: Move lexing stuff to hyper/lex.h * hyper/htadd.c: Don't include hyper.h. Include cfuns.h and node.h instead. diff --git a/src/Makefile.in b/src/Makefile.in index 51061c49..87755212 100644 --- a/src/Makefile.in +++ b/src/Makefile.in @@ -1,73 +1,69 @@ - -pamphlets = Makefile.pamphlet - -subdir = src/ - -SUBDIRS = @axiom_src_subdirs@ - -.PHONY: all all-ax all-src all-clef all-sman all-driver - -all: all-ax - -all-ax all-src: stamp - @echo finished $(builddir) - -stamp: @axiom_src_all@ all-driver - -rm -f stamp - $(STAMP) stamp - -all-driver: - @cd driver && $(MAKE) $@ - -all-clef: all-lib - @$(mkinstalldirs) $(axiom_target_bindir) - cd clef && ${MAKE} -all-sman: all-lib all-driver - $(mkinstalldirs) $(axiom_target_bindir) - $(mkinstalldirs) $(axiom_target_libdir) - cd sman && ${MAKE} -all-hyper: all-lib - $(mkinstalldirs) $(axiom_target_bindir) - $(mkinstalldirs) $(axiom_target_datadir) - cd hyper && ${MAKE} -all-share: - $(mkinstalldirs) $(axiom_target_libdir) - cd share && ${MAKE} -all-doc: - cd doc && ${MAKE} -all-lib: - @cd lib && $(MAKE) $@ -all-lisp: all-lib - cd lisp && $(MAKE) all-lisp -all-boot: all-lisp - @cd boot && $(MAKE) $@ -ifeq (@axiom_use_x@,yes) -all-interpsys: all-boot all-hyper -else -all-interpsys: all-boot -endif - cd interp && ${MAKE} all-interpsys - -all-axiomsys: all-asq - cd interp && $(MAKE) all-axiomsys -all-algebra: all-interpsys all-share - @ $(mkinstalldirs) algebra/strap - cd algebra && ${MAKE} -all-input: all-axiomsys - cd input && ${MAKE} -all-asq: all-algebra - cd etc && ${MAKE} -all-graph: all-lib - cd graph && ${MAKE} - -.PHONY: all-check -all-check: - cd input && $(MAKE) all-check - -mostlyclean-local: - -rm -f stamp - -clean-local: mostlyclean-local - -distclean-local: clean-local - + +pamphlets = Makefile.pamphlet + +subdir = src/ + +SUBDIRS = @axiom_src_subdirs@ + +.PHONY: all all-ax all-src all-clef all-sman all-driver + +all: all-ax + +all-ax all-src: stamp + @echo finished $(builddir) + +stamp: @axiom_src_all@ all-driver + -rm -f stamp + $(STAMP) stamp + +all-driver: + @cd driver && $(MAKE) $@ + +all-clef: all-lib + @$(mkinstalldirs) $(axiom_target_bindir) + cd clef && ${MAKE} +all-sman: all-lib all-driver + $(mkinstalldirs) $(axiom_target_bindir) + $(mkinstalldirs) $(axiom_target_libdir) + cd sman && ${MAKE} +all-hyper: all-lib + $(mkinstalldirs) $(axiom_target_bindir) + $(mkinstalldirs) $(axiom_target_datadir) + cd hyper && ${MAKE} +all-share: + $(mkinstalldirs) $(axiom_target_libdir) + cd share && ${MAKE} +all-doc: + cd doc && ${MAKE} +all-lib: + @cd lib && $(MAKE) $@ +all-lisp: all-lib + cd lisp && $(MAKE) all-lisp +all-boot: all-lisp + @cd boot && $(MAKE) $@ +all-interpsys: all-boot all-hyper + cd interp && ${MAKE} all-interpsys + +all-axiomsys: all-asq + cd interp && $(MAKE) all-axiomsys +all-algebra: all-interpsys all-share + @ $(mkinstalldirs) algebra/strap + cd algebra && ${MAKE} +all-input: all-axiomsys + cd input && ${MAKE} +all-asq: all-algebra + cd etc && ${MAKE} +all-graph: all-lib + cd graph && ${MAKE} + +.PHONY: all-check +all-check: + cd input && $(MAKE) all-check + +mostlyclean-local: + -rm -f stamp + +clean-local: mostlyclean-local + +distclean-local: clean-local + diff --git a/src/Makefile.pamphlet b/src/Makefile.pamphlet index 2e6240a3..bff65b35 100644 --- a/src/Makefile.pamphlet +++ b/src/Makefile.pamphlet @@ -124,11 +124,7 @@ all-boot: all-lisp Once \Tool{bootsys} exists we need to build \Tool{interpsys}. <>= -ifeq (@axiom_use_x@,yes) all-interpsys: all-boot all-hyper -else -all-interpsys: all-boot -endif cd interp && ${MAKE} all-interpsys all-axiomsys: all-asq diff --git a/src/algebra/Makefile.in b/src/algebra/Makefile.in index 59ca6433..6b45e7d4 100644 --- a/src/algebra/Makefile.in +++ b/src/algebra/Makefile.in @@ -1,1158 +1,1158 @@ - -IN=$(srcdir) -OUT=$(axiom_targetdir)/algebra -DOC=$(axiom_target_docdir)/src/algebra -OUTSRC=$(axiom_target_srcdir)/algebra -INPUT=../input - -EXTRACT_BOOTSTRAP_FILE = \ - $(axiom_build_document) --output=$@ --tangle="$@ BOOTSTRAP" $< - -## We use interpsys, built from previous stage, to bootstrap the algebra -## files. In fact, we use interpsys to build everything. -COMPILE_LISP = $(INTERPSYS) --compile --output=$@ $< - - -INTERPSYS = ../interp/interpsys$(EXEEXT) -- --system="$(AXIOM)" \ - --sysalg="$(axiom_src_datadir)/algebra/" - - -SPADFILES= \ - ${OUTSRC}/acplot.spad ${OUTSRC}/aggcat2.spad ${OUTSRC}/aggcat.spad \ - ${OUTSRC}/algcat.spad ${OUTSRC}/algext.spad ${OUTSRC}/algfact.spad \ - ${OUTSRC}/algfunc.spad ${OUTSRC}/allfact.spad ${OUTSRC}/alql.spad \ - ${OUTSRC}/annacat.spad ${OUTSRC}/any.spad ${OUTSRC}/array1.spad \ - ${OUTSRC}/array2.spad ${OUTSRC}/asp.spad ${OUTSRC}/attreg.spad \ - ${OUTSRC}/bags.spad ${OUTSRC}/bezout.spad ${OUTSRC}/boolean.spad \ - ${OUTSRC}/brill.spad \ - ${OUTSRC}/c02.spad ${OUTSRC}/c05.spad ${OUTSRC}/c06.spad \ - ${OUTSRC}/card.spad ${OUTSRC}/carten.spad ${OUTSRC}/catdef.spad \ - ${OUTSRC}/cden.spad ${OUTSRC}/clifford.spad ${OUTSRC}/clip.spad \ - ${OUTSRC}/cmplxrt.spad ${OUTSRC}/coerce.spad ${OUTSRC}/color.spad \ - ${OUTSRC}/combfunc.spad ${OUTSRC}/combinat.spad ${OUTSRC}/complet.spad \ - ${OUTSRC}/constant.spad ${OUTSRC}/contfrac.spad ${OUTSRC}/cont.spad \ - ${OUTSRC}/coordsys.spad ${OUTSRC}/cra.spad ${OUTSRC}/crfp.spad \ - ${OUTSRC}/curve.spad ${OUTSRC}/cycles.spad ${OUTSRC}/cyclotom.spad \ - ${OUTSRC}/d01agents.spad ${OUTSRC}/d01Package.spad \ - ${OUTSRC}/d01routine.spad ${OUTSRC}/d01.spad ${OUTSRC}/d01transform.spad \ - ${OUTSRC}/d01weights.spad ${OUTSRC}/d02agents.spad \ - ${OUTSRC}/d02Package.spad ${OUTSRC}/d02routine.spad ${OUTSRC}/d02.spad \ - ${OUTSRC}/d03agents.spad ${OUTSRC}/d03Package.spad \ - ${OUTSRC}/d03routine.spad ${OUTSRC}/d03.spad ${OUTSRC}/ddfact.spad \ - ${OUTSRC}/defaults.spad ${OUTSRC}/defintef.spad ${OUTSRC}/defintrf.spad \ - ${OUTSRC}/degred.spad ${OUTSRC}/derham.spad ${OUTSRC}/dhmatrix.spad \ - ${OUTSRC}/divisor.spad ${OUTSRC}/dpolcat.spad ${OUTSRC}/drawopt.spad \ - ${OUTSRC}/drawpak.spad ${OUTSRC}/draw.spad \ - ${OUTSRC}/e01.spad ${OUTSRC}/e02.spad ${OUTSRC}/e04agents.spad \ - ${OUTSRC}/e04Package.spad ${OUTSRC}/e04routine.spad ${OUTSRC}/e04.spad \ - ${OUTSRC}/efstruc.spad ${OUTSRC}/efuls.spad ${OUTSRC}/efupxs.spad \ - ${OUTSRC}/eigen.spad ${OUTSRC}/elemntry.spad ${OUTSRC}/elfuts.spad \ - ${OUTSRC}/equation1.spad ${OUTSRC}/equation2.spad ${OUTSRC}/error.spad \ - ${OUTSRC}/expexpan.spad ${OUTSRC}/expr2ups.spad \ - ${OUTSRC}/exprode.spad ${OUTSRC}/expr.spad \ - ${OUTSRC}/f01.spad ${OUTSRC}/f02.spad ${OUTSRC}/f04.spad \ - ${OUTSRC}/f07.spad ${OUTSRC}/facutil.spad ${OUTSRC}/ffcat.spad \ - ${OUTSRC}/ffcg.spad ${OUTSRC}/fff.spad ${OUTSRC}/ffhom.spad \ - ${OUTSRC}/ffnb.spad ${OUTSRC}/ffpoly2.spad ${OUTSRC}/ffpoly.spad \ - ${OUTSRC}/ffp.spad ${OUTSRC}/ffx.spad \ - ${OUTSRC}/files.spad ${OUTSRC}/float.spad ${OUTSRC}/fmod.spad \ - ${OUTSRC}/fname.spad ${OUTSRC}/fnla.spad ${OUTSRC}/formula.spad \ - ${OUTSRC}/fortcat.spad ${OUTSRC}/fortmac.spad ${OUTSRC}/fortpak.spad \ - ${OUTSRC}/fortran.spad ${OUTSRC}/forttyp.spad ${OUTSRC}/fourier.spad \ - ${OUTSRC}/fparfrac.spad ${OUTSRC}/fraction.spad ${OUTSRC}/free.spad \ - ${OUTSRC}/fr.spad ${OUTSRC}/fs2expxp.spad ${OUTSRC}/fs2ups.spad \ - ${OUTSRC}/fspace.spad ${OUTSRC}/funcpkgs.spad ${OUTSRC}/functions.spad \ - ${OUTSRC}/galfact.spad ${OUTSRC}/galfactu.spad ${OUTSRC}/galpolyu.spad \ - ${OUTSRC}/galutil.spad ${OUTSRC}/gaussfac.spad ${OUTSRC}/gaussian.spad \ - ${OUTSRC}/gbeuclid.spad ${OUTSRC}/gbintern.spad ${OUTSRC}/gb.spad \ - ${OUTSRC}/gdirprod.spad ${OUTSRC}/gdpoly.spad ${OUTSRC}/geneez.spad \ - ${OUTSRC}/generic.spad ${OUTSRC}/genufact.spad ${OUTSRC}/genups.spad \ - ${OUTSRC}/ghensel.spad ${OUTSRC}/gpgcd.spad ${OUTSRC}/gpol.spad \ - ${OUTSRC}/grdef.spad ${OUTSRC}/groebf.spad ${OUTSRC}/groebsol.spad \ - ${OUTSRC}/gseries.spad \ - ${OUTSRC}/ideal.spad ${OUTSRC}/idecomp.spad ${OUTSRC}/indexedp.spad \ - ${OUTSRC}/infprod.spad ${OUTSRC}/intaf.spad ${OUTSRC}/intalg.spad \ - ${OUTSRC}/intaux.spad ${OUTSRC}/intclos.spad ${OUTSRC}/intef.spad \ - ${OUTSRC}/integer.spad ${OUTSRC}/integrat.spad \ - ${OUTSRC}/interval.spad \ - ${OUTSRC}/intfact.spad ${OUTSRC}/intpm.spad \ - ${OUTSRC}/intrf.spad \ - ${OUTSRC}/irexpand.spad \ - ${OUTSRC}/irsn.spad ${OUTSRC}/ituple.spad \ - ${OUTSRC}/kl.spad ${OUTSRC}/kovacic.spad \ - ${OUTSRC}/laplace.spad ${OUTSRC}/laurent.spad ${OUTSRC}/leadcdet.spad \ - ${OUTSRC}/lie.spad ${OUTSRC}/limitps.spad ${OUTSRC}/lindep.spad \ - ${OUTSRC}/lingrob.spad ${OUTSRC}/liouv.spad ${OUTSRC}/listgcd.spad \ - ${OUTSRC}/list.spad ${OUTSRC}/lmdict.spad ${OUTSRC}/lodof.spad \ - ${OUTSRC}/lodop.spad ${OUTSRC}/lodo.spad \ - ${OUTSRC}/manip.spad ${OUTSRC}/mappkg.spad ${OUTSRC}/matcat.spad \ - ${OUTSRC}/matfuns.spad ${OUTSRC}/mathml.spad \ - ${OUTSRC}/matrix.spad ${OUTSRC}/matstor.spad \ - ${OUTSRC}/mesh.spad ${OUTSRC}/mfinfact.spad ${OUTSRC}/misc.spad \ - ${OUTSRC}/mkfunc.spad ${OUTSRC}/mkrecord.spad \ - ${OUTSRC}/mlift.spad ${OUTSRC}/moddfact.spad ${OUTSRC}/modgcd.spad \ - ${OUTSRC}/modmonom.spad ${OUTSRC}/modmon.spad ${OUTSRC}/modring.spad \ - ${OUTSRC}/moebius.spad ${OUTSRC}/mring.spad ${OUTSRC}/mset.spad \ - ${OUTSRC}/mts.spad ${OUTSRC}/multfact.spad ${OUTSRC}/multpoly.spad \ - ${OUTSRC}/multsqfr.spad \ - ${OUTSRC}/naalgc.spad ${OUTSRC}/naalg.spad \ - ${OUTSRC}/newdata.spad ${OUTSRC}/newpoint.spad \ - ${OUTSRC}/newpoly.spad ${OUTSRC}/nlinsol.spad ${OUTSRC}/nlode.spad \ - ${OUTSRC}/npcoef.spad \ - ${OUTSRC}/nregset.spad \ - ${OUTSRC}/nsregset.spad ${OUTSRC}/numeigen.spad ${OUTSRC}/numeric.spad \ - ${OUTSRC}/numode.spad ${OUTSRC}/numquad.spad ${OUTSRC}/numsolve.spad \ - ${OUTSRC}/numtheor.spad \ - ${OUTSRC}/oct.spad ${OUTSRC}/odealg.spad ${OUTSRC}/odeef.spad \ - ${OUTSRC}/oderf.spad ${OUTSRC}/omcat.spad ${OUTSRC}/omdev.spad \ - ${OUTSRC}/omerror.spad ${OUTSRC}/omserver.spad ${OUTSRC}/opalg.spad \ - ${OUTSRC}/openmath.spad ${OUTSRC}/op.spad ${OUTSRC}/ore.spad \ - ${OUTSRC}/outform.spad ${OUTSRC}/out.spad \ - ${OUTSRC}/pade.spad ${OUTSRC}/padiclib.spad ${OUTSRC}/padic.spad \ - ${OUTSRC}/paramete.spad ${OUTSRC}/partperm.spad ${OUTSRC}/patmatch1.spad \ - ${OUTSRC}/patmatch2.spad ${OUTSRC}/pattern.spad ${OUTSRC}/pcurve.spad \ - ${OUTSRC}/pdecomp.spad ${OUTSRC}/perman.spad ${OUTSRC}/permgrps.spad \ - ${OUTSRC}/perm.spad ${OUTSRC}/pfbr.spad ${OUTSRC}/pfo.spad \ - ${OUTSRC}/pfr.spad ${OUTSRC}/pf.spad ${OUTSRC}/pgcd.spad \ - ${OUTSRC}/pgrobner.spad ${OUTSRC}/pinterp.spad ${OUTSRC}/pleqn.spad \ - ${OUTSRC}/plot3d.spad ${OUTSRC}/plot.spad ${OUTSRC}/plottool.spad \ - ${OUTSRC}/polset.spad ${OUTSRC}/poltopol.spad ${OUTSRC}/polycat.spad \ - ${OUTSRC}/poly.spad ${OUTSRC}/primelt.spad ${OUTSRC}/print.spad \ - ${OUTSRC}/product.spad ${OUTSRC}/prs.spad ${OUTSRC}/prtition.spad \ - ${OUTSRC}/pscat.spad ${OUTSRC}/pseudolin.spad ${OUTSRC}/ptranfn.spad \ - ${OUTSRC}/puiseux.spad \ - ${OUTSRC}/qalgset.spad ${OUTSRC}/quat.spad \ - ${OUTSRC}/radeigen.spad ${OUTSRC}/radix.spad ${OUTSRC}/random.spad \ - ${OUTSRC}/ratfact.spad ${OUTSRC}/rdeef.spad ${OUTSRC}/rderf.spad \ - ${OUTSRC}/rdesys.spad ${OUTSRC}/real0q.spad ${OUTSRC}/realzero.spad \ - ${OUTSRC}/reclos.spad ${OUTSRC}/regset.spad ${OUTSRC}/rep1.spad \ - ${OUTSRC}/rep2.spad ${OUTSRC}/resring.spad ${OUTSRC}/retract.spad \ - ${OUTSRC}/rf.spad ${OUTSRC}/riccati.spad ${OUTSRC}/rinterp.spad \ - ${OUTSRC}/routines.spad \ - ${OUTSRC}/rule.spad \ - ${OUTSRC}/seg.spad ${OUTSRC}/setorder.spad ${OUTSRC}/sets.spad \ - ${OUTSRC}/sex.spad ${OUTSRC}/sf.spad ${OUTSRC}/sgcf.spad \ - ${OUTSRC}/sign.spad ${OUTSRC}/si.spad ${OUTSRC}/smith.spad \ - ${OUTSRC}/solvedio.spad ${OUTSRC}/solvefor.spad ${OUTSRC}/solvelin.spad \ - ${OUTSRC}/solverad.spad ${OUTSRC}/sortpak.spad ${OUTSRC}/space.spad \ - ${OUTSRC}/special.spad ${OUTSRC}/sregset.spad ${OUTSRC}/s.spad \ - ${OUTSRC}/stream.spad ${OUTSRC}/string.spad ${OUTSRC}/sttaylor.spad \ - ${OUTSRC}/sttf.spad ${OUTSRC}/sturm.spad ${OUTSRC}/suchthat.spad \ - ${OUTSRC}/suls.spad ${OUTSRC}/sum.spad ${OUTSRC}/sups.spad \ - ${OUTSRC}/supxs.spad ${OUTSRC}/suts.spad ${OUTSRC}/symbol.spad \ - ${OUTSRC}/syssolp.spad ${OUTSRC}/system.spad \ - ${OUTSRC}/tableau.spad ${OUTSRC}/table.spad ${OUTSRC}/taylor.spad \ - ${OUTSRC}/tex.spad ${OUTSRC}/tools.spad ${OUTSRC}/transsolve.spad \ - ${OUTSRC}/tree.spad ${OUTSRC}/trigcat.spad ${OUTSRC}/triset.spad \ - ${OUTSRC}/tube.spad ${OUTSRC}/twofact.spad \ - ${OUTSRC}/unifact.spad ${OUTSRC}/updecomp.spad ${OUTSRC}/updivp.spad \ - ${OUTSRC}/utsode.spad \ - ${OUTSRC}/variable.spad ${OUTSRC}/vector.spad ${OUTSRC}/view2D.spad \ - ${OUTSRC}/view3D.spad ${OUTSRC}/viewDef.spad ${OUTSRC}/viewpack.spad \ - ${OUTSRC}/void.spad \ - ${OUTSRC}/weier.spad ${OUTSRC}/wtpol.spad \ - ${OUTSRC}/xlpoly.spad ${OUTSRC}/xpoly.spad \ - ${OUTSRC}/ystream.spad \ - ${OUTSRC}/zerodim.spad - - -ALDORFILES= \ - axtimer.as \ - ffrac.as \ - herm.as \ - interval.as \ - invnode.as \ - invrender.as \ - invtypes.as \ - invutils.as \ - iviews.as \ - ndftip.as \ - nepip.as \ - noptip.as nqip.as \ - nrc.as nsfip.as - - -DOCFILES= \ - ${DOC}/acplot.spad.dvi ${DOC}/aggcat2.spad.dvi ${DOC}/aggcat.spad.dvi \ - ${DOC}/algcat.spad.dvi ${DOC}/algext.spad.dvi ${DOC}/algfact.spad.dvi \ - ${DOC}/algfunc.spad.dvi ${DOC}/allfact.spad.dvi ${DOC}/alql.spad.dvi \ - ${DOC}/annacat.spad.dvi ${DOC}/any.spad.dvi ${DOC}/array1.spad.dvi \ - ${DOC}/array2.spad.dvi ${DOC}/asp.spad.dvi ${DOC}/attreg.spad.dvi \ - ${DOC}/axtimer.as.dvi \ - ${DOC}/bags.spad.dvi ${DOC}/bezout.spad.dvi ${DOC}/boolean.spad.dvi \ - ${DOC}/brill.spad.dvi \ - ${DOC}/c02.spad.dvi ${DOC}/c05.spad.dvi ${DOC}/c06.spad.dvi \ - ${DOC}/card.spad.dvi ${DOC}/carten.spad.dvi ${DOC}/catdef.spad.dvi \ - ${DOC}/cden.spad.dvi ${DOC}/clifford.spad.dvi ${DOC}/clip.spad.dvi \ - ${DOC}/cmplxrt.spad.dvi ${DOC}/coerce.spad.dvi ${DOC}/color.spad.dvi \ - ${DOC}/combfunc.spad.dvi ${DOC}/combinat.spad.dvi ${DOC}/complet.spad.dvi \ - ${DOC}/constant.spad.dvi ${DOC}/contfrac.spad.dvi ${DOC}/cont.spad.dvi \ - ${DOC}/coordsys.spad.dvi ${DOC}/cra.spad.dvi ${DOC}/crfp.spad.dvi \ - ${DOC}/curve.spad.dvi ${DOC}/cycles.spad.dvi ${DOC}/cyclotom.spad.dvi \ - ${DOC}/d01agents.spad.dvi ${DOC}/d01Package.spad.dvi \ - ${DOC}/d01routine.spad.dvi ${DOC}/d01.spad.dvi ${DOC}/d01transform.spad.dvi \ - ${DOC}/d01weights.spad.dvi ${DOC}/d02agents.spad.dvi \ - ${DOC}/d02Package.spad.dvi ${DOC}/d02routine.spad.dvi ${DOC}/d02.spad.dvi \ - ${DOC}/d03agents.spad.dvi ${DOC}/d03Package.spad.dvi \ - ${DOC}/d03routine.spad.dvi ${DOC}/d03.spad.dvi ${DOC}/ddfact.spad.dvi \ - ${DOC}/defaults.spad.dvi ${DOC}/defintef.spad.dvi ${DOC}/defintrf.spad.dvi \ - ${DOC}/degred.spad.dvi ${DOC}/derham.spad.dvi ${DOC}/dhmatrix.spad.dvi \ - ${DOC}/divisor.spad.dvi ${DOC}/dpolcat.spad.dvi ${DOC}/drawopt.spad.dvi \ - ${DOC}/drawpak.spad.dvi ${DOC}/draw.spad.dvi \ - ${DOC}/e01.spad.dvi ${DOC}/e02.spad.dvi ${DOC}/e04agents.spad.dvi \ - ${DOC}/e04Package.spad.dvi ${DOC}/e04routine.spad.dvi ${DOC}/e04.spad.dvi \ - ${DOC}/efstruc.spad.dvi ${DOC}/efuls.spad.dvi ${DOC}/efupxs.spad.dvi \ - ${DOC}/eigen.spad.dvi ${DOC}/elemntry.spad.dvi ${DOC}/elfuts.spad.dvi \ - ${DOC}/equation1.spad.dvi ${DOC}/equation2.spad.dvi ${DOC}/error.spad.dvi \ - ${DOC}/expexpan.spad.dvi ${DOC}/exposed.lsp.dvi ${DOC}/expr2ups.spad.dvi \ - ${DOC}/exprode.spad.dvi ${DOC}/expr.spad.dvi \ - ${DOC}/f01.spad.dvi ${DOC}/f02.spad.dvi ${DOC}/f04.spad.dvi \ - ${DOC}/f07.spad.dvi ${DOC}/facutil.spad.dvi ${DOC}/ffcat.spad.dvi \ - ${DOC}/ffcg.spad.dvi ${DOC}/fff.spad.dvi ${DOC}/ffhom.spad.dvi \ - ${DOC}/ffnb.spad.dvi ${DOC}/ffpoly2.spad.dvi ${DOC}/ffpoly.spad.dvi \ - ${DOC}/ffp.spad.dvi ${DOC}/ffrac.as.dvi ${DOC}/ffx.spad.dvi \ - ${DOC}/files.spad.dvi ${DOC}/float.spad.dvi ${DOC}/fmod.spad.dvi \ - ${DOC}/fname.spad.dvi ${DOC}/fnla.spad.dvi ${DOC}/formula.spad.dvi \ - ${DOC}/fortcat.spad.dvi ${DOC}/fortmac.spad.dvi ${DOC}/fortpak.spad.dvi \ - ${DOC}/fortran.spad.dvi ${DOC}/forttyp.spad.dvi ${DOC}/fourier.spad.dvi \ - ${DOC}/fparfrac.spad.dvi ${DOC}/fraction.spad.dvi ${DOC}/free.spad.dvi \ - ${DOC}/fr.spad.dvi ${DOC}/fs2expxp.spad.dvi ${DOC}/fs2ups.spad.dvi \ - ${DOC}/fspace.spad.dvi ${DOC}/funcpkgs.spad.dvi ${DOC}/functions.spad.dvi \ - ${DOC}/galfact.spad.dvi ${DOC}/galfactu.spad.dvi ${DOC}/galpolyu.spad.dvi \ - ${DOC}/galutil.spad.dvi ${DOC}/gaussfac.spad.dvi ${DOC}/gaussian.spad.dvi \ - ${DOC}/gbeuclid.spad.dvi ${DOC}/gbintern.spad.dvi ${DOC}/gb.spad.dvi \ - ${DOC}/gdirprod.spad.dvi ${DOC}/gdpoly.spad.dvi ${DOC}/geneez.spad.dvi \ - ${DOC}/generic.spad.dvi ${DOC}/genufact.spad.dvi ${DOC}/genups.spad.dvi \ - ${DOC}/ghensel.spad.dvi ${DOC}/gpgcd.spad.dvi ${DOC}/gpol.spad.dvi \ - ${DOC}/grdef.spad.dvi ${DOC}/groebf.spad.dvi ${DOC}/groebsol.spad.dvi \ - ${DOC}/gseries.spad.dvi \ - ${DOC}/herm.as.dvi \ - ${DOC}/ideal.spad.dvi ${DOC}/idecomp.spad.dvi ${DOC}/indexedp.spad.dvi \ - ${DOC}/infprod.spad.dvi ${DOC}/intaf.spad.dvi ${DOC}/intalg.spad.dvi \ - ${DOC}/intaux.spad.dvi ${DOC}/intclos.spad.dvi ${DOC}/intef.spad.dvi \ - ${DOC}/integer.spad.dvi ${DOC}/integrat.spad.dvi \ - ${DOC}/interval.as.dvi ${DOC}/interval.spad.dvi \ - ${DOC}/intfact.spad.dvi ${DOC}/intpm.spad.dvi \ - ${DOC}/intrf.spad.dvi ${DOC}/invnode.as.dvi ${DOC}/invrender.as.dvi \ - ${DOC}/invtypes.as.dvi ${DOC}/invutils.as.dvi ${DOC}/irexpand.spad.dvi \ - ${DOC}/irsn.spad.dvi ${DOC}/ituple.spad.dvi ${DOC}/iviews.as.dvi \ - ${DOC}/kl.spad.dvi ${DOC}/kovacic.spad.dvi \ - ${DOC}/laplace.spad.dvi ${DOC}/laurent.spad.dvi ${DOC}/leadcdet.spad.dvi \ - ${DOC}/lie.spad.dvi ${DOC}/limitps.spad.dvi ${DOC}/lindep.spad.dvi \ - ${DOC}/lingrob.spad.dvi ${DOC}/liouv.spad.dvi ${DOC}/listgcd.spad.dvi \ - ${DOC}/list.spad.dvi ${DOC}/lmdict.spad.dvi ${DOC}/lodof.spad.dvi \ - ${DOC}/lodop.spad.dvi ${DOC}/lodo.spad.dvi \ - ${DOC}/manip.spad.dvi ${DOC}/mappkg.spad.dvi ${DOC}/matcat.spad.dvi \ - ${DOC}/matfuns.spad.dvi ${DOC}/mathml.spad.dvi \ - ${DOC}/matrix.spad.dvi ${DOC}/matstor.spad.dvi \ - ${DOC}/mesh.spad.dvi ${DOC}/mfinfact.spad.dvi ${DOC}/misc.spad.dvi \ - ${DOC}/mkfunc.spad.dvi ${DOC}/mkrecord.spad.dvi ${DOC}/mlift.spad.jhd.dvi \ - ${DOC}/mlift.spad.dvi ${DOC}/moddfact.spad.dvi ${DOC}/modgcd.spad.dvi \ - ${DOC}/modmonom.spad.dvi ${DOC}/modmon.spad.dvi ${DOC}/modring.spad.dvi \ - ${DOC}/moebius.spad.dvi ${DOC}/mring.spad.dvi ${DOC}/mset.spad.dvi \ - ${DOC}/mts.spad.dvi ${DOC}/multfact.spad.dvi ${DOC}/multpoly.spad.dvi \ - ${DOC}/multsqfr.spad.dvi \ - ${DOC}/naalgc.spad.dvi ${DOC}/naalg.spad.dvi ${DOC}/ndftip.as.dvi \ - ${DOC}/nepip.as.dvi ${DOC}/newdata.spad.dvi ${DOC}/newpoint.spad.dvi \ - ${DOC}/newpoly.spad.dvi ${DOC}/nlinsol.spad.dvi ${DOC}/nlode.spad.dvi \ - ${DOC}/noptip.as.dvi ${DOC}/npcoef.spad.dvi ${DOC}/nqip.as.dvi \ - ${DOC}/nrc.as.dvi ${DOC}/nregset.spad.dvi ${DOC}/nsfip.as.dvi \ - ${DOC}/nsregset.spad.dvi ${DOC}/numeigen.spad.dvi ${DOC}/numeric.spad.dvi \ - ${DOC}/numode.spad.dvi ${DOC}/numquad.spad.dvi ${DOC}/numsolve.spad.dvi \ - ${DOC}/numtheor.spad.dvi \ - ${DOC}/oct.spad.dvi ${DOC}/odealg.spad.dvi ${DOC}/odeef.spad.dvi \ - ${DOC}/oderf.spad.dvi ${DOC}/omcat.spad.dvi ${DOC}/omdev.spad.dvi \ - ${DOC}/omerror.spad.dvi ${DOC}/omserver.spad.dvi ${DOC}/opalg.spad.dvi \ - ${DOC}/openmath.spad.dvi ${DOC}/op.spad.dvi ${DOC}/ore.spad.dvi \ - ${DOC}/outform.spad.dvi ${DOC}/out.spad.dvi \ - ${DOC}/pade.spad.dvi ${DOC}/padiclib.spad.dvi ${DOC}/padic.spad.dvi \ - ${DOC}/paramete.spad.dvi ${DOC}/partperm.spad.dvi ${DOC}/patmatch1.spad.dvi \ - ${DOC}/patmatch2.spad.dvi ${DOC}/pattern.spad.dvi ${DOC}/pcurve.spad.dvi \ - ${DOC}/pdecomp.spad.dvi ${DOC}/perman.spad.dvi ${DOC}/permgrps.spad.dvi \ - ${DOC}/perm.spad.dvi ${DOC}/pfbr.spad.dvi ${DOC}/pfo.spad.dvi \ - ${DOC}/pfr.spad.dvi ${DOC}/pf.spad.dvi ${DOC}/pgcd.spad.dvi \ - ${DOC}/pgrobner.spad.dvi ${DOC}/pinterp.spad.dvi ${DOC}/pleqn.spad.dvi \ - ${DOC}/plot3d.spad.dvi ${DOC}/plot.spad.dvi ${DOC}/plottool.spad.dvi \ - ${DOC}/polset.spad.dvi ${DOC}/poltopol.spad.dvi ${DOC}/polycat.spad.dvi \ - ${DOC}/poly.spad.dvi ${DOC}/primelt.spad.dvi ${DOC}/print.spad.dvi \ - ${DOC}/product.spad.dvi ${DOC}/prs.spad.dvi ${DOC}/prtition.spad.dvi \ - ${DOC}/pscat.spad.dvi ${DOC}/pseudolin.spad.dvi ${DOC}/ptranfn.spad.dvi \ - ${DOC}/puiseux.spad.dvi \ - ${DOC}/qalgset.spad.dvi ${DOC}/quat.spad.dvi \ - ${DOC}/radeigen.spad.dvi ${DOC}/radix.spad.dvi ${DOC}/random.spad.dvi \ - ${DOC}/ratfact.spad.dvi ${DOC}/rdeef.spad.dvi ${DOC}/rderf.spad.dvi \ - ${DOC}/rdesys.spad.dvi ${DOC}/real0q.spad.dvi ${DOC}/realzero.spad.dvi \ - ${DOC}/reclos.spad.dvi ${DOC}/regset.spad.dvi ${DOC}/rep1.spad.dvi \ - ${DOC}/rep2.spad.dvi ${DOC}/resring.spad.dvi ${DOC}/retract.spad.dvi \ - ${DOC}/rf.spad.dvi ${DOC}/riccati.spad.dvi ${DOC}/rinterp.spad.dvi \ - ${DOC}/routines.spad.dvi \ - ${DOC}/rule.spad.dvi \ - ${DOC}/seg.spad.dvi ${DOC}/setorder.spad.dvi ${DOC}/sets.spad.dvi \ - ${DOC}/sex.spad.dvi ${DOC}/sf.spad.dvi ${DOC}/sgcf.spad.dvi \ - ${DOC}/sign.spad.dvi ${DOC}/si.spad.dvi ${DOC}/smith.spad.dvi \ - ${DOC}/solvedio.spad.dvi ${DOC}/solvefor.spad.dvi ${DOC}/solvelin.spad.dvi \ - ${DOC}/solverad.spad.dvi ${DOC}/sortpak.spad.dvi ${DOC}/space.spad.dvi \ - ${DOC}/special.spad.dvi ${DOC}/sregset.spad.dvi ${DOC}/s.spad.dvi \ - ${DOC}/stream.spad.dvi ${DOC}/string.spad.dvi ${DOC}/sttaylor.spad.dvi \ - ${DOC}/sttf.spad.dvi ${DOC}/sturm.spad.dvi ${DOC}/suchthat.spad.dvi \ - ${DOC}/suls.spad.dvi ${DOC}/sum.spad.dvi ${DOC}/sups.spad.dvi \ - ${DOC}/supxs.spad.dvi ${DOC}/suts.spad.dvi ${DOC}/symbol.spad.dvi \ - ${DOC}/syssolp.spad.dvi ${DOC}/system.spad.dvi \ - ${DOC}/tableau.spad.dvi ${DOC}/table.spad.dvi ${DOC}/taylor.spad.dvi \ - ${DOC}/tex.spad.dvi ${DOC}/tools.spad.dvi ${DOC}/transsolve.spad.dvi \ - ${DOC}/tree.spad.dvi ${DOC}/trigcat.spad.dvi ${DOC}/triset.spad.dvi \ - ${DOC}/tube.spad.dvi ${DOC}/twofact.spad.dvi \ - ${DOC}/unifact.spad.dvi ${DOC}/updecomp.spad.dvi ${DOC}/updivp.spad.dvi \ - ${DOC}/utsode.spad.dvi \ - ${DOC}/variable.spad.dvi ${DOC}/vector.spad.dvi ${DOC}/view2D.spad.dvi \ - ${DOC}/view3D.spad.dvi ${DOC}/viewDef.spad.dvi ${DOC}/viewpack.spad.dvi \ - ${DOC}/void.spad.dvi \ - ${DOC}/weier.spad.dvi ${DOC}/wtpol.spad.dvi \ - ${DOC}/xlpoly.spad.dvi ${DOC}/xpoly.spad.dvi \ - ${DOC}/ystream.spad.dvi \ - ${DOC}/zerodim.spad.dvi - - -TESTS=${INPUT}/INTHEORY.input ${INPUT}/VIEW2D.input ${INPUT}/TESTFR.input - - -subdir = src/algebra/ - -# The list of objects necessary to bootstrap the whole algebra library. -axiom_algebra_layer_strap = \ - $(addprefix strap/,$(axiom_algebra_bootstrap)) - -axiom_algebra_layer_strap_objects = \ - $(addsuffix .$(FASLEXT),$(axiom_algebra_layer_strap)) - - -axiom_algebra_bootstrap = \ - ABELGRP ABELGRP- ABELMON ABELMON- \ - ABELSG ABELSG- ALAGG BOOLEAN \ - CABMON CHAR CLAGG CLAGG- \ - COMRING DFLOAT DIFRING DIFRING- \ - DIVRING DIVRING- ENTIRER ES \ - ES- EUCDOM EUCDOM- FFIELDC \ - FFIELDC- FPS FPS- GCDDOM \ - GCDDOM- HOAGG HOAGG- ILIST \ - INS INS- INT INTDOM \ - INTDOM- ISTRING LIST LNAGG \ - LNAGG- LSAGG LSAGG- MONOID \ - MONOID- MTSCAT NNI OINTDOM \ - ORDRING ORDRING- OUTFORM PI \ - PRIMARR POLYCAT POLYCAT- PSETCAT \ - PSETCAT- QFCAT QFCAT- RCAGG \ - RCAGG- REF RING RING- \ - RNG RNS RNS- SETAGG \ - SETAGG- SETCAT SETCAT- SINT \ - STAGG STAGG- SYMBOL TSETCAT \ - TSETCAT- UFD UFD- ULSCAT \ - UPOLYC UPOLYC- URAGG URAGG- \ - VECTOR - -axiom_algebra_bootstrap_nrlibs = \ - $(addsuffix .NRLIB/code.$(FASLEXT),$(axiom_algebra_bootstrap)) - -axiom_algebra_bootstrap_objects = \ - $(addprefix $(OUT)/, \ - $(addsuffix .$(FASLEXT), $(axiom_algebra_bootstrap))) - -axiom_algebra_layer_0 = \ - AHYP ATTREG CFCAT ELTAB KOERCE KONVERT \ - MSYSCMD OM OMCONN OMDEV OUT \ - PRIMCAT PRINT PTRANFN SPFCAT TYPE UTYPE \ - PROPLOG PROPERTY BASTYPE BASTYPE- CATEGORY LMODULE \ - RMODULE FINITE STEP SGROUP SGROUP- ABELSG \ - ABELSG- ORDSET ORDSET- FNCAT FILECAT SEXCAT \ - MKBCFUNC MKRECORD MKUCFUNC DROPT1 PLOT1 ITFUN2 \ - ITFUN3 STREAM1 STREAM2 STREAM3 ANY1 SEGBIND2 \ - COMBOPC EQ2 NONE1 - -axiom_algebra_layer_0_nrlibs = \ - $(addsuffix .NRLIB/code.$(FASLEXT),$(axiom_algebra_layer_0)) - -axiom_algebra_layer_0_objects = \ - $(addprefix $(OUT)/, \ - $(addsuffix .$(FASLEXT),$(axiom_algebra_layer_0))) -axiom_algebra_layer_1 = \ - AGG AGG- IEVALAB IEVALAB- FORTCAT ITUPLE \ - PATAB PPCURVE PSCURVE REAL RESLATC RETRACT \ - RETRACT- SEGCAT BINDING SYNTAX BMODULE LOGIC \ - LOGIC- EVALAB EVALAB- FEVALAB FEVALAB- BYTE - -axiom_algebra_layer_1_nrlibs = \ - $(addsuffix .NRLIB/code.$(FASLEXT),$(axiom_algebra_layer_1)) - -axiom_algebra_layer_1_objects = \ - $(addprefix $(OUT)/, \ - $(addsuffix .$(FASLEXT),$(axiom_algebra_layer_1))) -axiom_algebra_layer_2 = \ - ELTAGG ELTAGG- FMC FMFUN FORTFN FVC \ - CTORCALL FVFUN INTRET IXAGG IXAGG- SEGXCAT \ - CONTOUR LIST3 MKFUNC OASGP - -axiom_algebra_layer_2_nrlibs = \ - $(addsuffix .NRLIB/code.$(FASLEXT),$(axiom_algebra_layer_2)) - -axiom_algebra_layer_2_objects = \ - $(addprefix $(OUT)/, \ - $(addsuffix .$(FASLEXT),$(axiom_algebra_layer_2))) -axiom_algebra_layer_3 = \ - GRDEF SCOPE MAPHACK1 MAPHACK2 MAPHACK3 MAPPKG1 \ - MAPPKG2 MAPPKG3 INTBIT MONAD MONAD- - - - -axiom_algebra_layer_3_nrlibs = \ - $(addsuffix .NRLIB/code.$(FASLEXT),$(axiom_algebra_layer_3)) - -axiom_algebra_layer_3_objects = \ - $(addprefix $(OUT)/, \ - $(addsuffix .$(FASLEXT),$(axiom_algebra_layer_3))) -axiom_algebra_layer_4 = \ - ANON COLOR COMM COMPPROP ESCONT1 EXIT \ - FAMONC FORMULA1 IDPC NONE NUMINT \ - ODECAT OMENC ONECOMP2 OPTCAT \ - PALETTE PARPCURV PARPC2 PARSCURV PARSC2 PARSURF \ - PARSU2 PATMAB PATRES2 PATTERN1 PDECAT \ - REPSQ REPDB RFDIST RIDIST SPACEC SPLNODE \ - SUCH TEX1 UDVO YSTREAM PAIR ENV \ - ATRIG ATRIG- GROUP GROUP- LALG LALG- \ - OAMON BGAGG BGAGG- BRAGG BRAGG- ELAGG \ - ELAGG- DLAGG MODULE MODULE- - - -axiom_algebra_layer_4_nrlibs = \ - $(addsuffix .NRLIB/code.$(FASLEXT),$(axiom_algebra_layer_4)) - -axiom_algebra_layer_4_objects = \ - $(addprefix $(OUT)/, \ - $(addsuffix .$(FASLEXT),$(axiom_algebra_layer_4))) -axiom_algebra_layer_5 = \ - CACHSET CHARNZ CHARZ DVARCAT DVARCAT- ELEMFUN \ - ELEMFUN- ESTOOLS2 FCOMP FPATMAB IDPAM IDPO \ - INCRMAPS KERNEL2 LINEXP MODMONOM MONADWU MONADWU- \ - MRF2 NARNG NARNG- NSUP2 ODVAR OPQUERY \ - ORDFIN ORDMON PATMATCH PERMCAT PDRING PDRING- \ - SDVAR SUP2 TRIGCAT TRIGCAT- ULS2 UP2 \ - ELABEXPR OCAMON - -axiom_algebra_layer_5_nrlibs = \ - $(addsuffix .NRLIB/code.$(FASLEXT),$(axiom_algebra_layer_5)) - -axiom_algebra_layer_5_objects = \ - $(addprefix $(OUT)/, \ - $(addsuffix .$(FASLEXT),$(axiom_algebra_layer_5))) -axiom_algebra_layer_6 = \ - ALGEBRA ALGEBRA- AUTOMOR CARTEN2 CHARPOL COMPLEX2 \ - DIFEXT DIFEXT- ES1 ES2 GRMOD GRMOD- \ - HYPCAT HYPCAT- MKCHSET MODRING NASRING NASRING- \ - SORTPAK ZMOD PRQAGG QUAGG SKAGG DQAGG \ - PID OAGROUP OAMONS - -axiom_algebra_layer_6_nrlibs = \ - $(addsuffix .NRLIB/code.$(FASLEXT),$(axiom_algebra_layer_6)) -axiom_algebra_layer_6_objects = \ - $(addprefix $(OUT)/, \ - $(addsuffix .$(FASLEXT),$(axiom_algebra_layer_6))) -axiom_algebra_layer_7 = \ - BTCAT BTCAT- LNAGG LNAGG- FMCAT IDPOAM \ - IFAMON GRALG GRALG- FLAGG FLAGG- - -axiom_algebra_layer_7_nrlibs = \ - $(addsuffix .NRLIB/code.$(FASLEXT),$(axiom_algebra_layer_7)) - -axiom_algebra_layer_7_objects = \ - $(addprefix $(OUT)/, \ - $(addsuffix .$(FASLEXT),$(axiom_algebra_layer_7))) -axiom_algebra_layer_8 = \ - BSTREE BTOURN CARD DRAWHACK FACTFUNC FMTC \ - FR2 FRAC2 FRUTIL ITAYLOR MLO NAALG \ - NAALG- OP ORDCOMP2 RANDSRC UNISEG2 XALG \ - FIELD FIELD- A1AGG A1AGG- ARR2CAT ARR2CAT- - -axiom_algebra_layer_8_nrlibs = \ - $(addsuffix .NRLIB/code.$(FASLEXT),$(axiom_algebra_layer_8)) - -axiom_algebra_layer_8_objects = \ - $(addprefix $(OUT)/, \ - $(addsuffix .$(FASLEXT),$(axiom_algebra_layer_8))) -axiom_algebra_layer_9 = \ - AMR AMR- DEGRED DLP EAB ESTOOLS1 \ - FAGROUP FAMONOID FLINEXP FLINEXP- FRETRCT FRETRCT- \ - FSERIES FT IDPAG IDPOAMS INFINITY LA \ - OMLO ORTHPOL PRODUCT PADICCT PMPRED PMASS \ - PTFUNC2 RADCAT RADCAT- RATRET RADUTIL UPXS2 \ - XFALG ZLINDEP BBTREE LSAGG LSAGG- SRAGG \ - SRAGG- STRICAT ODEIFTBL NIPROB ODEPROB OPTPROB \ - PDEPROB - - -axiom_algebra_layer_9_nrlibs = \ - $(addsuffix .NRLIB/code.$(FASLEXT),$(axiom_algebra_layer_9)) - -axiom_algebra_layer_9_objects = \ - $(addprefix $(OUT)/, \ - $(addsuffix .$(FASLEXT),$(axiom_algebra_layer_9))) -axiom_algebra_layer_10 = \ - ASP34 BFUNCT BPADIC \ - BTREE CRAPACK DEQUEUE DLIST \ - DRAWCX D01GBFA D02EJFA D03FAFA \ - DRAWPT FAMR FAMR- FLASORT \ - FLAGG2 FGROUP FM FM1 \ - FPC FPC- FMONOID INDE \ - IPADIC IROOT IR2 LEXP \ - LIECAT LIECAT- LIST2 LIST2MAP \ - LMOPS LZSTAGG LZSTAGG- MAGMA \ - MESH MOEBIUS MODFIELD MODOP \ - MRING MTHING NCNTFRAC NCODIV \ - NUMTUBE ODR OFMONOID ONECOMP \ - ORDCOMP OREPCAT OREPCAT- OWP \ - PADIC PATTERN2 PATLRES PARTPERM \ - PBWLB PENDTREE PGE PGROEB \ - PINTERP PLOTTOOL PFR PMDOWN \ - PRTITION PMINS PMLSAGG PMTOOLS \ - PSCAT PSCAT- QFORM QUEUE \ - SCACHE SEG SEG2 SEXOF \ - STACK STTAYLOR TABLBUMP TABLEAU \ - TOPSP TRANFUN TRANFUN- TUBE \ - UDPO UNISEG VIEW VSPACE \ - VSPACE- XPOLYC XPR BTAGG BTAGG- - - -axiom_algebra_layer_10_nrlibs = \ - $(addsuffix .NRLIB/code.$(FASLEXT),$(axiom_algebra_layer_10)) - -axiom_algebra_layer_10_objects = \ - $(addprefix $(OUT)/, \ - $(addsuffix .$(FASLEXT),$(axiom_algebra_layer_10))) -axiom_algebra_layer_11 = \ - STRING \ - APPLYORE ARRAY1 ARRAY12 ARRAY2 \ - ASTACK COMBINAT \ - CSTTOOLS D01FCFA E04MBFA FARRAY \ - FLALG GALUTIL HEAP IARRAY1 \ - IARRAY2 IFARRAY INTCAT INTHEORY \ - IRREDFFX LFCAT LODOCAT LODOCAT- \ - LWORD MATCAT MATCAT- MATSTOR \ - ORESUP OREPCTO OREUP PLOT3D \ - PR PREASSOC PRIMARR2 REDORDER \ - STREAM SYMPOLY \ - TS TUPLE UPSCAT UPSCAT- \ - VECTCAT VECTCAT- XDPOLY XEXPPKG \ - XF XF- XPBWPOLY XPOLY \ - XRPOLY - -axiom_algebra_layer_11_nrlibs = \ - $(addsuffix .NRLIB/code.$(FASLEXT),$(axiom_algebra_layer_11)) - -axiom_algebra_layer_11_objects = \ - $(addprefix $(OUT)/, \ - $(addsuffix .$(FASLEXT),$(axiom_algebra_layer_11))) -axiom_algebra_layer_12 = \ - DIOPS DIOPS- DIAGG DIAGG- BITS DIRPROD2 IMATRIX \ - IVECTOR LPOLY LSMP LSMP1 MATCAT2 PTCAT TRIMAT \ - FSAGG FSAGG- SYSTEM BYTEARY - -axiom_algebra_layer_12_nrlibs = \ - $(addsuffix .NRLIB/code.$(FASLEXT),$(axiom_algebra_layer_12)) - -axiom_algebra_layer_12_objects = \ - $(addprefix $(OUT)/, \ - $(addsuffix .$(FASLEXT),$(axiom_algebra_layer_12))) -axiom_algebra_layer_13 = \ - KDAGG KDAGG- \ - ASSOCEQ CARTEN CLIF CLIP \ - COORDSYS DBASE DHMATRIX DIOSP \ - DIRPCAT DIRPCAT- D02BBFA D02BHFA \ - D02CJFA FAXF FAXF- FFPOLY2 \ - FNLA GRAY HB IRSN \ - MCALCFN MHROWRED NUMODE NUMQUAD \ - ODESYS ODETOOLS ORDFUNS PERMAN \ - PFECAT PFECAT- POINT PSEUDLIN \ - PTPACK REP2 SETMN SEX \ - SYMFUNC VECTOR2 CHAR - -axiom_algebra_layer_13_nrlibs = \ - $(addsuffix .NRLIB/code.$(FASLEXT),$(axiom_algebra_layer_13)) - -axiom_algebra_layer_13_objects = \ - $(addprefix $(OUT)/, \ - $(addsuffix .$(FASLEXT),$(axiom_algebra_layer_13))) -axiom_algebra_layer_14 = \ - TBAGG TBAGG- ALIST FS FS- ACF ACF- \ - ACFS ACFS- \ - ASP1 ASP10 ASP24 ASP4 \ - ASP50 ASP6 ASP73 BALFACT \ - BEZOUT BINARY BINFILE BOUNDZRO \ - BPADICRT BRILL CDEN CHVAR \ - COMMUPC CONTFRAC CVMP CYCLOTOM \ - CYCLES DDFACT DECIMAL DIRPROD DISPLAY DMP \ - DPMO DPOLCAT DPOLCAT- D01AJFA \ - D01AKFA D01ALFA D01AMFA D01APFA \ - D01AQFA EMR EQ ERROR \ - EVALCYC E04DGFA E04FDFA E04GCFA \ - E04JAFA FACUTIL FF FFCG \ - FFCGX FFHOM FFNB FFNBX \ - FFPOLY FFX FFSLPE FGLMICPK \ - FILE FINAALG FINAALG- FINRALG \ - FINRALG- FLOATRP FNAME \ - FOP FORMULA FORT FRAC \ - FTEM GENEEZ GENMFACT GENPGCD \ - GALFACTU GALPOLYU GB GBEUCLID \ - GBF GBINTERN GHENSEL GMODPOL \ - GOSPER GRIMAGE GROEBSOL HDMP \ - HDP HEXADEC HEUGCD IBPTOOLS \ - IFF IBITS ICARD ICDEN \ - IDECOMP IIARRAY2 IMATLIN IMATQF \ - INMODGCD INNMFACT INPSIGN INTHERTR \ - INTRAT INTRF INTSLPE INTTR \ - ISUMP LAUPOL LEADCDET LGROBP \ - LIMITRF LINDEP LO LPEFRAC \ - LSPP MATLIN MCDEN MDDFACT \ - MFINFACT MFLOAT MINT MLIFT \ - MMAP MODMON MONOTOOL MPCPF \ - MPC2 MPC3 MPOLY MPRFF \ - MRATFAC MULTSQFR NORMRETR NPCOEF \ - NSUP NTPOLFN ODP ODEPRIM \ - ODEPRRIC OMPKG OMSERVER PADEPAC \ - PADICRAT PADICRC PCOMP PDECOMP \ - PF PFBR PFBRU PFOTOOLS \ - PFRPAC PGCD PINTERPA PLEQN \ - PMPLCAT PMQFCAT PNTHEORY POLUTIL \ - POLTOPOL POLYCATQ POLYLIFT POLYROOT \ - POLY2 POLY2UP PRS PSQFR \ - PUSHVAR QALGSET QFCAT2 RADIX \ - RATFACT RCFIELD RCFIELD- RDETR \ - RDETRS REAL0 REAL0Q REALSOLV \ - RESRING RETSOL RF RFFACTOR \ - RMATCAT RMATCAT- RRCC RRCC- \ - SCPKG SHDP SHP SIGNRF \ - SMITH SMP SMTS SOLVEFOR \ - SPLTREE STINPROD STTFNC SUBRESP \ - SUMRF SUP SUPFRACF TANEXP \ - TEMUTL TEX TEXTFILE TREE \ - TWOFACT UNIFACT UP UPCDEN \ - UPDECOMP UPDIVP UPMP UPOLYC2 \ - UPXSCAT UPSQFREE VIEWDEF VIEW2D \ - VOID WEIER WP \ - EQTBL GSTBL HASHTBL \ - INTABL INTFTBL STBL STRTBL\ - TABLE FST SYMS SYMTAB - - -axiom_algebra_layer_14_nrlibs = \ - $(addsuffix .NRLIB/code.$(FASLEXT),$(axiom_algebra_layer_14)) - -axiom_algebra_layer_14_objects = \ - $(addprefix $(OUT)/, \ - $(addsuffix .$(FASLEXT),$(axiom_algebra_layer_14))) -axiom_algebra_layer_15 = \ - DSMP EXPUPXS \ - FRAMALG FRAMALG- MDAGG ODPOL \ - PLOT RMCAT2 ROIRC SDPOL \ - SMATCAT SMATCAT- TUBETOOL UPXSCCA \ - UPXSCCA- JAVACODE POLY - -axiom_algebra_layer_15_nrlibs = \ - $(addsuffix .NRLIB/code.$(FASLEXT),$(axiom_algebra_layer_15)) - -axiom_algebra_layer_15_objects = \ - $(addprefix $(OUT)/, \ - $(addsuffix .$(FASLEXT),$(axiom_algebra_layer_15))) -axiom_algebra_layer_16 = \ - DPMM EFUPXS FFINTBAS FRIDEAL \ - FRIDEAL2 FRMOD \ - IBATOOL INTFACT \ - MSETAGG MONOGEN MONOGEN- NFINTBAS \ - SPACE3 FFF - -axiom_algebra_layer_16_nrlibs = \ - $(addsuffix .NRLIB/code.$(FASLEXT),$(axiom_algebra_layer_16)) - -axiom_algebra_layer_16_objects = \ - $(addprefix $(OUT)/, \ - $(addsuffix .$(FASLEXT),$(axiom_algebra_layer_16))) -axiom_algebra_layer_17 = \ - CCLASS FSAGG2 GALFACT IALGFACT \ - IBACHIN MMLFORM NORMMA ODERED OMSAGG \ - PERM PERMGRP PRIMES PWFFINTB \ - RDIST SAE SAEFACT SAERFFC \ - SGCF VIEW3D - -axiom_algebra_layer_17_nrlibs = \ - $(addsuffix .NRLIB/code.$(FASLEXT),$(axiom_algebra_layer_17)) - -axiom_algebra_layer_17_objects = \ - $(addprefix $(OUT)/, \ - $(addsuffix .$(FASLEXT),$(axiom_algebra_layer_17))) -axiom_algebra_layer_18 = \ -INTPACK IPF \ - KAFILE PATRES TBCMPPK - -axiom_algebra_layer_18_nrlibs = \ - $(addsuffix .NRLIB/code.$(FASLEXT),$(axiom_algebra_layer_18)) - -axiom_algebra_layer_18_objects = \ - $(addprefix $(OUT)/, \ - $(addsuffix .$(FASLEXT),$(axiom_algebra_layer_18))) -axiom_algebra_layer_19 = \ - ACPLOT ANTISYM \ - ANY ASP27 ASP28 \ - ASP33 ASP49 ASP7 \ - ASP78 ASP9 ATTRBUT \ - BOP BOP1 COMMONOP COMPCAT \ - COMPCAT- DRAW DRAWCFUN DROPT \ - DROPT0 D01ANFA D01ASFA D03AGNT \ - EP E04AGNT FCPAK1 FEXPR \ - FFCAT FFCAT- FFCGP FFNBP \ - FFP FLOAT FPARFRAC FR \ - FRNAALG FRNAALG- \ - FUNCTION GDMP HACKPI \ - IDEAL INFORM INFORM1 IPRNTPK \ - IR ISUPS KERNEL LIB \ - LMDICT LODOOPS MATRIX MKFLCFN \ - MSET M3D NAGC02 NAGC05 \ - NAGC06 NAGD03 NAGE01 NAGE02 \ - NAGE04 NAGF07 NAGS NAGSP \ - NREP NUMFMT OC OC- \ - ODEPACK ODERAT OMERR OMERRK \ - OPTPACK OSI PATTERN OVAR \ - PMKERNEL PMSYM PRIMELT \ - QALGSET2 QEQUAT RECLOS REP1 \ - RESULT QUATCAT QUATCAT- RFFACT \ - RMATRIX ROMAN ROUTINE RPOLCAT \ - RPOLCAT- RULECOLD SAOS SEGBIND \ - SET SPECOUT SQMATRIX SWITCH \ - SYSSOLP UTSCAT \ - UTSCAT- VARIABLE WFFINTBS SPADPRSR \ - PARSER PROPFRML - -axiom_algebra_layer_19_nrlibs = \ - $(addsuffix .NRLIB/code.$(FASLEXT),$(axiom_algebra_layer_19)) - -axiom_algebra_layer_19_objects = \ - $(addprefix $(OUT)/, \ - $(addsuffix .$(FASLEXT),$(axiom_algebra_layer_19))) -axiom_algebra_layer_20 = \ - AF ALGFACT ASP12 ASP55 ASP8 \ - ALGFF ALGMANIP ALGMFACT ALGPKG \ - ALGSC AN APPRULE ASP19 \ - ASP20 ASP30 ASP31 ASP35 \ - ASP41 ASP42 ASP74 ASP77 \ - ASP80 CINTSLPE COMPFACT COMPLEX \ - COMPLPAT CMPLXRT CPMATCH CRFP \ - CTRIGMNP D01WGTS D02AGNT D03EEFA \ - DBLRESP DERHAM DFSFUN DRAWCURV \ - E04NAFA E04UCFA EF EFSTRUC \ - ELFUTS ESTOOLS EXPEXPAN EXPRODE \ - EXPRTUBE EXPR2 FC FDIVCAT \ - FDIVCAT- FDIV2 FFCAT2 FLOATCP \ - FORDER FORTRAN FSRED FSUPFACT \ - FRNAAF2 FSPECF FS2 FS2UPS \ - GAUSSFAC GCNAALG GENUFACT GENUPS \ - GTSET GPOLSET IAN INEP \ - INFPROD0 INFSP INPRODFF INPRODPF \ - INTAF INTALG INTEF INTG0 \ - INTHERAL INTPAF INTPM INTTOOLS \ - ITRIGMNP JORDAN KOVACIC LF \ - LIE LODOF LSQM OMEXPR \ - MCMPLX MULTFACT NAGD01 NAGD02 \ - NAGF01 NAGF02 NAGF04 NCEP \ - NLINSOL NSMP NUMERIC OCT \ - OCTCT2 ODEPAL ODERTRIC PADE \ - PAN2EXPR PDEPACK PFO PFOQ \ - PICOERCE PMASSFS PMFS PMPREDFS \ - PSETPK QUAT QUATCT2 RADFF \ - RDEEF RDEEFS RDIV RSETCAT \ - RSETCAT- RULE RULESET SIMPAN \ - SFORT SOLVESER SUMFS SUTS \ - TOOLSIGN TRIGMNIP TRMANIP ULSCCAT \ - ULSCCAT- UPXSSING UTSODE UTSODETL \ - UTS2 WUTSET - -axiom_algebra_layer_20_nrlibs = \ - $(addsuffix .NRLIB/code.$(FASLEXT),$(axiom_algebra_layer_20)) - -axiom_algebra_layer_20_objects = \ - $(addprefix $(OUT)/, \ - $(addsuffix .$(FASLEXT),$(axiom_algebra_layer_20))) -axiom_algebra_layer_21 = \ - DEFINTEF DFINTTLS DEFINTRF D01TRNS \ - EFULS ESCONT EXPR EXPR2UPS \ - FDIV FSCINT FSINT FS2EXPXP \ - GSERIES HELLFDIV INVLAPLA IR2F \ - IRRF2F LAPLACE LIMITPS LODEEF \ - NODE1 ODECONST ODEINT REP \ - SOLVERAD SULS SUPXS ULS \ - ULSCONS UPXS UPXSCONS UTS - -axiom_algebra_layer_21_nrlibs = \ - $(addsuffix .NRLIB/code.$(FASLEXT),$(axiom_algebra_layer_21)) - -axiom_algebra_layer_21_objects = \ - $(addprefix $(OUT)/, \ - $(addsuffix .$(FASLEXT),$(axiom_algebra_layer_21))) -axiom_algebra_layer_22 = \ - ASP29 COMBF D01AGNT FSPRMELT \ - INBFF LODO LODO1 LODO2 \ - NTSCAT REGSET RGCHAIN RSETGCD \ - RSDCMPK SFRTCAT SIGNEF SNTSCAT \ - SOLVETRA SRDCMPK SREGSET STTF \ - SUBSPACE ZDSOLVE - -axiom_algebra_layer_22_nrlibs = \ - $(addsuffix .NRLIB/code.$(FASLEXT),$(axiom_algebra_layer_22)) - -axiom_algebra_layer_22_objects = \ - $(addprefix $(OUT)/, \ - $(addsuffix .$(FASLEXT),$(axiom_algebra_layer_22))) -axiom_algebra_layer_23 = \ - CPIMA IRURPK LAZM3PK LEXTRIPK \ - NORMPK QCMPACK RURPK SFRGCD \ - SFQCMPK INTRVL ODEEF DOMAIN - -axiom_algebra_layer_23_nrlibs = \ - $(addsuffix .NRLIB/code.$(FASLEXT),$(axiom_algebra_layer_23)) - -axiom_algebra_layer_23_objects = \ - $(addprefix $(OUT)/, \ - $(addsuffix .$(FASLEXT),$(axiom_algebra_layer_23))) -axiom_algebra_layer_user = RINTERP - -axiom_algebra_layer_user_nrlibs = \ - $(addsuffix .NRLIB/code.$(FASLEXT),$(axiom_algebra_layer_user)) - -axiom_algebra_layer_user_objects = \ - $(addprefix $(OUT)/, \ - $(addsuffix .$(FASLEXT),$(axiom_algebra_layer_user))) - -.PHONY: all all-algebra mkdir-output-directory -all: all-ax - -all-ax all-algebra: stamp - @ echo finished $(builddir) - -stamp: mkdir-output-directory ${SPADFILES} bootstrap-stamp ${TESTS} - -rm -f stamp - $(STAMP) stamp - -mkdir-output-directory: - $(mkinstalldirs) $(OUTSRC) - -everything: check lib db cmd gloss - @ echo 4303 invoking make in `pwd` with parms: - @ echo SYS= ${SYS} LSP= ${LSP} - @ echo MNT= ${MNT} LISP=${LISP} BYE=${BYE} - -check: - @ echo 4305 Checking that INTERP.EXPOSED and NRLIBs are consistent - @ echo 4306 libcheck needs to use exposed.lsp, not INTERP.EXPOSED - - - - -${OUT}/%.$(FASLEXT): %.NRLIB/code.$(FASLEXT) - cp $*.NRLIB/code.$(FASLEXT) ${OUT}/$*.$(FASLEXT) - - -.PRECIOUS: %.NRLIB/code.$(FASLEXT) -%.NRLIB/code.$(FASLEXT): %.spad - @ rm -rf $*.NRLIB - ${INTERPSYS} --strap=strap --compile $< -# Compile bootstrap file to machine object code, and the result -# immediately available for AXIOMsys consumption. -strap/%.$(FASLEXT): %.lsp - $(COMPILE_LISP) - -$(OUTSRC)/%.spad: mk-target-src-algabra-dir - -${OUTSRC}/%.spad: $(srcdir)/%.spad.pamphlet - $(axiom_build_document) --tangle --output=$@ $< - -.PHONY: mk-target-src-algabra-dir -mk-target-src-algabra-dir: - @ [ -d $(OUTSRC) ] || $(mkinstalldirs) $(OUTSRC) - -.PRECIOUS: $(builddir)/%.tex -.PRECIOUS: $(builddir)/%.dvi - -$(DOC)/%.dvi: mk-target-doc-dir - -.PHONY: mk-target-doc-dir -mk-target-doc-dir: - @ [ -d $(DOC) ] || $(mkinstalldirs) $(DOC) - -$(DOC)/%.dvi: $(builddir)/%.dvi - $(INSTALL_DATA) $< $@ - -$(builddir)/%.dvi: $(axiom_build_texdir)/diagrams.tex \ - $(axiom_build_texdir)/axiom.sty - -$(builddir)/%.dvi: $(builddir)/%.tex - $(axiom_build_document) --latex $< - -$(builddir)/%.tex: $(srcdir)/%.pamphlet - $(axiom_build_document) --weave --output=$@ $< - -$(axiom_build_texdir)/diagrams.tex: $(axiom_src_docdir)/diagrams.tex - $(INSTALL_DATA) $< $@ - -SPADPRSR.NRLIB/code.$(FASLEXT): spad-parser.spad - @ rm -rf SPADPRSR.NRLIB - ${INTERPSYS} --compile $< - -PARSER.NRLIB/code.$(FASLEXT): script-parser.spad - @ rm -rf PARSER.NRLIB - ${INTERPSYS} --compile $< - - - -${INPUT}/TESTFR.input: $(srcdir)/fr.spad.pamphlet - $(axiom_build_document) --tangle='TEST FR' --output=$@ $< - -${INPUT}/INTHEORY.input: $(srcdir)/numtheor.spad.pamphlet - $(axiom_build_document) --tangle='TEST INTHEORY' --output=$@ $< - -${INPUT}/VIEW2D.input: $(srcdir)/view2D.spad.pamphlet - $(axiom_build_document) --tangle='TEST VIEW2D' --output=$@ $< - - -${DOC}/diagrams.tex: $(axiom_src_docdir)/diagrams.tex - $(INSTALL_DATA) $< $@ - -$(axiom_algebra_layer_0_objects): strap-stamp -$(axiom_algebra_layer_1_objects): 0-stamp -$(axiom_algebra_layer_2_objects): 1-stamp -$(axiom_algebra_layer_3_objects): 2-stamp -$(axiom_algebra_layer_4_objects): 3-stamp -$(axiom_algebra_layer_5_objects): 4-stamp -$(axiom_algebra_layer_6_objects): 5-stamp -$(axiom_algebra_layer_7_objects): 6-stamp -$(axiom_algebra_layer_8_objects): 7-stamp -$(axiom_algebra_layer_9_objects): 8-stamp -$(axiom_algebra_layer_10_objects): 9-stamp -$(axiom_algebra_layer_11_objects): 10-stamp -$(axiom_algebra_layer_12_objects): 11-stamp -$(axiom_algebra_layer_13_objects): 12-stamp -$(axiom_algebra_layer_14_objects): 13-stamp -$(axiom_algebra_layer_15_objects): 14-stamp -$(axiom_algebra_layer_16_objects): 15-stamp -$(axiom_algebra_layer_17_objects): 16-stamp -$(axiom_algebra_layer_18_objects): 17-stamp -$(axiom_algebra_layer_19_objects): 18-stamp -$(axiom_algebra_layer_20_objects): 19-stamp -$(axiom_algebra_layer_21_objects): 20-stamp -$(axiom_algebra_layer_22_objects): 21-stamp -$(axiom_algebra_layer_23_objects): 22-stamp -$(axiom_algebra_layer_user_objects): 23-stamp -$(axiom_algebra_bootstrap_objects): user-stamp - -strap-stamp: $(axiom_algebra_layer_strap_objects) - @ rm -f strap-stamp - @ $(STAMP) strap-stamp - @ echo ===================================== - @ echo === algebra bootstrap complete ====== - @ echo ===================================== - -0-stamp: strap-stamp $(axiom_algebra_layer_0_objects) - @ rm -f 0-stamp - @ $(STAMP) 0-stamp - @ echo ================================== - @ echo === layer 0 of 23 complete ====== - @ echo ================================== - -1-stamp: 0-stamp $(axiom_algebra_layer_1_objects) - @ rm -f 1-stamp - @ $(STAMP) 1-stamp - @ echo ================================== - @ echo === layer 1 of 23 complete ====== - @ echo ================================== - -2-stamp: 1-stamp $(axiom_algebra_layer_2_objects) - @ rm -f 2-stamp - @ $(STAMP) 2-stamp - @ echo ================================== - @ echo === layer 2 of 23 complete ====== - @ echo ================================== - -3-stamp: 2-stamp $(axiom_algebra_layer_3_objects) - @ rm -f 3-stamp - @ $(STAMP) 3-stamp - @ echo ================================== - @ echo === layer 3 of 23 complete ====== - @ echo ================================== - -4-stamp: 3-stamp $(axiom_algebra_layer_4_objects) - @ rm -f 4-stamp - @ $(STAMP) 4-stamp - @ echo ================================== - @ echo === layer 4 of 23 complete ====== - @ echo ================================== - -5-stamp: 4-stamp $(axiom_algebra_layer_5_objects) - @ rm -f 5-stamp - @ $(STAMP) 5-stamp - @ echo ================================== - @ echo === layer 5 of 23 complete ====== - @ echo ================================== - -6-stamp: 5-stamp $(axiom_algebra_layer_6_objects) - @ rm -f 6-stamp - @ $(STAMP) 6-stamp - @ echo ================================== - @ echo === layer 6 of 23 complete ====== - @ echo ================================== - -7-stamp: 6-stamp $(axiom_algebra_layer_7_objects) - @ rm -f 7-stamp - @ $(STAMP) 7-stamp - @ echo ================================== - @ echo === layer 7 of 23 complete ====== - @ echo ================================== - -8-stamp: 7-stamp $(axiom_algebra_layer_8_objects) - @ rm -f 8-stamp - @ $(STAMP) 8-stamp - @ echo ================================== - @ echo === layer 8 of 23 complete ====== - @ echo ================================== - -9-stamp: 8-stamp $(axiom_algebra_layer_9_objects) - @ rm -f 9-stamp - @ $(STAMP) 9-stamp - @ echo ================================== - @ echo === layer 9 of 23 complete ====== - @ echo ================================== - -10-stamp: 9-stamp $(axiom_algebra_layer_10_objects) - @ rm -f 10-stamp - @ $(STAMP) 10-stamp - @ echo ================================== - @ echo === layer 10 of 23 complete ====== - @ echo ================================== - -11-stamp: 10-stamp $(axiom_algebra_layer_11_objects) - @ rm -f 11-stamp - @ $(STAMP) 11-stamp - @ echo ================================== - @ echo === layer 11 of 23 complete ====== - @ echo ================================== - -12-stamp: 11-stamp $(axiom_algebra_layer_12_objects) - @ rm -f 12-stamp - @ $(STAMP) 12-stamp - @ echo ================================== - @ echo === layer 12 of 23 complete ====== - @ echo ================================== - -13-stamp: 12-stamp $(axiom_algebra_layer_13_objects) - @ rm -f 13-stamp - @ $(STAMP) 13-stamp - @ echo ================================== - @ echo === layer 13 of 23 complete ====== - @ echo ================================== - -14-stamp: 13-stamp $(axiom_algebra_layer_14_objects) - @ rm -f 14-stamp - @ $(STAMP) 14-stamp - @ echo ================================== - @ echo === layer 14 of 23 complete ====== - @ echo ================================== - -15-stamp: 14-stamp $(axiom_algebra_layer_15_objects) - @ rm -f 15-stamp - @ $(STAMP) 15-stamp - @ echo ================================== - @ echo === layer 15 of 23 complete ====== - @ echo ================================== - -16-stamp: 15-stamp $(axiom_algebra_layer_16_objects) - @ rm -f 16-stamp - @ $(STAMP) 16-stamp - @ echo ================================== - @ echo === layer 16 of 23 complete ====== - @ echo ================================== - -17-stamp: 16-stamp $(axiom_algebra_layer_17_objects) - @ rm -f 17-stamp - @ $(STAMP) 17-stamp - @ echo ================================== - @ echo === layer 17 of 23 complete ====== - @ echo ================================== - -18-stamp: 17-stamp $(axiom_algebra_layer_18_objects) - @ rm -f 18-stamp - @ $(STAMP) 18-stamp - @ echo ================================== - @ echo === layer 18 of 23 complete ====== - @ echo ================================== - -19-stamp: 18-stamp $(axiom_algebra_layer_19_objects) - @ rm -f 19-stamp - @ $(STAMP) 19-stamp - @ echo ================================== - @ echo === layer 19 of 23 complete ====== - @ echo ================================== - -20-stamp: 19-stamp $(axiom_algebra_layer_20_objects) - @ rm -f 20-stamp - @ $(STAMP) 20-stamp - @ echo ================================== - @ echo === layer 20 of 23 complete ====== - @ echo ================================== - -21-stamp: 20-stamp $(axiom_algebra_layer_21_objects) - @ rm -f 21-stamp - @ $(STAMP) 21-stamp - @ echo ================================== - @ echo === layer 21 of 23 complete ====== - @ echo ================================== - -22-stamp: 21-stamp $(axiom_algebra_layer_22_objects) - @ rm -f 22-stamp - @ $(STAMP) 22-stamp - @ echo ================================== - @ echo === layer 22 of 23 complete ====== - @ echo ================================== - -23-stamp: 22-stamp $(axiom_algebra_layer_23_objects) - @ rm -f 23-stamp - @ $(STAMP) 23-stamp - @ echo ================================== - @ echo === layer 23 of 23 complete ====== - @ echo ================================== - -user-stamp: 23-stamp $(axiom_algebra_layer_user_objects) - @ rm -f user-stamp - @ $(STAMP) user-stamp - - -# bootstrap-pre: user-stamp $(axiom_algebra_bootstrap_nrlibs) -# $(axiom_algebra_bootstrap_nrlibs): user-stamp - -# bootstrap-post: bootstrap-pre $(axiom_algebra_bootstrap_objects) - -bootstrap-stamp: $(axiom_algebra_bootstrap_objects) - @ rm -f bootstrap-stamp - @ $(STAMP) bootstrap-stamp - @ echo ================================== - @ echo === algebra complete ====== - @ echo ================================== - -mostlyclean-local: - @rm -f $(OUT)/*.$(FASLEXT) $(OUT)/*.daase - @rm -rf *.NRLIB - @rm -rf *.DAASE *.daase libdb.text - @rm -rf strap - @rm -f *stamp - -clean-local: mostlyclean-local - -distclean-local: clean-local - -include extract-lisp-files.mk -include extract-spad.mk - -.NOTPARALLEL: - + +IN=$(srcdir) +OUT=$(axiom_targetdir)/algebra +DOC=$(axiom_target_docdir)/src/algebra +OUTSRC=$(axiom_target_srcdir)/algebra +INPUT=../input + +EXTRACT_BOOTSTRAP_FILE = \ + $(axiom_build_document) --output=$@ --tangle="$@ BOOTSTRAP" $< + +## We use interpsys, built from previous stage, to bootstrap the algebra +## files. In fact, we use interpsys to build everything. +COMPILE_LISP = $(INTERPSYS) --compile --output=$@ $< + + +INTERPSYS = ../interp/interpsys$(EXEEXT) -- --system="$(AXIOM)" \ + --sysalg="$(axiom_src_datadir)/algebra/" + + +SPADFILES= \ + ${OUTSRC}/acplot.spad ${OUTSRC}/aggcat2.spad ${OUTSRC}/aggcat.spad \ + ${OUTSRC}/algcat.spad ${OUTSRC}/algext.spad ${OUTSRC}/algfact.spad \ + ${OUTSRC}/algfunc.spad ${OUTSRC}/allfact.spad ${OUTSRC}/alql.spad \ + ${OUTSRC}/annacat.spad ${OUTSRC}/any.spad ${OUTSRC}/array1.spad \ + ${OUTSRC}/array2.spad ${OUTSRC}/asp.spad ${OUTSRC}/attreg.spad \ + ${OUTSRC}/bags.spad ${OUTSRC}/bezout.spad ${OUTSRC}/boolean.spad \ + ${OUTSRC}/brill.spad \ + ${OUTSRC}/c02.spad ${OUTSRC}/c05.spad ${OUTSRC}/c06.spad \ + ${OUTSRC}/card.spad ${OUTSRC}/carten.spad ${OUTSRC}/catdef.spad \ + ${OUTSRC}/cden.spad ${OUTSRC}/clifford.spad ${OUTSRC}/clip.spad \ + ${OUTSRC}/cmplxrt.spad ${OUTSRC}/coerce.spad ${OUTSRC}/color.spad \ + ${OUTSRC}/combfunc.spad ${OUTSRC}/combinat.spad ${OUTSRC}/complet.spad \ + ${OUTSRC}/constant.spad ${OUTSRC}/contfrac.spad ${OUTSRC}/cont.spad \ + ${OUTSRC}/coordsys.spad ${OUTSRC}/cra.spad ${OUTSRC}/crfp.spad \ + ${OUTSRC}/curve.spad ${OUTSRC}/cycles.spad ${OUTSRC}/cyclotom.spad \ + ${OUTSRC}/d01agents.spad ${OUTSRC}/d01Package.spad \ + ${OUTSRC}/d01routine.spad ${OUTSRC}/d01.spad ${OUTSRC}/d01transform.spad \ + ${OUTSRC}/d01weights.spad ${OUTSRC}/d02agents.spad \ + ${OUTSRC}/d02Package.spad ${OUTSRC}/d02routine.spad ${OUTSRC}/d02.spad \ + ${OUTSRC}/d03agents.spad ${OUTSRC}/d03Package.spad \ + ${OUTSRC}/d03routine.spad ${OUTSRC}/d03.spad ${OUTSRC}/ddfact.spad \ + ${OUTSRC}/defaults.spad ${OUTSRC}/defintef.spad ${OUTSRC}/defintrf.spad \ + ${OUTSRC}/degred.spad ${OUTSRC}/derham.spad ${OUTSRC}/dhmatrix.spad \ + ${OUTSRC}/divisor.spad ${OUTSRC}/dpolcat.spad ${OUTSRC}/drawopt.spad \ + ${OUTSRC}/drawpak.spad ${OUTSRC}/draw.spad \ + ${OUTSRC}/e01.spad ${OUTSRC}/e02.spad ${OUTSRC}/e04agents.spad \ + ${OUTSRC}/e04Package.spad ${OUTSRC}/e04routine.spad ${OUTSRC}/e04.spad \ + ${OUTSRC}/efstruc.spad ${OUTSRC}/efuls.spad ${OUTSRC}/efupxs.spad \ + ${OUTSRC}/eigen.spad ${OUTSRC}/elemntry.spad ${OUTSRC}/elfuts.spad \ + ${OUTSRC}/equation1.spad ${OUTSRC}/equation2.spad ${OUTSRC}/error.spad \ + ${OUTSRC}/expexpan.spad ${OUTSRC}/expr2ups.spad \ + ${OUTSRC}/exprode.spad ${OUTSRC}/expr.spad \ + ${OUTSRC}/f01.spad ${OUTSRC}/f02.spad ${OUTSRC}/f04.spad \ + ${OUTSRC}/f07.spad ${OUTSRC}/facutil.spad ${OUTSRC}/ffcat.spad \ + ${OUTSRC}/ffcg.spad ${OUTSRC}/fff.spad ${OUTSRC}/ffhom.spad \ + ${OUTSRC}/ffnb.spad ${OUTSRC}/ffpoly2.spad ${OUTSRC}/ffpoly.spad \ + ${OUTSRC}/ffp.spad ${OUTSRC}/ffx.spad \ + ${OUTSRC}/files.spad ${OUTSRC}/float.spad ${OUTSRC}/fmod.spad \ + ${OUTSRC}/fname.spad ${OUTSRC}/fnla.spad ${OUTSRC}/formula.spad \ + ${OUTSRC}/fortcat.spad ${OUTSRC}/fortmac.spad ${OUTSRC}/fortpak.spad \ + ${OUTSRC}/fortran.spad ${OUTSRC}/forttyp.spad ${OUTSRC}/fourier.spad \ + ${OUTSRC}/fparfrac.spad ${OUTSRC}/fraction.spad ${OUTSRC}/free.spad \ + ${OUTSRC}/fr.spad ${OUTSRC}/fs2expxp.spad ${OUTSRC}/fs2ups.spad \ + ${OUTSRC}/fspace.spad ${OUTSRC}/funcpkgs.spad ${OUTSRC}/functions.spad \ + ${OUTSRC}/galfact.spad ${OUTSRC}/galfactu.spad ${OUTSRC}/galpolyu.spad \ + ${OUTSRC}/galutil.spad ${OUTSRC}/gaussfac.spad ${OUTSRC}/gaussian.spad \ + ${OUTSRC}/gbeuclid.spad ${OUTSRC}/gbintern.spad ${OUTSRC}/gb.spad \ + ${OUTSRC}/gdirprod.spad ${OUTSRC}/gdpoly.spad ${OUTSRC}/geneez.spad \ + ${OUTSRC}/generic.spad ${OUTSRC}/genufact.spad ${OUTSRC}/genups.spad \ + ${OUTSRC}/ghensel.spad ${OUTSRC}/gpgcd.spad ${OUTSRC}/gpol.spad \ + ${OUTSRC}/grdef.spad ${OUTSRC}/groebf.spad ${OUTSRC}/groebsol.spad \ + ${OUTSRC}/gseries.spad \ + ${OUTSRC}/ideal.spad ${OUTSRC}/idecomp.spad ${OUTSRC}/indexedp.spad \ + ${OUTSRC}/infprod.spad ${OUTSRC}/intaf.spad ${OUTSRC}/intalg.spad \ + ${OUTSRC}/intaux.spad ${OUTSRC}/intclos.spad ${OUTSRC}/intef.spad \ + ${OUTSRC}/integer.spad ${OUTSRC}/integrat.spad \ + ${OUTSRC}/interval.spad \ + ${OUTSRC}/intfact.spad ${OUTSRC}/intpm.spad \ + ${OUTSRC}/intrf.spad \ + ${OUTSRC}/irexpand.spad \ + ${OUTSRC}/irsn.spad ${OUTSRC}/ituple.spad \ + ${OUTSRC}/kl.spad ${OUTSRC}/kovacic.spad \ + ${OUTSRC}/laplace.spad ${OUTSRC}/laurent.spad ${OUTSRC}/leadcdet.spad \ + ${OUTSRC}/lie.spad ${OUTSRC}/limitps.spad ${OUTSRC}/lindep.spad \ + ${OUTSRC}/lingrob.spad ${OUTSRC}/liouv.spad ${OUTSRC}/listgcd.spad \ + ${OUTSRC}/list.spad ${OUTSRC}/lmdict.spad ${OUTSRC}/lodof.spad \ + ${OUTSRC}/lodop.spad ${OUTSRC}/lodo.spad \ + ${OUTSRC}/manip.spad ${OUTSRC}/mappkg.spad ${OUTSRC}/matcat.spad \ + ${OUTSRC}/matfuns.spad ${OUTSRC}/mathml.spad \ + ${OUTSRC}/matrix.spad ${OUTSRC}/matstor.spad \ + ${OUTSRC}/mesh.spad ${OUTSRC}/mfinfact.spad ${OUTSRC}/misc.spad \ + ${OUTSRC}/mkfunc.spad ${OUTSRC}/mkrecord.spad \ + ${OUTSRC}/mlift.spad ${OUTSRC}/moddfact.spad ${OUTSRC}/modgcd.spad \ + ${OUTSRC}/modmonom.spad ${OUTSRC}/modmon.spad ${OUTSRC}/modring.spad \ + ${OUTSRC}/moebius.spad ${OUTSRC}/mring.spad ${OUTSRC}/mset.spad \ + ${OUTSRC}/mts.spad ${OUTSRC}/multfact.spad ${OUTSRC}/multpoly.spad \ + ${OUTSRC}/multsqfr.spad \ + ${OUTSRC}/naalgc.spad ${OUTSRC}/naalg.spad \ + ${OUTSRC}/newdata.spad ${OUTSRC}/newpoint.spad \ + ${OUTSRC}/newpoly.spad ${OUTSRC}/nlinsol.spad ${OUTSRC}/nlode.spad \ + ${OUTSRC}/npcoef.spad \ + ${OUTSRC}/nregset.spad \ + ${OUTSRC}/nsregset.spad ${OUTSRC}/numeigen.spad ${OUTSRC}/numeric.spad \ + ${OUTSRC}/numode.spad ${OUTSRC}/numquad.spad ${OUTSRC}/numsolve.spad \ + ${OUTSRC}/numtheor.spad \ + ${OUTSRC}/oct.spad ${OUTSRC}/odealg.spad ${OUTSRC}/odeef.spad \ + ${OUTSRC}/oderf.spad ${OUTSRC}/omcat.spad ${OUTSRC}/omdev.spad \ + ${OUTSRC}/omerror.spad ${OUTSRC}/omserver.spad ${OUTSRC}/opalg.spad \ + ${OUTSRC}/openmath.spad ${OUTSRC}/op.spad ${OUTSRC}/ore.spad \ + ${OUTSRC}/outform.spad ${OUTSRC}/out.spad \ + ${OUTSRC}/pade.spad ${OUTSRC}/padiclib.spad ${OUTSRC}/padic.spad \ + ${OUTSRC}/paramete.spad ${OUTSRC}/partperm.spad ${OUTSRC}/patmatch1.spad \ + ${OUTSRC}/patmatch2.spad ${OUTSRC}/pattern.spad ${OUTSRC}/pcurve.spad \ + ${OUTSRC}/pdecomp.spad ${OUTSRC}/perman.spad ${OUTSRC}/permgrps.spad \ + ${OUTSRC}/perm.spad ${OUTSRC}/pfbr.spad ${OUTSRC}/pfo.spad \ + ${OUTSRC}/pfr.spad ${OUTSRC}/pf.spad ${OUTSRC}/pgcd.spad \ + ${OUTSRC}/pgrobner.spad ${OUTSRC}/pinterp.spad ${OUTSRC}/pleqn.spad \ + ${OUTSRC}/plot3d.spad ${OUTSRC}/plot.spad ${OUTSRC}/plottool.spad \ + ${OUTSRC}/polset.spad ${OUTSRC}/poltopol.spad ${OUTSRC}/polycat.spad \ + ${OUTSRC}/poly.spad ${OUTSRC}/primelt.spad ${OUTSRC}/print.spad \ + ${OUTSRC}/product.spad ${OUTSRC}/prs.spad ${OUTSRC}/prtition.spad \ + ${OUTSRC}/pscat.spad ${OUTSRC}/pseudolin.spad ${OUTSRC}/ptranfn.spad \ + ${OUTSRC}/puiseux.spad \ + ${OUTSRC}/qalgset.spad ${OUTSRC}/quat.spad \ + ${OUTSRC}/radeigen.spad ${OUTSRC}/radix.spad ${OUTSRC}/random.spad \ + ${OUTSRC}/ratfact.spad ${OUTSRC}/rdeef.spad ${OUTSRC}/rderf.spad \ + ${OUTSRC}/rdesys.spad ${OUTSRC}/real0q.spad ${OUTSRC}/realzero.spad \ + ${OUTSRC}/reclos.spad ${OUTSRC}/regset.spad ${OUTSRC}/rep1.spad \ + ${OUTSRC}/rep2.spad ${OUTSRC}/resring.spad ${OUTSRC}/retract.spad \ + ${OUTSRC}/rf.spad ${OUTSRC}/riccati.spad ${OUTSRC}/rinterp.spad \ + ${OUTSRC}/routines.spad \ + ${OUTSRC}/rule.spad \ + ${OUTSRC}/seg.spad ${OUTSRC}/setorder.spad ${OUTSRC}/sets.spad \ + ${OUTSRC}/sex.spad ${OUTSRC}/sf.spad ${OUTSRC}/sgcf.spad \ + ${OUTSRC}/sign.spad ${OUTSRC}/si.spad ${OUTSRC}/smith.spad \ + ${OUTSRC}/solvedio.spad ${OUTSRC}/solvefor.spad ${OUTSRC}/solvelin.spad \ + ${OUTSRC}/solverad.spad ${OUTSRC}/sortpak.spad ${OUTSRC}/space.spad \ + ${OUTSRC}/special.spad ${OUTSRC}/sregset.spad ${OUTSRC}/s.spad \ + ${OUTSRC}/stream.spad ${OUTSRC}/string.spad ${OUTSRC}/sttaylor.spad \ + ${OUTSRC}/sttf.spad ${OUTSRC}/sturm.spad ${OUTSRC}/suchthat.spad \ + ${OUTSRC}/suls.spad ${OUTSRC}/sum.spad ${OUTSRC}/sups.spad \ + ${OUTSRC}/supxs.spad ${OUTSRC}/suts.spad ${OUTSRC}/symbol.spad \ + ${OUTSRC}/syssolp.spad ${OUTSRC}/system.spad \ + ${OUTSRC}/tableau.spad ${OUTSRC}/table.spad ${OUTSRC}/taylor.spad \ + ${OUTSRC}/tex.spad ${OUTSRC}/tools.spad ${OUTSRC}/transsolve.spad \ + ${OUTSRC}/tree.spad ${OUTSRC}/trigcat.spad ${OUTSRC}/triset.spad \ + ${OUTSRC}/tube.spad ${OUTSRC}/twofact.spad \ + ${OUTSRC}/unifact.spad ${OUTSRC}/updecomp.spad ${OUTSRC}/updivp.spad \ + ${OUTSRC}/utsode.spad \ + ${OUTSRC}/variable.spad ${OUTSRC}/vector.spad ${OUTSRC}/view2D.spad \ + ${OUTSRC}/view3D.spad ${OUTSRC}/viewDef.spad ${OUTSRC}/viewpack.spad \ + ${OUTSRC}/void.spad \ + ${OUTSRC}/weier.spad ${OUTSRC}/wtpol.spad \ + ${OUTSRC}/xlpoly.spad ${OUTSRC}/xpoly.spad \ + ${OUTSRC}/ystream.spad \ + ${OUTSRC}/zerodim.spad + + +ALDORFILES= \ + axtimer.as \ + ffrac.as \ + herm.as \ + interval.as \ + invnode.as \ + invrender.as \ + invtypes.as \ + invutils.as \ + iviews.as \ + ndftip.as \ + nepip.as \ + noptip.as nqip.as \ + nrc.as nsfip.as + + +DOCFILES= \ + ${DOC}/acplot.spad.dvi ${DOC}/aggcat2.spad.dvi ${DOC}/aggcat.spad.dvi \ + ${DOC}/algcat.spad.dvi ${DOC}/algext.spad.dvi ${DOC}/algfact.spad.dvi \ + ${DOC}/algfunc.spad.dvi ${DOC}/allfact.spad.dvi ${DOC}/alql.spad.dvi \ + ${DOC}/annacat.spad.dvi ${DOC}/any.spad.dvi ${DOC}/array1.spad.dvi \ + ${DOC}/array2.spad.dvi ${DOC}/asp.spad.dvi ${DOC}/attreg.spad.dvi \ + ${DOC}/axtimer.as.dvi \ + ${DOC}/bags.spad.dvi ${DOC}/bezout.spad.dvi ${DOC}/boolean.spad.dvi \ + ${DOC}/brill.spad.dvi \ + ${DOC}/c02.spad.dvi ${DOC}/c05.spad.dvi ${DOC}/c06.spad.dvi \ + ${DOC}/card.spad.dvi ${DOC}/carten.spad.dvi ${DOC}/catdef.spad.dvi \ + ${DOC}/cden.spad.dvi ${DOC}/clifford.spad.dvi ${DOC}/clip.spad.dvi \ + ${DOC}/cmplxrt.spad.dvi ${DOC}/coerce.spad.dvi ${DOC}/color.spad.dvi \ + ${DOC}/combfunc.spad.dvi ${DOC}/combinat.spad.dvi ${DOC}/complet.spad.dvi \ + ${DOC}/constant.spad.dvi ${DOC}/contfrac.spad.dvi ${DOC}/cont.spad.dvi \ + ${DOC}/coordsys.spad.dvi ${DOC}/cra.spad.dvi ${DOC}/crfp.spad.dvi \ + ${DOC}/curve.spad.dvi ${DOC}/cycles.spad.dvi ${DOC}/cyclotom.spad.dvi \ + ${DOC}/d01agents.spad.dvi ${DOC}/d01Package.spad.dvi \ + ${DOC}/d01routine.spad.dvi ${DOC}/d01.spad.dvi ${DOC}/d01transform.spad.dvi \ + ${DOC}/d01weights.spad.dvi ${DOC}/d02agents.spad.dvi \ + ${DOC}/d02Package.spad.dvi ${DOC}/d02routine.spad.dvi ${DOC}/d02.spad.dvi \ + ${DOC}/d03agents.spad.dvi ${DOC}/d03Package.spad.dvi \ + ${DOC}/d03routine.spad.dvi ${DOC}/d03.spad.dvi ${DOC}/ddfact.spad.dvi \ + ${DOC}/defaults.spad.dvi ${DOC}/defintef.spad.dvi ${DOC}/defintrf.spad.dvi \ + ${DOC}/degred.spad.dvi ${DOC}/derham.spad.dvi ${DOC}/dhmatrix.spad.dvi \ + ${DOC}/divisor.spad.dvi ${DOC}/dpolcat.spad.dvi ${DOC}/drawopt.spad.dvi \ + ${DOC}/drawpak.spad.dvi ${DOC}/draw.spad.dvi \ + ${DOC}/e01.spad.dvi ${DOC}/e02.spad.dvi ${DOC}/e04agents.spad.dvi \ + ${DOC}/e04Package.spad.dvi ${DOC}/e04routine.spad.dvi ${DOC}/e04.spad.dvi \ + ${DOC}/efstruc.spad.dvi ${DOC}/efuls.spad.dvi ${DOC}/efupxs.spad.dvi \ + ${DOC}/eigen.spad.dvi ${DOC}/elemntry.spad.dvi ${DOC}/elfuts.spad.dvi \ + ${DOC}/equation1.spad.dvi ${DOC}/equation2.spad.dvi ${DOC}/error.spad.dvi \ + ${DOC}/expexpan.spad.dvi ${DOC}/exposed.lsp.dvi ${DOC}/expr2ups.spad.dvi \ + ${DOC}/exprode.spad.dvi ${DOC}/expr.spad.dvi \ + ${DOC}/f01.spad.dvi ${DOC}/f02.spad.dvi ${DOC}/f04.spad.dvi \ + ${DOC}/f07.spad.dvi ${DOC}/facutil.spad.dvi ${DOC}/ffcat.spad.dvi \ + ${DOC}/ffcg.spad.dvi ${DOC}/fff.spad.dvi ${DOC}/ffhom.spad.dvi \ + ${DOC}/ffnb.spad.dvi ${DOC}/ffpoly2.spad.dvi ${DOC}/ffpoly.spad.dvi \ + ${DOC}/ffp.spad.dvi ${DOC}/ffrac.as.dvi ${DOC}/ffx.spad.dvi \ + ${DOC}/files.spad.dvi ${DOC}/float.spad.dvi ${DOC}/fmod.spad.dvi \ + ${DOC}/fname.spad.dvi ${DOC}/fnla.spad.dvi ${DOC}/formula.spad.dvi \ + ${DOC}/fortcat.spad.dvi ${DOC}/fortmac.spad.dvi ${DOC}/fortpak.spad.dvi \ + ${DOC}/fortran.spad.dvi ${DOC}/forttyp.spad.dvi ${DOC}/fourier.spad.dvi \ + ${DOC}/fparfrac.spad.dvi ${DOC}/fraction.spad.dvi ${DOC}/free.spad.dvi \ + ${DOC}/fr.spad.dvi ${DOC}/fs2expxp.spad.dvi ${DOC}/fs2ups.spad.dvi \ + ${DOC}/fspace.spad.dvi ${DOC}/funcpkgs.spad.dvi ${DOC}/functions.spad.dvi \ + ${DOC}/galfact.spad.dvi ${DOC}/galfactu.spad.dvi ${DOC}/galpolyu.spad.dvi \ + ${DOC}/galutil.spad.dvi ${DOC}/gaussfac.spad.dvi ${DOC}/gaussian.spad.dvi \ + ${DOC}/gbeuclid.spad.dvi ${DOC}/gbintern.spad.dvi ${DOC}/gb.spad.dvi \ + ${DOC}/gdirprod.spad.dvi ${DOC}/gdpoly.spad.dvi ${DOC}/geneez.spad.dvi \ + ${DOC}/generic.spad.dvi ${DOC}/genufact.spad.dvi ${DOC}/genups.spad.dvi \ + ${DOC}/ghensel.spad.dvi ${DOC}/gpgcd.spad.dvi ${DOC}/gpol.spad.dvi \ + ${DOC}/grdef.spad.dvi ${DOC}/groebf.spad.dvi ${DOC}/groebsol.spad.dvi \ + ${DOC}/gseries.spad.dvi \ + ${DOC}/herm.as.dvi \ + ${DOC}/ideal.spad.dvi ${DOC}/idecomp.spad.dvi ${DOC}/indexedp.spad.dvi \ + ${DOC}/infprod.spad.dvi ${DOC}/intaf.spad.dvi ${DOC}/intalg.spad.dvi \ + ${DOC}/intaux.spad.dvi ${DOC}/intclos.spad.dvi ${DOC}/intef.spad.dvi \ + ${DOC}/integer.spad.dvi ${DOC}/integrat.spad.dvi \ + ${DOC}/interval.as.dvi ${DOC}/interval.spad.dvi \ + ${DOC}/intfact.spad.dvi ${DOC}/intpm.spad.dvi \ + ${DOC}/intrf.spad.dvi ${DOC}/invnode.as.dvi ${DOC}/invrender.as.dvi \ + ${DOC}/invtypes.as.dvi ${DOC}/invutils.as.dvi ${DOC}/irexpand.spad.dvi \ + ${DOC}/irsn.spad.dvi ${DOC}/ituple.spad.dvi ${DOC}/iviews.as.dvi \ + ${DOC}/kl.spad.dvi ${DOC}/kovacic.spad.dvi \ + ${DOC}/laplace.spad.dvi ${DOC}/laurent.spad.dvi ${DOC}/leadcdet.spad.dvi \ + ${DOC}/lie.spad.dvi ${DOC}/limitps.spad.dvi ${DOC}/lindep.spad.dvi \ + ${DOC}/lingrob.spad.dvi ${DOC}/liouv.spad.dvi ${DOC}/listgcd.spad.dvi \ + ${DOC}/list.spad.dvi ${DOC}/lmdict.spad.dvi ${DOC}/lodof.spad.dvi \ + ${DOC}/lodop.spad.dvi ${DOC}/lodo.spad.dvi \ + ${DOC}/manip.spad.dvi ${DOC}/mappkg.spad.dvi ${DOC}/matcat.spad.dvi \ + ${DOC}/matfuns.spad.dvi ${DOC}/mathml.spad.dvi \ + ${DOC}/matrix.spad.dvi ${DOC}/matstor.spad.dvi \ + ${DOC}/mesh.spad.dvi ${DOC}/mfinfact.spad.dvi ${DOC}/misc.spad.dvi \ + ${DOC}/mkfunc.spad.dvi ${DOC}/mkrecord.spad.dvi ${DOC}/mlift.spad.jhd.dvi \ + ${DOC}/mlift.spad.dvi ${DOC}/moddfact.spad.dvi ${DOC}/modgcd.spad.dvi \ + ${DOC}/modmonom.spad.dvi ${DOC}/modmon.spad.dvi ${DOC}/modring.spad.dvi \ + ${DOC}/moebius.spad.dvi ${DOC}/mring.spad.dvi ${DOC}/mset.spad.dvi \ + ${DOC}/mts.spad.dvi ${DOC}/multfact.spad.dvi ${DOC}/multpoly.spad.dvi \ + ${DOC}/multsqfr.spad.dvi \ + ${DOC}/naalgc.spad.dvi ${DOC}/naalg.spad.dvi ${DOC}/ndftip.as.dvi \ + ${DOC}/nepip.as.dvi ${DOC}/newdata.spad.dvi ${DOC}/newpoint.spad.dvi \ + ${DOC}/newpoly.spad.dvi ${DOC}/nlinsol.spad.dvi ${DOC}/nlode.spad.dvi \ + ${DOC}/noptip.as.dvi ${DOC}/npcoef.spad.dvi ${DOC}/nqip.as.dvi \ + ${DOC}/nrc.as.dvi ${DOC}/nregset.spad.dvi ${DOC}/nsfip.as.dvi \ + ${DOC}/nsregset.spad.dvi ${DOC}/numeigen.spad.dvi ${DOC}/numeric.spad.dvi \ + ${DOC}/numode.spad.dvi ${DOC}/numquad.spad.dvi ${DOC}/numsolve.spad.dvi \ + ${DOC}/numtheor.spad.dvi \ + ${DOC}/oct.spad.dvi ${DOC}/odealg.spad.dvi ${DOC}/odeef.spad.dvi \ + ${DOC}/oderf.spad.dvi ${DOC}/omcat.spad.dvi ${DOC}/omdev.spad.dvi \ + ${DOC}/omerror.spad.dvi ${DOC}/omserver.spad.dvi ${DOC}/opalg.spad.dvi \ + ${DOC}/openmath.spad.dvi ${DOC}/op.spad.dvi ${DOC}/ore.spad.dvi \ + ${DOC}/outform.spad.dvi ${DOC}/out.spad.dvi \ + ${DOC}/pade.spad.dvi ${DOC}/padiclib.spad.dvi ${DOC}/padic.spad.dvi \ + ${DOC}/paramete.spad.dvi ${DOC}/partperm.spad.dvi ${DOC}/patmatch1.spad.dvi \ + ${DOC}/patmatch2.spad.dvi ${DOC}/pattern.spad.dvi ${DOC}/pcurve.spad.dvi \ + ${DOC}/pdecomp.spad.dvi ${DOC}/perman.spad.dvi ${DOC}/permgrps.spad.dvi \ + ${DOC}/perm.spad.dvi ${DOC}/pfbr.spad.dvi ${DOC}/pfo.spad.dvi \ + ${DOC}/pfr.spad.dvi ${DOC}/pf.spad.dvi ${DOC}/pgcd.spad.dvi \ + ${DOC}/pgrobner.spad.dvi ${DOC}/pinterp.spad.dvi ${DOC}/pleqn.spad.dvi \ + ${DOC}/plot3d.spad.dvi ${DOC}/plot.spad.dvi ${DOC}/plottool.spad.dvi \ + ${DOC}/polset.spad.dvi ${DOC}/poltopol.spad.dvi ${DOC}/polycat.spad.dvi \ + ${DOC}/poly.spad.dvi ${DOC}/primelt.spad.dvi ${DOC}/print.spad.dvi \ + ${DOC}/product.spad.dvi ${DOC}/prs.spad.dvi ${DOC}/prtition.spad.dvi \ + ${DOC}/pscat.spad.dvi ${DOC}/pseudolin.spad.dvi ${DOC}/ptranfn.spad.dvi \ + ${DOC}/puiseux.spad.dvi \ + ${DOC}/qalgset.spad.dvi ${DOC}/quat.spad.dvi \ + ${DOC}/radeigen.spad.dvi ${DOC}/radix.spad.dvi ${DOC}/random.spad.dvi \ + ${DOC}/ratfact.spad.dvi ${DOC}/rdeef.spad.dvi ${DOC}/rderf.spad.dvi \ + ${DOC}/rdesys.spad.dvi ${DOC}/real0q.spad.dvi ${DOC}/realzero.spad.dvi \ + ${DOC}/reclos.spad.dvi ${DOC}/regset.spad.dvi ${DOC}/rep1.spad.dvi \ + ${DOC}/rep2.spad.dvi ${DOC}/resring.spad.dvi ${DOC}/retract.spad.dvi \ + ${DOC}/rf.spad.dvi ${DOC}/riccati.spad.dvi ${DOC}/rinterp.spad.dvi \ + ${DOC}/routines.spad.dvi \ + ${DOC}/rule.spad.dvi \ + ${DOC}/seg.spad.dvi ${DOC}/setorder.spad.dvi ${DOC}/sets.spad.dvi \ + ${DOC}/sex.spad.dvi ${DOC}/sf.spad.dvi ${DOC}/sgcf.spad.dvi \ + ${DOC}/sign.spad.dvi ${DOC}/si.spad.dvi ${DOC}/smith.spad.dvi \ + ${DOC}/solvedio.spad.dvi ${DOC}/solvefor.spad.dvi ${DOC}/solvelin.spad.dvi \ + ${DOC}/solverad.spad.dvi ${DOC}/sortpak.spad.dvi ${DOC}/space.spad.dvi \ + ${DOC}/special.spad.dvi ${DOC}/sregset.spad.dvi ${DOC}/s.spad.dvi \ + ${DOC}/stream.spad.dvi ${DOC}/string.spad.dvi ${DOC}/sttaylor.spad.dvi \ + ${DOC}/sttf.spad.dvi ${DOC}/sturm.spad.dvi ${DOC}/suchthat.spad.dvi \ + ${DOC}/suls.spad.dvi ${DOC}/sum.spad.dvi ${DOC}/sups.spad.dvi \ + ${DOC}/supxs.spad.dvi ${DOC}/suts.spad.dvi ${DOC}/symbol.spad.dvi \ + ${DOC}/syssolp.spad.dvi ${DOC}/system.spad.dvi \ + ${DOC}/tableau.spad.dvi ${DOC}/table.spad.dvi ${DOC}/taylor.spad.dvi \ + ${DOC}/tex.spad.dvi ${DOC}/tools.spad.dvi ${DOC}/transsolve.spad.dvi \ + ${DOC}/tree.spad.dvi ${DOC}/trigcat.spad.dvi ${DOC}/triset.spad.dvi \ + ${DOC}/tube.spad.dvi ${DOC}/twofact.spad.dvi \ + ${DOC}/unifact.spad.dvi ${DOC}/updecomp.spad.dvi ${DOC}/updivp.spad.dvi \ + ${DOC}/utsode.spad.dvi \ + ${DOC}/variable.spad.dvi ${DOC}/vector.spad.dvi ${DOC}/view2D.spad.dvi \ + ${DOC}/view3D.spad.dvi ${DOC}/viewDef.spad.dvi ${DOC}/viewpack.spad.dvi \ + ${DOC}/void.spad.dvi \ + ${DOC}/weier.spad.dvi ${DOC}/wtpol.spad.dvi \ + ${DOC}/xlpoly.spad.dvi ${DOC}/xpoly.spad.dvi \ + ${DOC}/ystream.spad.dvi \ + ${DOC}/zerodim.spad.dvi + + +TESTS=${INPUT}/INTHEORY.input ${INPUT}/VIEW2D.input ${INPUT}/TESTFR.input + + +subdir = src/algebra/ + +# The list of objects necessary to bootstrap the whole algebra library. +axiom_algebra_layer_strap = \ + $(addprefix strap/,$(axiom_algebra_bootstrap)) + +axiom_algebra_layer_strap_objects = \ + $(addsuffix .$(FASLEXT),$(axiom_algebra_layer_strap)) + + +axiom_algebra_bootstrap = \ + ABELGRP ABELGRP- ABELMON ABELMON- \ + ABELSG ABELSG- ALAGG BOOLEAN \ + CABMON CHAR CLAGG CLAGG- \ + COMRING DFLOAT DIFRING DIFRING- \ + DIVRING DIVRING- ENTIRER ES \ + ES- EUCDOM EUCDOM- FFIELDC \ + FFIELDC- FPS FPS- GCDDOM \ + GCDDOM- HOAGG HOAGG- ILIST \ + INS INS- INT INTDOM \ + INTDOM- ISTRING LIST LNAGG \ + LNAGG- LSAGG LSAGG- MONOID \ + MONOID- MTSCAT NNI OINTDOM \ + ORDRING ORDRING- OUTFORM PI \ + PRIMARR POLYCAT POLYCAT- PSETCAT \ + PSETCAT- QFCAT QFCAT- RCAGG \ + RCAGG- REF RING RING- \ + RNG RNS RNS- SETAGG \ + SETAGG- SETCAT SETCAT- SINT \ + STAGG STAGG- SYMBOL TSETCAT \ + TSETCAT- UFD UFD- ULSCAT \ + UPOLYC UPOLYC- URAGG URAGG- \ + VECTOR + +axiom_algebra_bootstrap_nrlibs = \ + $(addsuffix .NRLIB/code.$(FASLEXT),$(axiom_algebra_bootstrap)) + +axiom_algebra_bootstrap_objects = \ + $(addprefix $(OUT)/, \ + $(addsuffix .$(FASLEXT), $(axiom_algebra_bootstrap))) + +axiom_algebra_layer_0 = \ + AHYP ATTREG CFCAT ELTAB KOERCE KONVERT \ + MSYSCMD OM OMCONN OMDEV OUT \ + PRIMCAT PRINT PTRANFN SPFCAT TYPE UTYPE \ + PROPLOG PROPERTY BASTYPE BASTYPE- CATEGORY LMODULE \ + RMODULE FINITE STEP SGROUP SGROUP- ABELSG \ + ABELSG- ORDSET ORDSET- FNCAT FILECAT SEXCAT \ + MKBCFUNC MKRECORD MKUCFUNC DROPT1 PLOT1 ITFUN2 \ + ITFUN3 STREAM1 STREAM2 STREAM3 ANY1 SEGBIND2 \ + COMBOPC EQ2 NONE1 + +axiom_algebra_layer_0_nrlibs = \ + $(addsuffix .NRLIB/code.$(FASLEXT),$(axiom_algebra_layer_0)) + +axiom_algebra_layer_0_objects = \ + $(addprefix $(OUT)/, \ + $(addsuffix .$(FASLEXT),$(axiom_algebra_layer_0))) +axiom_algebra_layer_1 = \ + AGG AGG- IEVALAB IEVALAB- FORTCAT ITUPLE \ + PATAB PPCURVE PSCURVE REAL RESLATC RETRACT \ + RETRACT- SEGCAT BINDING SYNTAX BMODULE LOGIC \ + LOGIC- EVALAB EVALAB- FEVALAB FEVALAB- BYTE + +axiom_algebra_layer_1_nrlibs = \ + $(addsuffix .NRLIB/code.$(FASLEXT),$(axiom_algebra_layer_1)) + +axiom_algebra_layer_1_objects = \ + $(addprefix $(OUT)/, \ + $(addsuffix .$(FASLEXT),$(axiom_algebra_layer_1))) +axiom_algebra_layer_2 = \ + ELTAGG ELTAGG- FMC FMFUN FORTFN FVC \ + CTORCALL FVFUN INTRET IXAGG IXAGG- SEGXCAT \ + CONTOUR LIST3 MKFUNC OASGP + +axiom_algebra_layer_2_nrlibs = \ + $(addsuffix .NRLIB/code.$(FASLEXT),$(axiom_algebra_layer_2)) + +axiom_algebra_layer_2_objects = \ + $(addprefix $(OUT)/, \ + $(addsuffix .$(FASLEXT),$(axiom_algebra_layer_2))) +axiom_algebra_layer_3 = \ + GRDEF SCOPE MAPHACK1 MAPHACK2 MAPHACK3 MAPPKG1 \ + MAPPKG2 MAPPKG3 INTBIT MONAD MONAD- + + + +axiom_algebra_layer_3_nrlibs = \ + $(addsuffix .NRLIB/code.$(FASLEXT),$(axiom_algebra_layer_3)) + +axiom_algebra_layer_3_objects = \ + $(addprefix $(OUT)/, \ + $(addsuffix .$(FASLEXT),$(axiom_algebra_layer_3))) +axiom_algebra_layer_4 = \ + ANON COLOR COMM COMPPROP ESCONT1 EXIT \ + FAMONC FORMULA1 IDPC NONE NUMINT \ + ODECAT OMENC ONECOMP2 OPTCAT \ + PALETTE PARPCURV PARPC2 PARSCURV PARSC2 PARSURF \ + PARSU2 PATMAB PATRES2 PATTERN1 PDECAT \ + REPSQ REPDB RFDIST RIDIST SPACEC SPLNODE \ + SUCH TEX1 UDVO YSTREAM PAIR ENV \ + ATRIG ATRIG- GROUP GROUP- LALG LALG- \ + OAMON BGAGG BGAGG- BRAGG BRAGG- ELAGG \ + ELAGG- DLAGG MODULE MODULE- + + +axiom_algebra_layer_4_nrlibs = \ + $(addsuffix .NRLIB/code.$(FASLEXT),$(axiom_algebra_layer_4)) + +axiom_algebra_layer_4_objects = \ + $(addprefix $(OUT)/, \ + $(addsuffix .$(FASLEXT),$(axiom_algebra_layer_4))) +axiom_algebra_layer_5 = \ + CACHSET CHARNZ CHARZ DVARCAT DVARCAT- ELEMFUN \ + ELEMFUN- ESTOOLS2 FCOMP FPATMAB IDPAM IDPO \ + INCRMAPS KERNEL2 LINEXP MODMONOM MONADWU MONADWU- \ + MRF2 NARNG NARNG- NSUP2 ODVAR OPQUERY \ + ORDFIN ORDMON PATMATCH PERMCAT PDRING PDRING- \ + SDVAR SUP2 TRIGCAT TRIGCAT- ULS2 UP2 \ + ELABEXPR OCAMON + +axiom_algebra_layer_5_nrlibs = \ + $(addsuffix .NRLIB/code.$(FASLEXT),$(axiom_algebra_layer_5)) + +axiom_algebra_layer_5_objects = \ + $(addprefix $(OUT)/, \ + $(addsuffix .$(FASLEXT),$(axiom_algebra_layer_5))) +axiom_algebra_layer_6 = \ + ALGEBRA ALGEBRA- AUTOMOR CARTEN2 CHARPOL COMPLEX2 \ + DIFEXT DIFEXT- ES1 ES2 GRMOD GRMOD- \ + HYPCAT HYPCAT- MKCHSET MODRING NASRING NASRING- \ + SORTPAK ZMOD PRQAGG QUAGG SKAGG DQAGG \ + PID OAGROUP OAMONS + +axiom_algebra_layer_6_nrlibs = \ + $(addsuffix .NRLIB/code.$(FASLEXT),$(axiom_algebra_layer_6)) +axiom_algebra_layer_6_objects = \ + $(addprefix $(OUT)/, \ + $(addsuffix .$(FASLEXT),$(axiom_algebra_layer_6))) +axiom_algebra_layer_7 = \ + BTCAT BTCAT- LNAGG LNAGG- FMCAT IDPOAM \ + IFAMON GRALG GRALG- FLAGG FLAGG- + +axiom_algebra_layer_7_nrlibs = \ + $(addsuffix .NRLIB/code.$(FASLEXT),$(axiom_algebra_layer_7)) + +axiom_algebra_layer_7_objects = \ + $(addprefix $(OUT)/, \ + $(addsuffix .$(FASLEXT),$(axiom_algebra_layer_7))) +axiom_algebra_layer_8 = \ + BSTREE BTOURN CARD DRAWHACK FACTFUNC FMTC \ + FR2 FRAC2 FRUTIL ITAYLOR MLO NAALG \ + NAALG- OP ORDCOMP2 RANDSRC UNISEG2 XALG \ + FIELD FIELD- A1AGG A1AGG- ARR2CAT ARR2CAT- + +axiom_algebra_layer_8_nrlibs = \ + $(addsuffix .NRLIB/code.$(FASLEXT),$(axiom_algebra_layer_8)) + +axiom_algebra_layer_8_objects = \ + $(addprefix $(OUT)/, \ + $(addsuffix .$(FASLEXT),$(axiom_algebra_layer_8))) +axiom_algebra_layer_9 = \ + AMR AMR- DEGRED DLP EAB ESTOOLS1 \ + FAGROUP FAMONOID FLINEXP FLINEXP- FRETRCT FRETRCT- \ + FSERIES FT IDPAG IDPOAMS INFINITY LA \ + OMLO ORTHPOL PRODUCT PADICCT PMPRED PMASS \ + PTFUNC2 RADCAT RADCAT- RATRET RADUTIL UPXS2 \ + XFALG ZLINDEP BBTREE LSAGG LSAGG- SRAGG \ + SRAGG- STRICAT ODEIFTBL NIPROB ODEPROB OPTPROB \ + PDEPROB + + +axiom_algebra_layer_9_nrlibs = \ + $(addsuffix .NRLIB/code.$(FASLEXT),$(axiom_algebra_layer_9)) + +axiom_algebra_layer_9_objects = \ + $(addprefix $(OUT)/, \ + $(addsuffix .$(FASLEXT),$(axiom_algebra_layer_9))) +axiom_algebra_layer_10 = \ + ASP34 BFUNCT BPADIC \ + BTREE CRAPACK DEQUEUE DLIST \ + DRAWCX D01GBFA D02EJFA D03FAFA \ + DRAWPT FAMR FAMR- FLASORT \ + FLAGG2 FGROUP FM FM1 \ + FPC FPC- FMONOID INDE \ + IPADIC IROOT IR2 LEXP \ + LIECAT LIECAT- LIST2 LIST2MAP \ + LMOPS LZSTAGG LZSTAGG- MAGMA \ + MESH MOEBIUS MODFIELD MODOP \ + MRING MTHING NCNTFRAC NCODIV \ + NUMTUBE ODR OFMONOID ONECOMP \ + ORDCOMP OREPCAT OREPCAT- OWP \ + PADIC PATTERN2 PATLRES PARTPERM \ + PBWLB PENDTREE PGE PGROEB \ + PINTERP PLOTTOOL PFR PMDOWN \ + PRTITION PMINS PMLSAGG PMTOOLS \ + PSCAT PSCAT- QFORM QUEUE \ + SCACHE SEG SEG2 SEXOF \ + STACK STTAYLOR TABLBUMP TABLEAU \ + TOPSP TRANFUN TRANFUN- TUBE \ + UDPO UNISEG VIEW VSPACE \ + VSPACE- XPOLYC XPR BTAGG BTAGG- + + +axiom_algebra_layer_10_nrlibs = \ + $(addsuffix .NRLIB/code.$(FASLEXT),$(axiom_algebra_layer_10)) + +axiom_algebra_layer_10_objects = \ + $(addprefix $(OUT)/, \ + $(addsuffix .$(FASLEXT),$(axiom_algebra_layer_10))) +axiom_algebra_layer_11 = \ + STRING \ + APPLYORE ARRAY1 ARRAY12 ARRAY2 \ + ASTACK COMBINAT \ + CSTTOOLS D01FCFA E04MBFA FARRAY \ + FLALG GALUTIL HEAP IARRAY1 \ + IARRAY2 IFARRAY INTCAT INTHEORY \ + IRREDFFX LFCAT LODOCAT LODOCAT- \ + LWORD MATCAT MATCAT- MATSTOR \ + ORESUP OREPCTO OREUP PLOT3D \ + PR PREASSOC PRIMARR2 REDORDER \ + STREAM SYMPOLY \ + TS TUPLE UPSCAT UPSCAT- \ + VECTCAT VECTCAT- XDPOLY XEXPPKG \ + XF XF- XPBWPOLY XPOLY \ + XRPOLY + +axiom_algebra_layer_11_nrlibs = \ + $(addsuffix .NRLIB/code.$(FASLEXT),$(axiom_algebra_layer_11)) + +axiom_algebra_layer_11_objects = \ + $(addprefix $(OUT)/, \ + $(addsuffix .$(FASLEXT),$(axiom_algebra_layer_11))) +axiom_algebra_layer_12 = \ + DIOPS DIOPS- DIAGG DIAGG- BITS DIRPROD2 IMATRIX \ + IVECTOR LPOLY LSMP LSMP1 MATCAT2 PTCAT TRIMAT \ + FSAGG FSAGG- SYSTEM BYTEARY + +axiom_algebra_layer_12_nrlibs = \ + $(addsuffix .NRLIB/code.$(FASLEXT),$(axiom_algebra_layer_12)) + +axiom_algebra_layer_12_objects = \ + $(addprefix $(OUT)/, \ + $(addsuffix .$(FASLEXT),$(axiom_algebra_layer_12))) +axiom_algebra_layer_13 = \ + KDAGG KDAGG- \ + ASSOCEQ CARTEN CLIF CLIP \ + COORDSYS DBASE DHMATRIX DIOSP \ + DIRPCAT DIRPCAT- D02BBFA D02BHFA \ + D02CJFA FAXF FAXF- FFPOLY2 \ + FNLA GRAY HB IRSN \ + MCALCFN MHROWRED NUMODE NUMQUAD \ + ODESYS ODETOOLS ORDFUNS PERMAN \ + PFECAT PFECAT- POINT PSEUDLIN \ + PTPACK REP2 SETMN SEX \ + SYMFUNC VECTOR2 CHAR + +axiom_algebra_layer_13_nrlibs = \ + $(addsuffix .NRLIB/code.$(FASLEXT),$(axiom_algebra_layer_13)) + +axiom_algebra_layer_13_objects = \ + $(addprefix $(OUT)/, \ + $(addsuffix .$(FASLEXT),$(axiom_algebra_layer_13))) +axiom_algebra_layer_14 = \ + TBAGG TBAGG- ALIST FS FS- ACF ACF- \ + ACFS ACFS- \ + ASP1 ASP10 ASP24 ASP4 \ + ASP50 ASP6 ASP73 BALFACT \ + BEZOUT BINARY BINFILE BOUNDZRO \ + BPADICRT BRILL CDEN CHVAR \ + COMMUPC CONTFRAC CVMP CYCLOTOM \ + CYCLES DDFACT DECIMAL DIRPROD DISPLAY DMP \ + DPMO DPOLCAT DPOLCAT- D01AJFA \ + D01AKFA D01ALFA D01AMFA D01APFA \ + D01AQFA EMR EQ ERROR \ + EVALCYC E04DGFA E04FDFA E04GCFA \ + E04JAFA FACUTIL FF FFCG \ + FFCGX FFHOM FFNB FFNBX \ + FFPOLY FFX FFSLPE FGLMICPK \ + FILE FINAALG FINAALG- FINRALG \ + FINRALG- FLOATRP FNAME \ + FOP FORMULA FORT FRAC \ + FTEM GENEEZ GENMFACT GENPGCD \ + GALFACTU GALPOLYU GB GBEUCLID \ + GBF GBINTERN GHENSEL GMODPOL \ + GOSPER GRIMAGE GROEBSOL HDMP \ + HDP HEXADEC HEUGCD IBPTOOLS \ + IFF IBITS ICARD ICDEN \ + IDECOMP IIARRAY2 IMATLIN IMATQF \ + INMODGCD INNMFACT INPSIGN INTHERTR \ + INTRAT INTRF INTSLPE INTTR \ + ISUMP LAUPOL LEADCDET LGROBP \ + LIMITRF LINDEP LO LPEFRAC \ + LSPP MATLIN MCDEN MDDFACT \ + MFINFACT MFLOAT MINT MLIFT \ + MMAP MODMON MONOTOOL MPCPF \ + MPC2 MPC3 MPOLY MPRFF \ + MRATFAC MULTSQFR NORMRETR NPCOEF \ + NSUP NTPOLFN ODP ODEPRIM \ + ODEPRRIC OMPKG OMSERVER PADEPAC \ + PADICRAT PADICRC PCOMP PDECOMP \ + PF PFBR PFBRU PFOTOOLS \ + PFRPAC PGCD PINTERPA PLEQN \ + PMPLCAT PMQFCAT PNTHEORY POLUTIL \ + POLTOPOL POLYCATQ POLYLIFT POLYROOT \ + POLY2 POLY2UP PRS PSQFR \ + PUSHVAR QALGSET QFCAT2 RADIX \ + RATFACT RCFIELD RCFIELD- RDETR \ + RDETRS REAL0 REAL0Q REALSOLV \ + RESRING RETSOL RF RFFACTOR \ + RMATCAT RMATCAT- RRCC RRCC- \ + SCPKG SHDP SHP SIGNRF \ + SMITH SMP SMTS SOLVEFOR \ + SPLTREE STINPROD STTFNC SUBRESP \ + SUMRF SUP SUPFRACF TANEXP \ + TEMUTL TEX TEXTFILE TREE \ + TWOFACT UNIFACT UP UPCDEN \ + UPDECOMP UPDIVP UPMP UPOLYC2 \ + UPXSCAT UPSQFREE VIEWDEF VIEW2D \ + VOID WEIER WP \ + EQTBL GSTBL HASHTBL \ + INTABL INTFTBL STBL STRTBL\ + TABLE FST SYMS SYMTAB + + +axiom_algebra_layer_14_nrlibs = \ + $(addsuffix .NRLIB/code.$(FASLEXT),$(axiom_algebra_layer_14)) + +axiom_algebra_layer_14_objects = \ + $(addprefix $(OUT)/, \ + $(addsuffix .$(FASLEXT),$(axiom_algebra_layer_14))) +axiom_algebra_layer_15 = \ + DSMP EXPUPXS \ + FRAMALG FRAMALG- MDAGG ODPOL \ + PLOT RMCAT2 ROIRC SDPOL \ + SMATCAT SMATCAT- TUBETOOL UPXSCCA \ + UPXSCCA- JAVACODE POLY + +axiom_algebra_layer_15_nrlibs = \ + $(addsuffix .NRLIB/code.$(FASLEXT),$(axiom_algebra_layer_15)) + +axiom_algebra_layer_15_objects = \ + $(addprefix $(OUT)/, \ + $(addsuffix .$(FASLEXT),$(axiom_algebra_layer_15))) +axiom_algebra_layer_16 = \ + DPMM EFUPXS FFINTBAS FRIDEAL \ + FRIDEAL2 FRMOD \ + IBATOOL INTFACT \ + MSETAGG MONOGEN MONOGEN- NFINTBAS \ + SPACE3 FFF + +axiom_algebra_layer_16_nrlibs = \ + $(addsuffix .NRLIB/code.$(FASLEXT),$(axiom_algebra_layer_16)) + +axiom_algebra_layer_16_objects = \ + $(addprefix $(OUT)/, \ + $(addsuffix .$(FASLEXT),$(axiom_algebra_layer_16))) +axiom_algebra_layer_17 = \ + CCLASS FSAGG2 GALFACT IALGFACT \ + IBACHIN MMLFORM NORMMA ODERED OMSAGG \ + PERM PERMGRP PRIMES PWFFINTB \ + RDIST SAE SAEFACT SAERFFC \ + SGCF VIEW3D + +axiom_algebra_layer_17_nrlibs = \ + $(addsuffix .NRLIB/code.$(FASLEXT),$(axiom_algebra_layer_17)) + +axiom_algebra_layer_17_objects = \ + $(addprefix $(OUT)/, \ + $(addsuffix .$(FASLEXT),$(axiom_algebra_layer_17))) +axiom_algebra_layer_18 = \ +INTPACK IPF \ + KAFILE PATRES TBCMPPK + +axiom_algebra_layer_18_nrlibs = \ + $(addsuffix .NRLIB/code.$(FASLEXT),$(axiom_algebra_layer_18)) + +axiom_algebra_layer_18_objects = \ + $(addprefix $(OUT)/, \ + $(addsuffix .$(FASLEXT),$(axiom_algebra_layer_18))) +axiom_algebra_layer_19 = \ + ACPLOT ANTISYM \ + ANY ASP27 ASP28 \ + ASP33 ASP49 ASP7 \ + ASP78 ASP9 ATTRBUT \ + BOP BOP1 COMMONOP COMPCAT \ + COMPCAT- DRAW DRAWCFUN DROPT \ + DROPT0 D01ANFA D01ASFA D03AGNT \ + EP E04AGNT FCPAK1 FEXPR \ + FFCAT FFCAT- FFCGP FFNBP \ + FFP FLOAT FPARFRAC FR \ + FRNAALG FRNAALG- \ + FUNCTION GDMP HACKPI \ + IDEAL INFORM INFORM1 IPRNTPK \ + IR ISUPS KERNEL LIB \ + LMDICT LODOOPS MATRIX MKFLCFN \ + MSET M3D NAGC02 NAGC05 \ + NAGC06 NAGD03 NAGE01 NAGE02 \ + NAGE04 NAGF07 NAGS NAGSP \ + NREP NUMFMT OC OC- \ + ODEPACK ODERAT OMERR OMERRK \ + OPTPACK OSI PATTERN OVAR \ + PMKERNEL PMSYM PRIMELT \ + QALGSET2 QEQUAT RECLOS REP1 \ + RESULT QUATCAT QUATCAT- RFFACT \ + RMATRIX ROMAN ROUTINE RPOLCAT \ + RPOLCAT- RULECOLD SAOS SEGBIND \ + SET SPECOUT SQMATRIX SWITCH \ + SYSSOLP UTSCAT \ + UTSCAT- VARIABLE WFFINTBS SPADPRSR \ + PARSER PROPFRML + +axiom_algebra_layer_19_nrlibs = \ + $(addsuffix .NRLIB/code.$(FASLEXT),$(axiom_algebra_layer_19)) + +axiom_algebra_layer_19_objects = \ + $(addprefix $(OUT)/, \ + $(addsuffix .$(FASLEXT),$(axiom_algebra_layer_19))) +axiom_algebra_layer_20 = \ + AF ALGFACT ASP12 ASP55 ASP8 \ + ALGFF ALGMANIP ALGMFACT ALGPKG \ + ALGSC AN APPRULE ASP19 \ + ASP20 ASP30 ASP31 ASP35 \ + ASP41 ASP42 ASP74 ASP77 \ + ASP80 CINTSLPE COMPFACT COMPLEX \ + COMPLPAT CMPLXRT CPMATCH CRFP \ + CTRIGMNP D01WGTS D02AGNT D03EEFA \ + DBLRESP DERHAM DFSFUN DRAWCURV \ + E04NAFA E04UCFA EF EFSTRUC \ + ELFUTS ESTOOLS EXPEXPAN EXPRODE \ + EXPRTUBE EXPR2 FC FDIVCAT \ + FDIVCAT- FDIV2 FFCAT2 FLOATCP \ + FORDER FORTRAN FSRED FSUPFACT \ + FRNAAF2 FSPECF FS2 FS2UPS \ + GAUSSFAC GCNAALG GENUFACT GENUPS \ + GTSET GPOLSET IAN INEP \ + INFPROD0 INFSP INPRODFF INPRODPF \ + INTAF INTALG INTEF INTG0 \ + INTHERAL INTPAF INTPM INTTOOLS \ + ITRIGMNP JORDAN KOVACIC LF \ + LIE LODOF LSQM OMEXPR \ + MCMPLX MULTFACT NAGD01 NAGD02 \ + NAGF01 NAGF02 NAGF04 NCEP \ + NLINSOL NSMP NUMERIC OCT \ + OCTCT2 ODEPAL ODERTRIC PADE \ + PAN2EXPR PDEPACK PFO PFOQ \ + PICOERCE PMASSFS PMFS PMPREDFS \ + PSETPK QUAT QUATCT2 RADFF \ + RDEEF RDEEFS RDIV RSETCAT \ + RSETCAT- RULE RULESET SIMPAN \ + SFORT SOLVESER SUMFS SUTS \ + TOOLSIGN TRIGMNIP TRMANIP ULSCCAT \ + ULSCCAT- UPXSSING UTSODE UTSODETL \ + UTS2 WUTSET + +axiom_algebra_layer_20_nrlibs = \ + $(addsuffix .NRLIB/code.$(FASLEXT),$(axiom_algebra_layer_20)) + +axiom_algebra_layer_20_objects = \ + $(addprefix $(OUT)/, \ + $(addsuffix .$(FASLEXT),$(axiom_algebra_layer_20))) +axiom_algebra_layer_21 = \ + DEFINTEF DFINTTLS DEFINTRF D01TRNS \ + EFULS ESCONT EXPR EXPR2UPS \ + FDIV FSCINT FSINT FS2EXPXP \ + GSERIES HELLFDIV INVLAPLA IR2F \ + IRRF2F LAPLACE LIMITPS LODEEF \ + NODE1 ODECONST ODEINT REP \ + SOLVERAD SULS SUPXS ULS \ + ULSCONS UPXS UPXSCONS UTS + +axiom_algebra_layer_21_nrlibs = \ + $(addsuffix .NRLIB/code.$(FASLEXT),$(axiom_algebra_layer_21)) + +axiom_algebra_layer_21_objects = \ + $(addprefix $(OUT)/, \ + $(addsuffix .$(FASLEXT),$(axiom_algebra_layer_21))) +axiom_algebra_layer_22 = \ + ASP29 COMBF D01AGNT FSPRMELT \ + INBFF LODO LODO1 LODO2 \ + NTSCAT REGSET RGCHAIN RSETGCD \ + RSDCMPK SFRTCAT SIGNEF SNTSCAT \ + SOLVETRA SRDCMPK SREGSET STTF \ + SUBSPACE ZDSOLVE + +axiom_algebra_layer_22_nrlibs = \ + $(addsuffix .NRLIB/code.$(FASLEXT),$(axiom_algebra_layer_22)) + +axiom_algebra_layer_22_objects = \ + $(addprefix $(OUT)/, \ + $(addsuffix .$(FASLEXT),$(axiom_algebra_layer_22))) +axiom_algebra_layer_23 = \ + CPIMA IRURPK LAZM3PK LEXTRIPK \ + NORMPK QCMPACK RURPK SFRGCD \ + SFQCMPK INTRVL ODEEF DOMAIN + +axiom_algebra_layer_23_nrlibs = \ + $(addsuffix .NRLIB/code.$(FASLEXT),$(axiom_algebra_layer_23)) + +axiom_algebra_layer_23_objects = \ + $(addprefix $(OUT)/, \ + $(addsuffix .$(FASLEXT),$(axiom_algebra_layer_23))) +axiom_algebra_layer_user = RINTERP + +axiom_algebra_layer_user_nrlibs = \ + $(addsuffix .NRLIB/code.$(FASLEXT),$(axiom_algebra_layer_user)) + +axiom_algebra_layer_user_objects = \ + $(addprefix $(OUT)/, \ + $(addsuffix .$(FASLEXT),$(axiom_algebra_layer_user))) + +.PHONY: all all-algebra mkdir-output-directory +all: all-ax + +all-ax all-algebra: stamp + @ echo finished $(builddir) + +stamp: mkdir-output-directory ${SPADFILES} bootstrap-stamp ${TESTS} + -rm -f stamp + $(STAMP) stamp + +mkdir-output-directory: + $(mkinstalldirs) $(OUTSRC) + +everything: check lib db cmd gloss + @ echo 4303 invoking make in `pwd` with parms: + @ echo SYS= ${SYS} LSP= ${LSP} + @ echo MNT= ${MNT} LISP=${LISP} BYE=${BYE} + +check: + @ echo 4305 Checking that INTERP.EXPOSED and NRLIBs are consistent + @ echo 4306 libcheck needs to use exposed.lsp, not INTERP.EXPOSED + + + + +${OUT}/%.$(FASLEXT): %.NRLIB/code.$(FASLEXT) + cp $*.NRLIB/code.$(FASLEXT) ${OUT}/$*.$(FASLEXT) + + +.PRECIOUS: %.NRLIB/code.$(FASLEXT) +%.NRLIB/code.$(FASLEXT): %.spad + @ rm -rf $*.NRLIB + ${INTERPSYS} --strap=strap --compile $< +# Compile bootstrap file to machine object code, and the result +# immediately available for AXIOMsys consumption. +strap/%.$(FASLEXT): %.lsp + $(COMPILE_LISP) + +$(OUTSRC)/%.spad: mk-target-src-algabra-dir + +${OUTSRC}/%.spad: $(srcdir)/%.spad.pamphlet + $(axiom_build_document) --tangle --output=$@ $< + +.PHONY: mk-target-src-algabra-dir +mk-target-src-algabra-dir: + @ [ -d $(OUTSRC) ] || $(mkinstalldirs) $(OUTSRC) + +.PRECIOUS: $(builddir)/%.tex +.PRECIOUS: $(builddir)/%.dvi + +$(DOC)/%.dvi: mk-target-doc-dir + +.PHONY: mk-target-doc-dir +mk-target-doc-dir: + @ [ -d $(DOC) ] || $(mkinstalldirs) $(DOC) + +$(DOC)/%.dvi: $(builddir)/%.dvi + $(INSTALL_DATA) $< $@ + +$(builddir)/%.dvi: $(axiom_build_texdir)/diagrams.tex \ + $(axiom_build_texdir)/axiom.sty + +$(builddir)/%.dvi: $(builddir)/%.tex + $(axiom_build_document) --latex $< + +$(builddir)/%.tex: $(srcdir)/%.pamphlet + $(axiom_build_document) --weave --output=$@ $< + +$(axiom_build_texdir)/diagrams.tex: $(axiom_src_docdir)/diagrams.tex + $(INSTALL_DATA) $< $@ + +SPADPRSR.NRLIB/code.$(FASLEXT): spad-parser.spad + @ rm -rf SPADPRSR.NRLIB + ${INTERPSYS} --compile $< + +PARSER.NRLIB/code.$(FASLEXT): script-parser.spad + @ rm -rf PARSER.NRLIB + ${INTERPSYS} --compile $< + + + +${INPUT}/TESTFR.input: $(srcdir)/fr.spad.pamphlet + $(axiom_build_document) --tangle='TEST FR' --output=$@ $< + +${INPUT}/INTHEORY.input: $(srcdir)/numtheor.spad.pamphlet + $(axiom_build_document) --tangle='TEST INTHEORY' --output=$@ $< + +${INPUT}/VIEW2D.input: $(srcdir)/view2D.spad.pamphlet + $(axiom_build_document) --tangle='TEST VIEW2D' --output=$@ $< + + +${DOC}/diagrams.tex: $(axiom_src_docdir)/diagrams.tex + $(INSTALL_DATA) $< $@ + +$(axiom_algebra_layer_0_objects): strap-stamp +$(axiom_algebra_layer_1_objects): 0-stamp +$(axiom_algebra_layer_2_objects): 1-stamp +$(axiom_algebra_layer_3_objects): 2-stamp +$(axiom_algebra_layer_4_objects): 3-stamp +$(axiom_algebra_layer_5_objects): 4-stamp +$(axiom_algebra_layer_6_objects): 5-stamp +$(axiom_algebra_layer_7_objects): 6-stamp +$(axiom_algebra_layer_8_objects): 7-stamp +$(axiom_algebra_layer_9_objects): 8-stamp +$(axiom_algebra_layer_10_objects): 9-stamp +$(axiom_algebra_layer_11_objects): 10-stamp +$(axiom_algebra_layer_12_objects): 11-stamp +$(axiom_algebra_layer_13_objects): 12-stamp +$(axiom_algebra_layer_14_objects): 13-stamp +$(axiom_algebra_layer_15_objects): 14-stamp +$(axiom_algebra_layer_16_objects): 15-stamp +$(axiom_algebra_layer_17_objects): 16-stamp +$(axiom_algebra_layer_18_objects): 17-stamp +$(axiom_algebra_layer_19_objects): 18-stamp +$(axiom_algebra_layer_20_objects): 19-stamp +$(axiom_algebra_layer_21_objects): 20-stamp +$(axiom_algebra_layer_22_objects): 21-stamp +$(axiom_algebra_layer_23_objects): 22-stamp +$(axiom_algebra_layer_user_objects): 23-stamp +$(axiom_algebra_bootstrap_objects): user-stamp + +strap-stamp: $(axiom_algebra_layer_strap_objects) + @ rm -f strap-stamp + @ $(STAMP) strap-stamp + @ echo ===================================== + @ echo === algebra bootstrap complete ====== + @ echo ===================================== + +0-stamp: strap-stamp $(axiom_algebra_layer_0_objects) + @ rm -f 0-stamp + @ $(STAMP) 0-stamp + @ echo ================================== + @ echo === layer 0 of 23 complete ====== + @ echo ================================== + +1-stamp: 0-stamp $(axiom_algebra_layer_1_objects) + @ rm -f 1-stamp + @ $(STAMP) 1-stamp + @ echo ================================== + @ echo === layer 1 of 23 complete ====== + @ echo ================================== + +2-stamp: 1-stamp $(axiom_algebra_layer_2_objects) + @ rm -f 2-stamp + @ $(STAMP) 2-stamp + @ echo ================================== + @ echo === layer 2 of 23 complete ====== + @ echo ================================== + +3-stamp: 2-stamp $(axiom_algebra_layer_3_objects) + @ rm -f 3-stamp + @ $(STAMP) 3-stamp + @ echo ================================== + @ echo === layer 3 of 23 complete ====== + @ echo ================================== + +4-stamp: 3-stamp $(axiom_algebra_layer_4_objects) + @ rm -f 4-stamp + @ $(STAMP) 4-stamp + @ echo ================================== + @ echo === layer 4 of 23 complete ====== + @ echo ================================== + +5-stamp: 4-stamp $(axiom_algebra_layer_5_objects) + @ rm -f 5-stamp + @ $(STAMP) 5-stamp + @ echo ================================== + @ echo === layer 5 of 23 complete ====== + @ echo ================================== + +6-stamp: 5-stamp $(axiom_algebra_layer_6_objects) + @ rm -f 6-stamp + @ $(STAMP) 6-stamp + @ echo ================================== + @ echo === layer 6 of 23 complete ====== + @ echo ================================== + +7-stamp: 6-stamp $(axiom_algebra_layer_7_objects) + @ rm -f 7-stamp + @ $(STAMP) 7-stamp + @ echo ================================== + @ echo === layer 7 of 23 complete ====== + @ echo ================================== + +8-stamp: 7-stamp $(axiom_algebra_layer_8_objects) + @ rm -f 8-stamp + @ $(STAMP) 8-stamp + @ echo ================================== + @ echo === layer 8 of 23 complete ====== + @ echo ================================== + +9-stamp: 8-stamp $(axiom_algebra_layer_9_objects) + @ rm -f 9-stamp + @ $(STAMP) 9-stamp + @ echo ================================== + @ echo === layer 9 of 23 complete ====== + @ echo ================================== + +10-stamp: 9-stamp $(axiom_algebra_layer_10_objects) + @ rm -f 10-stamp + @ $(STAMP) 10-stamp + @ echo ================================== + @ echo === layer 10 of 23 complete ====== + @ echo ================================== + +11-stamp: 10-stamp $(axiom_algebra_layer_11_objects) + @ rm -f 11-stamp + @ $(STAMP) 11-stamp + @ echo ================================== + @ echo === layer 11 of 23 complete ====== + @ echo ================================== + +12-stamp: 11-stamp $(axiom_algebra_layer_12_objects) + @ rm -f 12-stamp + @ $(STAMP) 12-stamp + @ echo ================================== + @ echo === layer 12 of 23 complete ====== + @ echo ================================== + +13-stamp: 12-stamp $(axiom_algebra_layer_13_objects) + @ rm -f 13-stamp + @ $(STAMP) 13-stamp + @ echo ================================== + @ echo === layer 13 of 23 complete ====== + @ echo ================================== + +14-stamp: 13-stamp $(axiom_algebra_layer_14_objects) + @ rm -f 14-stamp + @ $(STAMP) 14-stamp + @ echo ================================== + @ echo === layer 14 of 23 complete ====== + @ echo ================================== + +15-stamp: 14-stamp $(axiom_algebra_layer_15_objects) + @ rm -f 15-stamp + @ $(STAMP) 15-stamp + @ echo ================================== + @ echo === layer 15 of 23 complete ====== + @ echo ================================== + +16-stamp: 15-stamp $(axiom_algebra_layer_16_objects) + @ rm -f 16-stamp + @ $(STAMP) 16-stamp + @ echo ================================== + @ echo === layer 16 of 23 complete ====== + @ echo ================================== + +17-stamp: 16-stamp $(axiom_algebra_layer_17_objects) + @ rm -f 17-stamp + @ $(STAMP) 17-stamp + @ echo ================================== + @ echo === layer 17 of 23 complete ====== + @ echo ================================== + +18-stamp: 17-stamp $(axiom_algebra_layer_18_objects) + @ rm -f 18-stamp + @ $(STAMP) 18-stamp + @ echo ================================== + @ echo === layer 18 of 23 complete ====== + @ echo ================================== + +19-stamp: 18-stamp $(axiom_algebra_layer_19_objects) + @ rm -f 19-stamp + @ $(STAMP) 19-stamp + @ echo ================================== + @ echo === layer 19 of 23 complete ====== + @ echo ================================== + +20-stamp: 19-stamp $(axiom_algebra_layer_20_objects) + @ rm -f 20-stamp + @ $(STAMP) 20-stamp + @ echo ================================== + @ echo === layer 20 of 23 complete ====== + @ echo ================================== + +21-stamp: 20-stamp $(axiom_algebra_layer_21_objects) + @ rm -f 21-stamp + @ $(STAMP) 21-stamp + @ echo ================================== + @ echo === layer 21 of 23 complete ====== + @ echo ================================== + +22-stamp: 21-stamp $(axiom_algebra_layer_22_objects) + @ rm -f 22-stamp + @ $(STAMP) 22-stamp + @ echo ================================== + @ echo === layer 22 of 23 complete ====== + @ echo ================================== + +23-stamp: 22-stamp $(axiom_algebra_layer_23_objects) + @ rm -f 23-stamp + @ $(STAMP) 23-stamp + @ echo ================================== + @ echo === layer 23 of 23 complete ====== + @ echo ================================== + +user-stamp: 23-stamp $(axiom_algebra_layer_user_objects) + @ rm -f user-stamp + @ $(STAMP) user-stamp + + +# bootstrap-pre: user-stamp $(axiom_algebra_bootstrap_nrlibs) +# $(axiom_algebra_bootstrap_nrlibs): user-stamp + +# bootstrap-post: bootstrap-pre $(axiom_algebra_bootstrap_objects) + +bootstrap-stamp: $(axiom_algebra_bootstrap_objects) + @ rm -f bootstrap-stamp + @ $(STAMP) bootstrap-stamp + @ echo ================================== + @ echo === algebra complete ====== + @ echo ================================== + +mostlyclean-local: + @rm -f $(OUT)/*.$(FASLEXT) $(OUT)/*.daase + @rm -rf *.NRLIB + @rm -rf *.DAASE *.daase libdb.text + @rm -rf strap + @rm -f *stamp + +clean-local: mostlyclean-local + +distclean-local: clean-local + +include extract-lisp-files.mk +include extract-spad.mk + +.NOTPARALLEL: + diff --git a/src/hyper/Makefile.in b/src/hyper/Makefile.in index 84838d31..474951eb 100644 --- a/src/hyper/Makefile.in +++ b/src/hyper/Makefile.in @@ -30,7 +30,10 @@ # SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -bin_PROGRAMS = htadd$(EXEEXT) hthits$(EXEEXT) ex2ht$(EXEEXT) +bin_PROGRAMS = htadd$(EXEEXT) ex2ht$(EXEEXT) +ifeq ($(strip $(openaxiom_host_has_regex)),yes) +bin_PROGRAMS += hthits$(EXEEXT) +endif ifeq ($(strip $(axiom_use_x)),yes) bin_PROGRAMS += hypertex$(EXEEXT) spadbuf$(EXEEXT) endif diff --git a/src/hyper/htadd.c b/src/hyper/htadd.c index c1f8af14..533824b5 100644 --- a/src/hyper/htadd.c +++ b/src/hyper/htadd.c @@ -39,10 +39,12 @@ #define _HTADD_C #include "openaxiom-c-macros.h" -#include #include #include #include +#ifndef __MINGW32__ +# include +#endif #include "cfuns.h" #include "hash.h" diff --git a/src/hyper/token.h b/src/hyper/token.h index 24a3c3f3..78d8dafb 100644 --- a/src/hyper/token.h +++ b/src/hyper/token.h @@ -57,203 +57,201 @@ typedef struct Token { /* User tokens. ie, these can be found on a page */ - -#define Word 1 -#define Page 2 -#define Lispcommandquit 3 -#define BoldFace 4 -#define Link 5 -#define Downlink 6 -#define Beginscroll 7 -#define Spadcommand 8 -#define NoLines 9 -#define Env 10 -#define Par 11 -#define Center 12 -#define Begin 13 -#define Beginitems 14 -#define Item 15 -#define Table 16 -#define Box 17 -#define Tab 18 -#define Space 19 -#define Indent 20 -#define Horizontalline 21 -#define Newline 22 -#define Enditems 23 -#define Returnbutton 24 -#define Memolink 25 -#define Upbutton 26 -#define Endscroll 27 -#define Thispage 28 -#define Returnto 29 -#define Free 30 -#define Bound 31 -#define Lisplink 32 -#define Unixlink 33 -#define Mbox 34 -#define Inputstring 35 -#define StringValue 36 -#define Spadlink 37 -#define Inputbitmap 38 -#define Inputpixmap 39 -#define Unixcommand 40 -#define Emphasize 41 -#define Lispcommand 42 -#define LispMemoLink 43 -#define LispDownLink 44 -#define Spadcall 45 -#define Spadcallquit 46 -#define Spaddownlink 47 -#define Spadmemolink 48 -#define Qspadcall 49 -#define Qspadcallquit 50 -#define SimpleBox 51 -#define Radioboxes 52 -#define BoxValue 53 -#define VSpace 54 -#define HSpace 55 -#define NewCommand 56 -#define WindowId 57 -#define Beep 58 -#define Quitbutton 59 -#define Begintitems 60 -#define Titem 61 -#define End 62 -#define It 63 -#define Sl 64 -#define Tt 65 -#define Rm 66 -#define Ifcond 67 -#define Else 68 -#define Fi 69 -#define Newcond 70 -#define Setcond 71 -#define Button 72 -#define Windowlink 73 -#define Haslisp 74 -#define Hasup 75 -#define Hasreturn 76 -#define Hasreturnto 77 -#define Lastwindow 78 -#define Endtitems 79 -#define Lispwindowlink 80 -#define Beginpile 81 -#define Endpile 82 -#define Nextline 83 -#define Pastebutton 84 -#define Color 85 -#define Helppage 86 -#define Patch 87 -#define Radiobox 88 -#define ifrecond 89 -#define Math 90 -#define Mitem 91 -#define Pagename 92 -#define Examplenumber 93 -#define Replacepage 94 -#define Inputimage 95 -#define Spadgraph 96 -#define Indentrel 97 -#define Controlbitmap 98 - -#define NumberUserTokens 98 - - -extern char *token_table[]; - - -/* places from which input may be read */ -#define FromFile 1 -#define FromString 2 -#define FromSpadSocket 3 -#define FromUnixFD 4 - -extern FILE *unixfd; +typedef enum openaxiom_token_kind { + Word = 1, + Page = 2, + Lispcommandquit = 3, + BoldFace = 4, + Link = 5, + Downlink = 6, + Beginscroll = 7, + Spadcommand = 8, + NoLines = 9, + Env = 10, + Par = 11, + Center = 12, + Begin = 13, + Beginitems = 14, + Item = 15, + Table = 16, + Box = 17, + Tab = 18, + Space = 19, + Indent = 20, + Horizontalline = 21, + Newline = 22, + Enditems = 23, + Returnbutton = 24, + Memolink = 25, + Upbutton = 26, + Endscroll = 27, + Thispage = 28, + Returnto = 29, + Free = 30, + Bound = 31, + Lisplink = 32, + Unixlink = 33, + Mbox = 34, + Inputstring = 35, + StringValue = 36, + Spadlink = 37, + Inputbitmap = 38, + Inputpixmap = 39, + Unixcommand = 40, + Emphasize = 41, + Lispcommand = 42, + LispMemoLink = 43, + LispDownLink = 44, + Spadcall = 45, + Spadcallquit = 46, + Spaddownlink = 47, + Spadmemolink = 48, + Qspadcall = 49, + Qspadcallquit = 50, + SimpleBox = 51, + Radioboxes = 52, + BoxValue = 53, + VSpace = 54, + HSpace = 55, + NewCommand = 56, + WindowId = 57, + Beep = 58, + Quitbutton = 59, + Begintitems = 60, + Titem = 61, + End = 62, + It = 63, + Sl = 64, + Tt = 65, + Rm = 66, + Ifcond = 67, + Else = 68, + Fi = 69, + Newcond = 70, + Setcond = 71, + Button = 72, + Windowlink = 73, + Haslisp = 74, + Hasup = 75, + Hasreturn = 76, + Hasreturnto = 77, + Lastwindow = 78, + Endtitems = 79, + Lispwindowlink = 80, + Beginpile = 81, + Endpile = 82, + Nextline = 83, + Pastebutton = 84, + Color = 85, + Helppage = 86, + Patch = 87, + Radiobox = 88, + ifrecond = 89, + Math = 90, + Mitem = 91, + Pagename = 92, + Examplenumber = 93, + Replacepage = 94, + Inputimage = 95, + Spadgraph = 96, + Indentrel = 97, + Controlbitmap = 98, + NumberUserTokens = 98, /* * Here are the system tokens. These are used internally to help * with parsing and displaying of text */ - -#define SystemTokens 1001 -#define Lbrace 1001 -#define Rbrace 1002 -#define Macro 1003 -#define Group 1004 -#define Scrollbar 1005 -#define Pound 1006 -#define Lsquarebrace 1007 -#define Rsquarebrace 1008 -#define Punctuation 1009 -#define Dash 1010 -#define Tableitem 1011 -#define Scrollingnode 1012 -#define Headernode 1013 -#define Footernode 1014 -#define Verbatim 1015 -#define Scroll 1016 -#define Dollar 1017 -#define Percent 1018 -#define Carrot 1019 -#define Underscore 1020 -#define Tilde 1021 -#define Cond 1022 -#define Noop 1023 -#define Description 1024 -#define Icorrection 1025 -#define Boxcond 1026 -#define Unkeyword 1027 -#define Titlenode 1028 -#define Paste 1029 -#define Spadsrc 1030 -#define Helpbutton 1031 -#define Spadsrctxt 1032 - - + SystemTokens = 1001, + Lbrace = 1001, + Rbrace = 1002, + Macro = 1003, + Group = 1004, + Scrollbar = 1005, + Pound = 1006, + Lsquarebrace = 1007, + Rsquarebrace = 1008, + Punctuation = 1009, + Dash = 1010, + Tableitem = 1011, + Scrollingnode = 1012, + Headernode = 1013, + Footernode = 1014, + Verbatim = 1015, + Scroll = 1016, + Dollar = 1017, + Percent = 1018, + Carrot = 1019, + Underscore = 1020, + Tilde = 1021, + Cond = 1022, + Noop = 1023, + Description = 1024, + Icorrection = 1025, + Boxcond = 1026, + Unkeyword = 1027, + Titlenode = 1028, + Paste = 1029, + Spadsrc = 1030, + Helpbutton = 1031, + Spadsrctxt = 1032, /* * Here are the tokens used to mark the end to some sort of group of * tokens. ie, the tokens found in a centerline command */ + Endtokens = 2000, + End1 = 2001, + End2 = 2002, + Endbutton = 2003, + Endlink = 2004, + Endheader = 2005, + Endfooter = 2006, + Endscrolling = 2007, + Endgroup = 2008, + Endarg = 2009, + Endbox = 2010, + Endmbox = 2011, + Endspadcommand = 2012, + Endpix = 2013, + Endmacro = 2014, + Endparameter = 2015, + Endtable = 2016, + Endtableitem = 2017, + End3 = 2018, + Endif = 2019, + Enddescription = 2020 + Endinputbox = 2021, + Endtitle = 2022, + Endpastebutton = 2023, + + Endtypes = 3000, + Endpage = 3002, + EndScroll = 3007, /* had to use a S because Endscroll is + already a keyword */ + + Endcenter = 3012, + EndItems = 3014, /* Same thing here as EndScroll except + with the i */ + EndTitems = 3060, /* Ibid for the T */ + Endpatch = 3087, + Endverbatim = 4015, + Endmath = 4016, + Endpaste = 4029, + Endspadsrc = 4030 +} openaxiom_token_kind; -#define Endtokens 2000 -#define End1 2001 -#define End2 2002 -#define Endbutton 2003 -#define Endlink 2004 -#define Endheader 2005 -#define Endfooter 2006 -#define Endscrolling 2007 -#define Endgroup 2008 -#define Endarg 2009 -#define Endbox 2010 -#define Endmbox 2011 -#define Endspadcommand 2012 -#define Endpix 2013 -#define Endmacro 2014 -#define Endparameter 2015 -#define Endtable 2016 -#define Endtableitem 2017 -#define End3 2018 -#define Endif 2019 -#define Enddescription 2020 -#define Endinputbox 2021 -#define Endtitle 2022 -#define Endpastebutton 2023 -#define Endtypes 3000 -#define Endpage 3002 -#define EndScroll 3007 /* had to use a S because Endscroll is - already a keyword */ +extern char *token_table[]; + -#define Endcenter 3012 -#define EndItems 3014 /* Same thing here as EndScroll except - with the i */ -#define EndTitems 3060 /* Ibid for the T */ -#define Endpatch 3087 -#define Endverbatim 4015 -#define Endmath 4016 -#define Endpaste 4029 -#define Endspadsrc 4030 +/* places from which input may be read */ +typedef enum openaxiom_input_kind { + FromFile = 1, + FromString = 2, + FromSpadSocket = 3, + FromUnixFD = 4 +} openaxiom_input_kind; + +extern FILE *unixfd; #endif diff --git a/src/input/Makefile.in b/src/input/Makefile.in index 2c1195b0..71e4f664 100644 --- a/src/input/Makefile.in +++ b/src/input/Makefile.in @@ -1,751 +1,751 @@ - -subdir = src/input/ - -IN=$(axiom_src_srcdir)/input -MID=./$(top_builddir)/int/input -OUT=$(axiom_targetdir)/input -DOC=$(axiom_target_docdir)/src/input - - -ASFILES=${OUT}/aseg6.as ${OUT}/aseg7.as ${OUT}/ecfact.as \ - ${OUT}/hilbert.as ${OUT}/matops.as ${OUT}/pdecomp0.as \ - ${OUT}/romnum.as - -NAGLIB=${OUT}/c02aff.input ${OUT}/c02agf.input ${OUT}/c05adf.input \ - ${OUT}/c05nbf.input ${OUT}/c05pbf.input ${OUT}/c06eaf.input \ - ${OUT}/c06ebf.input ${OUT}/c06ecf.input ${OUT}/c06ekf.input \ - ${OUT}/c06fpf.input ${OUT}/c06fqf.input ${OUT}/c06frf.input \ - ${OUT}/c06fuf.input ${OUT}/c06gbf.input ${OUT}/c06gcf.input \ - ${OUT}/c06gqf.input ${OUT}/c06gsf.input \ - ${OUT}/d01ajf.input ${OUT}/d01akf.input ${OUT}/d01alf.input \ - ${OUT}/d01amf.input ${OUT}/d01anf.input ${OUT}/d01apf.input \ - ${OUT}/d01aqf.input ${OUT}/d01asf.input ${OUT}/d01bbf.input \ - ${OUT}/d01fcf.input ${OUT}/d01gaf.input ${OUT}/d01gbf.input \ - ${OUT}/d02bbf.input ${OUT}/d02bhf.input ${OUT}/d02cjf.input \ - ${OUT}/d02ejf.input ${OUT}/d02gaf.input ${OUT}/d02gbf.input \ - ${OUT}/d02kef.input ${OUT}/d02raf.input ${OUT}/d03edf.input \ - ${OUT}/d03eef.input ${OUT}/d03faf.input \ - ${OUT}/e01baf.input ${OUT}/e01bef.input ${OUT}/e01bff.input \ - ${OUT}/e01bgf.input ${OUT}/e01bhf.input ${OUT}/e01daf.input \ - ${OUT}/e01saf.input ${OUT}/e01sbf.input ${OUT}/e01sef.input \ - ${OUT}/e01sff.input ${OUT}/e02adf.input ${OUT}/e02aef.input \ - ${OUT}/e02agf.input ${OUT}/e02ahf.input ${OUT}/e02ajf.input \ - ${OUT}/e02akf.input ${OUT}/e02baf.input ${OUT}/e02bbf.input \ - ${OUT}/e02bcf.input ${OUT}/e02bdf.input ${OUT}/e02bef.input \ - ${OUT}/e02daf.input ${OUT}/e02dcf.input ${OUT}/e02ddf.input \ - ${OUT}/e02def.input ${OUT}/e02dff.input ${OUT}/e02gaf.input \ - ${OUT}/e02zaf.input ${OUT}/e04dgf.input ${OUT}/e04fdf.input \ - ${OUT}/e04gcf.input ${OUT}/e04jaf.input ${OUT}/e04mbf.input \ - ${OUT}/e04naf.input ${OUT}/e04ucf.input ${OUT}/e04ycf.input \ - ${OUT}/f01brf.input ${OUT}/f01bsf.input ${OUT}/f01maf.input \ - ${OUT}/f01mcf.input ${OUT}/f01qcf.input ${OUT}/f01qdf.input \ - ${OUT}/f01qef.input ${OUT}/f01rcf.input ${OUT}/f01rdf.input \ - ${OUT}/f01ref.input ${OUT}/f02aaf.input ${OUT}/f02abf.input \ - ${OUT}/f02adf.input ${OUT}/f02aef.input ${OUT}/f02aff.input \ - ${OUT}/f02agf.input ${OUT}/f02ajf.input ${OUT}/f02akf.input \ - ${OUT}/f02awf.input ${OUT}/f02axf.input ${OUT}/f02bbf.input \ - ${OUT}/f02bjf.input ${OUT}/f02fjf.input ${OUT}/f02wef.input \ - ${OUT}/f02xef.input ${OUT}/f04adf.input ${OUT}/f04arf.input \ - ${OUT}/f04asf.input ${OUT}/f04atf.input ${OUT}/f04axf.input \ - ${OUT}/f04faf.input ${OUT}/f04jgf.input ${OUT}/f04maf.input \ - ${OUT}/f04mbf.input ${OUT}/f04mcf.input ${OUT}/f04qaf.input \ - ${OUT}/f07adf.input ${OUT}/f07aef.input ${OUT}/f07fdf.input \ - ${OUT}/f07fef.input \ - ${OUT}/s01eaf.input ${OUT}/s13aaf.input ${OUT}/s13acf.input \ - ${OUT}/s13adf.input ${OUT}/s14aaf.input ${OUT}/s14abf.input \ - ${OUT}/s14baf.input ${OUT}/s15adf.input ${OUT}/s15aef.input \ - ${OUT}/s17acf.input ${OUT}/s17adf.input ${OUT}/s17aef.input \ - ${OUT}/s17aff.input ${OUT}/s17agf.input ${OUT}/s17ahf.input \ - ${OUT}/s17ajf.input ${OUT}/s17akf.input ${OUT}/s17dcf.input \ - ${OUT}/s17def.input ${OUT}/s17dgf.input ${OUT}/s17dhf.input \ - ${OUT}/s17dlf.input ${OUT}/s18acf.input ${OUT}/s18adf.input \ - ${OUT}/s18aef.input ${OUT}/s18aff.input ${OUT}/s18dcf.input \ - ${OUT}/s18def.input ${OUT}/s19aaf.input ${OUT}/s19abf.input \ - ${OUT}/s19acf.input ${OUT}/s19adf.input ${OUT}/s20acf.input \ - ${OUT}/s20adf.input ${OUT}/s21baf.input ${OUT}/s21bbf.input \ - ${OUT}/s21bcf.input ${OUT}/s21bdf.input - -FILES= ${OUT}/algaggr.input ${OUT}/algbrbf.input ${OUT}/algfacob.input \ - ${OUT}/alist.input ${OUT}/allfact.input ${OUT}/antoine.input \ - ${OUT}/array1.input ${OUT}/array2.input ${OUT}/arrows.input \ - ${OUT}/assign.input ${OUT}/atansqrt.input ${OUT}/axiom.input \ - ${OUT}/asec.input \ - ${OUT}/bags.input ${OUT}/bbtree.input ${OUT}/bern.input \ - ${OUT}/bernpoly.input ${OUT}/binary.input ${OUT}/bop.input \ - ${OUT}/bouquet.input ${OUT}/bstree.input ${OUT}/bug6357.input \ - ${OUT}/bug9057.input ${OUT}/bug10069.input ${OUT}/bug10312.input \ - ${OUT}/calculus.input \ - ${OUT}/cardinal.input ${OUT}/card.input ${OUT}/carten.input \ - ${OUT}/cclass.input ${OUT}/cdraw.input ${OUT}/char.input \ - ${OUT}/ch.input ${OUT}/clifford.input ${OUT}/clif.input \ - ${OUT}/coercels.input ${OUT}/collect.input ${OUT}/color.input \ - ${OUT}/complex.input ${OUT}/cone.input ${OUT}/conformal.input \ - ${OUT}/constant.input \ - ${OUT}/contfrac.input ${OUT}/contfrc.input ${OUT}/coordsys.input \ - ${OUT}/curl.input \ - ${OUT}/cycles.input ${OUT}/cycles1.input ${OUT}/cycloid.input \ - ${OUT}/cycloid2.input \ - ${OUT}/cycloid3.input ${OUT}/cyfactor.input ${OUT}/damped.input \ - ${OUT}/danzwill.input ${OUT}/decimal.input ${OUT}/defs.input \ - ${OUT}/defintef.input ${OUT}/defintrf.input ${OUT}/derham.input \ - ${OUT}/de2re.input \ - ${OUT}/dfloat.input ${OUT}/dhtri.input ${OUT}/divisor.input \ - ${OUT}/dmp.input ${OUT}/dpol.input ${OUT}/draw2dSF.input \ - ${OUT}/drawalg.input ${OUT}/drawcfn.input \ - ${OUT}/drawcfun.input ${OUT}/drawcurv.input \ - ${OUT}/draw.input ${OUT}/drawcx.input ${OUT}/drawex.input \ - ${OUT}/drawpoly.input ${OUT}/drawx.input \ - ${OUT}/easter.input ${OUT}/efi.input ${OUT}/egg.input \ - ${OUT}/eigen.input \ - ${OUT}/elemfun.input ${OUT}/elemnum.input ${OUT}/elfuts.input \ - ${OUT}/elt.input \ - ${OUT}/eq.input ${OUT}/eqtbl.input ${OUT}/equation.input \ - ${OUT}/errortrap.input \ - ${OUT}/eval.input ${OUT}/exit.input ${OUT}/expexpan.input \ - ${OUT}/explim.input ${OUT}/explot2d.input ${OUT}/explot3d.input \ - ${OUT}/expr1.input ${OUT}/exprpoly.input \ - ${OUT}/farray.input ${OUT}/ffdemo.input \ - ${OUT}/fferr.input ${OUT}/ffrac.input ${OUT}/ffx72.input \ - ${OUT}/fib.input ${OUT}/fixed.input \ - ${OUT}/file.input ${OUT}/float2.input \ - ${OUT}/float.input ${OUT}/float1.input ${OUT}/fname.input \ - ${OUT}/fname1.input ${OUT}/fnla.input ${OUT}/folium.input \ - ${OUT}/fparfrac.input \ - ${OUT}/fparfrc.input ${OUT}/fr2.input ${OUT}/frac.input \ - ${OUT}/fr.input ${OUT}/fr1.input ${OUT}/gary1.input \ - ${OUT}/gbf.input ${OUT}/genups.input ${OUT}/gnarly1.input \ - ${OUT}/gonshor.input ${OUT}/grdef.input \ - ${OUT}/gstbl.input \ - ${OUT}/heap.input ${OUT}/heat.input ${OUT}/helix.input \ - ${OUT}/herm.input ${OUT}/hexadec.input ${OUT}/huang.input \ - ${OUT}/ico.input ${OUT}/ideal.input ${OUT}/ifact.input \ - ${OUT}/images1.input ${OUT}/images1a.input ${OUT}/images3a.input \ - ${OUT}/images3.input ${OUT}/images6.input ${OUT}/images6a.input \ - ${OUT}/images7.input ${OUT}/images7a.input ${OUT}/infprod.input \ - ${OUT}/intaf.input ${OUT}/intdeq.input ${OUT}/intef.input \ - ${OUT}/intg0.input ${OUT}/intheory.input ${OUT}/int.input \ - ${OUT}/intlf.input ${OUT}/intmix.input ${OUT}/intrf.input \ - ${OUT}/ipftest.input ${OUT}/is.input ${OUT}/isprime.input \ - ${OUT}/kafile.input ${OUT}/kernel.input ${OUT}/knot.input \ - ${OUT}/kovacic.input ${OUT}/kuipers.input \ - ${OUT}/laplace.input ${OUT}/leg.input ${OUT}/lexp.input \ - ${OUT}/lextripk.input ${OUT}/lib.input ${OUT}/limit.input \ - ${OUT}/lindep.input ${OUT}/liss1.input ${OUT}/liss2.input \ - ${OUT}/list.input ${OUT}/lode.input ${OUT}/lodesys.input \ - ${OUT}/lodo1.input ${OUT}/lodo2.input ${OUT}/lodof.input \ - ${OUT}/lodo.input ${OUT}/lodo3.input ${OUT}/lpoly.input \ - ${OUT}/lump.input \ - ${OUT}/lupfact.input ${OUT}/lword.input ${OUT}/macbug.input \ - ${OUT}/macros.input ${OUT}/marcbench.input ${OUT}/magma.input \ - ${OUT}/mapleok.input ${OUT}/mappkg1.input ${OUT}/matbug.input \ - ${OUT}/matrix22.input ${OUT}/matrix.input ${OUT}/matrix1.input \ - ${OUT}/mfinfact.input ${OUT}/mkfunc.input ${OUT}/mountain.input \ - ${OUT}/mpoly.input ${OUT}/mset.input ${OUT}/mset2.input \ - ${OUT}/multfact.input ${OUT}/multKnot.input ${OUT}/mult3d.input \ - ${OUT}/multiple.input \ - ${OUT}/ndftip.input ${OUT}/newlodo.input \ - ${OUT}/negfloats.input \ - ${OUT}/nepip.input ${OUT}/newton.input \ - ${OUT}/nlode.input ${OUT}/none.input ${OUT}/noonburg.input \ - ${OUT}/noptip.input ${OUT}/nqip.input ${OUT}/nsfip.input \ - ${OUT}/ntube.input ${OUT}/oct.input ${OUT}/ode.input \ - ${OUT}/octonion.input ${OUT}/odpol.input \ - ${OUT}/opalg.input ${OUT}/operator.input ${OUT}/op.input \ - ${OUT}/op1.input ${OUT}/ovar.input \ - ${OUT}/padic.input ${OUT}/palette.input \ - ${OUT}/parpcurv.input ${OUT}/parscurv.input ${OUT}/parsurf.input \ - ${OUT}/pascal1.input \ - ${OUT}/pascal.input ${OUT}/patmatch.input ${OUT}/perman.input \ - ${OUT}/perm.input ${OUT}/pfr.input ${OUT}/pfr1.input \ - ${OUT}/pinch.input ${OUT}/plotfile.input ${OUT}/pollevel.input \ - ${OUT}/pmint.input ${OUT}/polycoer.input \ - ${OUT}/poly1.input ${OUT}/psgenfcn.input \ - ${OUT}/quat.input ${OUT}/quat1.input ${OUT}/ribbon.input \ - ${OUT}/ribbons.input ${OUT}/ribbonsNew.input ${OUT}/rk4draw.input \ - ${OUT}/r20abugs.input \ - ${OUT}/r20bugs.input ${OUT}/r21bugsbig.input \ - ${OUT}/r21bugs.input \ - ${OUT}/radff.input ${OUT}/radix.input ${OUT}/realclos.input \ - ${OUT}/reclos.input ${OUT}/regset.input \ - ${OUT}/robidoux.input ${OUT}/roman.input ${OUT}/roots.input \ - ${OUT}/ruleset.input ${OUT}/rules.input ${OUT}/saddle.input \ - ${OUT}/scherk.input ${OUT}/scope.input \ - ${OUT}/segbind.input ${OUT}/seg.input ${OUT}/series2.input \ - ${OUT}/series.input ${OUT}/sersolve.input ${OUT}/set.input \ - ${OUT}/sinCosEx.input ${OUT}/sininv.input ${OUT}/sinsin.input \ - ${OUT}/sinsin2.input ${OUT}/sint.input ${OUT}/skew.input \ - ${OUT}/slowint.input ${OUT}/solvetra.input ${OUT}/space3.input \ - ${OUT}/spiral.input \ - ${OUT}/sqmatrix.input ${OUT}/sregset.input ${OUT}/stbl.input \ - ${OUT}/stream2.input ${OUT}/stream.input ${OUT}/streams.input \ - ${OUT}/string.input ${OUT}/strtbl.input ${OUT}/symbol.input \ - ${OUT}/synonym.input ${OUT}/t111293.input \ - ${OUT}/table.input ${OUT}/tanatan.input ${OUT}/test.input \ - ${OUT}/tetra.input ${OUT}/textfile.input ${OUT}/tknot.input \ - ${OUT}/tree.input \ - ${OUT}/triglim.input ${OUT}/tschirn.input ${OUT}/tsetcatbutcher.input \ - ${OUT}/tsetcatchemical.input ${OUT}/tsetcatvermeer.input \ - ${OUT}/tutchap1.input ${OUT}/tutchap2.input ${OUT}/tutchap3.input \ - ${OUT}/tutchap4.input ${OUT}/tutchap67.input ${OUT}/typo.input \ - ${OUT}/uniseg.input ${OUT}/up.input \ - ${OUT}/vector.input ${OUT}/vectors.input ${OUT}/viewdef.input \ - ${OUT}/void.input ${OUT}/wiggle.input \ - ${OUT}/wutset.input \ - ${OUT}/xpbwpoly.input ${OUT}/xpoly.input ${OUT}/xpr.input \ - ${OUT}/zdsolve.input ${OUT}/zimmer.input ${OUT}/zlindep.input - -FILES2=${OUT}/arith.input ${OUT}/bugs.input \ - ${OUT}/calculus2.input \ - ${OUT}/curl.input \ - ${OUT}/equation2.input ${OUT}/evalex.input \ - ${OUT}/exdiff.input ${OUT}/exint.input ${OUT}/exlap.input \ - ${OUT}/exlimit.input \ - ${OUT}/expr.input ${OUT}/exprode.input ${OUT}/exseries.input \ - ${OUT}/exsum.input ${OUT}/fns.input \ - ${OUT}/function.input ${OUT}/galois.input \ - ${OUT}/grpthry.input \ - ${OUT}/help.input ${OUT}/intef2.input \ - ${OUT}/intmix2.input ${OUT}/knot2.input ${OUT}/linalg.input \ - ${OUT}/loop.input \ - ${OUT}/numbers.input \ - ${OUT}/parabola.input ${OUT}/pat.input \ - ${OUT}/poly.input ${OUT}/reductio.input ${OUT}/repa6.input \ - ${OUT}/spadprof.input \ - ${OUT}/synonym2.input ${OUT}/torus.input - -BROKEN=${OUT}/as-eg1.input ${OUT}/as-eg2.input ${OUT}/as-eg3.input \ - ${OUT}/as-eg4.input ${OUT}/as-eg5.input ${OUT}/as-eg6.input - -# This viewport has already been closed! -VIEWPORT=${OUT}/graphics.input - -# Error: Value stack overflow. -VALUESTACK=${OUT}/images2a.input ${OUT}/images2.input ${OUT}/images5a.input \ - ${OUT}/images5.input ${OUT}/images8a.input ${OUT}/images8.input \ - ${OUT}/mult2d.input ${OUT}/plotlist.input - -# documented test cases -DOCFILES= \ - ${DOC}/algaggr.input.dvi ${DOC}/algbrbf.input.dvi \ - ${DOC}/algfacob.input.dvi ${DOC}/alist.input.dvi \ - ${DOC}/allfact.input.dvi ${DOC}/antoine.input.dvi \ - ${DOC}/arith.input.dvi ${DOC}/array1.input.dvi \ - ${DOC}/array2.input.dvi ${DOC}/arrows.input.dvi \ - ${DOC}/as-eg1.input.dvi ${DOC}/as-eg2.input.dvi \ - ${DOC}/as-eg3.input.dvi ${DOC}/as-eg4.input.dvi \ - ${DOC}/as-eg5.input.dvi ${DOC}/aseg6.as.dvi \ - ${DOC}/as-eg6.input.dvi ${DOC}/aseg7.as.dvi \ - ${DOC}/asec.input.dvi \ - ${DOC}/assign.input.dvi ${DOC}/atansqrt.input.dvi \ - ${DOC}/axiom.input.dvi ${DOC}/bags.input.dvi \ - ${DOC}/bbtree.input.dvi ${DOC}/bern.input.dvi \ - ${DOC}/bernpoly.input.dvi ${DOC}/binary.input.dvi \ - ${DOC}/bop.input.dvi ${DOC}/bouquet.input.dvi \ - ${DOC}/bstree.input.dvi ${DOC}/bug10069.input.dvi \ - ${DOC}/bug10312.input.dvi ${DOC}/bug6357.input.dvi \ - ${DOC}/bug9057.input.dvi ${DOC}/bugs.input.dvi \ - ${DOC}/c02aff.input.dvi ${DOC}/c02agf.input.dvi \ - ${DOC}/c05adf.input.dvi ${DOC}/c05nbf.input.dvi \ - ${DOC}/c05pbf.input.dvi ${DOC}/c06eaf.input.dvi \ - ${DOC}/c06ebf.input.dvi ${DOC}/c06ecf.input.dvi \ - ${DOC}/c06ekf.input.dvi ${DOC}/c06fpf.input.dvi \ - ${DOC}/c06fqf.input.dvi ${DOC}/c06frf.input.dvi \ - ${DOC}/c06fuf.input.dvi ${DOC}/c06gbf.input.dvi \ - ${DOC}/c06gcf.input.dvi ${DOC}/c06gqf.input.dvi \ - ${DOC}/c06gsf.input.dvi ${DOC}/calculus2.input.dvi \ - ${DOC}/calculus.input.dvi ${DOC}/cardinal.input.dvi \ - ${DOC}/card.input.dvi ${DOC}/carten.input.dvi \ - ${DOC}/cclass.input.dvi ${DOC}/cdraw.input.dvi \ - ${DOC}/char.input.dvi ${DOC}/ch.input.dvi \ - ${DOC}/clifford.input.dvi ${DOC}/clif.input.dvi \ - ${DOC}/coercels.input.dvi ${DOC}/collect.input.dvi \ - ${DOC}/color.input.dvi ${DOC}/complex.input.dvi \ - ${DOC}/cone.input.dvi ${DOC}/conformal.input.dvi \ - ${DOC}/constant.input.dvi ${DOC}/contfrac.input.dvi \ - ${DOC}/contfrc.input.dvi ${DOC}/coordsys.input.dvi \ - ${DOC}/curl.input.dvi ${DOC}/cycles1.input.dvi \ - ${DOC}/cycles.input.dvi ${DOC}/cycloid2.input.dvi \ - ${DOC}/cycloid3.input.dvi ${DOC}/cycloid.input.dvi \ - ${DOC}/cyfactor.input.dvi ${DOC}/d01ajf.input.dvi \ - ${DOC}/d01akf.input.dvi ${DOC}/d01alf.input.dvi \ - ${DOC}/d01amf.input.dvi ${DOC}/d01anf.input.dvi \ - ${DOC}/d01apf.input.dvi ${DOC}/d01aqf.input.dvi \ - ${DOC}/d01asf.input.dvi ${DOC}/d01bbf.input.dvi \ - ${DOC}/d01fcf.input.dvi ${DOC}/d01gaf.input.dvi \ - ${DOC}/d01gbf.input.dvi ${DOC}/d02bbf.input.dvi \ - ${DOC}/d02bhf.input.dvi ${DOC}/d02cjf.input.dvi \ - ${DOC}/d02ejf.input.dvi ${DOC}/d02gaf.input.dvi \ - ${DOC}/d02gbf.input.dvi ${DOC}/d02kef.input.dvi \ - ${DOC}/d02raf.input.dvi ${DOC}/d03edf.input.dvi \ - ${DOC}/d03eef.input.dvi ${DOC}/d03faf.input.dvi \ - ${DOC}/damped.input.dvi ${DOC}/danzwill.input.dvi \ - ${DOC}/de2re.input.dvi ${DOC}/decimal.input.dvi \ - ${DOC}/defintef.input.dvi ${DOC}/defintrf.input.dvi \ - ${DOC}/defs.input.dvi ${DOC}/derham.input.dvi \ - ${DOC}/dfloat.input.dvi ${DOC}/dhtri.input.dvi \ - ${DOC}/divisor.input.dvi ${DOC}/dmp.input.dvi \ - ${DOC}/dpol.input.dvi \ - ${DOC}/draw2dSF.input.dvi ${DOC}/drawalg.input.dvi \ - ${DOC}/drawcfn.input.dvi ${DOC}/drawcfun.input.dvi \ - ${DOC}/drawcurv.input.dvi ${DOC}/drawcx.input.dvi \ - ${DOC}/drawex.input.dvi ${DOC}/draw.input.dvi \ - ${DOC}/drawpoly.input.dvi ${DOC}/drawx.input.dvi \ - ${DOC}/dropt.input.dvi ${DOC}/e01baf.input.dvi \ - ${DOC}/e01bef.input.dvi ${DOC}/e01bff.input.dvi \ - ${DOC}/e01bgf.input.dvi ${DOC}/e01bhf.input.dvi \ - ${DOC}/e01daf.input.dvi ${DOC}/e01saf.input.dvi \ - ${DOC}/e01sbf.input.dvi ${DOC}/e01sef.input.dvi \ - ${DOC}/e01sff.input.dvi ${DOC}/e02adf.input.dvi \ - ${DOC}/e02aef.input.dvi ${DOC}/e02agf.input.dvi \ - ${DOC}/e02ahf.input.dvi ${DOC}/e02ajf.input.dvi \ - ${DOC}/e02akf.input.dvi ${DOC}/e02baf.input.dvi \ - ${DOC}/e02bbf.input.dvi ${DOC}/e02bcf.input.dvi \ - ${DOC}/e02bdf.input.dvi ${DOC}/e02bef.input.dvi \ - ${DOC}/e02daf.input.dvi ${DOC}/e02dcf.input.dvi \ - ${DOC}/e02ddf.input.dvi ${DOC}/e02def.input.dvi \ - ${DOC}/e02dff.input.dvi ${DOC}/e02gaf.input.dvi \ - ${DOC}/e02zaf.input.dvi ${DOC}/e04dgf.input.dvi \ - ${DOC}/e04fdf.input.dvi ${DOC}/e04gcf.input.dvi \ - ${DOC}/e04jaf.input.dvi ${DOC}/e04mbf.input.dvi \ - ${DOC}/e04naf.input.dvi ${DOC}/e04ucf.input.dvi \ - ${DOC}/e04ycf.input.dvi ${DOC}/easter.input.dvi \ - ${DOC}/ecfact.as.dvi ${DOC}/efi.input.dvi \ - ${DOC}/egg.input.dvi ${DOC}/eigen.input.dvi \ - ${DOC}/elemfun.input.dvi ${DOC}/elemnum.input.dvi \ - ${DOC}/elfuts.input.dvi ${DOC}/elt.input.dvi \ - ${DOC}/eq.input.dvi ${DOC}/eqtbl.input.dvi \ - ${DOC}/equation2.input.dvi ${DOC}/equation.input.dvi \ - ${DOC}/errortrap.input.dvi ${DOC}/evalex.input.dvi \ - ${DOC}/eval.input.dvi ${DOC}/exdiff.input.dvi \ - ${DOC}/exint.input.dvi ${DOC}/exit.input.dvi \ - ${DOC}/exlap.input.dvi ${DOC}/exlimit.input.dvi \ - ${DOC}/expexpan.input.dvi ${DOC}/explim.input.dvi \ - ${DOC}/explot2d.input.dvi ${DOC}/explot3d.input.dvi \ - ${DOC}/expr1.input.dvi ${DOC}/expr.input.dvi \ - ${DOC}/exprode.input.dvi ${DOC}/exprpoly.input.dvi \ - ${DOC}/exseries.input.dvi ${DOC}/exsum.input.dvi \ - ${DOC}/f01brf.input.dvi ${DOC}/f01bsf.input.dvi \ - ${DOC}/f01maf.input.dvi ${DOC}/f01mcf.input.dvi \ - ${DOC}/f01qcf.input.dvi ${DOC}/f01qdf.input.dvi \ - ${DOC}/f01qef.input.dvi ${DOC}/f01rcf.input.dvi \ - ${DOC}/f01rdf.input.dvi ${DOC}/f01ref.input.dvi \ - ${DOC}/f02aaf.input.dvi ${DOC}/f02abf.input.dvi \ - ${DOC}/f02adf.input.dvi ${DOC}/f02aef.input.dvi \ - ${DOC}/f02aff.input.dvi ${DOC}/f02agf.input.dvi \ - ${DOC}/f02ajf.input.dvi ${DOC}/f02akf.input.dvi \ - ${DOC}/f02awf.input.dvi ${DOC}/f02axf.input.dvi \ - ${DOC}/f02bbf.input.dvi ${DOC}/f02bjf.input.dvi \ - ${DOC}/f02fjf.input.dvi ${DOC}/f02wef.input.dvi \ - ${DOC}/f02xef.input.dvi ${DOC}/f04adf.input.dvi \ - ${DOC}/f04arf.input.dvi ${DOC}/f04asf.input.dvi \ - ${DOC}/f04atf.input.dvi ${DOC}/f04axf.input.dvi \ - ${DOC}/f04faf.input.dvi ${DOC}/f04jgf.input.dvi \ - ${DOC}/f04maf.input.dvi ${DOC}/f04mbf.input.dvi \ - ${DOC}/f04mcf.input.dvi ${DOC}/f04qaf.input.dvi \ - ${DOC}/f07adf.input.dvi ${DOC}/f07aef.input.dvi \ - ${DOC}/f07fdf.input.dvi ${DOC}/f07fef.input.dvi \ - ${DOC}/farray.input.dvi ${DOC}/ffdemo.input.dvi \ - ${DOC}/fferr.input.dvi ${DOC}/ffrac.input.dvi \ - ${DOC}/ffx72.input.dvi ${DOC}/fib.input.dvi \ - ${DOC}/file.input.dvi ${DOC}/fixed.input.dvi \ - ${DOC}/float1.input.dvi ${DOC}/float2.input.dvi \ - ${DOC}/float.input.dvi ${DOC}/fname1.input.dvi \ - ${DOC}/fname.input.dvi ${DOC}/fnla.input.dvi \ - ${DOC}/fns.input.dvi ${DOC}/folium.input.dvi \ - ${DOC}/fparfrac.input.dvi ${DOC}/fparfrc.input.dvi \ - ${DOC}/fr1.input.dvi ${DOC}/fr2.input.dvi \ - ${DOC}/frac.input.dvi ${DOC}/fr.input.dvi \ - ${DOC}/function.input.dvi ${DOC}/galois.input.dvi \ - ${DOC}/gary1.input.dvi ${DOC}/gbf.input.dvi \ - ${DOC}/genups.input.dvi ${DOC}/gnarly1.input.dvi \ - ${DOC}/gonshor.input.dvi ${DOC}/graphics.input.dvi \ - ${DOC}/grdef.input.dvi ${DOC}/grpthry.input.dvi \ - ${DOC}/gstbl.input.dvi ${DOC}/heap.input.dvi \ - ${DOC}/heat.input.dvi ${DOC}/helix.input.dvi \ - ${DOC}/help.input.dvi ${DOC}/herm.input.dvi \ - ${DOC}/hexadec.input.dvi ${DOC}/hilbert.as.dvi \ - ${DOC}/huang.input.dvi ${DOC}/ico.input.dvi \ - ${DOC}/ideal.input.dvi ${DOC}/ifact.input.dvi \ - ${DOC}/images1a.input.dvi ${DOC}/images1.input.dvi \ - ${DOC}/images2a.input.dvi ${DOC}/images2.input.dvi \ - ${DOC}/images3a.input.dvi ${DOC}/images3.input.dvi \ - ${DOC}/images5a.input.dvi ${DOC}/images5.input.dvi \ - ${DOC}/images6a.input.dvi ${DOC}/images6.input.dvi \ - ${DOC}/images7a.input.dvi ${DOC}/images7.input.dvi \ - ${DOC}/images8a.input.dvi ${DOC}/images8.input.dvi \ - ${DOC}/infprod.input.dvi ${DOC}/intaf.input.dvi \ - ${DOC}/intdeq.input.dvi ${DOC}/intef2.input.dvi \ - ${DOC}/intef.input.dvi ${DOC}/intg0.input.dvi \ - ${DOC}/intheory.input.dvi ${DOC}/int.input.dvi \ - ${DOC}/intlf.input.dvi ${DOC}/intmix2.input.dvi \ - ${DOC}/intmix.input.dvi ${DOC}/intrf.input.dvi \ - ${DOC}/ipftest.input.dvi ${DOC}/is.input.dvi \ - ${DOC}/isprime.input.dvi ${DOC}/kafile.input.dvi \ - ${DOC}/kernel.input.dvi ${DOC}/knot2.input.dvi \ - ${DOC}/knot.input.dvi ${DOC}/knownbugs.input.dvi \ - ${DOC}/kovacic.input.dvi ${DOC}/kuipers.input.dvi \ - ${DOC}/laplace.input.dvi ${DOC}/leg.input.dvi \ - ${DOC}/lexp.input.dvi ${DOC}/lextripk.input.dvi \ - ${DOC}/lib.input.dvi ${DOC}/limit.input.dvi \ - ${DOC}/linalg.input.dvi ${DOC}/lindep.input.dvi \ - ${DOC}/liss1.input.dvi ${DOC}/liss2.input.dvi \ - ${DOC}/list.input.dvi ${DOC}/lode.input.dvi \ - ${DOC}/lodesys.input.dvi ${DOC}/lodo1.input.dvi \ - ${DOC}/lodo2.input.dvi ${DOC}/lodo3.input.dvi \ - ${DOC}/lodof.input.dvi ${DOC}/lodo.input.dvi \ - ${DOC}/loop.input.dvi ${DOC}/lpoly.input.dvi \ - ${DOC}/lump.input.dvi ${DOC}/lupfact.input.dvi \ - ${DOC}/lword.input.dvi ${DOC}/macbug.input.dvi \ - ${DOC}/macros.input.dvi ${DOC}/magma.input.dvi \ - ${DOC}/mapleok.input.dvi ${DOC}/mappkg1.input.dvi \ - ${DOC}/marcbench.input.dvi ${DOC}/matbug.input.dvi \ - ${DOC}/matops.as.dvi ${DOC}/matrix1.input.dvi \ - ${DOC}/matrix22.input.dvi ${DOC}/matrix.input.dvi \ - ${DOC}/matrox.input.dvi ${DOC}/mfinfact.input.dvi \ - ${DOC}/mkfunc.input.dvi ${DOC}/mountain.input.dvi \ - ${DOC}/mpoly.input.dvi ${DOC}/mset2.input.dvi \ - ${DOC}/mset.input.dvi ${DOC}/mult2d.input.dvi \ - ${DOC}/mult3d.input.dvi ${DOC}/multfact.input.dvi \ - ${DOC}/multiple.input.dvi ${DOC}/multKnot.input.dvi \ - ${DOC}/ndftip.input.dvi ${DOC}/negfloats.input.dvi \ - ${DOC}/nepip.input.dvi ${DOC}/newlodo.input.dvi \ - ${DOC}/newton.input.dvi ${DOC}/nlode.input.dvi \ - ${DOC}/none.input.dvi ${DOC}/noonburg.input.dvi \ - ${DOC}/noptip.input.dvi ${DOC}/nqip.input.dvi \ - ${DOC}/nsfip.input.dvi ${DOC}/ntube.input.dvi \ - ${DOC}/numbers.input.dvi ${DOC}/oct.input.dvi \ - ${DOC}/octonion.input.dvi ${DOC}/ode.input.dvi \ - ${DOC}/odpol.input.dvi ${DOC}/op1.input.dvi \ - ${DOC}/opalg.input.dvi ${DOC}/operator.input.dvi \ - ${DOC}/op.input.dvi ${DOC}/ovar.input.dvi \ - ${DOC}/padic.input.dvi ${DOC}/palette.input.dvi \ - ${DOC}/parabola.input.dvi ${DOC}/parpcurv.input.dvi \ - ${DOC}/parscurv.input.dvi ${DOC}/parsurf.input.dvi \ - ${DOC}/pascal1.input.dvi ${DOC}/pascal.input.dvi \ - ${DOC}/pat.input.dvi ${DOC}/patmatch.input.dvi \ - ${DOC}/pdecomp0.as.dvi ${DOC}/perman.input.dvi \ - ${DOC}/perm.input.dvi ${DOC}/pfr1.input.dvi \ - ${DOC}/pfr.input.dvi ${DOC}/pinch.input.dvi \ - ${DOC}/plotfile.input.dvi ${DOC}/plotlist.input.dvi \ - ${DOC}/pollevel.input.dvi ${DOC}/poly1.input.dvi \ - ${DOC}/polycoer.input.dvi ${DOC}/poly.input.dvi \ - ${DOC}/psgenfcn.input.dvi ${DOC}/quat1.input.dvi \ - ${DOC}/quat.input.dvi ${DOC}/r20abugs.input.dvi \ - ${DOC}/r20bugs.input.dvi ${DOC}/r21bugsbig.input.dvi \ - ${DOC}/r21bugs.input.dvi ${DOC}/radff.input.dvi \ - ${DOC}/radix.input.dvi ${DOC}/realclos.input.dvi \ - ${DOC}/reclos.input.dvi ${DOC}/reductio.input.dvi \ - ${DOC}/regset.input.dvi ${DOC}/repa6.input.dvi \ - ${DOC}/ribbon.input.dvi ${DOC}/ribbons.input.dvi \ - ${DOC}/ribbonsNew.input.dvi ${DOC}/rk4draw.input.dvi \ - ${DOC}/robidoux.input.dvi ${DOC}/roman.input.dvi \ - ${DOC}/romnum.as.dvi ${DOC}/roots.input.dvi \ - ${DOC}/ruleset.input.dvi ${DOC}/rules.input.dvi \ - ${DOC}/s01eaf.input.dvi ${DOC}/s13aaf.input.dvi \ - ${DOC}/s13acf.input.dvi ${DOC}/s13adf.input.dvi \ - ${DOC}/s14aaf.input.dvi ${DOC}/s14abf.input.dvi \ - ${DOC}/s14baf.input.dvi ${DOC}/s15adf.input.dvi \ - ${DOC}/s15aef.input.dvi ${DOC}/s17acf.input.dvi \ - ${DOC}/s17adf.input.dvi ${DOC}/s17aef.input.dvi \ - ${DOC}/s17aff.input.dvi ${DOC}/s17agf.input.dvi \ - ${DOC}/s17ahf.input.dvi ${DOC}/s17ajf.input.dvi \ - ${DOC}/s17akf.input.dvi ${DOC}/s17dcf.input.dvi \ - ${DOC}/s17def.input.dvi ${DOC}/s17dgf.input.dvi \ - ${DOC}/s17dhf.input.dvi ${DOC}/s17dlf.input.dvi \ - ${DOC}/s18acf.input.dvi ${DOC}/s18adf.input.dvi \ - ${DOC}/s18aef.input.dvi ${DOC}/s18aff.input.dvi \ - ${DOC}/s18dcf.input.dvi ${DOC}/s18def.input.dvi \ - ${DOC}/s19aaf.input.dvi ${DOC}/s19abf.input.dvi \ - ${DOC}/s19acf.input.dvi ${DOC}/s19adf.input.dvi \ - ${DOC}/s20acf.input.dvi ${DOC}/s20adf.input.dvi \ - ${DOC}/s21baf.input.dvi ${DOC}/s21bbf.input.dvi \ - ${DOC}/s21bcf.input.dvi ${DOC}/s21bdf.input.dvi \ - ${DOC}/saddle.input.dvi ${DOC}/scherk.input.dvi \ - ${DOC}/scope.input.dvi ${DOC}/segbind.input.dvi \ - ${DOC}/seg.input.dvi ${DOC}/series2.input.dvi \ - ${DOC}/series.input.dvi ${DOC}/sersolve.input.dvi \ - ${DOC}/set.input.dvi ${DOC}/sinCosEx.input.dvi \ - ${DOC}/sininv.input.dvi ${DOC}/sinsin2.input.dvi \ - ${DOC}/sinsin.input.dvi ${DOC}/sint.input.dvi \ - ${DOC}/skew.input.dvi ${DOC}/slowint.input.dvi \ - ${DOC}/solvetra.input.dvi ${DOC}/space3.input.dvi \ - ${DOC}/spadprof.input.dvi ${DOC}/spiral.input.dvi \ - ${DOC}/sqmatrix.input.dvi ${DOC}/sregset.input.dvi \ - ${DOC}/stbl.input.dvi ${DOC}/stream2.input.dvi \ - ${DOC}/stream.input.dvi ${DOC}/streams.input.dvi \ - ${DOC}/string.input.dvi ${DOC}/strtbl.input.dvi \ - ${DOC}/symbol.input.dvi ${DOC}/synonym2.input.dvi \ - ${DOC}/synonym.input.dvi ${DOC}/t111293.input.dvi \ - ${DOC}/table.input.dvi ${DOC}/tanatan.input.dvi \ - ${DOC}/test.input.dvi ${DOC}/tetra.input.dvi \ - ${DOC}/textfile.input.dvi ${DOC}/tknot.input.dvi \ - ${DOC}/torus.input.dvi ${DOC}/tree.input.dvi \ - ${DOC}/triglim.input.dvi ${DOC}/tschirn.input.dvi \ - ${DOC}/tsetcatbutcher.input.dvi \ - ${DOC}/tsetcatchemical.input.dvi \ - ${DOC}/tsetcatvermeer.input.dvi \ - ${DOC}/tutchap1.input.dvi ${DOC}/tutchap2.input.dvi \ - ${DOC}/tutchap3.input.dvi ${DOC}/tutchap4.input.dvi \ - ${DOC}/tutchap67.input.dvi ${DOC}/typo.input.dvi \ - ${DOC}/uniseg.input.dvi ${DOC}/up.input.dvi \ - ${DOC}/vector.input.dvi ${DOC}/vectors.input.dvi \ - ${DOC}/viewdef.input.dvi ${DOC}/void.input.dvi \ - ${DOC}/wester.input.dvi ${DOC}/wiggle.input.dvi \ - ${DOC}/wutset.input.dvi ${DOC}/xpbwpoly.input.dvi \ - ${DOC}/xpoly.input.dvi ${DOC}/xpr.input.dvi \ - ${DOC}/zdsolve.input.dvi ${DOC}/zimmer.input.dvi \ - ${DOC}/zlindep.input.dvi - - -.PHONY: all all-ax all-input - -all: all-ax - -all-ax all-input: $(OUT) ${FILES} ${FILES2} ${ASFILES} - @echo 1 finished $(srcdir) - -$(OUT): - $(mkinstalldirs) $@ - - -${OUT}/%.input: %.input - @ $(INSTALL) $< $@ - -.PRECIOUS: %.input - -%.input: ${IN}/%.input.pamphlet - @$(axiom_build_document) --output=$@ --tangle $< - -${OUT}/%.as: %.as - @ $(INSTALL) $< $@ - -%.as: ${IN}/%.as.pamphlet - @ $(axiom_build_document) --output=$@ --tangle $< - -pamphlets = \ - Makefile.pamphlet \ - $(wildchar *.input.pamphlet) \ - $(wildchar.as.pamplhet) - -mostlyclean-local: - -rm -rf $(MID) - -rm -rf $(OUT) - -clean-local: mostlyclean-local - -distclean-local: clean-local - - -.SUFFIXES: -.SUFFIXES: .input .output - -TESTSYS= $(axiom_target_bindir)/AXIOMsys -- --system="$(AXIOM)" \ - --sysalg="$(axiom_targetdir)/algebra/" - -SKIP= antoine.output as-eg1.output as-eg2.output \ - as-eg3.output as-eg4.output as-eg5.output as-eg6.output \ - atansqrt.output bern.output bernpoly.output bouquet.output \ - c02aff.output \ - c02agf.output c05adf.output c05nbf.output c05pbf.output \ - c06eaf.output c06ebf.output c06ecf.output c06ekf.output \ - c06fpf.output c06fqf.output c06frf.output c06fuf.output \ - c06gbf.output c06gcf.output c06gqf.output c06gsf.output \ - cdraw.output color.output cone.output \ - conformal.output coordsys.output \ - cycloid2.output cycloid3.output cycloid.output \ - d01ajf.output d01akf.output d01alf.output d01amf.output \ - d01anf.output d01apf.output d01aqf.output d01asf.output \ - d01bbf.output d01fcf.output d01gaf.output d01gbf.output \ - d02bbf.output d02bhf.output d02cjf.output d02ejf.output \ - d02gaf.output d02gbf.output d02kef.output d02raf.output \ - d03edf.output d03eef.output d03faf.output damped.output \ - de2re.output defs.output \ - draw2dSF.output drawalg.output drawcfn.output drawcfun.output \ - drawcurv.output drawcx.output drawex.output draw.output \ - drawpoly.output drawx.output dropt.output e01baf.output \ - e01bef.output e01bff.output e01bgf.output e01bhf.output \ - e01daf.output e01saf.output e01sbf.output e01sef.output \ - e01sff.output e02adf.output e02aef.output e02agf.output \ - e02ahf.output e02ajf.output e02akf.output e02baf.output \ - e02bbf.output e02bcf.output e02bdf.output e02bef.output \ - e02daf.output e02dcf.output e02ddf.output e02def.output \ - e02dff.output e02gaf.output e02zaf.output e04dgf.output \ - e04fdf.output e04gcf.output e04jaf.output e04mbf.output \ - e04naf.output e04ucf.output e04ycf.output egg.output \ - explot2d.output explot3d.output \ - f01brf.output f01bsf.output f01maf.output \ - f01mcf.output f01qcf.output f01qdf.output f01qef.output \ - f01rcf.output f01rdf.output f01ref.output f02aaf.output \ - f02abf.output f02adf.output f02aef.output f02aff.output \ - f02agf.output f02ajf.output f02akf.output f02awf.output \ - f02axf.output f02bbf.output f02bjf.output f02fjf.output \ - f02wef.output f02xef.output f04adf.output f04arf.output \ - f04asf.output f04atf.output f04axf.output f04faf.output \ - f04jgf.output f04maf.output f04mbf.output f04mcf.output \ - f04qaf.output f07adf.output f07aef.output f07fdf.output \ - f07fef.output folium.output gary1.output gnarly1.output \ - graphics.output grdef.output helix.output \ - images1a.output images1.output images2a.output images2.output \ - images3a.output images3.output images5a.output images5.output \ - images6a.output images6.output images7a.output images7.output \ - images8a.output images8.output knot.output knownbugs.output \ - liss1.output liss2.output lump.output matrox.output \ - mountain.output mult2d.output mult3d.output multKnot.output \ - ntube.output palette.output parpcurv.output parscurv.output \ - parsurf.output pinch.output plotfile.output \ - plotlist.output pollevel.output ribbon.output \ - ribbons.output ribbonsNew.output rk4draw.output \ - s01eaf.output s13aaf.output s13acf.output s13adf.output \ - s14aaf.output s14abf.output s14baf.output s15adf.output \ - s15aef.output s17acf.output s17adf.output s17aef.output \ - s17aff.output s17agf.output s17ahf.output s17ajf.output \ - s17akf.output s17dcf.output s17def.output s17dgf.output \ - s17dhf.output s17dlf.output s18acf.output s18adf.output \ - s18aef.output s18aff.output s18dcf.output s18def.output \ - s19aaf.output s19abf.output s19acf.output s19adf.output \ - s20acf.output s20adf.output s21baf.output s21bbf.output \ - s21bcf.output s21bdf.output saddle.output \ - sininv.output sinsin2.output sinsin.output spiral.output \ - tetra.output tknot.output tschirn.output typo.output \ - vectors.output wester.output wiggle.output zimmer.output - -# Error ASEC is invalid as a function. -ASEC=errortrap.output - -# Error: FLUSH is invalid as a function -# Error signalled by newGoGet -FLUSH=regset.output - -# Error: The function WRAPPED is undefined. -WRAPPED=loop.output - -# Error: Value stack overflow. -VALUESTACK=tutchap67.output test.output - -# Broken at |MODOP;ELT;$2M;6|. Type :H for Help. -MODOP=function.output - -# Broken at |MATCAT-;*;3S;29|. Type :H for Help. -MATCAT=linalg.output - -# Broken at |STAGG-;ELT;AIS;5|. Type :H for Help. -STAGG=reductio.output - -# Broken at |GSERIES;INTEGRATE;2$;6|. Type :H for Help. -GSERIES=fixed.output - -# never finishes -INFINITELOOP=lextripk.output - -OUTS= algaggr.output algbrbf.output algfacob.output alist.output \ - allfact.output arith.output array1.output \ - array2.output arrows.output \ - assign.output bags.output bbtree.output \ - binary.output bop.output \ - bstree.output bugs.output bug10069.output bug10312.output \ - bug6357.output bug9057.output calculus.output calculus2.output \ - cardinal.output card.output \ - carten.output cclass.output char.output \ - ch.output clifford.output clif.output coercels.output \ - collect.output complex.output constant.output contfrac.output \ - contfrc.output curl.output \ - cycles1.output cycles.output \ - cyfactor.output \ - danzwill.output decimal.output defintef.output defintrf.output \ - derham.output dfloat.output \ - dhtri.output divisor.output dmp.output dpol.output \ - easter.output efi.output eigen.output elemfun.output \ - elemnum.output elfuts.output \ - elt.output eq.output \ - eqtbl.output equation2.output equation.output \ - evalex.output eval.output exdiff.output exlap.output \ - exint.output \ - exit.output exlimit.output expexpan.output explim.output \ - expr1.output \ - expr.output exprode.output exprpoly.output exseries.output \ - exsum.output farray.output ffdemo.output fferr.output \ - ffrac.output ffx72.output fib.output file.output \ - float1.output float2.output float.output \ - fname1.output fname.output fnla.output fns.output \ - fparfrac.output fparfrc.output fr1.output \ - fr2.output frac.output fr.output \ - galois.output gbf.output genups.output \ - gonshor.output \ - grpthry.output gstbl.output heap.output heat.output \ - help.output herm.output hexadec.output \ - huang.output ico.output ideal.output ifact.output \ - infprod.output \ - intaf.output intef2.output intef.output intdeq.output \ - intheory.output int.output intg0.output intlf.output \ - intmix2.output intmix.output intrf.output ipftest.output \ - is.output \ - isprime.output kafile.output kernel.output knot2.output \ - kovacic.output kuipers.output laplace.output \ - leg.output lexp.output lib.output \ - limit.output \ - lindep.output \ - list.output lode.output lodesys.output \ - lodo1.output lodo2.output lodo3.output lodo.output \ - lodof.output \ - lpoly.output \ - lupfact.output lword.output macbug.output macros.output \ - magma.output mapleok.output \ - mappkg1.output marcbench.output matbug.output \ - matrix1.output matrix22.output matrix.output \ - mfinfact.output mkfunc.output mpoly.output \ - mset2.output mset.output \ - multfact.output multiple.output ndftip.output negfloats.output \ - nepip.output newlodo.output newton.output nlode.output \ - none.output noonburg.output noptip.output nqip.output \ - nsfip.output numbers.output oct.output ode.output \ - octonion.output odpol.output op1.output \ - op.output opalg.output operator.output ovar.output \ - padic.output parabola.output \ - pascal1.output pascal.output \ - pat.output patmatch.output perman.output perm.output \ - pfr1.output pfr.output pmint.output psgenfcn.output \ - poly1.output polycoer.output \ - poly.output quat1.output quat.output \ - radff.output radix.output realclos.output reclos.output \ - repa6.output \ - robidoux.output \ - roman.output roots.output ruleset.output rules.output \ - r20abugs.output r20bugs.output r21bugsbig.output r21bugs.output \ - scherk.output \ - scope.output seg.output segbind.output \ - series2.output series.output sersolve.output \ - set.output sinCosEx.output \ - sint.output \ - skew.output slowint.output solvetra.output \ - space3.output spadprof.output sqmatrix.output sregset.output \ - stbl.output stream.output streams.output stream2.output \ - string.output strtbl.output symbol.output synonym2.output \ - synonym.output t111293.output table.output tanatan.output \ - textfile.output triglim.output \ - tsetcatbutcher.output tsetcatchemical.output tsetcatvermeer.output \ - torus.output tree.output \ - tutchap1.output tutchap2.output tutchap3.output tutchap4.output \ - uniseg.output up.output \ - vector.output viewdef.output void.output \ - wutset.output xpbwpoly.output \ - xpoly.output xpr.output \ - zdsolve.output zimmer.output zlindep.output - -# new algebra tests based on documentation -# These files are tested in a different directory. -ALGEBRA=INTHEORY.output VIEW2D.output TESTFR.output - -.PHONY: all-check -all-check: ${OUTS} - @ echo 1 finished ./$(top_builddir)/int/input - -%.output: %.input - (echo running test file $< ; \ - echo ')set message test on' > tmp.input; \ - echo ')set message auto off' >> tmp.input ; \ - echo ')read $*' >> tmp.input ; \ - echo ')boot coreQuit()' >> tmp.input ; \ - echo 'systemCommand "read tmp.input"' | ${TESTSYS} | tee $*.output; \ - rm tmp.input ) - - + +subdir = src/input/ + +IN=$(axiom_src_srcdir)/input +MID=./$(top_builddir)/int/input +OUT=$(axiom_targetdir)/input +DOC=$(axiom_target_docdir)/src/input + + +ASFILES=${OUT}/aseg6.as ${OUT}/aseg7.as ${OUT}/ecfact.as \ + ${OUT}/hilbert.as ${OUT}/matops.as ${OUT}/pdecomp0.as \ + ${OUT}/romnum.as + +NAGLIB=${OUT}/c02aff.input ${OUT}/c02agf.input ${OUT}/c05adf.input \ + ${OUT}/c05nbf.input ${OUT}/c05pbf.input ${OUT}/c06eaf.input \ + ${OUT}/c06ebf.input ${OUT}/c06ecf.input ${OUT}/c06ekf.input \ + ${OUT}/c06fpf.input ${OUT}/c06fqf.input ${OUT}/c06frf.input \ + ${OUT}/c06fuf.input ${OUT}/c06gbf.input ${OUT}/c06gcf.input \ + ${OUT}/c06gqf.input ${OUT}/c06gsf.input \ + ${OUT}/d01ajf.input ${OUT}/d01akf.input ${OUT}/d01alf.input \ + ${OUT}/d01amf.input ${OUT}/d01anf.input ${OUT}/d01apf.input \ + ${OUT}/d01aqf.input ${OUT}/d01asf.input ${OUT}/d01bbf.input \ + ${OUT}/d01fcf.input ${OUT}/d01gaf.input ${OUT}/d01gbf.input \ + ${OUT}/d02bbf.input ${OUT}/d02bhf.input ${OUT}/d02cjf.input \ + ${OUT}/d02ejf.input ${OUT}/d02gaf.input ${OUT}/d02gbf.input \ + ${OUT}/d02kef.input ${OUT}/d02raf.input ${OUT}/d03edf.input \ + ${OUT}/d03eef.input ${OUT}/d03faf.input \ + ${OUT}/e01baf.input ${OUT}/e01bef.input ${OUT}/e01bff.input \ + ${OUT}/e01bgf.input ${OUT}/e01bhf.input ${OUT}/e01daf.input \ + ${OUT}/e01saf.input ${OUT}/e01sbf.input ${OUT}/e01sef.input \ + ${OUT}/e01sff.input ${OUT}/e02adf.input ${OUT}/e02aef.input \ + ${OUT}/e02agf.input ${OUT}/e02ahf.input ${OUT}/e02ajf.input \ + ${OUT}/e02akf.input ${OUT}/e02baf.input ${OUT}/e02bbf.input \ + ${OUT}/e02bcf.input ${OUT}/e02bdf.input ${OUT}/e02bef.input \ + ${OUT}/e02daf.input ${OUT}/e02dcf.input ${OUT}/e02ddf.input \ + ${OUT}/e02def.input ${OUT}/e02dff.input ${OUT}/e02gaf.input \ + ${OUT}/e02zaf.input ${OUT}/e04dgf.input ${OUT}/e04fdf.input \ + ${OUT}/e04gcf.input ${OUT}/e04jaf.input ${OUT}/e04mbf.input \ + ${OUT}/e04naf.input ${OUT}/e04ucf.input ${OUT}/e04ycf.input \ + ${OUT}/f01brf.input ${OUT}/f01bsf.input ${OUT}/f01maf.input \ + ${OUT}/f01mcf.input ${OUT}/f01qcf.input ${OUT}/f01qdf.input \ + ${OUT}/f01qef.input ${OUT}/f01rcf.input ${OUT}/f01rdf.input \ + ${OUT}/f01ref.input ${OUT}/f02aaf.input ${OUT}/f02abf.input \ + ${OUT}/f02adf.input ${OUT}/f02aef.input ${OUT}/f02aff.input \ + ${OUT}/f02agf.input ${OUT}/f02ajf.input ${OUT}/f02akf.input \ + ${OUT}/f02awf.input ${OUT}/f02axf.input ${OUT}/f02bbf.input \ + ${OUT}/f02bjf.input ${OUT}/f02fjf.input ${OUT}/f02wef.input \ + ${OUT}/f02xef.input ${OUT}/f04adf.input ${OUT}/f04arf.input \ + ${OUT}/f04asf.input ${OUT}/f04atf.input ${OUT}/f04axf.input \ + ${OUT}/f04faf.input ${OUT}/f04jgf.input ${OUT}/f04maf.input \ + ${OUT}/f04mbf.input ${OUT}/f04mcf.input ${OUT}/f04qaf.input \ + ${OUT}/f07adf.input ${OUT}/f07aef.input ${OUT}/f07fdf.input \ + ${OUT}/f07fef.input \ + ${OUT}/s01eaf.input ${OUT}/s13aaf.input ${OUT}/s13acf.input \ + ${OUT}/s13adf.input ${OUT}/s14aaf.input ${OUT}/s14abf.input \ + ${OUT}/s14baf.input ${OUT}/s15adf.input ${OUT}/s15aef.input \ + ${OUT}/s17acf.input ${OUT}/s17adf.input ${OUT}/s17aef.input \ + ${OUT}/s17aff.input ${OUT}/s17agf.input ${OUT}/s17ahf.input \ + ${OUT}/s17ajf.input ${OUT}/s17akf.input ${OUT}/s17dcf.input \ + ${OUT}/s17def.input ${OUT}/s17dgf.input ${OUT}/s17dhf.input \ + ${OUT}/s17dlf.input ${OUT}/s18acf.input ${OUT}/s18adf.input \ + ${OUT}/s18aef.input ${OUT}/s18aff.input ${OUT}/s18dcf.input \ + ${OUT}/s18def.input ${OUT}/s19aaf.input ${OUT}/s19abf.input \ + ${OUT}/s19acf.input ${OUT}/s19adf.input ${OUT}/s20acf.input \ + ${OUT}/s20adf.input ${OUT}/s21baf.input ${OUT}/s21bbf.input \ + ${OUT}/s21bcf.input ${OUT}/s21bdf.input + +FILES= ${OUT}/algaggr.input ${OUT}/algbrbf.input ${OUT}/algfacob.input \ + ${OUT}/alist.input ${OUT}/allfact.input ${OUT}/antoine.input \ + ${OUT}/array1.input ${OUT}/array2.input ${OUT}/arrows.input \ + ${OUT}/assign.input ${OUT}/atansqrt.input ${OUT}/axiom.input \ + ${OUT}/asec.input \ + ${OUT}/bags.input ${OUT}/bbtree.input ${OUT}/bern.input \ + ${OUT}/bernpoly.input ${OUT}/binary.input ${OUT}/bop.input \ + ${OUT}/bouquet.input ${OUT}/bstree.input ${OUT}/bug6357.input \ + ${OUT}/bug9057.input ${OUT}/bug10069.input ${OUT}/bug10312.input \ + ${OUT}/calculus.input \ + ${OUT}/cardinal.input ${OUT}/card.input ${OUT}/carten.input \ + ${OUT}/cclass.input ${OUT}/cdraw.input ${OUT}/char.input \ + ${OUT}/ch.input ${OUT}/clifford.input ${OUT}/clif.input \ + ${OUT}/coercels.input ${OUT}/collect.input ${OUT}/color.input \ + ${OUT}/complex.input ${OUT}/cone.input ${OUT}/conformal.input \ + ${OUT}/constant.input \ + ${OUT}/contfrac.input ${OUT}/contfrc.input ${OUT}/coordsys.input \ + ${OUT}/curl.input \ + ${OUT}/cycles.input ${OUT}/cycles1.input ${OUT}/cycloid.input \ + ${OUT}/cycloid2.input \ + ${OUT}/cycloid3.input ${OUT}/cyfactor.input ${OUT}/damped.input \ + ${OUT}/danzwill.input ${OUT}/decimal.input ${OUT}/defs.input \ + ${OUT}/defintef.input ${OUT}/defintrf.input ${OUT}/derham.input \ + ${OUT}/de2re.input \ + ${OUT}/dfloat.input ${OUT}/dhtri.input ${OUT}/divisor.input \ + ${OUT}/dmp.input ${OUT}/dpol.input ${OUT}/draw2dSF.input \ + ${OUT}/drawalg.input ${OUT}/drawcfn.input \ + ${OUT}/drawcfun.input ${OUT}/drawcurv.input \ + ${OUT}/draw.input ${OUT}/drawcx.input ${OUT}/drawex.input \ + ${OUT}/drawpoly.input ${OUT}/drawx.input \ + ${OUT}/easter.input ${OUT}/efi.input ${OUT}/egg.input \ + ${OUT}/eigen.input \ + ${OUT}/elemfun.input ${OUT}/elemnum.input ${OUT}/elfuts.input \ + ${OUT}/elt.input \ + ${OUT}/eq.input ${OUT}/eqtbl.input ${OUT}/equation.input \ + ${OUT}/errortrap.input \ + ${OUT}/eval.input ${OUT}/exit.input ${OUT}/expexpan.input \ + ${OUT}/explim.input ${OUT}/explot2d.input ${OUT}/explot3d.input \ + ${OUT}/expr1.input ${OUT}/exprpoly.input \ + ${OUT}/farray.input ${OUT}/ffdemo.input \ + ${OUT}/fferr.input ${OUT}/ffrac.input ${OUT}/ffx72.input \ + ${OUT}/fib.input ${OUT}/fixed.input \ + ${OUT}/file.input ${OUT}/float2.input \ + ${OUT}/float.input ${OUT}/float1.input ${OUT}/fname.input \ + ${OUT}/fname1.input ${OUT}/fnla.input ${OUT}/folium.input \ + ${OUT}/fparfrac.input \ + ${OUT}/fparfrc.input ${OUT}/fr2.input ${OUT}/frac.input \ + ${OUT}/fr.input ${OUT}/fr1.input ${OUT}/gary1.input \ + ${OUT}/gbf.input ${OUT}/genups.input ${OUT}/gnarly1.input \ + ${OUT}/gonshor.input ${OUT}/grdef.input \ + ${OUT}/gstbl.input \ + ${OUT}/heap.input ${OUT}/heat.input ${OUT}/helix.input \ + ${OUT}/herm.input ${OUT}/hexadec.input ${OUT}/huang.input \ + ${OUT}/ico.input ${OUT}/ideal.input ${OUT}/ifact.input \ + ${OUT}/images1.input ${OUT}/images1a.input ${OUT}/images3a.input \ + ${OUT}/images3.input ${OUT}/images6.input ${OUT}/images6a.input \ + ${OUT}/images7.input ${OUT}/images7a.input ${OUT}/infprod.input \ + ${OUT}/intaf.input ${OUT}/intdeq.input ${OUT}/intef.input \ + ${OUT}/intg0.input ${OUT}/intheory.input ${OUT}/int.input \ + ${OUT}/intlf.input ${OUT}/intmix.input ${OUT}/intrf.input \ + ${OUT}/ipftest.input ${OUT}/is.input ${OUT}/isprime.input \ + ${OUT}/kafile.input ${OUT}/kernel.input ${OUT}/knot.input \ + ${OUT}/kovacic.input ${OUT}/kuipers.input \ + ${OUT}/laplace.input ${OUT}/leg.input ${OUT}/lexp.input \ + ${OUT}/lextripk.input ${OUT}/lib.input ${OUT}/limit.input \ + ${OUT}/lindep.input ${OUT}/liss1.input ${OUT}/liss2.input \ + ${OUT}/list.input ${OUT}/lode.input ${OUT}/lodesys.input \ + ${OUT}/lodo1.input ${OUT}/lodo2.input ${OUT}/lodof.input \ + ${OUT}/lodo.input ${OUT}/lodo3.input ${OUT}/lpoly.input \ + ${OUT}/lump.input \ + ${OUT}/lupfact.input ${OUT}/lword.input ${OUT}/macbug.input \ + ${OUT}/macros.input ${OUT}/marcbench.input ${OUT}/magma.input \ + ${OUT}/mapleok.input ${OUT}/mappkg1.input ${OUT}/matbug.input \ + ${OUT}/matrix22.input ${OUT}/matrix.input ${OUT}/matrix1.input \ + ${OUT}/mfinfact.input ${OUT}/mkfunc.input ${OUT}/mountain.input \ + ${OUT}/mpoly.input ${OUT}/mset.input ${OUT}/mset2.input \ + ${OUT}/multfact.input ${OUT}/multKnot.input ${OUT}/mult3d.input \ + ${OUT}/multiple.input \ + ${OUT}/ndftip.input ${OUT}/newlodo.input \ + ${OUT}/negfloats.input \ + ${OUT}/nepip.input ${OUT}/newton.input \ + ${OUT}/nlode.input ${OUT}/none.input ${OUT}/noonburg.input \ + ${OUT}/noptip.input ${OUT}/nqip.input ${OUT}/nsfip.input \ + ${OUT}/ntube.input ${OUT}/oct.input ${OUT}/ode.input \ + ${OUT}/octonion.input ${OUT}/odpol.input \ + ${OUT}/opalg.input ${OUT}/operator.input ${OUT}/op.input \ + ${OUT}/op1.input ${OUT}/ovar.input \ + ${OUT}/padic.input ${OUT}/palette.input \ + ${OUT}/parpcurv.input ${OUT}/parscurv.input ${OUT}/parsurf.input \ + ${OUT}/pascal1.input \ + ${OUT}/pascal.input ${OUT}/patmatch.input ${OUT}/perman.input \ + ${OUT}/perm.input ${OUT}/pfr.input ${OUT}/pfr1.input \ + ${OUT}/pinch.input ${OUT}/plotfile.input ${OUT}/pollevel.input \ + ${OUT}/pmint.input ${OUT}/polycoer.input \ + ${OUT}/poly1.input ${OUT}/psgenfcn.input \ + ${OUT}/quat.input ${OUT}/quat1.input ${OUT}/ribbon.input \ + ${OUT}/ribbons.input ${OUT}/ribbonsNew.input ${OUT}/rk4draw.input \ + ${OUT}/r20abugs.input \ + ${OUT}/r20bugs.input ${OUT}/r21bugsbig.input \ + ${OUT}/r21bugs.input \ + ${OUT}/radff.input ${OUT}/radix.input ${OUT}/realclos.input \ + ${OUT}/reclos.input ${OUT}/regset.input \ + ${OUT}/robidoux.input ${OUT}/roman.input ${OUT}/roots.input \ + ${OUT}/ruleset.input ${OUT}/rules.input ${OUT}/saddle.input \ + ${OUT}/scherk.input ${OUT}/scope.input \ + ${OUT}/segbind.input ${OUT}/seg.input ${OUT}/series2.input \ + ${OUT}/series.input ${OUT}/sersolve.input ${OUT}/set.input \ + ${OUT}/sinCosEx.input ${OUT}/sininv.input ${OUT}/sinsin.input \ + ${OUT}/sinsin2.input ${OUT}/sint.input ${OUT}/skew.input \ + ${OUT}/slowint.input ${OUT}/solvetra.input ${OUT}/space3.input \ + ${OUT}/spiral.input \ + ${OUT}/sqmatrix.input ${OUT}/sregset.input ${OUT}/stbl.input \ + ${OUT}/stream2.input ${OUT}/stream.input ${OUT}/streams.input \ + ${OUT}/string.input ${OUT}/strtbl.input ${OUT}/symbol.input \ + ${OUT}/synonym.input ${OUT}/t111293.input \ + ${OUT}/table.input ${OUT}/tanatan.input ${OUT}/test.input \ + ${OUT}/tetra.input ${OUT}/textfile.input ${OUT}/tknot.input \ + ${OUT}/tree.input \ + ${OUT}/triglim.input ${OUT}/tschirn.input ${OUT}/tsetcatbutcher.input \ + ${OUT}/tsetcatchemical.input ${OUT}/tsetcatvermeer.input \ + ${OUT}/tutchap1.input ${OUT}/tutchap2.input ${OUT}/tutchap3.input \ + ${OUT}/tutchap4.input ${OUT}/tutchap67.input ${OUT}/typo.input \ + ${OUT}/uniseg.input ${OUT}/up.input \ + ${OUT}/vector.input ${OUT}/vectors.input ${OUT}/viewdef.input \ + ${OUT}/void.input ${OUT}/wiggle.input \ + ${OUT}/wutset.input \ + ${OUT}/xpbwpoly.input ${OUT}/xpoly.input ${OUT}/xpr.input \ + ${OUT}/zdsolve.input ${OUT}/zimmer.input ${OUT}/zlindep.input + +FILES2=${OUT}/arith.input ${OUT}/bugs.input \ + ${OUT}/calculus2.input \ + ${OUT}/curl.input \ + ${OUT}/equation2.input ${OUT}/evalex.input \ + ${OUT}/exdiff.input ${OUT}/exint.input ${OUT}/exlap.input \ + ${OUT}/exlimit.input \ + ${OUT}/expr.input ${OUT}/exprode.input ${OUT}/exseries.input \ + ${OUT}/exsum.input ${OUT}/fns.input \ + ${OUT}/function.input ${OUT}/galois.input \ + ${OUT}/grpthry.input \ + ${OUT}/help.input ${OUT}/intef2.input \ + ${OUT}/intmix2.input ${OUT}/knot2.input ${OUT}/linalg.input \ + ${OUT}/loop.input \ + ${OUT}/numbers.input \ + ${OUT}/parabola.input ${OUT}/pat.input \ + ${OUT}/poly.input ${OUT}/reductio.input ${OUT}/repa6.input \ + ${OUT}/spadprof.input \ + ${OUT}/synonym2.input ${OUT}/torus.input + +BROKEN=${OUT}/as-eg1.input ${OUT}/as-eg2.input ${OUT}/as-eg3.input \ + ${OUT}/as-eg4.input ${OUT}/as-eg5.input ${OUT}/as-eg6.input + +# This viewport has already been closed! +VIEWPORT=${OUT}/graphics.input + +# Error: Value stack overflow. +VALUESTACK=${OUT}/images2a.input ${OUT}/images2.input ${OUT}/images5a.input \ + ${OUT}/images5.input ${OUT}/images8a.input ${OUT}/images8.input \ + ${OUT}/mult2d.input ${OUT}/plotlist.input + +# documented test cases +DOCFILES= \ + ${DOC}/algaggr.input.dvi ${DOC}/algbrbf.input.dvi \ + ${DOC}/algfacob.input.dvi ${DOC}/alist.input.dvi \ + ${DOC}/allfact.input.dvi ${DOC}/antoine.input.dvi \ + ${DOC}/arith.input.dvi ${DOC}/array1.input.dvi \ + ${DOC}/array2.input.dvi ${DOC}/arrows.input.dvi \ + ${DOC}/as-eg1.input.dvi ${DOC}/as-eg2.input.dvi \ + ${DOC}/as-eg3.input.dvi ${DOC}/as-eg4.input.dvi \ + ${DOC}/as-eg5.input.dvi ${DOC}/aseg6.as.dvi \ + ${DOC}/as-eg6.input.dvi ${DOC}/aseg7.as.dvi \ + ${DOC}/asec.input.dvi \ + ${DOC}/assign.input.dvi ${DOC}/atansqrt.input.dvi \ + ${DOC}/axiom.input.dvi ${DOC}/bags.input.dvi \ + ${DOC}/bbtree.input.dvi ${DOC}/bern.input.dvi \ + ${DOC}/bernpoly.input.dvi ${DOC}/binary.input.dvi \ + ${DOC}/bop.input.dvi ${DOC}/bouquet.input.dvi \ + ${DOC}/bstree.input.dvi ${DOC}/bug10069.input.dvi \ + ${DOC}/bug10312.input.dvi ${DOC}/bug6357.input.dvi \ + ${DOC}/bug9057.input.dvi ${DOC}/bugs.input.dvi \ + ${DOC}/c02aff.input.dvi ${DOC}/c02agf.input.dvi \ + ${DOC}/c05adf.input.dvi ${DOC}/c05nbf.input.dvi \ + ${DOC}/c05pbf.input.dvi ${DOC}/c06eaf.input.dvi \ + ${DOC}/c06ebf.input.dvi ${DOC}/c06ecf.input.dvi \ + ${DOC}/c06ekf.input.dvi ${DOC}/c06fpf.input.dvi \ + ${DOC}/c06fqf.input.dvi ${DOC}/c06frf.input.dvi \ + ${DOC}/c06fuf.input.dvi ${DOC}/c06gbf.input.dvi \ + ${DOC}/c06gcf.input.dvi ${DOC}/c06gqf.input.dvi \ + ${DOC}/c06gsf.input.dvi ${DOC}/calculus2.input.dvi \ + ${DOC}/calculus.input.dvi ${DOC}/cardinal.input.dvi \ + ${DOC}/card.input.dvi ${DOC}/carten.input.dvi \ + ${DOC}/cclass.input.dvi ${DOC}/cdraw.input.dvi \ + ${DOC}/char.input.dvi ${DOC}/ch.input.dvi \ + ${DOC}/clifford.input.dvi ${DOC}/clif.input.dvi \ + ${DOC}/coercels.input.dvi ${DOC}/collect.input.dvi \ + ${DOC}/color.input.dvi ${DOC}/complex.input.dvi \ + ${DOC}/cone.input.dvi ${DOC}/conformal.input.dvi \ + ${DOC}/constant.input.dvi ${DOC}/contfrac.input.dvi \ + ${DOC}/contfrc.input.dvi ${DOC}/coordsys.input.dvi \ + ${DOC}/curl.input.dvi ${DOC}/cycles1.input.dvi \ + ${DOC}/cycles.input.dvi ${DOC}/cycloid2.input.dvi \ + ${DOC}/cycloid3.input.dvi ${DOC}/cycloid.input.dvi \ + ${DOC}/cyfactor.input.dvi ${DOC}/d01ajf.input.dvi \ + ${DOC}/d01akf.input.dvi ${DOC}/d01alf.input.dvi \ + ${DOC}/d01amf.input.dvi ${DOC}/d01anf.input.dvi \ + ${DOC}/d01apf.input.dvi ${DOC}/d01aqf.input.dvi \ + ${DOC}/d01asf.input.dvi ${DOC}/d01bbf.input.dvi \ + ${DOC}/d01fcf.input.dvi ${DOC}/d01gaf.input.dvi \ + ${DOC}/d01gbf.input.dvi ${DOC}/d02bbf.input.dvi \ + ${DOC}/d02bhf.input.dvi ${DOC}/d02cjf.input.dvi \ + ${DOC}/d02ejf.input.dvi ${DOC}/d02gaf.input.dvi \ + ${DOC}/d02gbf.input.dvi ${DOC}/d02kef.input.dvi \ + ${DOC}/d02raf.input.dvi ${DOC}/d03edf.input.dvi \ + ${DOC}/d03eef.input.dvi ${DOC}/d03faf.input.dvi \ + ${DOC}/damped.input.dvi ${DOC}/danzwill.input.dvi \ + ${DOC}/de2re.input.dvi ${DOC}/decimal.input.dvi \ + ${DOC}/defintef.input.dvi ${DOC}/defintrf.input.dvi \ + ${DOC}/defs.input.dvi ${DOC}/derham.input.dvi \ + ${DOC}/dfloat.input.dvi ${DOC}/dhtri.input.dvi \ + ${DOC}/divisor.input.dvi ${DOC}/dmp.input.dvi \ + ${DOC}/dpol.input.dvi \ + ${DOC}/draw2dSF.input.dvi ${DOC}/drawalg.input.dvi \ + ${DOC}/drawcfn.input.dvi ${DOC}/drawcfun.input.dvi \ + ${DOC}/drawcurv.input.dvi ${DOC}/drawcx.input.dvi \ + ${DOC}/drawex.input.dvi ${DOC}/draw.input.dvi \ + ${DOC}/drawpoly.input.dvi ${DOC}/drawx.input.dvi \ + ${DOC}/dropt.input.dvi ${DOC}/e01baf.input.dvi \ + ${DOC}/e01bef.input.dvi ${DOC}/e01bff.input.dvi \ + ${DOC}/e01bgf.input.dvi ${DOC}/e01bhf.input.dvi \ + ${DOC}/e01daf.input.dvi ${DOC}/e01saf.input.dvi \ + ${DOC}/e01sbf.input.dvi ${DOC}/e01sef.input.dvi \ + ${DOC}/e01sff.input.dvi ${DOC}/e02adf.input.dvi \ + ${DOC}/e02aef.input.dvi ${DOC}/e02agf.input.dvi \ + ${DOC}/e02ahf.input.dvi ${DOC}/e02ajf.input.dvi \ + ${DOC}/e02akf.input.dvi ${DOC}/e02baf.input.dvi \ + ${DOC}/e02bbf.input.dvi ${DOC}/e02bcf.input.dvi \ + ${DOC}/e02bdf.input.dvi ${DOC}/e02bef.input.dvi \ + ${DOC}/e02daf.input.dvi ${DOC}/e02dcf.input.dvi \ + ${DOC}/e02ddf.input.dvi ${DOC}/e02def.input.dvi \ + ${DOC}/e02dff.input.dvi ${DOC}/e02gaf.input.dvi \ + ${DOC}/e02zaf.input.dvi ${DOC}/e04dgf.input.dvi \ + ${DOC}/e04fdf.input.dvi ${DOC}/e04gcf.input.dvi \ + ${DOC}/e04jaf.input.dvi ${DOC}/e04mbf.input.dvi \ + ${DOC}/e04naf.input.dvi ${DOC}/e04ucf.input.dvi \ + ${DOC}/e04ycf.input.dvi ${DOC}/easter.input.dvi \ + ${DOC}/ecfact.as.dvi ${DOC}/efi.input.dvi \ + ${DOC}/egg.input.dvi ${DOC}/eigen.input.dvi \ + ${DOC}/elemfun.input.dvi ${DOC}/elemnum.input.dvi \ + ${DOC}/elfuts.input.dvi ${DOC}/elt.input.dvi \ + ${DOC}/eq.input.dvi ${DOC}/eqtbl.input.dvi \ + ${DOC}/equation2.input.dvi ${DOC}/equation.input.dvi \ + ${DOC}/errortrap.input.dvi ${DOC}/evalex.input.dvi \ + ${DOC}/eval.input.dvi ${DOC}/exdiff.input.dvi \ + ${DOC}/exint.input.dvi ${DOC}/exit.input.dvi \ + ${DOC}/exlap.input.dvi ${DOC}/exlimit.input.dvi \ + ${DOC}/expexpan.input.dvi ${DOC}/explim.input.dvi \ + ${DOC}/explot2d.input.dvi ${DOC}/explot3d.input.dvi \ + ${DOC}/expr1.input.dvi ${DOC}/expr.input.dvi \ + ${DOC}/exprode.input.dvi ${DOC}/exprpoly.input.dvi \ + ${DOC}/exseries.input.dvi ${DOC}/exsum.input.dvi \ + ${DOC}/f01brf.input.dvi ${DOC}/f01bsf.input.dvi \ + ${DOC}/f01maf.input.dvi ${DOC}/f01mcf.input.dvi \ + ${DOC}/f01qcf.input.dvi ${DOC}/f01qdf.input.dvi \ + ${DOC}/f01qef.input.dvi ${DOC}/f01rcf.input.dvi \ + ${DOC}/f01rdf.input.dvi ${DOC}/f01ref.input.dvi \ + ${DOC}/f02aaf.input.dvi ${DOC}/f02abf.input.dvi \ + ${DOC}/f02adf.input.dvi ${DOC}/f02aef.input.dvi \ + ${DOC}/f02aff.input.dvi ${DOC}/f02agf.input.dvi \ + ${DOC}/f02ajf.input.dvi ${DOC}/f02akf.input.dvi \ + ${DOC}/f02awf.input.dvi ${DOC}/f02axf.input.dvi \ + ${DOC}/f02bbf.input.dvi ${DOC}/f02bjf.input.dvi \ + ${DOC}/f02fjf.input.dvi ${DOC}/f02wef.input.dvi \ + ${DOC}/f02xef.input.dvi ${DOC}/f04adf.input.dvi \ + ${DOC}/f04arf.input.dvi ${DOC}/f04asf.input.dvi \ + ${DOC}/f04atf.input.dvi ${DOC}/f04axf.input.dvi \ + ${DOC}/f04faf.input.dvi ${DOC}/f04jgf.input.dvi \ + ${DOC}/f04maf.input.dvi ${DOC}/f04mbf.input.dvi \ + ${DOC}/f04mcf.input.dvi ${DOC}/f04qaf.input.dvi \ + ${DOC}/f07adf.input.dvi ${DOC}/f07aef.input.dvi \ + ${DOC}/f07fdf.input.dvi ${DOC}/f07fef.input.dvi \ + ${DOC}/farray.input.dvi ${DOC}/ffdemo.input.dvi \ + ${DOC}/fferr.input.dvi ${DOC}/ffrac.input.dvi \ + ${DOC}/ffx72.input.dvi ${DOC}/fib.input.dvi \ + ${DOC}/file.input.dvi ${DOC}/fixed.input.dvi \ + ${DOC}/float1.input.dvi ${DOC}/float2.input.dvi \ + ${DOC}/float.input.dvi ${DOC}/fname1.input.dvi \ + ${DOC}/fname.input.dvi ${DOC}/fnla.input.dvi \ + ${DOC}/fns.input.dvi ${DOC}/folium.input.dvi \ + ${DOC}/fparfrac.input.dvi ${DOC}/fparfrc.input.dvi \ + ${DOC}/fr1.input.dvi ${DOC}/fr2.input.dvi \ + ${DOC}/frac.input.dvi ${DOC}/fr.input.dvi \ + ${DOC}/function.input.dvi ${DOC}/galois.input.dvi \ + ${DOC}/gary1.input.dvi ${DOC}/gbf.input.dvi \ + ${DOC}/genups.input.dvi ${DOC}/gnarly1.input.dvi \ + ${DOC}/gonshor.input.dvi ${DOC}/graphics.input.dvi \ + ${DOC}/grdef.input.dvi ${DOC}/grpthry.input.dvi \ + ${DOC}/gstbl.input.dvi ${DOC}/heap.input.dvi \ + ${DOC}/heat.input.dvi ${DOC}/helix.input.dvi \ + ${DOC}/help.input.dvi ${DOC}/herm.input.dvi \ + ${DOC}/hexadec.input.dvi ${DOC}/hilbert.as.dvi \ + ${DOC}/huang.input.dvi ${DOC}/ico.input.dvi \ + ${DOC}/ideal.input.dvi ${DOC}/ifact.input.dvi \ + ${DOC}/images1a.input.dvi ${DOC}/images1.input.dvi \ + ${DOC}/images2a.input.dvi ${DOC}/images2.input.dvi \ + ${DOC}/images3a.input.dvi ${DOC}/images3.input.dvi \ + ${DOC}/images5a.input.dvi ${DOC}/images5.input.dvi \ + ${DOC}/images6a.input.dvi ${DOC}/images6.input.dvi \ + ${DOC}/images7a.input.dvi ${DOC}/images7.input.dvi \ + ${DOC}/images8a.input.dvi ${DOC}/images8.input.dvi \ + ${DOC}/infprod.input.dvi ${DOC}/intaf.input.dvi \ + ${DOC}/intdeq.input.dvi ${DOC}/intef2.input.dvi \ + ${DOC}/intef.input.dvi ${DOC}/intg0.input.dvi \ + ${DOC}/intheory.input.dvi ${DOC}/int.input.dvi \ + ${DOC}/intlf.input.dvi ${DOC}/intmix2.input.dvi \ + ${DOC}/intmix.input.dvi ${DOC}/intrf.input.dvi \ + ${DOC}/ipftest.input.dvi ${DOC}/is.input.dvi \ + ${DOC}/isprime.input.dvi ${DOC}/kafile.input.dvi \ + ${DOC}/kernel.input.dvi ${DOC}/knot2.input.dvi \ + ${DOC}/knot.input.dvi ${DOC}/knownbugs.input.dvi \ + ${DOC}/kovacic.input.dvi ${DOC}/kuipers.input.dvi \ + ${DOC}/laplace.input.dvi ${DOC}/leg.input.dvi \ + ${DOC}/lexp.input.dvi ${DOC}/lextripk.input.dvi \ + ${DOC}/lib.input.dvi ${DOC}/limit.input.dvi \ + ${DOC}/linalg.input.dvi ${DOC}/lindep.input.dvi \ + ${DOC}/liss1.input.dvi ${DOC}/liss2.input.dvi \ + ${DOC}/list.input.dvi ${DOC}/lode.input.dvi \ + ${DOC}/lodesys.input.dvi ${DOC}/lodo1.input.dvi \ + ${DOC}/lodo2.input.dvi ${DOC}/lodo3.input.dvi \ + ${DOC}/lodof.input.dvi ${DOC}/lodo.input.dvi \ + ${DOC}/loop.input.dvi ${DOC}/lpoly.input.dvi \ + ${DOC}/lump.input.dvi ${DOC}/lupfact.input.dvi \ + ${DOC}/lword.input.dvi ${DOC}/macbug.input.dvi \ + ${DOC}/macros.input.dvi ${DOC}/magma.input.dvi \ + ${DOC}/mapleok.input.dvi ${DOC}/mappkg1.input.dvi \ + ${DOC}/marcbench.input.dvi ${DOC}/matbug.input.dvi \ + ${DOC}/matops.as.dvi ${DOC}/matrix1.input.dvi \ + ${DOC}/matrix22.input.dvi ${DOC}/matrix.input.dvi \ + ${DOC}/matrox.input.dvi ${DOC}/mfinfact.input.dvi \ + ${DOC}/mkfunc.input.dvi ${DOC}/mountain.input.dvi \ + ${DOC}/mpoly.input.dvi ${DOC}/mset2.input.dvi \ + ${DOC}/mset.input.dvi ${DOC}/mult2d.input.dvi \ + ${DOC}/mult3d.input.dvi ${DOC}/multfact.input.dvi \ + ${DOC}/multiple.input.dvi ${DOC}/multKnot.input.dvi \ + ${DOC}/ndftip.input.dvi ${DOC}/negfloats.input.dvi \ + ${DOC}/nepip.input.dvi ${DOC}/newlodo.input.dvi \ + ${DOC}/newton.input.dvi ${DOC}/nlode.input.dvi \ + ${DOC}/none.input.dvi ${DOC}/noonburg.input.dvi \ + ${DOC}/noptip.input.dvi ${DOC}/nqip.input.dvi \ + ${DOC}/nsfip.input.dvi ${DOC}/ntube.input.dvi \ + ${DOC}/numbers.input.dvi ${DOC}/oct.input.dvi \ + ${DOC}/octonion.input.dvi ${DOC}/ode.input.dvi \ + ${DOC}/odpol.input.dvi ${DOC}/op1.input.dvi \ + ${DOC}/opalg.input.dvi ${DOC}/operator.input.dvi \ + ${DOC}/op.input.dvi ${DOC}/ovar.input.dvi \ + ${DOC}/padic.input.dvi ${DOC}/palette.input.dvi \ + ${DOC}/parabola.input.dvi ${DOC}/parpcurv.input.dvi \ + ${DOC}/parscurv.input.dvi ${DOC}/parsurf.input.dvi \ + ${DOC}/pascal1.input.dvi ${DOC}/pascal.input.dvi \ + ${DOC}/pat.input.dvi ${DOC}/patmatch.input.dvi \ + ${DOC}/pdecomp0.as.dvi ${DOC}/perman.input.dvi \ + ${DOC}/perm.input.dvi ${DOC}/pfr1.input.dvi \ + ${DOC}/pfr.input.dvi ${DOC}/pinch.input.dvi \ + ${DOC}/plotfile.input.dvi ${DOC}/plotlist.input.dvi \ + ${DOC}/pollevel.input.dvi ${DOC}/poly1.input.dvi \ + ${DOC}/polycoer.input.dvi ${DOC}/poly.input.dvi \ + ${DOC}/psgenfcn.input.dvi ${DOC}/quat1.input.dvi \ + ${DOC}/quat.input.dvi ${DOC}/r20abugs.input.dvi \ + ${DOC}/r20bugs.input.dvi ${DOC}/r21bugsbig.input.dvi \ + ${DOC}/r21bugs.input.dvi ${DOC}/radff.input.dvi \ + ${DOC}/radix.input.dvi ${DOC}/realclos.input.dvi \ + ${DOC}/reclos.input.dvi ${DOC}/reductio.input.dvi \ + ${DOC}/regset.input.dvi ${DOC}/repa6.input.dvi \ + ${DOC}/ribbon.input.dvi ${DOC}/ribbons.input.dvi \ + ${DOC}/ribbonsNew.input.dvi ${DOC}/rk4draw.input.dvi \ + ${DOC}/robidoux.input.dvi ${DOC}/roman.input.dvi \ + ${DOC}/romnum.as.dvi ${DOC}/roots.input.dvi \ + ${DOC}/ruleset.input.dvi ${DOC}/rules.input.dvi \ + ${DOC}/s01eaf.input.dvi ${DOC}/s13aaf.input.dvi \ + ${DOC}/s13acf.input.dvi ${DOC}/s13adf.input.dvi \ + ${DOC}/s14aaf.input.dvi ${DOC}/s14abf.input.dvi \ + ${DOC}/s14baf.input.dvi ${DOC}/s15adf.input.dvi \ + ${DOC}/s15aef.input.dvi ${DOC}/s17acf.input.dvi \ + ${DOC}/s17adf.input.dvi ${DOC}/s17aef.input.dvi \ + ${DOC}/s17aff.input.dvi ${DOC}/s17agf.input.dvi \ + ${DOC}/s17ahf.input.dvi ${DOC}/s17ajf.input.dvi \ + ${DOC}/s17akf.input.dvi ${DOC}/s17dcf.input.dvi \ + ${DOC}/s17def.input.dvi ${DOC}/s17dgf.input.dvi \ + ${DOC}/s17dhf.input.dvi ${DOC}/s17dlf.input.dvi \ + ${DOC}/s18acf.input.dvi ${DOC}/s18adf.input.dvi \ + ${DOC}/s18aef.input.dvi ${DOC}/s18aff.input.dvi \ + ${DOC}/s18dcf.input.dvi ${DOC}/s18def.input.dvi \ + ${DOC}/s19aaf.input.dvi ${DOC}/s19abf.input.dvi \ + ${DOC}/s19acf.input.dvi ${DOC}/s19adf.input.dvi \ + ${DOC}/s20acf.input.dvi ${DOC}/s20adf.input.dvi \ + ${DOC}/s21baf.input.dvi ${DOC}/s21bbf.input.dvi \ + ${DOC}/s21bcf.input.dvi ${DOC}/s21bdf.input.dvi \ + ${DOC}/saddle.input.dvi ${DOC}/scherk.input.dvi \ + ${DOC}/scope.input.dvi ${DOC}/segbind.input.dvi \ + ${DOC}/seg.input.dvi ${DOC}/series2.input.dvi \ + ${DOC}/series.input.dvi ${DOC}/sersolve.input.dvi \ + ${DOC}/set.input.dvi ${DOC}/sinCosEx.input.dvi \ + ${DOC}/sininv.input.dvi ${DOC}/sinsin2.input.dvi \ + ${DOC}/sinsin.input.dvi ${DOC}/sint.input.dvi \ + ${DOC}/skew.input.dvi ${DOC}/slowint.input.dvi \ + ${DOC}/solvetra.input.dvi ${DOC}/space3.input.dvi \ + ${DOC}/spadprof.input.dvi ${DOC}/spiral.input.dvi \ + ${DOC}/sqmatrix.input.dvi ${DOC}/sregset.input.dvi \ + ${DOC}/stbl.input.dvi ${DOC}/stream2.input.dvi \ + ${DOC}/stream.input.dvi ${DOC}/streams.input.dvi \ + ${DOC}/string.input.dvi ${DOC}/strtbl.input.dvi \ + ${DOC}/symbol.input.dvi ${DOC}/synonym2.input.dvi \ + ${DOC}/synonym.input.dvi ${DOC}/t111293.input.dvi \ + ${DOC}/table.input.dvi ${DOC}/tanatan.input.dvi \ + ${DOC}/test.input.dvi ${DOC}/tetra.input.dvi \ + ${DOC}/textfile.input.dvi ${DOC}/tknot.input.dvi \ + ${DOC}/torus.input.dvi ${DOC}/tree.input.dvi \ + ${DOC}/triglim.input.dvi ${DOC}/tschirn.input.dvi \ + ${DOC}/tsetcatbutcher.input.dvi \ + ${DOC}/tsetcatchemical.input.dvi \ + ${DOC}/tsetcatvermeer.input.dvi \ + ${DOC}/tutchap1.input.dvi ${DOC}/tutchap2.input.dvi \ + ${DOC}/tutchap3.input.dvi ${DOC}/tutchap4.input.dvi \ + ${DOC}/tutchap67.input.dvi ${DOC}/typo.input.dvi \ + ${DOC}/uniseg.input.dvi ${DOC}/up.input.dvi \ + ${DOC}/vector.input.dvi ${DOC}/vectors.input.dvi \ + ${DOC}/viewdef.input.dvi ${DOC}/void.input.dvi \ + ${DOC}/wester.input.dvi ${DOC}/wiggle.input.dvi \ + ${DOC}/wutset.input.dvi ${DOC}/xpbwpoly.input.dvi \ + ${DOC}/xpoly.input.dvi ${DOC}/xpr.input.dvi \ + ${DOC}/zdsolve.input.dvi ${DOC}/zimmer.input.dvi \ + ${DOC}/zlindep.input.dvi + + +.PHONY: all all-ax all-input + +all: all-ax + +all-ax all-input: $(OUT) ${FILES} ${FILES2} ${ASFILES} + @echo 1 finished $(srcdir) + +$(OUT): + $(mkinstalldirs) $@ + + +${OUT}/%.input: %.input + @ $(INSTALL) $< $@ + +.PRECIOUS: %.input + +%.input: ${IN}/%.input.pamphlet + @$(axiom_build_document) --output=$@ --tangle $< + +${OUT}/%.as: %.as + @ $(INSTALL) $< $@ + +%.as: ${IN}/%.as.pamphlet + @ $(axiom_build_document) --output=$@ --tangle $< + +pamphlets = \ + Makefile.pamphlet \ + $(wildchar *.input.pamphlet) \ + $(wildchar.as.pamplhet) + +mostlyclean-local: + -rm -rf $(MID) + -rm -rf $(OUT) + +clean-local: mostlyclean-local + +distclean-local: clean-local + + +.SUFFIXES: +.SUFFIXES: .input .output + +TESTSYS= $(axiom_target_bindir)/AXIOMsys -- --system="$(AXIOM)" \ + --sysalg="$(axiom_targetdir)/algebra/" + +SKIP= antoine.output as-eg1.output as-eg2.output \ + as-eg3.output as-eg4.output as-eg5.output as-eg6.output \ + atansqrt.output bern.output bernpoly.output bouquet.output \ + c02aff.output \ + c02agf.output c05adf.output c05nbf.output c05pbf.output \ + c06eaf.output c06ebf.output c06ecf.output c06ekf.output \ + c06fpf.output c06fqf.output c06frf.output c06fuf.output \ + c06gbf.output c06gcf.output c06gqf.output c06gsf.output \ + cdraw.output color.output cone.output \ + conformal.output coordsys.output \ + cycloid2.output cycloid3.output cycloid.output \ + d01ajf.output d01akf.output d01alf.output d01amf.output \ + d01anf.output d01apf.output d01aqf.output d01asf.output \ + d01bbf.output d01fcf.output d01gaf.output d01gbf.output \ + d02bbf.output d02bhf.output d02cjf.output d02ejf.output \ + d02gaf.output d02gbf.output d02kef.output d02raf.output \ + d03edf.output d03eef.output d03faf.output damped.output \ + de2re.output defs.output \ + draw2dSF.output drawalg.output drawcfn.output drawcfun.output \ + drawcurv.output drawcx.output drawex.output draw.output \ + drawpoly.output drawx.output dropt.output e01baf.output \ + e01bef.output e01bff.output e01bgf.output e01bhf.output \ + e01daf.output e01saf.output e01sbf.output e01sef.output \ + e01sff.output e02adf.output e02aef.output e02agf.output \ + e02ahf.output e02ajf.output e02akf.output e02baf.output \ + e02bbf.output e02bcf.output e02bdf.output e02bef.output \ + e02daf.output e02dcf.output e02ddf.output e02def.output \ + e02dff.output e02gaf.output e02zaf.output e04dgf.output \ + e04fdf.output e04gcf.output e04jaf.output e04mbf.output \ + e04naf.output e04ucf.output e04ycf.output egg.output \ + explot2d.output explot3d.output \ + f01brf.output f01bsf.output f01maf.output \ + f01mcf.output f01qcf.output f01qdf.output f01qef.output \ + f01rcf.output f01rdf.output f01ref.output f02aaf.output \ + f02abf.output f02adf.output f02aef.output f02aff.output \ + f02agf.output f02ajf.output f02akf.output f02awf.output \ + f02axf.output f02bbf.output f02bjf.output f02fjf.output \ + f02wef.output f02xef.output f04adf.output f04arf.output \ + f04asf.output f04atf.output f04axf.output f04faf.output \ + f04jgf.output f04maf.output f04mbf.output f04mcf.output \ + f04qaf.output f07adf.output f07aef.output f07fdf.output \ + f07fef.output folium.output gary1.output gnarly1.output \ + graphics.output grdef.output helix.output \ + images1a.output images1.output images2a.output images2.output \ + images3a.output images3.output images5a.output images5.output \ + images6a.output images6.output images7a.output images7.output \ + images8a.output images8.output knot.output knownbugs.output \ + liss1.output liss2.output lump.output matrox.output \ + mountain.output mult2d.output mult3d.output multKnot.output \ + ntube.output palette.output parpcurv.output parscurv.output \ + parsurf.output pinch.output plotfile.output \ + plotlist.output pollevel.output ribbon.output \ + ribbons.output ribbonsNew.output rk4draw.output \ + s01eaf.output s13aaf.output s13acf.output s13adf.output \ + s14aaf.output s14abf.output s14baf.output s15adf.output \ + s15aef.output s17acf.output s17adf.output s17aef.output \ + s17aff.output s17agf.output s17ahf.output s17ajf.output \ + s17akf.output s17dcf.output s17def.output s17dgf.output \ + s17dhf.output s17dlf.output s18acf.output s18adf.output \ + s18aef.output s18aff.output s18dcf.output s18def.output \ + s19aaf.output s19abf.output s19acf.output s19adf.output \ + s20acf.output s20adf.output s21baf.output s21bbf.output \ + s21bcf.output s21bdf.output saddle.output \ + sininv.output sinsin2.output sinsin.output spiral.output \ + tetra.output tknot.output tschirn.output typo.output \ + vectors.output wester.output wiggle.output zimmer.output + +# Error ASEC is invalid as a function. +ASEC=errortrap.output + +# Error: FLUSH is invalid as a function +# Error signalled by newGoGet +FLUSH=regset.output + +# Error: The function WRAPPED is undefined. +WRAPPED=loop.output + +# Error: Value stack overflow. +VALUESTACK=tutchap67.output test.output + +# Broken at |MODOP;ELT;$2M;6|. Type :H for Help. +MODOP=function.output + +# Broken at |MATCAT-;*;3S;29|. Type :H for Help. +MATCAT=linalg.output + +# Broken at |STAGG-;ELT;AIS;5|. Type :H for Help. +STAGG=reductio.output + +# Broken at |GSERIES;INTEGRATE;2$;6|. Type :H for Help. +GSERIES=fixed.output + +# never finishes +INFINITELOOP=lextripk.output + +OUTS= algaggr.output algbrbf.output algfacob.output alist.output \ + allfact.output arith.output array1.output \ + array2.output arrows.output \ + assign.output bags.output bbtree.output \ + binary.output bop.output \ + bstree.output bugs.output bug10069.output bug10312.output \ + bug6357.output bug9057.output calculus.output calculus2.output \ + cardinal.output card.output \ + carten.output cclass.output char.output \ + ch.output clifford.output clif.output coercels.output \ + collect.output complex.output constant.output contfrac.output \ + contfrc.output curl.output \ + cycles1.output cycles.output \ + cyfactor.output \ + danzwill.output decimal.output defintef.output defintrf.output \ + derham.output dfloat.output \ + dhtri.output divisor.output dmp.output dpol.output \ + easter.output efi.output eigen.output elemfun.output \ + elemnum.output elfuts.output \ + elt.output eq.output \ + eqtbl.output equation2.output equation.output \ + evalex.output eval.output exdiff.output exlap.output \ + exint.output \ + exit.output exlimit.output expexpan.output explim.output \ + expr1.output \ + expr.output exprode.output exprpoly.output exseries.output \ + exsum.output farray.output ffdemo.output fferr.output \ + ffrac.output ffx72.output fib.output file.output \ + float1.output float2.output float.output \ + fname1.output fname.output fnla.output fns.output \ + fparfrac.output fparfrc.output fr1.output \ + fr2.output frac.output fr.output \ + galois.output gbf.output genups.output \ + gonshor.output \ + grpthry.output gstbl.output heap.output heat.output \ + help.output herm.output hexadec.output \ + huang.output ico.output ideal.output ifact.output \ + infprod.output \ + intaf.output intef2.output intef.output intdeq.output \ + intheory.output int.output intg0.output intlf.output \ + intmix2.output intmix.output intrf.output ipftest.output \ + is.output \ + isprime.output kafile.output kernel.output knot2.output \ + kovacic.output kuipers.output laplace.output \ + leg.output lexp.output lib.output \ + limit.output \ + lindep.output \ + list.output lode.output lodesys.output \ + lodo1.output lodo2.output lodo3.output lodo.output \ + lodof.output \ + lpoly.output \ + lupfact.output lword.output macbug.output macros.output \ + magma.output mapleok.output \ + mappkg1.output marcbench.output matbug.output \ + matrix1.output matrix22.output matrix.output \ + mfinfact.output mkfunc.output mpoly.output \ + mset2.output mset.output \ + multfact.output multiple.output ndftip.output negfloats.output \ + nepip.output newlodo.output newton.output nlode.output \ + none.output noonburg.output noptip.output nqip.output \ + nsfip.output numbers.output oct.output ode.output \ + octonion.output odpol.output op1.output \ + op.output opalg.output operator.output ovar.output \ + padic.output parabola.output \ + pascal1.output pascal.output \ + pat.output patmatch.output perman.output perm.output \ + pfr1.output pfr.output pmint.output psgenfcn.output \ + poly1.output polycoer.output \ + poly.output quat1.output quat.output \ + radff.output radix.output realclos.output reclos.output \ + repa6.output \ + robidoux.output \ + roman.output roots.output ruleset.output rules.output \ + r20abugs.output r20bugs.output r21bugsbig.output r21bugs.output \ + scherk.output \ + scope.output seg.output segbind.output \ + series2.output series.output sersolve.output \ + set.output sinCosEx.output \ + sint.output \ + skew.output slowint.output solvetra.output \ + space3.output spadprof.output sqmatrix.output sregset.output \ + stbl.output stream.output streams.output stream2.output \ + string.output strtbl.output symbol.output synonym2.output \ + synonym.output t111293.output table.output tanatan.output \ + textfile.output triglim.output \ + tsetcatbutcher.output tsetcatchemical.output tsetcatvermeer.output \ + torus.output tree.output \ + tutchap1.output tutchap2.output tutchap3.output tutchap4.output \ + uniseg.output up.output \ + vector.output viewdef.output void.output \ + wutset.output xpbwpoly.output \ + xpoly.output xpr.output \ + zdsolve.output zimmer.output zlindep.output + +# new algebra tests based on documentation +# These files are tested in a different directory. +ALGEBRA=INTHEORY.output VIEW2D.output TESTFR.output + +.PHONY: all-check +all-check: ${OUTS} + @ echo 1 finished ./$(top_builddir)/int/input + +%.output: %.input + (echo running test file $< ; \ + echo ')set message test on' > tmp.input; \ + echo ')set message auto off' >> tmp.input ; \ + echo ')read $*' >> tmp.input ; \ + echo ')boot coreQuit()' >> tmp.input ; \ + echo 'systemCommand "read tmp.input"' | ${TESTSYS} | tee $*.output; \ + rm tmp.input ) + + diff --git a/src/interp/Makefile.in b/src/interp/Makefile.in index d0342e43..ffb66000 100644 --- a/src/interp/Makefile.in +++ b/src/interp/Makefile.in @@ -1,459 +1,459 @@ - -subdir = src/interp/ - -IN=$(srcdir) -DOC=$(axiom_target_docdir)/src/interp -BOOK=$(axiom_target_docdir) -AUTO=$(axiom_targetdir)/autoload - -autoload_objects = - -# Build platform-dependent Lisp image, at the base of other -# derived Lisp images (interpsys, AXIOMsys) -LISPSYS= $(axiom_build_bindir)/lisp - -BOOTSYS= $(axiom_target_bindir)/bootsys -- --syslib=$(axiom_target_libdir) - -SAVESYS= interpsys$(EXEEXT) -AXIOMSYS= $(axiom_target_bindir)/AXIOMsys$(EXEEXT) - -OBJS= types.$(FASLEXT) sys-os.$(FASLEXT) \ - vmlisp.$(FASLEXT) hash.$(FASLEXT) \ - diagnostics.$(FASLEXT) sys-driver.$(FASLEXT) \ - sys-utility.$(FASLEXT) macros.$(FASLEXT) \ - unlisp.$(FASLEXT) \ - astr.$(FASLEXT) bits.$(FASLEXT) \ - alql.$(FASLEXT) buildom.$(FASLEXT) \ - cattable.$(FASLEXT) \ - cformat.$(FASLEXT) cfuns.$(FASLEXT) \ - clam.$(FASLEXT) clammed.$(FASLEXT) \ - comp.$(FASLEXT) foam_l.$(FASLEXT) \ - compat.$(FASLEXT) compress.$(FASLEXT) \ - cparse.$(FASLEXT) cstream.$(FASLEXT) \ - database.$(FASLEXT) \ - debug.$(FASLEXT) dq.$(FASLEXT) \ - fname.$(FASLEXT) format.$(FASLEXT) \ - g-boot.$(FASLEXT) g-cndata.$(FASLEXT) \ - g-error.$(FASLEXT) g-opt.$(FASLEXT) \ - g-timer.$(FASLEXT) g-util.$(FASLEXT) \ - ggreater.$(FASLEXT) \ - hypertex.$(FASLEXT) i-analy.$(FASLEXT) \ - i-object.$(FASLEXT) \ - i-code.$(FASLEXT) i-coerce.$(FASLEXT) \ - i-coerfn.$(FASLEXT) i-eval.$(FASLEXT) \ - i-funsel.$(FASLEXT) \ - i-intern.$(FASLEXT) i-map.$(FASLEXT) \ - i-output.$(FASLEXT) i-resolv.$(FASLEXT) \ - i-spec1.$(FASLEXT) \ - i-spec2.$(FASLEXT) i-syscmd.$(FASLEXT) \ - i-toplev.$(FASLEXT) i-util.$(FASLEXT) \ - incl.$(FASLEXT) int-top.$(FASLEXT) \ - intfile.$(FASLEXT) \ - lisplib.$(FASLEXT) macex.$(FASLEXT) \ - match.$(FASLEXT) \ - monitor.$(FASLEXT) msg.$(FASLEXT) \ - msgdb.$(FASLEXT) \ - newaux.$(FASLEXT) newfort.$(FASLEXT) \ - nlib.$(FASLEXT) nrunfast.$(FASLEXT) \ - nrungo.$(FASLEXT) nrunopt.$(FASLEXT) \ - nruntime.$(FASLEXT) osyscmd.$(FASLEXT) \ - packtran.$(FASLEXT) pathname.$(FASLEXT) \ - pf2sex.$(FASLEXT) pile.$(FASLEXT) \ - posit.$(FASLEXT) property.$(FASLEXT) \ - ptrees.$(FASLEXT) spad-parser.$(FASLEXT) \ - record.$(FASLEXT) \ - rulesets.$(FASLEXT) \ - scan.$(FASLEXT) serror.$(FASLEXT) \ - server.$(FASLEXT) \ - setvars.$(FASLEXT) \ - sfsfun-l.$(FASLEXT) sfsfun.$(FASLEXT) \ - simpbool.$(FASLEXT) slam.$(FASLEXT) \ - spad.$(FASLEXT) \ - spaderror.$(FASLEXT) \ - template.$(FASLEXT) termrw.$(FASLEXT) \ - trace.$(FASLEXT) \ - union.$(FASLEXT) daase.$(FASLEXT) \ - fortcall.$(FASLEXT) \ - $(OPOBJS) \ - $(OCOBJS) \ - $(BROBJS) i-parser.$(FASLEXT) - -interpsys_modules = $(patsubst %.$(FASLEXT), "%", $(OBJS)) -INOBJS= setvart.$(FASLEXT)\ - interop.$(FASLEXT) \ - patches.$(FASLEXT) - -IN_modules = $(patsubst %.$(FASLEXT), "%", $(INOBJS)) - -# These are autloaded old parser files -OPOBJS= parsing.$(FASLEXT) bootlex.$(FASLEXT) \ - def.$(FASLEXT) \ - fnewmeta.$(FASLEXT) metalex.$(FASLEXT) \ - parse.$(FASLEXT) postpar.$(FASLEXT) \ - preparse.$(FASLEXT) - -autoload_objects += $(OPBJS) -OCOBJS= apply.$(FASLEXT) c-doc.$(FASLEXT) \ - c-util.$(FASLEXT) profile.$(FASLEXT) \ - category.$(FASLEXT) compiler.$(FASLEXT) \ - define.$(FASLEXT) functor.$(FASLEXT) \ - info.$(FASLEXT) iterator.$(FASLEXT) \ - modemap.$(FASLEXT) nruncomp.$(FASLEXT) \ - package.$(FASLEXT) htcheck.$(FASLEXT) - -autoload_objects += $(OCOBJS) - -BROBJS= bc-matrix.$(FASLEXT) \ - bc-misc.$(FASLEXT) bc-solve.$(FASLEXT) \ - bc-util.$(FASLEXT) \ - ht-util.$(FASLEXT) htsetvar.$(FASLEXT) \ - ht-root.$(FASLEXT) \ - br-con.$(FASLEXT) \ - br-data.$(FASLEXT) showimp.$(FASLEXT) \ - br-op1.$(FASLEXT) br-op2.$(FASLEXT) \ - br-search.$(FASLEXT) br-util.$(FASLEXT) \ - topics.$(FASLEXT) br-prof.$(FASLEXT) \ - br-saturn.$(FASLEXT) - -autoload_objects += $(BFOBJS) - -TRANOBJS= ${AUTO}/wi1.$(FASLEXT) ${AUTO}/wi2.$(FASLEXT) ${AUTO}/pspad1.$(FASLEXT) \ - ${AUTO}/pspad2.$(FASLEXT) ${AUTO}/mark.$(FASLEXT) ${AUTO}/nspadaux.$(FASLEXT) \ - ${AUTO}/def.$(FASLEXT) - -autoload_objects += $(TRANOBJS) - -ASCOMP= hashcode.$(FASLEXT) as.$(FASLEXT) \ - foam_l.$(FASLEXT) axext_l.$(FASLEXT) - -AS_modules = $(patsubst %.$(FASLEXT), "%", $(ASCOMP)) - -ASAUTO= ${AUTO}/ax.$(FASLEXT) - -autoload_objects += $(ASAUTO) -TIMESTAMP=$(axiom_targetdir)/timestamp -YEARWEEK=(progn (defconstant boot::timestamp "${TIMESTAMP}") \ - (setq boot::*build-version* "$(PACKAGE_STRING)") \ - (boot::yearweek)) - - -.PRECIOUS: ${SAVESYS} -.PRECIOUS: ${AXIOMSYS} - -UNUSED= ${DOC}/construc.lisp.dvi \ - ${DOC}/domain.lisp.dvi ${DOC}/guess.boot.dvi \ - ${DOC}/interp-fix.boot.dvi \ - ${DOC}/nhyper.boot.dvi ${DOC}/pf2atree.boot.dvi \ - ${DOC}/redefs.boot.dvi ${DOC}/word.boot.dvi - - -.SUFFIXES: -.SUFFIXES: .boot .clisp .lisp .pamphlet - -.PHONY: all all-ax all-interpsys all-axiomsys - -all: all-ax - -all-ax: stamp - @echo finished $(srcdir) - -stamp: $(AUTO) remove-stamp build-images - $(STAMP) stamp - -.PHONY: remove-stamp -remove-stamp: - -rm -f stamp - -.PHONY: build-images -build-images: remove-stamp all-interpsys - -all-interpsys: - $(mkinstalldirs) $(AUTO) - $(MAKE) $(SAVESYS) - -all-axiomsys: all-interpsys - $(MAKE) $(AXIOMSYS) - -mostlyclean-local: - @rm -f *.fn *.data *.$(FASLEXT) *.lib - -clean-local: mostlyclean-local - @rm -f *.clisp *.lsp - -distclean-local: clean-local - -makeint.lisp: ${OBJS} util.$(FASLEXT) \ - sys-driver.$(FASLEXT) \ - ${OUTINTERP} obey.$(FASLEXT) \ - database.date ${INOBJS} ${ASCOMP} ${ASAUTO} \ - ${TRANOBJS} \ - $(axiom_targetdir)/algebra/exposed.$(FASLEXT) \ - $(axiom_src_docdir)/msgs/s2-us.msgs \ - ../algebra/warm.data - @ echo 5 invoking make in `pwd` with parms: - @rm -f makeint.lisp - $(mkinstalldirs) $(axiom_target_datadir)/msgs - $(INSTALL_DATA) $(axiom_src_docdir)/msgs/s2-us.msgs \ - $(axiom_target_datadir)/msgs - @ echo '(|importModule| "sys-driver")' >> makeint.lisp - @ echo '(|importModule| "vmlisp")' >> makeint.lisp - @ echo '(|importModule| "hash")' >> makeint.lisp - @ echo '#+:GCL (gbc t)' >> makeint.lisp - @ echo '(|importModule| "util")' >> makeint.lisp - @ echo '(in-package "BOOT")' >> makeint.lisp - @ touch ${TIMESTAMP} - @ echo '${YEARWEEK}' >> makeint.lisp - @ echo '(boot::build-interpsys (append (quote ($(interpsys_modules))) (quote ($(AS_modules))) (quote ($(IN_modules)))) (quote ($(patsubst %, "%", ${TRANOBJS}))) (quote ($(patsubst %, "%", ${ASAUTO}))))' >> makeint.lisp - @ echo '(boot::set-restart-hook)' >> makeint.lisp - @ echo '(in-package "BOOT")' >> makeint.lisp - @ echo '(load "../algebra/warm.data")' >> makeint.lisp - @ echo '(boot::|clearClams|)' >> makeint.lisp - @ echo '(load "obey")' >> makeint.lisp - @ echo '#+:akcl (setq compiler::*suppress-compiler-notes* t)' >> makeint.lisp - @ echo '#+:akcl (si::gbc-time 0)' >> makeint.lisp - @ echo '#+:GCL (gbc t)' >> makeint.lisp - -${SAVESYS}: makeint.lisp - $(BOOTSYS) -- --system="$(AXIOM)/" \ - --sysalg="$(axiom_src_datadir)/algebra/" \ - --make --output=$@ --main="BOOT::|restart|" \ - --load-directory=. makeint.lisp - @ echo 6 ${SAVESYS} created - $(mkinstalldirs) $(axiom_target_bindir) -.PHONY: all-axiomsys - -all-axiomsys: ${AXIOMSYS} - -${AXIOMSYS}: makeint.lisp - $(BOOTSYS) -- \ - --system="$(AXIOM)/" \ - --sysalg="$(axiom_targetdir)/algebra/" \ - --make --output=$@ --main="BOOT::|restart|" \ - --load-directory=. makeint.lisp - @ echo 6a ${AXIOMSYS} created -exposed.lsp: $(axiom_src_algdir)/exposed.lsp.pamphlet - @ echo 615 making exposed.lsp from $(axiom_src_algdir)/exposed.lsp.pamphlet - $(axiom_build_document) --tangle --output=$@ $< - -$(axiom_targetdir)/algebra/exposed.$(FASLEXT) : exposed.lsp ${LISPSYS} - @ echo 616 making $@ from exposed.lsp - $(mkinstalldirs) $(axiom_targetdir)/algebra - $(BOOTSYS) --compile --output=$@ --load-directory=. $< - -database.date: - @ echo 617 the database was updated...remaking interpsys - @ touch database.date - - -## Copy FASLs that are autoloaded to the autoload directory. -.PREVIOUS: $(AUTO)/%.$(FASLEXT) - -$(AUTO)/%.$(FASLEXT): %.$(FASLEXT) - $(INSTALL) $< $@ - -%.$(FASLEXT): %.boot - $(BOOTSYS) --compile --output=$@ --load-directory=. $< - -%.$(FASLEXT): %.lisp - $(BOOTSYS) --compile --output=$@ --load-directory=. $< - -## Translation to Fortran -fortcall.$(FASLEXT): sys-macros.$(FASLEXT) - -## HyperDoc -topics.$(FASLEXT): macros.$(FASLEXT) -alql.$(FASLEXT): br-search.$(FASLEXT) -br-search.$(FASLEXT): bc-util.$(FASLEXT) -br-saturn.$(FASLEXT): bc-util.$(FASLEXT) -br-op2.$(FASLEXT): br-op1.$(FASLEXT) -br-op1.$(FASLEXT): bc-util.$(FASLEXT) -br-con.$(FASLEXT): bc-util.$(FASLEXT) -br-prof.$(FASLEXT): bc-util.$(FASLEXT) -br-data.$(FASLEXT): bc-util.$(FASLEXT) -br-util.$(FASLEXT): bc-util.$(FASLEXT) -bc-solve.$(FASLEXT): bc-matrix.$(FASLEXT) -bc-matrix.$(FASLEXT): bc-util.$(FASLEXT) -bc-misc.$(FASLEXT): bc-util.$(FASLEXT) -bc-util.$(FASLEXT): ht-util.$(FASLEXT) -ht-root.$(FASLEXT): ht-util.$(FASLEXT) -htcheck.$(FASLEXT): sys-driver.$(FASLEXT) macros.$(FASLEXT) -ht-util.$(FASLEXT): macros.$(FASLEXT) -htsetvar.$(FASLEXT): macros.$(FASLEXT) -hypertex.$(FASLEXT): types.$(FASLEXT) - -## OpenAxiom's interpreter. -patches.$(FASLEXT): macros.$(FASLEXT) g-timer.$(FASLEXT) sys-driver.$(FASLEXT) -setvars.$(FASLEXT): macros.$(FASLEXT) debug.$(FASLEXT) -profile.$(FASLEXT): macros.$(FASLEXT) -rulesets.$(FASLEXT): vmlisp.$(FASLEXT) -osyscmd.$(FASLEXT): int-top.$(FASLEXT) -int-top.$(FASLEXT): incl.$(FASLEXT) i-toplev.$(FASLEXT) unlisp.$(FASLEXT) -i-toplev.$(FASLEXT): i-analy.$(FASLEXT) -i-syscmd.$(FASLEXT): i-object.$(FASLEXT) -i-output.$(FASLEXT): sys-macros.$(FASLEXT) -i-spec2.$(FASLEXT): i-spec1.$(FASLEXT) -i-spec1.$(FASLEXT): i-analy.$(FASLEXT) -i-funsel.$(FASLEXT): i-coerfn.$(FASLEXT) -i-map.$(FASLEXT): i-object.$(FASLEXT) -i-eval.$(FASLEXT): i-analy.$(FASLEXT) -i-coerfn.$(FASLEXT): i-coerce.$(FASLEXT) -i-coerce.$(FASLEXT): i-analy.$(FASLEXT) i-resolv.$(FASLEXT) -i-resolv.$(FASLEXT): i-object.$(FASLEXT) -i-analy.$(FASLEXT): i-object.$(FASLEXT) -i-intern.$(FASLEXT): i-object.$(FASLEXT) ptrees.$(FASLEXT) -i-code.$(FASLEXT): i-object.$(FASLEXT) -i-object.$(FASLEXT): g-util.$(FASLEXT) -i-util.$(FASLEXT): g-util.$(FASLEXT) -format.$(FASLEXT): macros.$(FASLEXT) -match.$(FASLEXT): sys-macros.$(FASLEXT) -record.$(FASLEXT): nlib.$(FASLEXT) pathname.$(FASLEXT) -setvart.$(FASLEXT): macros.$(FASLEXT) - -## OpenAxiom's compiler -wi2.$(FASLEXT): macros.$(FASLEXT) define.$(FASLEXT) -wi1.$(FASLEXT): macros.$(FASLEXT) -apply.$(FASLEXT): compiler.$(FASLEXT) -compiler.$(FASLEXT): c-util.$(FASLEXT) modemap.$(FASLEXT) \ - pathname.$(FASLEXT) define.$(FASLEXT) iterator.$(FASLEXT) -nrunopt.$(FASLEXT): c-util.$(FASLEXT) -nrunfast.$(FASLEXT): c-util.$(FASLEXT) -nruncomp.$(FASLEXT): c-util.$(FASLEXT) -nrungo.$(FASLEXT): c-util.$(FASLEXT) -nruntime.$(FASLEXT): c-util.$(FASLEXT) -template.$(FASLEXT): c-util.$(FASLEXT) -iterator.$(FASLEXT): g-util.$(FASLEXT) -define.$(FASLEXT): cattable.$(FASLEXT) category.$(FASLEXT) c-util.$(FASLEXT) -package.$(FASLEXT): clam.$(FASLEXT) -database.$(FASLEXT): clam.$(FASLEXT) nlib.$(FASLEXT) \ - cattable.$(FASLEXT) compat.$(FASLEXT) g-cndata.$(FASLEXT) -functor.$(FASLEXT): category.$(FASLEXT) c-util.$(FASLEXT) -category.$(FASLEXT): g-util.$(FASLEXT) -cattable.$(FASLEXT): simpbool.$(FASLEXT) g-util.$(FASLEXT) -compat.$(FASLEXT): pathname.$(FASLEXT) -simpbool.$(FASLEXT): macros.$(FASLEXT) -newfort.$(FASLEXT): macros.$(FASLEXT) -lisplib.$(FASLEXT): nlib.$(FASLEXT) c-util.$(FASLEXT) debug.$(FASLEXT) -interop.$(FASLEXT): interop.boot c-util.$(FASLEXT) -c-doc.$(FASLEXT): c-util.$(FASLEXT) - -## Interface with the Aldor compiler. -ax.$(FASLEXT): as.$(FASLEXT) -as.$(FASLEXT): macros.$(FASLEXT) -server.$(FASLEXT): macros.$(FASLEXT) - -## -## OpenAxiom's front-end consists of two parts: -## (a) the interprerter's parser -- also referred to as new parser -## (b) the compiler parser -- also referred to as parser -## -## The new parser component is always included in a running OpenAxiom -## image. However the old parser component is so called `autoloaded'. -## While in theory that should work, in practice it turns out that -## people tend to override functions in the autoload part, correcting -## bugs only there. The consequence is that the same function will -## bahave very differently based on the history of the seesion. Ideal -## recipe for creating heisenbugs. -## - -## The old parser component roughtly is: -## -spad-parser.$(FASLEXT): parse.$(FASLEXT) -mark.$(FASLEXT): macros.$(FASLEXT) -parse.$(FASLEXT): metalex.$(FASLEXT) postpar.$(FASLEXT) -packtran.$(FASLEXT): sys-macros.$(FASLEXT) -postpar.$(FASLEXT): macros.$(FASLEXT) -bootlex.$(FASLEXT): preparse.$(FASLEXT) def.$(FASLEXT) \ - nlib.$(FASLEXT) sys-globals.$(FASLEXT) -newaux.$(FASLEXT): macros.$(FASLEXT) -def.$(FASLEXT): macros.$(FASLEXT) -comp.$(FASLEXT): macros.$(FASLEXT) -preparse.$(FASLEXT): fnewmeta.$(FASLEXT) -fnewmeta.$(FASLEXT): parsing.$(FASLEXT) -parsing.$(FASLEXT): metalex.$(FASLEXT) -metalex.$(FASLEXT): macros.$(FASLEXT) -nlib.$(FASLEXT): macros.$(FASLEXT) -macros.$(FASLEXT): sys-macros.$(FASLEXT) sys-utility.$(FASLEXT) - -## The new parser component roughtly is: -## astr.boot dq.boot incl.boot pile.boot ptrees.boot -## posit.boot cparse.boot format.boot cstream.boot -## -i-parser.$(FASLEXT): cparse.$(FASLEXT) pf2sex.$(FASLEXT) -pf2sex.$(FASLEXT): ptrees.$(FASLEXT) -cparse.$(FASLEXT): ptrees.$(FASLEXT) -macex.$(FASLEXT): ptrees.$(FASLEXT) -ptrees.$(FASLEXT): posit.$(FASLEXT) serror.$(FASLEXT) -pile.$(FASLEXT): scan.$(FASLEXT) -scan.$(FASLEXT): incl.$(FASLEXT) bits.$(FASLEXT) dq.$(FASLEXT) -incl.$(FASLEXT): cstream.$(FASLEXT) cformat.$(FASLEXT) -cformat.$(FASLEXT): unlisp.$(FASLEXT) posit.$(FASLEXT) -serror.$(FASLEXT): posit.$(FASLEXT) -unlisp.$(FASLEXT): sys-macros.$(FASLEXT) -posit.$(FASLEXT): sys-macros.$(FASLEXT) astr.$(FASLEXT) -intfile.$(FASLEXT): cstream.$(FASLEXT) -cstream.$(FASLEXT): sys-macros.$(FASLEXT) -astr.$(FASLEXT): vmlisp.$(FASLEXT) -bits.$(FASLEXT): boot-pkg.$(FASLEXT) -dq.$(FASLEXT): types.$(FASLEXT) - -## General support and utilities. -cfuns.$(FASLEXT): boot-pkg.$(FASLEXT) -obey.$(FASLEXT): macros.$(FASLEXT) -daase.$(FASLEXT): macros.$(FASLEXT) foam_l.$(FASLEXT) -spaderror.$(FASLEXT): macros.$(FASLEXT) -debug.$(FASLEXT): macros.$(FASLEXT) parsing.$(FASLEXT) -spad.$(FASLEXT): bootlex.$(FASLEXT) postpar.$(FASLEXT) debug.$(FASLEXT) -monitor.$(FASLEXT): macros.$(FASLEXT) -property.$(FASLEXT): sys-macros.$(FASLEXT) -nspadaux.$(FASLEXT): sys-macros.$(FASLEXT) -sfsfun-l.$(FASLEXT): sys-macros.$(FASLEXT) -trace.$(FASLEXT): debug.$(FASLEXT) -termrw.$(FASLEXT): macros.$(FASLEXT) -showimp.$(FASLEXT): macros.$(FASLEXT) -sfsfun.$(FASLEXT): macros.$(FASLEXT) -modemap.$(FASLEXT): c-util.$(FASLEXT) info.$(FASLEXT) -info.$(FASLEXT): g-util.$(FASLEXT) -slam.$(FASLEXT): g-timer.$(FASLEXT) -clammed.$(FASLEXT): g-timer.$(FASLEXT) -clam.$(FASLEXT): g-timer.$(FASLEXT) -g-opt.$(FASLEXT): def.$(FASLEXT) -g-timer.$(FASLEXT): macros.$(FASLEXT) g-util.$(FASLEXT) -msgdb.$(FASLEXT): g-util.$(FASLEXT) -g-boot.$(FASLEXT): def.$(FASLEXT) g-util.$(FASLEXT) -g-error.$(FASLEXT): diagnostics.$(FASLEXT) g-util.$(FASLEXT) -c-util.$(FASLEXT): g-util.$(FASLEXT) -pathname.$(FASLEXT): nlib.$(FASLEXT) -hashcode.$(FASLEXT): g-util.$(FASLEXT) -pspad2.$(FASLEXT): pspad1.$(FASLEXT) -pspad1.$(FASLEXT): macros.$(FASLEXT) -g-util.$(FASLEXT): macros.$(FASLEXT) sys-utility.$(FASLEXT) -g-cndata.$(FASLEXT): sys-macros.$(FASLEXT) -compress.$(FASLEXT): sys-macros.$(FASLEXT) -msg.$(FASLEXT): sys-macros.$(FASLEXT) astr.$(FASLEXT) -util.$(FASLEXT): parsing.$(FASLEXT) -fname.$(FASLEXT): macros.$(FASLEXT) -sys-macros.$(FASLEXT): diagnostics.$(FASLEXT) union.$(FASLEXT) -buildom.$(FASLEXT): buildom.boot sys-macros.$(FASLEXT) -diagnostics.$(FASLEXT): sys-globals.$(FASLEXT) vmlisp.$(FASLEXT) -sys-driver.$(FASLEXT): sys-driver.boot types.$(FASLEXT) -sys-globals.$(FASLEXT): sys-constants.$(FASLEXT) hash.$(FASLEXT) -sys-constants.$(FASLEXT): types.$(FASLEXT) -hash.$(FASLEXT): types.$(FASLEXT) -union.$(FASLEXT): vmlisp.$(FASLEXT) -ggreater.$(FASLEXT): vmlisp.$(FASLEXT) -axext_l.$(FASLEXT): foam_l.$(FASLEXT) -foam_l.$(FASLEXT): vmlisp.$(FASLEXT) -sys-utility.$(FASLEXT): vmlisp.$(FASLEXT) sys-os.$(FASLEXT) -vmlisp.$(FASLEXT): types.$(FASLEXT) sys-globals.$(FASLEXT) -sys-os.$(FASLEXT): types.$(FASLEXT) cfuns.$(FASLEXT) -types.$(FASLEXT): boot-pkg.$(FASLEXT) -boot-pkg.$(FASLEXT): boot-pkg.lisp - -../algebra/warm.data: $(srcdir)/Makefile.pamphlet - @ echo 2 building warm.data - $(axiom_build_document) --tangle=warm.data --output=$@ $< - - -$(axiom_build_texdir)/diagrams.tex: $(axiom_src_docdir)/diagrams.tex - $(INSTALL_DATA) $< $@ - + +subdir = src/interp/ + +IN=$(srcdir) +DOC=$(axiom_target_docdir)/src/interp +BOOK=$(axiom_target_docdir) +AUTO=$(axiom_targetdir)/autoload + +autoload_objects = + +# Build platform-dependent Lisp image, at the base of other +# derived Lisp images (interpsys, AXIOMsys) +LISPSYS= $(axiom_build_bindir)/lisp + +BOOTSYS= $(axiom_target_bindir)/bootsys -- --syslib=$(axiom_target_libdir) + +SAVESYS= interpsys$(EXEEXT) +AXIOMSYS= $(axiom_target_bindir)/AXIOMsys$(EXEEXT) + +OBJS= types.$(FASLEXT) sys-os.$(FASLEXT) \ + vmlisp.$(FASLEXT) hash.$(FASLEXT) \ + diagnostics.$(FASLEXT) sys-driver.$(FASLEXT) \ + sys-utility.$(FASLEXT) macros.$(FASLEXT) \ + unlisp.$(FASLEXT) \ + astr.$(FASLEXT) bits.$(FASLEXT) \ + alql.$(FASLEXT) buildom.$(FASLEXT) \ + cattable.$(FASLEXT) \ + cformat.$(FASLEXT) cfuns.$(FASLEXT) \ + clam.$(FASLEXT) clammed.$(FASLEXT) \ + comp.$(FASLEXT) foam_l.$(FASLEXT) \ + compat.$(FASLEXT) compress.$(FASLEXT) \ + cparse.$(FASLEXT) cstream.$(FASLEXT) \ + database.$(FASLEXT) \ + debug.$(FASLEXT) dq.$(FASLEXT) \ + fname.$(FASLEXT) format.$(FASLEXT) \ + g-boot.$(FASLEXT) g-cndata.$(FASLEXT) \ + g-error.$(FASLEXT) g-opt.$(FASLEXT) \ + g-timer.$(FASLEXT) g-util.$(FASLEXT) \ + ggreater.$(FASLEXT) \ + hypertex.$(FASLEXT) i-analy.$(FASLEXT) \ + i-object.$(FASLEXT) \ + i-code.$(FASLEXT) i-coerce.$(FASLEXT) \ + i-coerfn.$(FASLEXT) i-eval.$(FASLEXT) \ + i-funsel.$(FASLEXT) \ + i-intern.$(FASLEXT) i-map.$(FASLEXT) \ + i-output.$(FASLEXT) i-resolv.$(FASLEXT) \ + i-spec1.$(FASLEXT) \ + i-spec2.$(FASLEXT) i-syscmd.$(FASLEXT) \ + i-toplev.$(FASLEXT) i-util.$(FASLEXT) \ + incl.$(FASLEXT) int-top.$(FASLEXT) \ + intfile.$(FASLEXT) \ + lisplib.$(FASLEXT) macex.$(FASLEXT) \ + match.$(FASLEXT) \ + monitor.$(FASLEXT) msg.$(FASLEXT) \ + msgdb.$(FASLEXT) \ + newaux.$(FASLEXT) newfort.$(FASLEXT) \ + nlib.$(FASLEXT) nrunfast.$(FASLEXT) \ + nrungo.$(FASLEXT) nrunopt.$(FASLEXT) \ + nruntime.$(FASLEXT) osyscmd.$(FASLEXT) \ + packtran.$(FASLEXT) pathname.$(FASLEXT) \ + pf2sex.$(FASLEXT) pile.$(FASLEXT) \ + posit.$(FASLEXT) property.$(FASLEXT) \ + ptrees.$(FASLEXT) spad-parser.$(FASLEXT) \ + record.$(FASLEXT) \ + rulesets.$(FASLEXT) \ + scan.$(FASLEXT) serror.$(FASLEXT) \ + server.$(FASLEXT) \ + setvars.$(FASLEXT) \ + sfsfun-l.$(FASLEXT) sfsfun.$(FASLEXT) \ + simpbool.$(FASLEXT) slam.$(FASLEXT) \ + spad.$(FASLEXT) \ + spaderror.$(FASLEXT) \ + template.$(FASLEXT) termrw.$(FASLEXT) \ + trace.$(FASLEXT) \ + union.$(FASLEXT) daase.$(FASLEXT) \ + fortcall.$(FASLEXT) \ + $(OPOBJS) \ + $(OCOBJS) \ + $(BROBJS) i-parser.$(FASLEXT) + +interpsys_modules = $(patsubst %.$(FASLEXT), "%", $(OBJS)) +INOBJS= setvart.$(FASLEXT)\ + interop.$(FASLEXT) \ + patches.$(FASLEXT) + +IN_modules = $(patsubst %.$(FASLEXT), "%", $(INOBJS)) + +# These are autloaded old parser files +OPOBJS= parsing.$(FASLEXT) bootlex.$(FASLEXT) \ + def.$(FASLEXT) \ + fnewmeta.$(FASLEXT) metalex.$(FASLEXT) \ + parse.$(FASLEXT) postpar.$(FASLEXT) \ + preparse.$(FASLEXT) + +autoload_objects += $(OPBJS) +OCOBJS= apply.$(FASLEXT) c-doc.$(FASLEXT) \ + c-util.$(FASLEXT) profile.$(FASLEXT) \ + category.$(FASLEXT) compiler.$(FASLEXT) \ + define.$(FASLEXT) functor.$(FASLEXT) \ + info.$(FASLEXT) iterator.$(FASLEXT) \ + modemap.$(FASLEXT) nruncomp.$(FASLEXT) \ + package.$(FASLEXT) htcheck.$(FASLEXT) + +autoload_objects += $(OCOBJS) + +BROBJS= bc-matrix.$(FASLEXT) \ + bc-misc.$(FASLEXT) bc-solve.$(FASLEXT) \ + bc-util.$(FASLEXT) \ + ht-util.$(FASLEXT) htsetvar.$(FASLEXT) \ + ht-root.$(FASLEXT) \ + br-con.$(FASLEXT) \ + br-data.$(FASLEXT) showimp.$(FASLEXT) \ + br-op1.$(FASLEXT) br-op2.$(FASLEXT) \ + br-search.$(FASLEXT) br-util.$(FASLEXT) \ + topics.$(FASLEXT) br-prof.$(FASLEXT) \ + br-saturn.$(FASLEXT) + +autoload_objects += $(BFOBJS) + +TRANOBJS= ${AUTO}/wi1.$(FASLEXT) ${AUTO}/wi2.$(FASLEXT) ${AUTO}/pspad1.$(FASLEXT) \ + ${AUTO}/pspad2.$(FASLEXT) ${AUTO}/mark.$(FASLEXT) ${AUTO}/nspadaux.$(FASLEXT) \ + ${AUTO}/def.$(FASLEXT) + +autoload_objects += $(TRANOBJS) + +ASCOMP= hashcode.$(FASLEXT) as.$(FASLEXT) \ + foam_l.$(FASLEXT) axext_l.$(FASLEXT) + +AS_modules = $(patsubst %.$(FASLEXT), "%", $(ASCOMP)) + +ASAUTO= ${AUTO}/ax.$(FASLEXT) + +autoload_objects += $(ASAUTO) +TIMESTAMP=$(axiom_targetdir)/timestamp +YEARWEEK=(progn (defconstant boot::timestamp "${TIMESTAMP}") \ + (setq boot::*build-version* "$(PACKAGE_STRING)") \ + (boot::yearweek)) + + +.PRECIOUS: ${SAVESYS} +.PRECIOUS: ${AXIOMSYS} + +UNUSED= ${DOC}/construc.lisp.dvi \ + ${DOC}/domain.lisp.dvi ${DOC}/guess.boot.dvi \ + ${DOC}/interp-fix.boot.dvi \ + ${DOC}/nhyper.boot.dvi ${DOC}/pf2atree.boot.dvi \ + ${DOC}/redefs.boot.dvi ${DOC}/word.boot.dvi + + +.SUFFIXES: +.SUFFIXES: .boot .clisp .lisp .pamphlet + +.PHONY: all all-ax all-interpsys all-axiomsys + +all: all-ax + +all-ax: stamp + @echo finished $(srcdir) + +stamp: $(AUTO) remove-stamp build-images + $(STAMP) stamp + +.PHONY: remove-stamp +remove-stamp: + -rm -f stamp + +.PHONY: build-images +build-images: remove-stamp all-interpsys + +all-interpsys: + $(mkinstalldirs) $(AUTO) + $(MAKE) $(SAVESYS) + +all-axiomsys: all-interpsys + $(MAKE) $(AXIOMSYS) + +mostlyclean-local: + @rm -f *.fn *.data *.$(FASLEXT) *.lib + +clean-local: mostlyclean-local + @rm -f *.clisp *.lsp + +distclean-local: clean-local + +makeint.lisp: ${OBJS} util.$(FASLEXT) \ + sys-driver.$(FASLEXT) \ + ${OUTINTERP} obey.$(FASLEXT) \ + database.date ${INOBJS} ${ASCOMP} ${ASAUTO} \ + ${TRANOBJS} \ + $(axiom_targetdir)/algebra/exposed.$(FASLEXT) \ + $(axiom_src_docdir)/msgs/s2-us.msgs \ + ../algebra/warm.data + @ echo 5 invoking make in `pwd` with parms: + @rm -f makeint.lisp + $(mkinstalldirs) $(axiom_target_datadir)/msgs + $(INSTALL_DATA) $(axiom_src_docdir)/msgs/s2-us.msgs \ + $(axiom_target_datadir)/msgs + @ echo '(|importModule| "sys-driver")' >> makeint.lisp + @ echo '(|importModule| "vmlisp")' >> makeint.lisp + @ echo '(|importModule| "hash")' >> makeint.lisp + @ echo '#+:GCL (gbc t)' >> makeint.lisp + @ echo '(|importModule| "util")' >> makeint.lisp + @ echo '(in-package "BOOT")' >> makeint.lisp + @ touch ${TIMESTAMP} + @ echo '${YEARWEEK}' >> makeint.lisp + @ echo '(boot::build-interpsys (append (quote ($(interpsys_modules))) (quote ($(AS_modules))) (quote ($(IN_modules)))) (quote ($(patsubst %, "%", ${TRANOBJS}))) (quote ($(patsubst %, "%", ${ASAUTO}))))' >> makeint.lisp + @ echo '(boot::set-restart-hook)' >> makeint.lisp + @ echo '(in-package "BOOT")' >> makeint.lisp + @ echo '(load "../algebra/warm.data")' >> makeint.lisp + @ echo '(boot::|clearClams|)' >> makeint.lisp + @ echo '(load "obey")' >> makeint.lisp + @ echo '#+:akcl (setq compiler::*suppress-compiler-notes* t)' >> makeint.lisp + @ echo '#+:akcl (si::gbc-time 0)' >> makeint.lisp + @ echo '#+:GCL (gbc t)' >> makeint.lisp + +${SAVESYS}: makeint.lisp + $(BOOTSYS) -- --system="$(AXIOM)/" \ + --sysalg="$(axiom_src_datadir)/algebra/" \ + --make --output=$@ --main="BOOT::|restart|" \ + --load-directory=. makeint.lisp + @ echo 6 ${SAVESYS} created + $(mkinstalldirs) $(axiom_target_bindir) +.PHONY: all-axiomsys + +all-axiomsys: ${AXIOMSYS} + +${AXIOMSYS}: makeint.lisp + $(BOOTSYS) -- \ + --system="$(AXIOM)/" \ + --sysalg="$(axiom_targetdir)/algebra/" \ + --make --output=$@ --main="BOOT::|restart|" \ + --load-directory=. makeint.lisp + @ echo 6a ${AXIOMSYS} created +exposed.lsp: $(axiom_src_algdir)/exposed.lsp.pamphlet + @ echo 615 making exposed.lsp from $(axiom_src_algdir)/exposed.lsp.pamphlet + $(axiom_build_document) --tangle --output=$@ $< + +$(axiom_targetdir)/algebra/exposed.$(FASLEXT) : exposed.lsp ${LISPSYS} + @ echo 616 making $@ from exposed.lsp + $(mkinstalldirs) $(axiom_targetdir)/algebra + $(BOOTSYS) --compile --output=$@ --load-directory=. $< + +database.date: + @ echo 617 the database was updated...remaking interpsys + @ touch database.date + + +## Copy FASLs that are autoloaded to the autoload directory. +.PREVIOUS: $(AUTO)/%.$(FASLEXT) + +$(AUTO)/%.$(FASLEXT): %.$(FASLEXT) + $(INSTALL) $< $@ + +%.$(FASLEXT): %.boot + $(BOOTSYS) --compile --output=$@ --load-directory=. $< + +%.$(FASLEXT): %.lisp + $(BOOTSYS) --compile --output=$@ --load-directory=. $< + +## Translation to Fortran +fortcall.$(FASLEXT): sys-macros.$(FASLEXT) + +## HyperDoc +topics.$(FASLEXT): macros.$(FASLEXT) +alql.$(FASLEXT): br-search.$(FASLEXT) +br-search.$(FASLEXT): bc-util.$(FASLEXT) +br-saturn.$(FASLEXT): bc-util.$(FASLEXT) +br-op2.$(FASLEXT): br-op1.$(FASLEXT) +br-op1.$(FASLEXT): bc-util.$(FASLEXT) +br-con.$(FASLEXT): bc-util.$(FASLEXT) +br-prof.$(FASLEXT): bc-util.$(FASLEXT) +br-data.$(FASLEXT): bc-util.$(FASLEXT) +br-util.$(FASLEXT): bc-util.$(FASLEXT) +bc-solve.$(FASLEXT): bc-matrix.$(FASLEXT) +bc-matrix.$(FASLEXT): bc-util.$(FASLEXT) +bc-misc.$(FASLEXT): bc-util.$(FASLEXT) +bc-util.$(FASLEXT): ht-util.$(FASLEXT) +ht-root.$(FASLEXT): ht-util.$(FASLEXT) +htcheck.$(FASLEXT): sys-driver.$(FASLEXT) macros.$(FASLEXT) +ht-util.$(FASLEXT): macros.$(FASLEXT) +htsetvar.$(FASLEXT): macros.$(FASLEXT) +hypertex.$(FASLEXT): types.$(FASLEXT) + +## OpenAxiom's interpreter. +patches.$(FASLEXT): macros.$(FASLEXT) g-timer.$(FASLEXT) sys-driver.$(FASLEXT) +setvars.$(FASLEXT): macros.$(FASLEXT) debug.$(FASLEXT) +profile.$(FASLEXT): macros.$(FASLEXT) +rulesets.$(FASLEXT): vmlisp.$(FASLEXT) +osyscmd.$(FASLEXT): int-top.$(FASLEXT) +int-top.$(FASLEXT): incl.$(FASLEXT) i-toplev.$(FASLEXT) unlisp.$(FASLEXT) +i-toplev.$(FASLEXT): i-analy.$(FASLEXT) +i-syscmd.$(FASLEXT): i-object.$(FASLEXT) +i-output.$(FASLEXT): sys-macros.$(FASLEXT) +i-spec2.$(FASLEXT): i-spec1.$(FASLEXT) +i-spec1.$(FASLEXT): i-analy.$(FASLEXT) +i-funsel.$(FASLEXT): i-coerfn.$(FASLEXT) +i-map.$(FASLEXT): i-object.$(FASLEXT) +i-eval.$(FASLEXT): i-analy.$(FASLEXT) +i-coerfn.$(FASLEXT): i-coerce.$(FASLEXT) +i-coerce.$(FASLEXT): i-analy.$(FASLEXT) i-resolv.$(FASLEXT) +i-resolv.$(FASLEXT): i-object.$(FASLEXT) +i-analy.$(FASLEXT): i-object.$(FASLEXT) +i-intern.$(FASLEXT): i-object.$(FASLEXT) ptrees.$(FASLEXT) +i-code.$(FASLEXT): i-object.$(FASLEXT) +i-object.$(FASLEXT): g-util.$(FASLEXT) +i-util.$(FASLEXT): g-util.$(FASLEXT) +format.$(FASLEXT): macros.$(FASLEXT) +match.$(FASLEXT): sys-macros.$(FASLEXT) +record.$(FASLEXT): nlib.$(FASLEXT) pathname.$(FASLEXT) +setvart.$(FASLEXT): macros.$(FASLEXT) + +## OpenAxiom's compiler +wi2.$(FASLEXT): macros.$(FASLEXT) define.$(FASLEXT) +wi1.$(FASLEXT): macros.$(FASLEXT) +apply.$(FASLEXT): compiler.$(FASLEXT) +compiler.$(FASLEXT): c-util.$(FASLEXT) modemap.$(FASLEXT) \ + pathname.$(FASLEXT) define.$(FASLEXT) iterator.$(FASLEXT) +nrunopt.$(FASLEXT): c-util.$(FASLEXT) +nrunfast.$(FASLEXT): c-util.$(FASLEXT) +nruncomp.$(FASLEXT): c-util.$(FASLEXT) +nrungo.$(FASLEXT): c-util.$(FASLEXT) +nruntime.$(FASLEXT): c-util.$(FASLEXT) +template.$(FASLEXT): c-util.$(FASLEXT) +iterator.$(FASLEXT): g-util.$(FASLEXT) +define.$(FASLEXT): cattable.$(FASLEXT) category.$(FASLEXT) c-util.$(FASLEXT) +package.$(FASLEXT): clam.$(FASLEXT) +database.$(FASLEXT): clam.$(FASLEXT) nlib.$(FASLEXT) \ + cattable.$(FASLEXT) compat.$(FASLEXT) g-cndata.$(FASLEXT) +functor.$(FASLEXT): category.$(FASLEXT) c-util.$(FASLEXT) +category.$(FASLEXT): g-util.$(FASLEXT) +cattable.$(FASLEXT): simpbool.$(FASLEXT) g-util.$(FASLEXT) +compat.$(FASLEXT): pathname.$(FASLEXT) +simpbool.$(FASLEXT): macros.$(FASLEXT) +newfort.$(FASLEXT): macros.$(FASLEXT) +lisplib.$(FASLEXT): nlib.$(FASLEXT) c-util.$(FASLEXT) debug.$(FASLEXT) +interop.$(FASLEXT): interop.boot c-util.$(FASLEXT) +c-doc.$(FASLEXT): c-util.$(FASLEXT) + +## Interface with the Aldor compiler. +ax.$(FASLEXT): as.$(FASLEXT) +as.$(FASLEXT): macros.$(FASLEXT) +server.$(FASLEXT): macros.$(FASLEXT) + +## +## OpenAxiom's front-end consists of two parts: +## (a) the interprerter's parser -- also referred to as new parser +## (b) the compiler parser -- also referred to as parser +## +## The new parser component is always included in a running OpenAxiom +## image. However the old parser component is so called `autoloaded'. +## While in theory that should work, in practice it turns out that +## people tend to override functions in the autoload part, correcting +## bugs only there. The consequence is that the same function will +## bahave very differently based on the history of the seesion. Ideal +## recipe for creating heisenbugs. +## + +## The old parser component roughtly is: +## +spad-parser.$(FASLEXT): parse.$(FASLEXT) +mark.$(FASLEXT): macros.$(FASLEXT) +parse.$(FASLEXT): metalex.$(FASLEXT) postpar.$(FASLEXT) +packtran.$(FASLEXT): sys-macros.$(FASLEXT) +postpar.$(FASLEXT): macros.$(FASLEXT) +bootlex.$(FASLEXT): preparse.$(FASLEXT) def.$(FASLEXT) \ + nlib.$(FASLEXT) sys-globals.$(FASLEXT) +newaux.$(FASLEXT): macros.$(FASLEXT) +def.$(FASLEXT): macros.$(FASLEXT) +comp.$(FASLEXT): macros.$(FASLEXT) +preparse.$(FASLEXT): fnewmeta.$(FASLEXT) +fnewmeta.$(FASLEXT): parsing.$(FASLEXT) +parsing.$(FASLEXT): metalex.$(FASLEXT) +metalex.$(FASLEXT): macros.$(FASLEXT) +nlib.$(FASLEXT): macros.$(FASLEXT) +macros.$(FASLEXT): sys-macros.$(FASLEXT) sys-utility.$(FASLEXT) + +## The new parser component roughtly is: +## astr.boot dq.boot incl.boot pile.boot ptrees.boot +## posit.boot cparse.boot format.boot cstream.boot +## +i-parser.$(FASLEXT): cparse.$(FASLEXT) pf2sex.$(FASLEXT) +pf2sex.$(FASLEXT): ptrees.$(FASLEXT) +cparse.$(FASLEXT): ptrees.$(FASLEXT) +macex.$(FASLEXT): ptrees.$(FASLEXT) +ptrees.$(FASLEXT): posit.$(FASLEXT) serror.$(FASLEXT) +pile.$(FASLEXT): scan.$(FASLEXT) +scan.$(FASLEXT): incl.$(FASLEXT) bits.$(FASLEXT) dq.$(FASLEXT) +incl.$(FASLEXT): cstream.$(FASLEXT) cformat.$(FASLEXT) +cformat.$(FASLEXT): unlisp.$(FASLEXT) posit.$(FASLEXT) +serror.$(FASLEXT): posit.$(FASLEXT) +unlisp.$(FASLEXT): sys-macros.$(FASLEXT) +posit.$(FASLEXT): sys-macros.$(FASLEXT) astr.$(FASLEXT) +intfile.$(FASLEXT): cstream.$(FASLEXT) +cstream.$(FASLEXT): sys-macros.$(FASLEXT) +astr.$(FASLEXT): vmlisp.$(FASLEXT) +bits.$(FASLEXT): boot-pkg.$(FASLEXT) +dq.$(FASLEXT): types.$(FASLEXT) + +## General support and utilities. +cfuns.$(FASLEXT): boot-pkg.$(FASLEXT) +obey.$(FASLEXT): macros.$(FASLEXT) +daase.$(FASLEXT): macros.$(FASLEXT) foam_l.$(FASLEXT) +spaderror.$(FASLEXT): macros.$(FASLEXT) +debug.$(FASLEXT): macros.$(FASLEXT) parsing.$(FASLEXT) +spad.$(FASLEXT): bootlex.$(FASLEXT) postpar.$(FASLEXT) debug.$(FASLEXT) +monitor.$(FASLEXT): macros.$(FASLEXT) +property.$(FASLEXT): sys-macros.$(FASLEXT) +nspadaux.$(FASLEXT): sys-macros.$(FASLEXT) +sfsfun-l.$(FASLEXT): sys-macros.$(FASLEXT) +trace.$(FASLEXT): debug.$(FASLEXT) +termrw.$(FASLEXT): macros.$(FASLEXT) +showimp.$(FASLEXT): macros.$(FASLEXT) +sfsfun.$(FASLEXT): macros.$(FASLEXT) +modemap.$(FASLEXT): c-util.$(FASLEXT) info.$(FASLEXT) +info.$(FASLEXT): g-util.$(FASLEXT) +slam.$(FASLEXT): g-timer.$(FASLEXT) +clammed.$(FASLEXT): g-timer.$(FASLEXT) +clam.$(FASLEXT): g-timer.$(FASLEXT) +g-opt.$(FASLEXT): def.$(FASLEXT) +g-timer.$(FASLEXT): macros.$(FASLEXT) g-util.$(FASLEXT) +msgdb.$(FASLEXT): g-util.$(FASLEXT) +g-boot.$(FASLEXT): def.$(FASLEXT) g-util.$(FASLEXT) +g-error.$(FASLEXT): diagnostics.$(FASLEXT) g-util.$(FASLEXT) +c-util.$(FASLEXT): g-util.$(FASLEXT) +pathname.$(FASLEXT): nlib.$(FASLEXT) +hashcode.$(FASLEXT): g-util.$(FASLEXT) +pspad2.$(FASLEXT): pspad1.$(FASLEXT) +pspad1.$(FASLEXT): macros.$(FASLEXT) +g-util.$(FASLEXT): macros.$(FASLEXT) sys-utility.$(FASLEXT) +g-cndata.$(FASLEXT): sys-macros.$(FASLEXT) +compress.$(FASLEXT): sys-macros.$(FASLEXT) +msg.$(FASLEXT): sys-macros.$(FASLEXT) astr.$(FASLEXT) +util.$(FASLEXT): parsing.$(FASLEXT) +fname.$(FASLEXT): macros.$(FASLEXT) +sys-macros.$(FASLEXT): diagnostics.$(FASLEXT) union.$(FASLEXT) +buildom.$(FASLEXT): buildom.boot sys-macros.$(FASLEXT) +diagnostics.$(FASLEXT): sys-globals.$(FASLEXT) vmlisp.$(FASLEXT) +sys-driver.$(FASLEXT): sys-driver.boot types.$(FASLEXT) +sys-globals.$(FASLEXT): sys-constants.$(FASLEXT) hash.$(FASLEXT) +sys-constants.$(FASLEXT): types.$(FASLEXT) +hash.$(FASLEXT): types.$(FASLEXT) +union.$(FASLEXT): vmlisp.$(FASLEXT) +ggreater.$(FASLEXT): vmlisp.$(FASLEXT) +axext_l.$(FASLEXT): foam_l.$(FASLEXT) +foam_l.$(FASLEXT): vmlisp.$(FASLEXT) +sys-utility.$(FASLEXT): vmlisp.$(FASLEXT) sys-os.$(FASLEXT) +vmlisp.$(FASLEXT): types.$(FASLEXT) sys-globals.$(FASLEXT) +sys-os.$(FASLEXT): types.$(FASLEXT) cfuns.$(FASLEXT) +types.$(FASLEXT): boot-pkg.$(FASLEXT) +boot-pkg.$(FASLEXT): boot-pkg.lisp + +../algebra/warm.data: $(srcdir)/Makefile.pamphlet + @ echo 2 building warm.data + $(axiom_build_document) --tangle=warm.data --output=$@ $< + + +$(axiom_build_texdir)/diagrams.tex: $(axiom_src_docdir)/diagrams.tex + $(INSTALL_DATA) $< $@ + -- cgit v1.2.3