Commit | Line | Data |
---|---|---|
30178d1b | 1 | # |
48eec514 | 2 | # Copyright (c) 1987 Regents of the University of California. |
442fe3bf DF |
3 | # All rights reserved. The Berkeley software License Agreement |
4 | # specifies the terms and conditions for redistribution. | |
5 | # | |
48eec514 | 6 | # @(#)Makefile 5.3 (Berkeley) %G% |
442fe3bf | 7 | # |
48eec514 KB |
8 | CFLAGS= -O -DDEBUG |
9 | LIBC= /lib/libc.a | |
10 | SRCS= errormain.c errorinput.c errorpi.c errorsubr.c errorfilter.c \ | |
11 | errortouch.c | |
12 | OBJS= errormain.o errorinput.o errorpi.o errorsubr.o errorfilter.o \ | |
13 | errortouch.o | |
14 | ||
15 | all: error | |
16 | ||
17 | error: ${OBJS} ${LIBC} | |
18 | ${CC} -o $@ ${CFLAGS} ${OBJS} | |
19 | ||
20 | clean: FRC | |
21 | rm -f ${OBJS} core error | |
22 | ||
23 | depend: FRC | |
24 | mkdep ${CFLAGS} ${SRCS} | |
25 | ||
26 | install: FRC | |
27 | install -s -o bin -g bin -m 755 error ${DESTDIR}/usr/ucb/error | |
28 | ||
29 | lint: FRC | |
30 | lint ${CFLAGS} ${SRCS} | |
31 | ||
32 | tags: FRC | |
33 | ctags ${SRCS} | |
34 | ||
35 | FRC: | |
36 | ||
37 | # DO NOT DELETE THIS LINE -- mkdep uses it. | |
38 | # DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY. | |
39 | ||
40 | errormain.o: errormain.c /usr/include/stdio.h /usr/include/ctype.h | |
41 | errormain.o: /usr/include/signal.h | |
42 | errormain.o:error.h | |
43 | errorinput.o: errorinput.c /usr/include/stdio.h /usr/include/ctype.h | |
44 | errorinput.o:error.h | |
45 | errorpi.o: errorpi.c /usr/include/stdio.h /usr/include/ctype.h | |
46 | errorpi.o:error.h | |
47 | errorsubr.o: errorsubr.c /usr/include/stdio.h /usr/include/ctype.h | |
48 | errorsubr.o:error.h | |
49 | errorfilter.o: errorfilter.c /usr/include/stdio.h /usr/include/ctype.h | |
50 | errorfilter.o: /usr/include/pwd.h | |
51 | errorfilter.o:error.h | |
52 | errortouch.o: errortouch.c /usr/include/stdio.h /usr/include/ctype.h | |
53 | errortouch.o: /usr/include/sys/types.h /usr/include/sys/stat.h | |
54 | errortouch.o: /usr/include/signal.h | |
55 | errortouch.o:error.h | |
56 | ||
57 | # IF YOU PUT ANYTHING HERE IT WILL GO AWAY |