xref: /original-bsd/libexec/bugfiler/Makefile (revision 2ce9ec30)
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 this notice is preserved and that due credit is given
7# to the University of California at Berkeley. The name of the University
8# may not be used to endorse or promote products derived from this
9# software without specific prior written permission. This software
10# is provided ``as is'' without express or implied warranty.
11#
12#	@(#)Makefile	5.11 (Berkeley) 02/01/88
13#
14CFLAGS=	-O -I.
15LIBC=	/lib/libc.a
16SRCS=	bugfiler.c error.c gethead.c process.c redist.c reply.c
17OBJS=	bugfiler.o error.o gethead.o process.o redist.o reply.o
18
19all: bugfiler
20
21bugfiler: ${OBJS} ${LIBC}
22	${CC} ${CFLAGS} -o $@ ${OBJS}
23
24clean: FRC
25	rm -f ${OBJS} core bugfiler
26
27depend: FRC
28	mkdep ${CFLAGS} ${SRCS}
29
30install: FRC
31	install -s -o root -g bin -m 4755 bugfiler ${DESTDIR}/usr/lib/bugfiler
32	install -c -o bin -g bin -m 755 sendbug.sh ${DESTDIR}/usr/ucb/sendbug
33	install -c -o bin -g bin -m 644 bugformat ${DESTDIR}/usr/lib/bugformat
34
35lint: FRC
36	lint ${CFLAGS} ${SRCS}
37
38tags: FRC
39	ctags ${SRCS}
40
41FRC:
42
43# DO NOT DELETE THIS LINE -- mkdep uses it.
44# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.
45
46bugfiler.o: bugfiler.c
47bugfiler.o:bug.h
48bugfiler.o: /usr/include/sys/param.h /usr/include/sys/types.h
49bugfiler.o: /usr/include/signal.h /usr/include/machine/machparam.h
50bugfiler.o: /usr/include/sys/dir.h /usr/include/sys/time.h /usr/include/time.h
51bugfiler.o: /usr/include/sys/file.h /usr/include/pwd.h /usr/include/stdio.h
52error.o: error.c
53error.o:bug.h
54error.o: /usr/include/sys/param.h /usr/include/sys/types.h
55error.o: /usr/include/signal.h /usr/include/machine/machparam.h
56error.o: /usr/include/sys/dir.h /usr/include/syslog.h /usr/include/stdio.h
57gethead.o: gethead.c
58gethead.o:bug.h
59gethead.o: /usr/include/sys/param.h /usr/include/sys/types.h
60gethead.o: /usr/include/signal.h /usr/include/machine/machparam.h
61gethead.o: /usr/include/sys/dir.h /usr/include/sys/stat.h /usr/include/stdio.h
62process.o: process.c
63process.o:bug.h
64process.o: /usr/include/sys/param.h /usr/include/sys/types.h
65process.o: /usr/include/signal.h /usr/include/machine/machparam.h
66process.o: /usr/include/sys/dir.h /usr/include/sys/file.h
67process.o: /usr/include/sys/time.h /usr/include/time.h /usr/include/stdio.h
68process.o: /usr/include/ctype.h
69redist.o: redist.c /usr/include/sys/file.h /usr/include/stdio.h
70redist.o:bug.h
71redist.o: /usr/include/sys/param.h /usr/include/sys/types.h
72redist.o: /usr/include/signal.h /usr/include/machine/machparam.h
73redist.o: /usr/include/sys/dir.h
74reply.o: reply.c
75reply.o:bug.h
76reply.o: /usr/include/sys/param.h /usr/include/sys/types.h
77reply.o: /usr/include/signal.h /usr/include/machine/machparam.h
78reply.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
81