Commit | Line | Data |
---|---|---|
477cec25 BJ |
1 | DESTDIR= |
2 | CFLAGS=-O | |
6dd3385e KS |
3 | SOURCES=sidebyside.c vcat.c vpac.c vpd.c vpf.c \ |
4 | vfontinfo.c vpq.c vpr.c vprm.c vsort.c | |
5 | OBJS=sidebyside vcat vpac vad vpd vpf \ | |
6 | vfontinfo vpq vpr vprm vsort rvcat rvsort | |
477cec25 BJ |
7 | |
8 | all: $(OBJS) | |
9 | ||
10 | sidebyside: sidebyside.c | |
11 | cc -O -o sidebyside sidebyside.c | |
6dd3385e KS |
12 | vfontinfo: vfontinfo.c |
13 | cc -O -o vfontinfo vfontinfo.c | |
477cec25 BJ |
14 | vcat: vcat.c |
15 | cc -O -o vcat vcat.c | |
477cec25 BJ |
16 | vpac: vpac.c |
17 | cc -O -o vpac vpac.c | |
18 | vad: vpd.c | |
19 | cc -DVARIAN -O -o vad vpd.c | |
20 | vpd: vpd.c | |
21 | cc -DVERSATEC -O -o vpd vpd.c | |
22 | vpf: vpf.c | |
23 | cc -O -o vpf vpf.c | |
24 | vpq: vpq.c | |
25 | cc -O -o vpq vpq.c | |
26 | vpr: vpr.c | |
27 | cc -O -o vpr vpr.c | |
28 | vprm: vprm.c | |
29 | cc -O -o vprm vprm.c | |
30 | vsort: vsort.c | |
31 | cc -O -o vsort vsort.c | |
32 | rvsort: rvsort.c | |
33 | cc -O -o rvsort rvsort.c | |
34 | rvcat: rvcat.c | |
35 | cc -O -o rvcat rvcat.c | |
36 | ||
37 | install: all | |
38 | install -s sidebyside ${DESTDIR}/usr/lib/sidebyside | |
39 | install -s vcat ${DESTDIR}/usr/lib/vcat | |
477cec25 BJ |
40 | install -s vpac ${DESTDIR}/etc |
41 | install -s vad ${DESTDIR}/usr/lib/vad | |
42 | install -s vpd ${DESTDIR}/usr/lib/vpd | |
43 | install -s vpf ${DESTDIR}/usr/lib/vpf | |
44 | install -s vpq ${DESTDIR}/usr/ucb/vpq | |
45 | install -s vpr ${DESTDIR}/usr/ucb/vpr | |
46 | install -c vprint.sh ${DESTDIR}/usr/ucb/vprint | |
477cec25 BJ |
47 | install -s vprm ${DESTDIR}/usr/ucb/vprm |
48 | install -s vsort ${DESTDIR}/usr/lib/vsort | |
49 | install -c vtroff.sh ${DESTDIR}/usr/ucb/vtroff | |
50 | install -s rvsort ${DESTDIR}/usr/lib/rvsort | |
51 | install -s rvcat ${DESTDIR}/usr/lib/rvcat | |
6dd3385e | 52 | install -s vfontinfo ${DESTDIR}/usr/lib/vfontinfo |
477cec25 BJ |
53 | |
54 | clean: | |
55 | rm -f ${OBJS} | |
56 | ||
57 | vprintall: | |
58 | csh /usr/ucb/vprint ${SOURCES} |