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 | # | |
d8336336 | 6 | # @(#)Makefile 5.8 (Berkeley) %G% |
15c4b8ee RC |
7 | # |
8 | # Bug report processor and associated programs | |
9 | # | |
10 | ||
95d392c2 | 11 | CFLAGS = -O -I. |
15c4b8ee | 12 | DESTDIR= |
d8336336 | 13 | SRCS= bugfiler.c error.c gethead.c process.c redist.c reply.c |
95d392c2 | 14 | OBJS= bugfiler.o error.o gethead.o process.o redist.o reply.o |
15c4b8ee | 15 | |
95d392c2 | 16 | all: bugfiler |
5b13cb8a | 17 | |
95d392c2 KB |
18 | bugfiler: ${OBJS} |
19 | ${CC} ${CFLAGS} -o $@ ${OBJS} | |
15c4b8ee | 20 | |
95d392c2 KB |
21 | install: bugfiler sendbug.sh bugformat |
22 | install -s -m 4755 -o root -g staff bugfiler ${DESTDIR}/usr/lib/bugfiler | |
15c4b8ee | 23 | install -c sendbug.sh ${DESTDIR}/usr/ucb/sendbug |
c71fd59b | 24 | install -c -m 644 bugformat ${DESTDIR}/usr/lib/bugformat |
6310261b RC |
25 | |
26 | clean: | |
95d392c2 KB |
27 | rm -f ${OBJS} core bugfiler |
28 | ||
d8336336 KB |
29 | tags: |
30 | ctags ${SRCS} | |
31 | ||
32 | lint: | |
33 | lint ${CFLAGS} -chapbx ${SRCS} | |
34 | ||
95d392c2 | 35 | ${OBJS}: bug.h |