|
|
1.1 ! root 1: # ! 2: # Copyright (c) 1987 Regents of the University of California. ! 3: # All rights reserved. The Berkeley software License Agreement ! 4: # specifies the terms and conditions for redistribution. ! 5: # ! 6: # @(#)Makefile 4.5 (Berkeley) 6/18/87 ! 7: # ! 8: CFLAGS= -O ! 9: YFLAGS= -d ! 10: LIBC= /lib/libc.a ! 11: BSRCS= beauty.c tree.c lextab.c bdef.c ! 12: BOBJS= beauty.o tree.o lextab.o bdef.o ! 13: SSRCS= 0.alloc.c 0.args.c 0.def.c 0.extr.c 0.graph.c 0.list.c 0.parts.c \ ! 14: 0.string.c 1.finish.c 1.form.c 1.fort.c 1.hash.c 1.init.c 1.line.c \ ! 15: 1.main.c 1.node.c 1.recog.c 1.tables.c 2.dfs.c 2.dom.c 2.head.c \ ! 16: 2.inarc.c 2.main.c 2.tree.c 3.branch.c 3.flow.c 3.loop.c 3.main.c \ ! 17: 3.reach.c 3.then.c 4.brace.c 4.form.c 4.main.c 4.out.c main.c ! 18: SOBJS= 0.alloc.o 0.args.o 0.def.o 0.extr.o 0.graph.o 0.list.o 0.parts.o \ ! 19: 0.string.o 1.finish.o 1.form.o 1.fort.o 1.hash.o 1.init.o 1.line.o \ ! 20: 1.main.o 1.node.o 1.recog.o 1.tables.o 2.dfs.o 2.dom.o 2.head.o \ ! 21: 2.inarc.o 2.main.o 2.tree.o 3.branch.o 3.flow.o 3.loop.o 3.main.o \ ! 22: 3.reach.o 3.then.o 4.brace.o 4.form.o 4.main.o 4.out.o main.o ! 23: SRCS= ${BSRCS} ${SSRCS} ! 24: OBJS= ${BOBJS} ${SOBJS} ! 25: ! 26: all: beautify structure ! 27: ! 28: beautify: ${BOBJS} ${LIBC} ! 29: ${CC} ${CFLAGS} ${BOBJS} -o $@ -lln ! 30: ! 31: structure: ${SOBJS} ${LIBC} ! 32: ${CC} ${CFLAGS} ${SOBJS} -o $@ ! 33: ! 34: clean: FRC ! 35: rm -f ${OBJS} core beauty.c structure beautify y.tab.h lextab.c ! 36: ! 37: depend: ${SRCS} FRC ! 38: mkdep ${CFLAGS} ${SRCS} ! 39: ! 40: install: FRC ! 41: install -s -o bin -g bin -m 755 structure $(DESTDIR)/usr/lib/struct/structure ! 42: install -s -o bin -g bin -m 755 beautify $(DESTDIR)/usr/lib/struct/beautify ! 43: install -c -o bin -g bin -m 755 struct $(DESTDIR)/usr/bin/struct ! 44: ! 45: lint: ${SRCS} FRC ! 46: lint ${CFLAGS} ${BSRCS} ! 47: lint ${CFLAGS} ${SSRCS} ! 48: ! 49: tags: ${SRCS} FRC ! 50: ctags ${BSRCS} ! 51: ctags -a ${SSRCS} ! 52: sort -o tags tags ! 53: ! 54: FRC: ! 55: ! 56: # DO NOT DELETE THIS LINE -- mkdep uses it. ! 57: # DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY. ! 58: ! 59: beauty.o: beauty.c b.h /usr/include/stdio.h /usr/include/signal.h ! 60: beauty.o: /usr/include/machine/trap.h ! 61: tree.o: tree.c y.tab.h b.h /usr/include/stdio.h ! 62: lextab.o: lextab.c /usr/include/stdio.h y.tab.h b.h ! 63: bdef.o: bdef.c ! 64: 0.alloc.o: 0.alloc.c /usr/include/stdio.h def.h ! 65: 0.args.o: 0.args.c /usr/include/stdio.h def.h ! 66: 0.def.o: 0.def.c /usr/include/stdio.h def.h ! 67: 0.extr.o: 0.extr.c /usr/include/stdio.h def.h ! 68: 0.graph.o: 0.graph.c /usr/include/stdio.h def.h ! 69: 0.list.o: 0.list.c /usr/include/stdio.h def.h ! 70: 0.parts.o: 0.parts.c /usr/include/stdio.h def.h ! 71: 0.string.o: 0.string.c /usr/include/stdio.h def.h 1.defs.h ! 72: 1.finish.o: 1.finish.c /usr/include/stdio.h def.h 1.incl.h ! 73: 1.form.o: 1.form.c /usr/include/stdio.h 1.defs.h def.h ! 74: 1.fort.o: 1.fort.c /usr/include/stdio.h 1.incl.h 1.defs.h def.h ! 75: 1.hash.o: 1.hash.c /usr/include/stdio.h 1.incl.h 1.defs.h def.h ! 76: 1.init.o: 1.init.c /usr/include/stdio.h 1.defs.h 1.incl.h def.h ! 77: 1.line.o: 1.line.c /usr/include/stdio.h def.h ! 78: 1.main.o: 1.main.c /usr/include/stdio.h def.h ! 79: 1.node.o: 1.node.c /usr/include/stdio.h def.h 1.incl.h ! 80: 1.recog.o: 1.recog.c /usr/include/stdio.h 1.incl.h def.h ! 81: 1.tables.o: 1.tables.c /usr/include/stdio.h ! 82: 2.dfs.o: 2.dfs.c /usr/include/stdio.h def.h 2.def.h ! 83: 2.dom.o: 2.dom.c /usr/include/stdio.h def.h 2.def.h ! 84: 2.head.o: 2.head.c /usr/include/stdio.h def.h 2.def.h ! 85: 2.inarc.o: 2.inarc.c /usr/include/stdio.h def.h 2.def.h ! 86: 2.main.o: 2.main.c /usr/include/stdio.h def.h 2.def.h ! 87: 2.tree.o: 2.tree.c /usr/include/stdio.h def.h 2.def.h ! 88: 3.branch.o: 3.branch.c /usr/include/stdio.h def.h 3.def.h ! 89: 3.flow.o: 3.flow.c /usr/include/stdio.h def.h 3.def.h ! 90: 3.loop.o: 3.loop.c /usr/include/stdio.h def.h 3.def.h ! 91: 3.main.o: 3.main.c /usr/include/stdio.h def.h ! 92: 3.reach.o: 3.reach.c /usr/include/stdio.h def.h ! 93: 3.then.o: 3.then.c /usr/include/stdio.h def.h 3.def.h ! 94: 4.brace.o: 4.brace.c /usr/include/stdio.h def.h 4.def.h 3.def.h ! 95: 4.form.o: 4.form.c /usr/include/stdio.h def.h 4.def.h ! 96: 4.main.o: 4.main.c /usr/include/stdio.h def.h 4.def.h ! 97: 4.out.o: 4.out.c /usr/include/stdio.h def.h 4.def.h 3.def.h ! 98: main.o: main.c /usr/include/signal.h /usr/include/machine/trap.h ! 99: main.o: /usr/include/stdio.h 1.defs.h def.h ! 100: ! 101: # IF YOU PUT ANYTHING HERE IT WILL GO AWAY
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.