|
|
1.1 root 1: # Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1984.
2: # $Header: Makefile.gen,v 1.4 85/08/27 18:30:29 timo Exp $
3:
4: # Filled in by ../../Setup:
5: CFLAGS= -O -DNDEBUG -DBSD4_2 -DCWI
6:
7: # full pathname where the B interpreter 'bint' gets installed,
8: # and can find the B editor 'bed':
9: DEST= ../../lib
10:
11: HDRS = b.h b0con.h b0fea.h b0fil.h b1btr.h b1mem.h b1num.h \
12: b1obj.h b1tlt.h b1val.h b2exp.h b2gen.h b2key.h b2nod.h \
13: b2par.h b2syn.h b2tcE.h b2tcP.h b2tcU.h b3env.h b3err.h \
14: b3ext.h b3fil.h b3in2.h b3int.h b3scr.h b3sem.h b3sig.h \
15: b3sou.h b3sta.h b3typ.h
16:
17: LDFLAGS =
18:
19: LIBS = -lm
20:
21: MAKEFILE = Makefile
22:
23: OBJS = b0fil.o b1com.o b1fun.o b1lta.o b1mem.o b1nuA.o b1nuC.o \
24: b1nuG.o b1nuI.o b1nuQ.o b1nuR.o b1num.o b1obj.o b1tex.o \
25: b1tlt.o b1val.o b2ana.o b2cmd.o b2dis.o b2exp.o b2fix.o \
26: b2gen.o b2stc.o b2syn.o b2tar.o b2tcE.o b2tcP.o b2tcU.o \
27: b2tes.o b2uni.o b3env.o b3err.o b3fil.o b3fpr.o b3in2.o \
28: b3int.o b3loc.o b3mai.o b3scr.o b3sig.o b3sou.o b3sta.o \
29: b3tra.o b3typ.o
30:
31: PRINT = print
32:
33: PROGRAM = bint
34:
35: SRCS = b0fil.c b1com.c b1fun.c b1lta.c b1mem.c b1nuA.c b1nuC.c \
36: b1nuG.c b1nuI.c b1nuQ.c b1nuR.c b1num.c b1obj.c b1tex.c \
37: b1tlt.c b1val.c b2ana.c b2cmd.c b2dis.c b2exp.c b2fix.c \
38: b2gen.c b2stc.c b2syn.c b2tar.c b2tcE.c b2tcP.c b2tcU.c \
39: b2tes.c b2uni.c b3env.c b3err.c b3fil.c b3fpr.c b3in2.c \
40: b3int.c b3loc.c b3mai.c b3scr.c b3sig.c b3sou.c b3sta.c \
41: b3tra.c b3typ.c \
42: mkconfig.c
43:
44: SHSCRIPTS = Collect Change
45:
46: # On our system the spooler refuses to print the all sourcefiles
47: # of the B interpreter in one run.
48: # So, here is a nice partition in the modules.
49: # Within each module, files are ordered alfabetically.
50: #
51: PART1=b.h b0con.h b0fea.h b0fil.h b0fil.c \
52: b1com.c b1fun.c b1lta.c \
53: b1mem.c b1mem.h b1nuA.c b1nuC.c b1nuG.c b1nuI.c b1nuQ.c b1nuR.c \
54: b1num.c b1num.h b1obj.c b1obj.h b1tex.c b1tlt.c b1tlt.h \
55: b1val.c b1val.h
56: PART2=b2ana.c b2cmd.c b2dis.c b2exp.c b2exp.h b2fix.c b2gen.c b2gen.h \
57: b2key.h b2nod.h b2par.h b2stc.c b2syn.c b2syn.h b2tar.c \
58: b2tcE.c b2tcE.h b2tcP.c b2tcP.h b2tcU.c b2tcU.h \
59: b2tes.c b2uni.c
60: PART3=b3env.c b3env.h b3err.c b3err.h b3ext.h b3fil.c b3fil.h \
61: b3fpr.c b3in2.c b3in2.h b3int.c b3int.h \
62: b3loc.c b3mai.c b3scr.c b3scr.h b3sem.h b3sig.c b3sig.h \
63: b3sou.c b3sou.h b3sta.c b3sta.h b3tra.c b3typ.c b3typ.h \
64: mkconfig.c
65:
66:
67: all: $(PROGRAM) Messages
68:
69: $(PROGRAM): $(OBJS)
70: $(CC) $(LDFLAGS) $(CFLAGS) $(OBJS) $(LIBS) -o $(PROGRAM)
71:
72: b0con.h: config.h
73: config.h: mkconfig
74: mkconfig >config.h
75: mkconfig: mkconfig.o
76: $(CC) $(LDFLAGS) $(CFLAGS) mkconfig.o -o mkconfig
77:
78: Messages: *.c b2exp.h
79: Collect *.c b2exp.h >Messages
80:
81: clean:; @rm -f $(OBJS) $(PROGRAM) mkconfig mkconfig.o config.h \
82: Messages core
83:
84: index:; @ctags -wx $(HDRS) $(SRCS)
85:
86: install: $(PROGRAM) Messages
87: cp $(PROGRAM) $(DEST)
88: strip $(DEST)/$(PROGRAM)
89: cp Messages $(DEST)
90:
91: print:; @$(PRINT) -JB_int.1 $(PART1)
92: @$(PRINT) -JB_int.2 $(PART2)
93: @$(PRINT) -JB_int.3 $(PART3)
94: @$(PRINT) -JB_int.4 $(SHSCRIPTS)
95:
96: program: $(PROGRAM)
97:
98: tags: $(HDRS) $(SRCS); @ctags $(HDRS) $(SRCS)
99:
100: ###
101: b0fil.o: b.h b0fil.h
102: b1com.o: b.h b1obj.h b2nod.h
103: b1fun.o: b.h b0con.h b1obj.h b1num.h
104: b1lta.o: b.h b0con.h b1obj.h b1btr.h b1val.h b3err.h b3scr.h b1tlt.h
105: b1mem.o: b.h b1obj.h b1mem.h b3err.h
106: b1nuA.o: b.h b0con.h b1obj.h b1num.h b3err.h
107: b1nuC.o: b.h b0con.h b0fea.h b1obj.h b1mem.h b1num.h b2syn.h
108: b1nuG.o: b.h b0con.h b1obj.h b1num.h
109: b1nuI.o: b.h b1obj.h b1num.h b0con.h b3err.h
110: b1nuQ.o: b.h b1obj.h b0con.h b1num.h
111: b1nuR.o: b.h b0con.h b1obj.h b1num.h b3err.h
112: b1num.o: b.h b0con.h b1obj.h b1num.h
113: b1obj.o: b.h b1obj.h b1btr.h b1val.h b1tlt.h b3err.h b3typ.h
114: b1tex.o: b.h b1obj.h b0con.h b1mem.h b1btr.h b1val.h b1tlt.h b3err.h
115: b1tlt.o: b.h b0fea.h b1obj.h b0con.h b1btr.h b1val.h b1tlt.h b3err.h
116: b1val.o: b.h b0con.h b1obj.h b1mem.h b1btr.h b1val.h b1tlt.h b2nod.h \
117: b3scr.h b1num.h
118: b2ana.o: b.h b1obj.h b2nod.h b2gen.h b3err.h b3env.h b3sou.h
119: b2cmd.o: b.h b0fea.h b1obj.h b2par.h b2key.h b2syn.h b2nod.h b3env.h \
120: b3err.h b3ext.h
121: b2dis.o: b.h b1obj.h b2par.h b2nod.h
122: b2exp.o: b.h b1obj.h b2par.h b2syn.h b2nod.h b2exp.h b3err.h
123: b2fix.o: b.h b1obj.h b2exp.h b2nod.h b2gen.h b2par.h b3err.h b3env.h \
124: b3sem.h
125: b2gen.o: b.h b0fea.h b1obj.h b2exp.h b2nod.h b2gen.h b3err.h b3env.h \
126: b3int.h b3sem.h b3sou.h
127: b2stc.o: b.h b1obj.h b2nod.h b2syn.h b2tcP.h b2tcU.h b2tcE.h b3err.h
128: b2syn.o: b.h b0con.h b1obj.h b2key.h b2syn.h b3scr.h b3env.h b3err.h
129: b2tar.o: b.h b1obj.h b2par.h b2syn.h b2nod.h b3err.h
130: b2tcE.o: b.h b1obj.h b2tcP.h b2tcE.h b2tcU.h
131: b2tcP.o: b.h b1obj.h b2tcP.h
132: b2tcU.o: b.h b1obj.h b2tcP.h b2tcU.h b2tcE.h
133: b2tes.o: b.h b1obj.h b2par.h b2key.h b2syn.h b2nod.h b3err.h
134: b2uni.o: b.h b0fea.h b1obj.h b2par.h b2key.h b2syn.h b2nod.h b3env.h \
135: b3err.h b3sou.h
136: b3env.o: b.h b1obj.h b3err.h
137: b3err.o: b.h b0fea.h b0fil.h b1obj.h b2syn.h b3env.h b3fil.h b3err.h \
138: b3scr.h b3sig.h b3sou.h
139: b3fil.o: b.h b0con.h b0fea.h b0fil.h b1obj.h b3scr.h b3err.h b3fil.h
140: b3fpr.o: b.h b0fea.h b1obj.h b3err.h b3sem.h b3sou.h
141: b3in2.o: b.h b1obj.h b3env.h b3in2.h b3sem.h b3sou.h
142: b3int.o: b.h b0fea.h b1mem.h b1obj.h b2nod.h b3err.h b3sem.h b3env.h \
143: b3int.h b3in2.h b3sta.h
144: b3loc.o: b.h b0con.h b1obj.h b3env.h b3sem.h b3sou.h b3err.h
145: b3mai.o: b.h b0fea.h b1obj.h b1mem.h b2nod.h b2syn.h b2par.h b3env.h \
146: b3scr.h b3err.h b3fil.h b3sig.h b3sem.h b3sou.h
147: b3scr.o: b.h b0fea.h b1mem.h b1obj.h b0con.h b2nod.h b2syn.h b2par.h \
148: b3scr.h b3err.h b3fil.h b3typ.h b3env.h b3sem.h b3int.h
149: b3sig.o: b.h b0fea.h b1obj.h b0con.h b3scr.h b3err.h b3env.h
150: b3sou.o: b.h b0con.h b0fea.h b0fil.h b1mem.h b1obj.h b2syn.h b2par.h \
151: b2nod.h b3env.h b3scr.h b3err.h b3sem.h b3fil.h b3sou.h b3int.h
152: b3sta.o: b.h b1mem.h b1obj.h b2nod.h b3env.h b3err.h b3int.h b3sem.h \
153: b3sou.h b3sta.h
154: b3tra.o: b.h b0fea.h b1obj.h b2nod.h b3err.h b3int.h
155: b3typ.o: b.h b1obj.h b3env.h b3sem.h b3typ.h
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.