Commit | Line | Data |
---|---|---|
95f51977 | 1 | # |
ca67e7b4 C |
2 | # Copyright (c) 1987 Regents of the University of California. |
3 | # All rights reserved. | |
95f51977 | 4 | # |
ca67e7b4 C |
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. | |
22a51476 | 16 | # |
ca67e7b4 | 17 | # @(#)Makefile 5.12 (Berkeley) 6/29/88 |
22a51476 | 18 | # |
ca67e7b4 C |
19 | CFLAGS= -O -I. |
20 | LIBC= /lib/libc.a | |
21 | SRCS= bugfiler.c error.c gethead.c process.c redist.c reply.c | |
22 | OBJS= bugfiler.o error.o gethead.o process.o redist.o reply.o | |
22a51476 | 23 | |
ca67e7b4 | 24 | all: bugfiler |
22a51476 | 25 | |
ca67e7b4 C |
26 | bugfiler: ${OBJS} ${LIBC} |
27 | ${CC} ${CFLAGS} -o $@ ${OBJS} | |
95f51977 | 28 | |
ca67e7b4 C |
29 | clean: FRC |
30 | rm -f ${OBJS} core bugfiler | |
22a51476 | 31 | |
ca67e7b4 C |
32 | depend: FRC |
33 | mkdep ${CFLAGS} ${SRCS} | |
95f51977 | 34 | |
ca67e7b4 C |
35 | install: FRC |
36 | install -s -o root -g bin -m 4755 bugfiler ${DESTDIR}/usr/lib/bugfiler | |
37 | install -c -o bin -g bin -m 755 sendbug.sh ${DESTDIR}/usr/ucb/sendbug | |
38 | install -c -o bin -g bin -m 644 bugformat ${DESTDIR}/usr/lib/bugformat | |
95f51977 | 39 | |
ca67e7b4 C |
40 | lint: FRC |
41 | lint ${CFLAGS} ${SRCS} | |
42 | ||
43 | tags: FRC | |
44 | ctags ${SRCS} | |
45 | ||
46 | FRC: | |
47 | ||
48 | # DO NOT DELETE THIS LINE -- mkdep uses it. | |
49 | # DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY. | |
50 | ||
51 | bugfiler.o: bugfiler.c bug.h /usr/include/sys/param.h /usr/include/sys/types.h | |
52 | bugfiler.o: /usr/include/signal.h /usr/include/machine/trap.h | |
53 | bugfiler.o: /usr/include/machine/machparam.h /usr/include/machine/endian.h | |
54 | bugfiler.o: /usr/include/sys/dir.h /usr/include/sys/time.h /usr/include/time.h | |
55 | bugfiler.o: /usr/include/sys/file.h /usr/include/pwd.h /usr/include/stdio.h | |
56 | error.o: error.c bug.h /usr/include/sys/param.h /usr/include/sys/types.h | |
57 | error.o: /usr/include/signal.h /usr/include/machine/trap.h | |
58 | error.o: /usr/include/machine/machparam.h /usr/include/machine/endian.h | |
59 | error.o: /usr/include/sys/dir.h /usr/include/syslog.h /usr/include/stdio.h | |
60 | gethead.o: gethead.c bug.h /usr/include/sys/param.h /usr/include/sys/types.h | |
61 | gethead.o: /usr/include/signal.h /usr/include/machine/trap.h | |
62 | gethead.o: /usr/include/machine/machparam.h /usr/include/machine/endian.h | |
63 | gethead.o: /usr/include/sys/dir.h /usr/include/sys/stat.h /usr/include/stdio.h | |
64 | process.o: process.c bug.h /usr/include/sys/param.h /usr/include/sys/types.h | |
65 | process.o: /usr/include/signal.h /usr/include/machine/trap.h | |
66 | process.o: /usr/include/machine/machparam.h /usr/include/machine/endian.h | |
67 | process.o: /usr/include/sys/dir.h /usr/include/sys/file.h | |
68 | process.o: /usr/include/sys/time.h /usr/include/time.h /usr/include/stdio.h | |
69 | process.o: /usr/include/ctype.h | |
70 | redist.o: redist.c /usr/include/sys/file.h /usr/include/stdio.h | |
71 | redist.o: /usr/include/ctype.h bug.h /usr/include/sys/param.h | |
72 | redist.o: /usr/include/sys/types.h /usr/include/signal.h | |
73 | redist.o: /usr/include/machine/trap.h /usr/include/machine/machparam.h | |
74 | redist.o: /usr/include/machine/endian.h /usr/include/sys/dir.h | |
75 | reply.o: reply.c bug.h /usr/include/sys/param.h /usr/include/sys/types.h | |
76 | reply.o: /usr/include/signal.h /usr/include/machine/trap.h | |
77 | reply.o: /usr/include/machine/machparam.h /usr/include/machine/endian.h | |
78 | reply.o: /usr/include/sys/dir.h /usr/include/sys/file.h /usr/include/stdio.h | |
79 | ||
80 | # IF YOU PUT ANYTHING HERE IT WILL GO AWAY |