|
|
1.1 ! root 1: #$Header: /na/franz/liszt/vax/RCS/Makefile,v 1.6 83/08/15 19:27:49 layer Exp $ ! 2: # ! 3: # Makefile for liszt ! 4: # ! 5: # Copyright (c) 1980, 1982, The Regents of the University of California. ! 6: # the Copyright applies to all files referenced in this Makefile. ! 7: # All rights reserved. ! 8: # author: j. foderaro ! 9: # ! 10: # this makefile creates these things: ! 11: # nliszt - the lisp compiler. We call it nliszt so we can test it out ! 12: # without having to say ./liszt ! 13: # tags - a tags file for use by ex/vi ! 14: # ! 15: # CTE refers to compile time enviroment ! 16: # ! 17: #--- Default Paths and programs ! 18: # ! 19: .DEFAULT:nliszt ! 20: ! 21: CopyTo = /dev/null ! 22: ObjDir = /usr/ucb ! 23: Liszt = ${ObjDir}/liszt ! 24: Lisp = ${ObjDir}/lisp ! 25: ! 26: Flg = -xqa ! 27: ! 28: CTESrc = ../chead.l ../cmacros.l ../const.l ! 29: ! 30: CTEObj= cmacros.o ! 31: ! 32: Src = ../array.l ../datab.l ../decl.l ../expr.l ../fixnum.l ../funa.l \ ! 33: ../funb.l ../func.l ../io.l ../tlev.l ../util.l ../lversion.l \ ! 34: ../vector.l ../instr.l ! 35: ! 36: SharedSrc = ${CTESrc} ${Src} ../ChangeLog ../cmake.l ! 37: ! 38: AllSrc = Makefile lisprc.l lisztrc.l ! 39: ! 40: Obj = array.o datab.o decl.o expr.o fixnum.o funa.o funb.o func.o io.o \ ! 41: tlev.o util.o lversion.o vector.o instr.o ! 42: ! 43: AllObj = ${CTEObj} ${Obj} ! 44: ! 45: donliszt: ! 46: rm -f nliszt ! 47: make Liszt=${Liszt} Lisp=${Lisp} nliszt ! 48: ! 49: nliszt: ${CTEObj} ${Obj} ${Lisp} ! 50: echo "(load '../cmake.l)(genl nliszt)" | ${Lisp} ! 51: ! 52: #--- generate an interpreted version ! 53: snliszt: ${Src} ${Lisp} ! 54: echo "(load '../cmake.l)(genl snliszt slow)" | ${Lisp} ! 55: ! 56: array.o: ../array.l ! 57: ${Liszt} ${Flg} ../array.l -o array.o ! 58: ! 59: vector.o: ../vector.l ! 60: ${Liszt} ${Flg} ../vector.l -o vector.o ! 61: ! 62: instr.o: ../instr.l ! 63: ${Liszt} ${Flg} ../instr.l -o instr.o ! 64: ! 65: datab.o: ../datab.l ! 66: ${Liszt} ${Flg} ../datab.l -o datab.o ! 67: ! 68: decl.o: ../decl.l ! 69: ${Liszt} ${Flg} ../decl.l -o decl.o ! 70: ! 71: expr.o: ../expr.l ! 72: ${Liszt} ${Flg} ../expr.l -o expr.o ! 73: ! 74: fixnum.o: ../fixnum.l ! 75: ${Liszt} ${Flg} ../fixnum.l -o fixnum.o ! 76: ! 77: funa.o: ../funa.l ! 78: ${Liszt} ${Flg} ../funa.l -o funa.o ! 79: ! 80: funb.o: ../funb.l ! 81: ${Liszt} ${Flg} ../funb.l -o funb.o ! 82: ! 83: func.o: ../func.l ! 84: ${Liszt} ${Flg} ../func.l -o func.o ! 85: ! 86: io.o: ../io.l ! 87: ${Liszt} ${Flg} ../io.l -o io.o ! 88: ! 89: tlev.o: ../tlev.l ! 90: ${Liszt} ${Flg} ../tlev.l -o tlev.o ! 91: ! 92: util.o: ../util.l ! 93: ${Liszt} ${Flg} ../util.l -o util.o ! 94: ! 95: lversion.o: ../lversion.l ! 96: ${Liszt} ${Flg} ../lversion.l -o lversion.o ! 97: ! 98: cmacros.o: ../cmacros.l ! 99: ${Liszt} ${Flg} ../cmacros.l -o cmacros.o ! 100: ! 101: tags: ../tags ${Src} ${CTESrc} ! 102: awk -f ../ltags ${Src} ${CTESrc} | sort > ../tags ! 103: ! 104: # ! 105: install: nliszt ! 106: -rm -f ${ObjDir}/liszt ! 107: mv nliszt ${ObjDir}/liszt ! 108: ! 109: copysource: ${AllSrc} ! 110: (tar cf - ${AllSrc} | (cd ${CopyTo} ; tar xf -)) ! 111: ! 112: copyobjects: ${AllObj} ! 113: (tar cf - ${AllObj} | (cd ${CopyTo} ; tar xf -)) ! 114: ! 115: scriptcatall: ${AllSrc} ! 116: @../../scriptcat . liszt/vax ${AllSrc} ! 117: ! 118: cleanobj: ! 119: rm -f \#* *.[xo] map ! 120: ! 121: clean: ! 122: make cleanobj ! 123: rm -f nliszt snliszt
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.