version #2; -f flag, remove home_dir, redist per folder
[unix-history] / usr / src / libexec / bugfiler / Makefile
CommitLineData
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 11CFLAGS = -O -I.
15c4b8ee 12DESTDIR=
d8336336 13SRCS= bugfiler.c error.c gethead.c process.c redist.c reply.c
95d392c2 14OBJS= bugfiler.o error.o gethead.o process.o redist.o reply.o
15c4b8ee 15
95d392c2 16all: bugfiler
5b13cb8a 17
95d392c2
KB
18bugfiler: ${OBJS}
19 ${CC} ${CFLAGS} -o $@ ${OBJS}
15c4b8ee 20
95d392c2
KB
21install: 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
26clean:
95d392c2
KB
27 rm -f ${OBJS} core bugfiler
28
d8336336
KB
29tags:
30 ctags ${SRCS}
31
32lint:
33 lint ${CFLAGS} -chapbx ${SRCS}
34
95d392c2 35${OBJS}: bug.h