Commit | Line | Data |
---|---|---|
d0aeaf5a DF |
1 | # |
2 | # Copyright (c) 1980 Regents of the University of California. | |
3 | # All rights reserved. The Berkeley software License Agreement | |
4 | # specifies the terms and conditions for redistribution. | |
5 | # | |
6 | # @(#)Makefile 5.1 (Berkeley) %G% | |
ee9463df KM |
7 | # |
8 | DESTDIR= | |
9 | CFLAGS=-O | |
10 | SOURCES=vfontedpr.c vgrindefs.c regexp.c retest.c | |
11 | CMDS=vfontedpr retest | |
12 | OBJS=retest.o regexp.o vfontedpr.o vgrindefs.o | |
13 | ||
14 | all: $(CMDS) ${OBJS} | |
15 | ||
16 | vfontedpr: vfontedpr.o vgrindefs.o regexp.o | |
17 | cc ${CFLAGS} -o vfontedpr vfontedpr.o vgrindefs.o regexp.o | |
18 | retest: retest.o regexp.o | |
19 | cc ${CFLAGS} -o retest retest.c regexp.o | |
20 | ||
21 | install: all | |
22 | install -s vfontedpr ${DESTDIR}/usr/lib/vfontedpr | |
23 | install -c vgrind.sh ${DESTDIR}/usr/ucb/vgrind | |
24 | install -c vgrindefs.src ${DESTDIR}/usr/lib/vgrindefs | |
25 | install -c tmac.vgrind ${DESTDIR}/usr/lib/tmac/tmac.vgrind | |
26 | ||
27 | clean: | |
28 | rm -f ${CMDS} ${OBJS} | |
29 | ||
30 | vprintall: | |
31 | csh /usr/ucb/vprint ${SOURCES} |