Annotation of 3BSD/cmd/lisp/Makefile, revision 1.1.1.1

1.1       root        1: #
                      2: # Evans Vax 11/780
                      3: #
                      4: GLOB = global.h sigtab.h
                      5: CFLAGS = -O #  -p # -g
                      6: D = /tmp
                      7: T = $(DESTDIR)
                      8: LLIB = /usr/lib/lisp
                      9: OBJS = crt0.o lisp.o eval.o eval2.o Talloc.o inits.o io.o error.o sysat.o data.o\
                     10:        lam1.o lam2.o lam3.o lam4.o lam5.o lam6.o lam7.o lam8.o lamr.o\
                     11:        fex1.o fex2.o fex3.o fex4.o fexr.o\
                     12:        reset.o fpipe.o dmlad.o dsneg.o dodiv.o adbig.o \
                     13:        subbig.o pbignum.o divbig.o inewint.o rfasl.o ffasl.o fasl.o vsyscall.o\
                     14:        qfuncl.o bind.o vfork.o
                     15: 
                     16: .SUFFIXES : .c.l
                     17: .c.o :
                     18:        @echo cc -c $*.c;\
                     19:        /lib/cpp $< $D/$*.C;\
                     20:        /lib/ccom $D/$*.C | fixmask  > $D/$*.S;\
                     21:        sed -f fixpbig.e $D/$*.S > $D/$*.R;\
                     22:        /lib/c2 $D/$*.R > $D/$*.T;\
                     23:        as -o $*.o $D/$*.T;\
                     24:        rm $D/$*.[CRST]
                     25: .l.o :
                     26:        liszt $< > #resc
                     27:        @echo liszt $< done
                     28: 
                     29: all: tlisp $(LLIB) $(LLIB)/nld $(LLIB)/auxfns0.o $(LLIB)/auxfns1.o 
                     30: 
                     31: tlisp: fixmask ${OBJS}
                     32:        rm -f tlisp
                     33:        ld -X -o tlisp -e start ${OBJS} -lm -lc 
                     34:        ls -l tlisp
                     35: 
                     36: fixmask: fixmask.c
                     37:        cc -O -o fixmask fixmask.c
                     38: 
                     39: # ${OBJS}: ${GLOB}
                     40: data.o: sigtab.h
                     41: 
                     42: clean:
                     43:        rm -f *.o
                     44: 
                     45: print:
                     46:        @pr *akefile*
                     47:        @-(size lisp ; size *.o) | pr -h sizes
                     48:        @ls -ls | pr
                     49:        @pr *.h *.c *.s
                     50: 
                     51: lint:
                     52:        lint *.h *.c
                     53: 
                     54: install: $(LLIB)/auxfns0.o $(LLIB)/auxfns1.o
                     55:        -rm ${DESTDIR}/$(LLIB)/rlisp
                     56:        -ln tlisp ${DESTDIR}/$(LLIB)/rlisp
                     57:        -rm -f ${DESTDIR}/usr/ucb/lisp
                     58:        -echo "(fasl '\"$(LLIB)/auxfns0.o\")(fasl '\"$(LLIB)/auxfns1.o\")\
                     59:        (load 'lisprcfun)(dumplisp ${DESTDIR}/usr/ucb/lisp)" | tlisp
                     60:        @echo lisp installed
                     61: 
                     62: novminstall: $(LLIB)/auxfns0.fasl $(LLIB)/auxfns1.fasl
                     63:        -rm ${DESTDIR}/$(LLIB)/rlisp
                     64:        -ln tlisp ${DESTDIR}/$(LLIB)/rlisp
                     65:        -rm -f ${DESTDIR}/usr/ucb/lisp
                     66:        -echo "(fasl '\"$(LLIB)/auxfns0.o\")(fasl '\"$(LLIB)/auxfns1.o\")\
                     67:        (load 'lisprcfun)(sstatus dumpmode 410)\
                     68:        (dumplisp \"${DESTDIR}/usr/ucb/lisp.novm\")" | tlisp
                     69:        @echo lisp installed
                     70: 
                     71: nlisp: tlisp auxfns0.o
                     72:        -rm -f nlisp
                     73:        echo "(fasl '\"auxfns0.o\")(dumplisp nlisp)"|tlisp
                     74:        echo nlisp done
                     75: 
                     76: $(LLIB):
                     77:        -if mkdir $(LLIB); then cp lib/* $(LLIB); fi
                     78: 
                     79: $(LLIB)/nld: nld.c
                     80:        cc -O -o ${DESTDIR}/usr/lib/lisp/nld nld.c
                     81: 

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.