Commit | Line | Data |
---|---|---|
7172eb74 DF |
1 | # |
2 | # Copyright (c) 1983 Regents of the University of California. | |
3 | # All rights reserved. The Berkeley software License Agreement | |
4 | # specifies the terms and conditions for redistribution. | |
5 | # | |
95d392c2 | 6 | # @(#)Makefile 5.7 (Berkeley) %G% |
15c4b8ee RC |
7 | # |
8 | # Bug report processor and associated programs | |
9 | # | |
10 | ||
95d392c2 | 11 | CFLAGS = -O -I. |
15c4b8ee | 12 | DESTDIR= |
95d392c2 | 13 | OBJS= bugfiler.o error.o gethead.o process.o redist.o reply.o |
15c4b8ee | 14 | |
95d392c2 | 15 | all: bugfiler |
5b13cb8a | 16 | |
95d392c2 KB |
17 | bugfiler: ${OBJS} |
18 | ${CC} ${CFLAGS} -o $@ ${OBJS} | |
15c4b8ee | 19 | |
95d392c2 KB |
20 | install: bugfiler sendbug.sh bugformat |
21 | install -s -m 4755 -o root -g staff bugfiler ${DESTDIR}/usr/lib/bugfiler | |
15c4b8ee | 22 | install -c sendbug.sh ${DESTDIR}/usr/ucb/sendbug |
c71fd59b | 23 | install -c -m 644 bugformat ${DESTDIR}/usr/lib/bugformat |
6310261b RC |
24 | |
25 | clean: | |
95d392c2 KB |
26 | rm -f ${OBJS} core bugfiler |
27 | ||
28 | ${OBJS}: bug.h |