|
|
1.1 root 1: # Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1984.
2: # $Header: Makefile.gen,v 1.3 85/08/27 18:18:37 timo Exp $
3:
4: # Filled in by Setup:
5: # which B interpreter?
6: BINT=bint
7: CFLAGS= -O -DNDEBUG -DBSD4_2 -DCWI
8: LDFLAGS=
9: # what termcap-like routines; either standard:
10: TERMLIB= -ltermcap
11: # or our own:
12: OWNTLIB=
13:
14: CC = cc
15:
16: DEST = ../../lib
17:
18: # boot.h omitted from following, because it is created automatically.
19: HDRS = b.h b1mem.h bobj.h cell.h erro.h eval.h \
20: feat.h file.h gram.h keys.h node.h queu.h supr.h syms.h \
21: tabl.h unix.h vtrm.h
22:
23: LIBS = -lm
24:
25: MAKEFILE = Makefile
26:
27: OBJS = bobj.o cell.o comm.o deco.o demo.o edit.o erro.o eval.o \
28: file.o getc.o goto.o gram.o help.o ins2.o inse.o lexi.o \
29: line.o main.o move.o node.o outp.o que1.o que2.o save.o \
30: scrn.o spos.o sugg.o supr.o term.o unix.o vtrm.o wide.o
31:
32: PRINT = print
33:
34: PROGRAM = bed
35:
36: SRCS = bobj.c cell.c comm.c deco.c demo.c edit.c erro.c eval.c \
37: file.c getc.c goto.c gram.c help.c ins2.c inse.c lexi.c \
38: line.c main.c move.c node.c outp.c que1.c que2.c save.c \
39: scrn.c spos.c sugg.c supr.c term.c unix.c vtrm.c wide.c \
40: mkboot.c tabl.c
41:
42: all: $(PROGRAM)
43:
44: $(PROGRAM): $(OBJS) $(OWNTLIB)
45: $(CC) $(CFLAGS) $(LDFLAGS) $(OBJS) \
46: $(LIBS) $(TERMLIB) $(OWNTLIB) -o $(PROGRAM)
47:
48: MKBOOT = mkboot.o tabl.o lexi.o
49:
50: boot.h: mkboot
51: mkboot >boot.h
52:
53: mkboot: $(MKBOOT)
54: $(CC) $(CFLAGS) $(LDFLAGS) $(MKBOOT) -o mkboot
55:
56: vtrm.o:
57: $(CC) -c $(CFLAGS) -DBED vtrm.c
58:
59: libtermcap.a:
60: cd ../libtermcap; make install
61:
62: clean:; @rm -f $(OBJS) $(PROGRAM) $(MKBOOT) mkboot boot.h
63:
64: index: $(HDRS) $(SRCS)
65: ctags -wx $(HDRS) $(SRCS) | sed -e 's/).*/)/' >index
66:
67: install: $(PROGRAM)
68: cp $(PROGRAM) $(DEST)
69: strip $(DEST)/$(PROGRAM)
70:
71: print: boot.h
72: $(PRINT) boot.h $(HDRS) $(SRCS)
73:
74: program: $(PROGRAM)
75:
76: tags: $(HDRS) $(SRCS); ctags $(HDRS) $(SRCS)
77: ###
78: bobj.o: b.h bobj.h node.h
79: cell.o: b.h bobj.h node.h eval.h cell.h
80: comm.o: feat.h b.h node.h supr.h unix.h cell.h
81: deco.o: b.h erro.h bobj.h node.h gram.h supr.h queu.h
82: demo.o: b.h feat.h erro.h bobj.h node.h gram.h keys.h supr.h
83: edit.o: b.h feat.h erro.h bobj.h node.h tabl.h gram.h supr.h queu.h
84: erro.o: b.h feat.h node.h erro.h
85: eval.o: b.h node.h gram.h eval.h
86: file.o: b.h file.h
87: getc.o: b.h feat.h b1mem.h file.h keys.h
88: goto.o: b.h feat.h erro.h node.h gram.h supr.h
89: gram.o: b.h feat.h bobj.h node.h gram.h supr.h tabl.h boot.h syms.h
90: help.o: feat.h unix.h b.h
91: ins2.o: b.h bobj.h node.h supr.h queu.h gram.h tabl.h
92: inse.o: b.h feat.h bobj.h node.h gram.h supr.h tabl.h
93: lexi.o: b.h bobj.h node.h gram.h
94: line.o: b.h bobj.h node.h gram.h supr.h
95: main.o: b.h feat.h bobj.h
96: mkboot.o: b.h node.h gram.h tabl.h
97: move.o: b.h bobj.h node.h supr.h gram.h
98: node.o: b.h bobj.h node.h
99: outp.o: b.h bobj.h node.h supr.h gram.h cell.h
100: que1.o: b.h feat.h bobj.h node.h supr.h queu.h gram.h
101: que2.o: b.h feat.h bobj.h node.h supr.h queu.h gram.h tabl.h
102: save.o: b.h feat.h bobj.h node.h gram.h queu.h
103: scrn.o: b.h erro.h bobj.h node.h supr.h gram.h cell.h
104: spos.o: b.h bobj.h feat.h file.h
105: sugg.o: feat.h b.h bobj.h node.h supr.h gram.h queu.h
106: supr.o: b.h feat.h bobj.h node.h supr.h gram.h
107: tabl.o: b.h node.h gram.h tabl.h
108: term.o: b.h erro.h
109: unix.o: b.h unix.h
110: vtrm.o: vtrm.h
111: wide.o: b.h bobj.h node.h supr.h gram.h
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.