mactex.lisp: correct placement of unary MPLUS (occurring in unsimplified expressions).
[maxima.git] / share / affine / makefile
blob4eb4a47181e57f9c32c259cf304a8f32d5ed08d5
1 .SUFFIXES: .o .c .lisp
2 PUBLIC=/home/wfs
3 MAXIMA=maxima
5 SRC = ${PUBLIC}/maxima/src
6 SRC = /usr/local/src/local/maxima-5.2/src
7 SAVEDKCLDIR =/usr/local/src/local/gcl-2.2/unixport
8 MAXDIR=/usr/local/src/local/maxima-5.2
10 OBJS= amacros.o dummy-gc.o polybas.o sparsemat.o \
11 aquotient.o new-rat.o polya.o \
12 polyb.o \
13 polysmp.o sub-proj.o polyc.o polyd.o sheafa.o sheafb.o sheafc.o \
14 dim-3.o ndotsimp.o modsimp.o
16 .PRECIOUS: ${OBJS}
19 # echo `#` > mcom
20 # echo "$(MAXDIR)/src/saved_max_compile $(MAXDIR)/src/" >> mcom
21 all:
22 # chmod a+x mcom
23 make objs
24 # echo '(load "sysdef.lisp")' \
25 # '(make::make :affine)(si::save-system "saved_affine")' | ${MAXIMA}
27 $(OBJS):
28 @date
29 echo 'to_lisp(); (load "sysdef.lisp")' \
30 '(load "${MAXDIR}/src/SYS-PROCLAIM.lisp")(load "sys-proclaim.lisp")' \
31 '(load "${MAXDIR}/src/optimize")' \
32 '(proclaim '\''(optimize (safety 0) (speed 2) (space 2)))' \
33 '(make:make :affine :compile t)' | ${MAXIMA}
35 saved_affine: $(OBJS)
36 if [ -f init.lsp ] ; then mv init.lsp xinit.lsp ; fi
37 echo 'to_lisp();(load "sysdef.lisp")(make:make :affine )' \
38 '(setq $$file_search ' "\"$(MAXDIR)/src/foo.o\")" \
39 '#+sgc(si::sgc-on nil)(gbc nil)(in-package :maxima)(load "dim4-help.lisp")($$batchload "macbasic.mac")(gbc nil) #+sgc #+no(si::sgc-on t)(si::save-system "saved_affine")' | ${MAXIMA}
40 if [ -f xinit.lsp ] ;then mv xinit.lsp init.lsp ; fi
43 objs: $(OBJS)
45 make.o :
46 $(SAVEDKCLDIR)/saved_kcl $(SAVEDKCLDIR) $*.lisp $* S1000
48 recompile:
49 make clean
50 make
53 clean:
54 rm -f $(OBJS)
56 tags:
57 echo "etags $(OBJS)" | sed -e s:\\\.o:\\\.lisp:g | sh
59 OTHERS=macbasic.mac dim4-help.lisp makefile sysdef.lisp make.lisp README sys-proclaim.lisp
63 compressed:
64 tar cvf - `echo $(OBJS) | sed -e s:\\\.o:\\\.lisp:g` $(OTHERS) | gzip -c > ../affine.tgz
66 test:
67 make compressed
68 rm -fr ../tmp/affine
69 mkdir ../tmp/affine
70 (cd ../tmp/affine ; uncompress -c ../../affine.tar.Z | tar xf - ; make)
73 .lisp.o::
74 @date
75 echo '(load "sysdef.lisp")' \
76 '(proclaim '\''(optimize (safety 0) (speed 2) (space 2)))' \
77 '(make:make :affine :compile t)' | ${MAXIMA}
79 sys-proclaim.lisp:
80 echo "(load \"${SAVEDKCLDIR}/../cmpnew/collectfn.o\")" \
81 "(load \"${MAXDIR}/src/SYS-PROCLAIM.lisp\")" \
82 "(load \"${SAVEDKCLDIR}/../lsp/sys-proclaim.lisp\")" \
83 '(in-package "COMPILER")(make-all-proclaims "*.fn")' | ${MAXIMA}