|
|
1.1 root 1: #
2: # Copyright (c) 1987 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.10 (Berkeley) 6/2/90
7: #
8: CFLAGS= -O
9: LIBC= /usr/lib/libc.a
10: SUBDIR= vtools vtools/fed man
11: SHELLS= rvtroff.sh vprint.sh vtroff.sh vpq.sh vpr.sh vprm.sh
12: SRCS= vpac.c vpd.c vpq.c vpr.c vprm.c
13: OBJS= vpac.o vpd.o vpq.o vpr.o vprm.o
14: ALL= vpac vpd vpq vpr vprm
15:
16: all: ${ALL} subdir
17:
18: subdir:
19: for i in ${SUBDIR}; do (cd $$i; make ${MFLAGS}); done
20:
21: vpac: ${LIBC}
22: ${CC} -O -o $@ vpac.c
23: vpd: ${LIBC}
24: ${CC} -DVERSATEC -O -o $@ vpd.c
25: vpq: ${LIBC}
26: ${CC} -O -o $@ vpq.c
27: vpr: ${LIBC}
28: ${CC} -O -o $@ vpr.c
29: vprm: ${LIBC}
30: ${CC} -O -o $@ vprm.c
31:
32: clean: FRC
33: rm -f ${OBJS} core ${ALL}
34: for i in ${SUBDIR}; do (cd $$i; make ${MFLAGS} clean); done
35:
36: depend: FRC ldepend
37: for i in ${SUBDIR}; do (cd $$i; make ${MFLAGS} depend); done
38:
39: ldepend:
40: mkdep -p ${CFLAGS} ${SRCS}
41:
42: install: FRC
43: for i in ${SUBDIR}; do (cd $$i; make ${MFLAGS} install); done
44: install -s -o bin -g bin -m 755 vpac ${DESTDIR}/usr/old/vpac
45: install -s -o bin -g bin -m 755 vpd ${DESTDIR}/usr/lib/vpd
46: install -s -o bin -g bin -m 755 vpq ${DESTDIR}/usr/lib/vpq
47: install -s -o bin -g bin -m 755 vpr ${DESTDIR}/usr/lib/vpr
48: install -s -o bin -g bin -m 755 vprm ${DESTDIR}/usr/lib/vprm
49: install -c -o bin -g bin -m 755 vprint.sh ${DESTDIR}/usr/old/vprint
50: install -c -o bin -g bin -m 755 vtroff.sh ${DESTDIR}/usr/old/vtroff
51: install -c -o bin -g bin -m 755 vpq.sh ${DESTDIR}/usr/old/vpq
52: install -c -o bin -g bin -m 755 vpr.sh ${DESTDIR}/usr/old/vpr
53: install -c -o bin -g bin -m 755 vprm.sh ${DESTDIR}/usr/old/vprm
54: install -c -o bin -g bin -m 755 tmac.vcat ${DESTDIR}/usr/share/tmac/
55:
56: lint: FRC
57: for i in ${SUBDIR}; do (cd $$i; make ${MFLAGS} lint); done
58: lint ${CFLAGS} ${SRCS}
59:
60: tags: FRC
61: for i in ${SUBDIR}; do (cd $$i; make ${MFLAGS} tags); done
62: ctags ${SRCS}
63:
64: FRC:
65:
66: # DO NOT DELETE THIS LINE -- mkdep uses it.
67: # DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.
68:
69: vpac: vpac.c /usr/include/stdio.h
70: vpd: vpd.c /usr/include/stdio.h /usr/include/sys/param.h
71: vpd: /usr/include/sys/types.h /usr/include/signal.h /usr/include/machine/trap.h
72: vpd: /usr/include/machine/machparam.h /usr/include/sys/dir.h
73: vpd: /usr/include/signal.h /usr/include/sys/stat.h /usr/include/sgtty.h
74: vpd: /usr/include/sys/ioctl.h /usr/include/sys/ttychars.h
75: vpd: /usr/include/sys/ttydev.h /usr/include/errno.h /usr/include/sys/vcmd.h
76: vpd: /usr/include/sys/wait.h
77: vpq: vpq.c /usr/include/sys/param.h /usr/include/sys/types.h
78: vpq: /usr/include/signal.h /usr/include/machine/trap.h
79: vpq: /usr/include/machine/machparam.h /usr/include/sys/dir.h
80: vpq: /usr/include/sys/stat.h /usr/include/stdio.h /usr/include/errno.h
81: vpr: vpr.c /usr/include/signal.h /usr/include/machine/trap.h
82: vpr: /usr/include/sys/param.h /usr/include/sys/types.h /usr/include/signal.h
83: vpr: /usr/include/machine/machparam.h
84: vprm: vprm.c /usr/include/sys/param.h /usr/include/sys/types.h
85: vprm: /usr/include/signal.h /usr/include/machine/trap.h
86: vprm: /usr/include/machine/machparam.h /usr/include/sys/dir.h
87: vprm: /usr/include/sys/stat.h /usr/include/stdio.h
88:
89: # IF YOU PUT ANYTHING HERE IT WILL GO AWAY
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.