rationalized handling of child processes, cleaned up mail1 some more
[unix-history] / usr / src / usr.bin / vgrind / Makefile
CommitLineData
d0aeaf5a 1#
f9ede4f2 2# Copyright (c) 1987 Regents of the University of California.
d0aeaf5a
DF
3# All rights reserved. The Berkeley software License Agreement
4# specifies the terms and conditions for redistribution.
5#
f9ede4f2 6# @(#)Makefile 5.3 (Berkeley) %G%
ee9463df 7#
f9ede4f2
KB
8CFLAGS= -O
9LIBC= /lib/libc.a
10RSRCS= retest.c regexp.c
11ROBJS= retest.o regexp.o
12VSRCS= regexp.c vfontedpr.c vgrindefs.c
13VOBJS= regexp.o vfontedpr.o vgrindefs.o
ee9463df 14
f9ede4f2 15all: retest vfontedpr
ee9463df 16
f9ede4f2
KB
17vfontedpr: ${VOBJS} ${LIBC}
18 ${CC} ${CFLAGS} -o $@ ${VOBJS}
ee9463df 19
f9ede4f2
KB
20retest: ${ROBJS} ${LIBC}
21 ${CC} ${CFLAGS} -o $@ ${ROBJS}
ee9463df 22
f9ede4f2
KB
23clean: FRC
24 rm -f ${OBJS} ${ROBJS} ${VOBJS} core retest vfontedpr
ee9463df 25
f9ede4f2
KB
26depend: FRC
27 mkdep ${CFLAGS} ${RSRCS} ${VSRCS}
300a5f74 28
f9ede4f2
KB
29install: FRC
30 install -s -o bin -g bin -m 755 vfontedpr ${DESTDIR}/usr/lib/vfontedpr
31 install -c -o bin -g bin -m 755 vgrind.sh ${DESTDIR}/usr/ucb/vgrind
32 install -c -o bin -g bin -m 755 vgrindefs.src ${DESTDIR}/usr/lib/vgrindefs
33 install -c -o bin -g bin -m 755 tmac.vgrind ${DESTDIR}/usr/lib/tmac/tmac.vgrind
34
35lint: FRC
36 lint ${CFLAGS} ${RSRCS}
37 lint ${CFLAGS} ${VSRCS}
38
39tags: FRC
40 ctags ${RSRCS}
41 ctags -a ${VSRCS}
42 sort -o tags tags
43
44FRC:
45
46# DO NOT DELETE THIS LINE -- mkdep uses it.
47# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.
48
49retest.o: retest.c /usr/include/ctype.h
50regexp.o: regexp.c /usr/include/ctype.h regexp.c /usr/include/ctype.h
51vfontedpr.o: vfontedpr.c /usr/include/ctype.h /usr/include/stdio.h
52vfontedpr.o: /usr/include/sys/types.h /usr/include/sys/stat.h
53vgrindefs.o: vgrindefs.c /usr/include/ctype.h
54
55# IF YOU PUT ANYTHING HERE IT WILL GO AWAY