date and time created 86/11/25 12:37:18 by bostic
[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#
c6cd6570 6# @(#)Makefile 5.6 (Berkeley) %G%
15c4b8ee
RC
7#
8# Bug report processor and associated programs
9#
10
4f18d146 11BUGS_NAME = 4bsd-bugs
f25bd20a 12BUGS_HOME = @ucbvax.BERKELEY.EDU
4f18d146
RE
13DEFS = -DBUGS_NAME='"$(BUGS_NAME)"' -DBUGS_HOME='"$(BUGS_HOME)"'
14CFLAGS = -O -DUNIXCOMP $(DEFS)
15c4b8ee
RC
15LIBDIR= /usr/lib
16DESTDIR=
17
5b13cb8a
JB
18all: bugfiler unixtomh
19
8d750591 20bugfiler: bugfiler.c
c6cd6570 21 ${CC} ${CFLAGS} -DUNIXTOMH='"${LIBDIR}/unixtomh"' -o bugfiler bugfiler.c
15c4b8ee 22
5b13cb8a
JB
23unixtomh: unixtomh.c
24 ${CC} ${CFLAGS} -o unixtomh unixtomh.c
25
f25bd20a 26install: bugfiler sendbug.sh bugformat unixtomh
15c4b8ee
RC
27 install -s bugfiler ${DESTDIR}${LIBDIR}/bugfiler
28 install -c sendbug.sh ${DESTDIR}/usr/ucb/sendbug
f25bd20a 29 install -s unixtomh ${DESTDIR}${LIBDIR}/unixtomh
c71fd59b 30 install -c -m 644 bugformat ${DESTDIR}/usr/lib/bugformat
6310261b
RC
31
32clean:
f25bd20a 33 rm -f *.o bugfiler unixtomh