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