|
|
1.1 root 1: #
2: # Copyright (c) 1987 Regents of the University of California.
3: # All rights reserved.
4: #
5: # Redistribution and use in source and binary forms are permitted
6: # provided that the above copyright notice and this paragraph are
7: # duplicated in all such forms and that any documentation,
8: # advertising materials, and other materials related to such
9: # distribution and use acknowledge that the software was developed
10: # by the University of California, Berkeley. The name of the
11: # University may not be used to endorse or promote products derived
12: # from this software without specific prior written permission.
13: # THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
14: # IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
15: # WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
16: #
17: # @(#)Makefile 5.8 (Berkeley) 6/29/88
18: #
19: CFLAGS= -O
20: LIBC= /lib/libc.a
21: SRCS= indent.c io.c lexi.c parse.c pr_comment.c args.c
22: OBJS= indent.o io.o lexi.o parse.o pr_comment.o args.o
23:
24: all: indent
25:
26: indent: ${OBJS} ${LIBC}
27: ${CC} -o $@ ${CFLAGS} ${OBJS}
28:
29: clean: FRC
30: rm -f ${OBJS} core indent
31:
32: depend: FRC
33: mkdep ${CFLAGS} ${SRCS}
34:
35: install: FRC
36: install -s -o bin -g bin -m 755 indent ${DESTDIR}/usr/ucb/indent
37:
38: lint: FRC
39: lint ${CFLAGS} ${SRCS}
40:
41: tags: FRC
42: ctags ${SRCS}
43:
44: FRC:
45:
46: # DO NOT DELETE THIS LINE -- mkdep uses it.
47: # DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.
48:
49: indent.o: indent.c indent_globs.h /usr/include/stdio.h indent_codes.h
50: io.o: io.c indent_globs.h /usr/include/stdio.h
51: lexi.o: lexi.c indent_globs.h /usr/include/stdio.h indent_codes.h
52: lexi.o: /usr/include/ctype.h
53: parse.o: parse.c ./indent_globs.h /usr/include/stdio.h ./indent_codes.h
54: pr_comment.o: pr_comment.c indent_globs.h /usr/include/stdio.h
55: args.o: args.c indent_globs.h /usr/include/stdio.h /usr/include/sys/types.h
56: args.o: /usr/include/ctype.h
57:
58: # 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.