|
|
1.1 root 1: # Makefile for liszt v4.0
2:
3:
4:
5: # Copyright (c) 1980 , The Regents of the University of California.
6: # All rights reserved.
7: # author: j. foderaro
8:
9: # files required:
10: # caspecs - special declarations for whole file (included in all)
11: # camacs - macros used by whole file
12: # car.l - source file: startup code
13: # cadr.l - actual compilation code
14: #
15: # other files:
16: # uctolc.c - converts uppercase to lower case in first field of
17: # tags file.
18: # ltags - awk script for finding function defs
19: #
20: # /usr/lib/lisp/machacks.l - maclisp compatibility functions
21: #
22: MCROS = camacs.l
23:
24: MOBJ = camacs.o
25:
26: FILES = car.l cadr.l cddr.l
27:
28:
29: OBJS = car.o cadr.o cddr.o
30:
31:
32: LLIB = $(DESTDIR)/usr/lib/lisp/
33: LSRC = /usr/src/cmd/lisp
34:
35: LFILES = ${LLIB}machacks.l
36:
37: LOBJS = ${LLIB}machacks.o
38:
39: .SUFFIXES: .l
40: .l.o:
41: liszt $* > $*.blat
42:
43:
44: nliszt : ${MOBJ} ${OBJS} ${LOBJS} ${LLIB}/tackon
45: echo "(progn (fasl 'car 'map)(sstatus appendmap t)\
46: (fasl 'cadr 'map)\
47: (fasl 'cddr 'map)\
48: (dumplisp nliszt))" | lisp
49: $(LLIB)/tackon map nliszt
50: @echo nliszt done
51:
52:
53: lxref: lxref.o ${LLIB}jkfmacs.o
54: echo "(progn (fasl 'lxref) (dumplisp lxref))" | lisp
55:
56: tags: /dev/tty uctolc
57: awk -f ltags ${MCROS} ${FILES} | uctolc | sort > tags
58:
59:
60: install: nliszt lxref
61: mv nliszt $(DESTDIR)/usr/ucb/liszt
62: mv lxref $(DESTDIR)/usr/ucb
63: chmod 1755 $(DESTDIR)/usr/ucb/liszt
64: @echo liszt installed
65:
66: ${LLIB}machacks.o : ${LLIB}machacks.l
67: liszt -m ${LLIB}machacks > ${LLIB}machacks.blat
68:
69: uctolc: uctolc.c
70: cc -O uctolc.c -o uctolc
71:
72: clean:
73: rm -f *.o *.blat map tags uctolc
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.