|
|
1.1 root 1: #
2: # Makefile 4.3 83/08/13
3: #
4: AS=/bin/as
5: CC=/bin/cc
6: LD=/bin/ld
7: INCLDIR=/usr/include
8: LIBDIR=/lib
9: ULIBDIR=/usrlib
10: DESTDIR=
11: CFLAGS=-O -I${INCLDIR}
12: YFLAGS=-d
13: 0FILES.c = 0.alloc.c 0.args.c 0.def.c 0.extr.c 0.graph.c 0.list.c 0.parts.c 0.string.c
14: 0FILES.o = 0.alloc.o 0.args.o 0.def.o 0.extr.o 0.graph.o 0.list.o 0.parts.o 0.string.o
15:
16: 1FILES.c = 1.finish.c 1.form.c 1.fort.c 1.hash.c 1.init.c 1.line.c 1.main.c 1.node.c 1.recog.c 1.tables.c
17: 1FILES.o = 1.finish.o 1.form.o 1.fort.o 1.hash.o 1.init.o 1.line.o 1.main.o 1.node.o 1.recog.o 1.tables.o
18:
19: 2FILES.c = 2.dfs.c 2.dom.c 2.head.c 2.inarc.c 2.main.c 2.tree.c
20: 2FILES.o = 2.dfs.o 2.dom.o 2.head.o 2.inarc.o 2.main.o 2.tree.o
21:
22: 3FILES.c = 3.branch.c 3.flow.c 3.loop.c 3.main.c 3.reach.c 3.then.c
23: 3FILES.o = 3.branch.o 3.flow.o 3.loop.o 3.main.o 3.reach.o 3.then.o
24:
25: 4FILES.c = 4.brace.c 4.form.c 4.main.c 4.out.c
26: 4FILES.o = 4.brace.o 4.form.o 4.main.o 4.out.o
27:
28: HDRS = 1.defs.h 1.incl.h 2.def.h 3.def.h 4.def.h b.h def.h
29: MSRCS = bdef.c main.c tree.c Makefile beauty.y lextab.l struct
30:
31: SRCS = $(0FILES.c) $(1FILES.c) $(2FILES.c) \
32: $(3FILES.c) $(4FILES.c) $(HDRS) $(MSRCS)
33:
34: all: structure beautify
35:
36: install: structure beautify struct
37: install -s structure $(DESTDIR)/usr/lib/struct
38: install -s beautify $(DESTDIR)/usr/lib/struct
39: install -c struct $(DESTDIR)/usr/bin
40: clean:
41: rm -f *.o y.tab.h beauty.c structure beautify
42:
43: structure: main.o $(0FILES.o) $(1FILES.o) $(2FILES.o) $(3FILES.o) $(4FILES.o)
44: ${CC} -o structure main.o 0.*.o 1.*.o 2.*.o 3.*.o 4.*.o
45:
46: beautify: beauty.o tree.o lextab.o bdef.o
47: ${CC} -O beauty.o tree.o lextab.o bdef.o -o beautify -lln
48:
49: lint:
50: lint $(0FILES.c) $(1FILES.c) $(2FILES.c) $(3FILES.c) $(4FILES.c) main.c
51:
52: main.o $(0FILES.o) $(1FILES.o) $(2FILES.o) $(3FILES.o) $(4FILES.o): def.h
53:
54: $(1FILES.o): 1.defs.h 1.incl.h
55: $(2FILES.o): 2.def.h
56: $(3FILES.o): 3.def.h
57: $(4FILES.o): 4.def.h
58:
59: lextab.o tree.o: y.tab.h
60:
61: y.tab.h: beauty.y
62:
63: lextab.o tree.o beauty.y: b.h
64:
65: y.tab.h: beauty.c
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.