X-Git-Url: https://git.subgeniuskitty.com/unix-history/.git/blobdiff_plain/477cec258ff0c0c7693a2a7d8f7f4a76f0b54d13..5f31aab1d72c9d086b4f2de399a8a4fd644e1d1d:/usr/src/old/vpr/Makefile diff --git a/usr/src/old/vpr/Makefile b/usr/src/old/vpr/Makefile index 1269c67cad..efc33ad780 100644 --- a/usr/src/old/vpr/Makefile +++ b/usr/src/old/vpr/Makefile @@ -1,58 +1,88 @@ -DESTDIR= -CFLAGS=-O -SOURCES=sidebyside.c vcat.c vfontedpr.c vpac.c vpd.c vpf.c vpq.c vpr.c vprm.c vsort.c -OBJS=sidebyside vcat vfontedpr vpac vad vpd vpf vpq vpr vprm vsort rvcat rvsort - -all: $(OBJS) - -sidebyside: sidebyside.c - cc -O -o sidebyside sidebyside.c -vcat: vcat.c - cc -O -o vcat vcat.c -vfontedpr: vfontedpr.c - cc -O -o vfontedpr vfontedpr.c -vpac: vpac.c - cc -O -o vpac vpac.c -vad: vpd.c - cc -DVARIAN -O -o vad vpd.c -vpd: vpd.c - cc -DVERSATEC -O -o vpd vpd.c -vpf: vpf.c - cc -O -o vpf vpf.c -vpq: vpq.c - cc -O -o vpq vpq.c -vpr: vpr.c - cc -O -o vpr vpr.c -vprm: vprm.c - cc -O -o vprm vprm.c -vsort: vsort.c - cc -O -o vsort vsort.c -rvsort: rvsort.c - cc -O -o rvsort rvsort.c -rvcat: rvcat.c - cc -O -o rvcat rvcat.c - -install: all - install -s sidebyside ${DESTDIR}/usr/lib/sidebyside - install -s vcat ${DESTDIR}/usr/lib/vcat - install -s vfontedpr ${DESTDIR}/usr/lib/vfontedpr - install -c vgrind.sh ${DESTDIR}/usr/ucb/vgrind - install -s vpac ${DESTDIR}/etc - install -s vad ${DESTDIR}/usr/lib/vad - install -s vpd ${DESTDIR}/usr/lib/vpd - install -s vpf ${DESTDIR}/usr/lib/vpf - install -s vpq ${DESTDIR}/usr/ucb/vpq - install -s vpr ${DESTDIR}/usr/ucb/vpr - install -c vprint.sh ${DESTDIR}/usr/ucb/vprint - install -c tmac.vgrind ${DESTDIR}/usr/lib/tmac/tmac.vgrind - install -s vprm ${DESTDIR}/usr/ucb/vprm - install -s vsort ${DESTDIR}/usr/lib/vsort - install -c vtroff.sh ${DESTDIR}/usr/ucb/vtroff - install -s rvsort ${DESTDIR}/usr/lib/rvsort - install -s rvcat ${DESTDIR}/usr/lib/rvcat - -clean: - rm -f ${OBJS} - -vprintall: - csh /usr/ucb/vprint ${SOURCES} +# +# Copyright (c) 1987 Regents of the University of California. +# All rights reserved. The Berkeley software License Agreement +# specifies the terms and conditions for redistribution. +# +# @(#)Makefile 5.9 (Berkeley) %G% +# +CFLAGS= -O +LIBC= /lib/libc.a +SUBDIR= vtools vtools/fed man +SHELLS= rvtroff.sh vprint.sh vtroff.sh vpq.sh vpr.sh vprm.sh +SRCS= vpac.c vpd.c vpq.c vpr.c vprm.c +OBJS= vpac.o vpd.o vpq.o vpr.o vprm.o +ALL= vpac vpd vpq vpr vprm + +all: ${ALL} subdir + +subdir: + for i in ${SUBDIR}; do (cd $$i; make ${MFLAGS}); done + +vpac: ${LIBC} + ${CC} -O -o $@ vpac.c +vpd: ${LIBC} + ${CC} -DVERSATEC -O -o $@ vpd.c +vpq: ${LIBC} + ${CC} -O -o $@ vpq.c +vpr: ${LIBC} + ${CC} -O -o $@ vpr.c +vprm: ${LIBC} + ${CC} -O -o $@ vprm.c + +clean: FRC + rm -f ${OBJS} core ${ALL} + for i in ${SUBDIR}; do (cd $$i; make ${MFLAGS} clean); done + +depend: FRC ldepend + for i in ${SUBDIR}; do (cd $$i; make ${MFLAGS} depend); done + +ldepend: + mkdep -p ${CFLAGS} ${SRCS} + +install: FRC + for i in ${SUBDIR}; do (cd $$i; make ${MFLAGS} install); done + install -s -o bin -g bin -m 755 vpac ${DESTDIR}/usr/old/vpac + install -s -o bin -g bin -m 755 vpd ${DESTDIR}/usr/lib/vpd + install -s -o bin -g bin -m 755 vpq ${DESTDIR}/usr/lib/vpq + install -s -o bin -g bin -m 755 vpr ${DESTDIR}/usr/lib/vpr + install -s -o bin -g bin -m 755 vprm ${DESTDIR}/usr/lib/vprm + install -c -o bin -g bin -m 755 vprint.sh ${DESTDIR}/usr/old/vprint + install -c -o bin -g bin -m 755 vtroff.sh ${DESTDIR}/usr/old/vtroff + install -c -o bin -g bin -m 755 vpq.sh ${DESTDIR}/usr/old/vpq + install -c -o bin -g bin -m 755 vpr.sh ${DESTDIR}/usr/old/vpr + install -c -o bin -g bin -m 755 vprm.sh ${DESTDIR}/usr/old/vprm + +lint: FRC + for i in ${SUBDIR}; do (cd $$i; make ${MFLAGS} lint); done + lint ${CFLAGS} ${SRCS} + +tags: FRC + for i in ${SUBDIR}; do (cd $$i; make ${MFLAGS} tags); done + ctags ${SRCS} + +FRC: + +# DO NOT DELETE THIS LINE -- mkdep uses it. +# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY. + +vpac: vpac.c /usr/include/stdio.h +vpd: vpd.c /usr/include/stdio.h /usr/include/sys/param.h +vpd: /usr/include/sys/types.h /usr/include/signal.h /usr/include/machine/trap.h +vpd: /usr/include/machine/machparam.h /usr/include/sys/dir.h +vpd: /usr/include/signal.h /usr/include/sys/stat.h /usr/include/sgtty.h +vpd: /usr/include/sys/ioctl.h /usr/include/sys/ttychars.h +vpd: /usr/include/sys/ttydev.h /usr/include/errno.h /usr/include/sys/vcmd.h +vpd: /usr/include/sys/wait.h +vpq: vpq.c /usr/include/sys/param.h /usr/include/sys/types.h +vpq: /usr/include/signal.h /usr/include/machine/trap.h +vpq: /usr/include/machine/machparam.h /usr/include/sys/dir.h +vpq: /usr/include/sys/stat.h /usr/include/stdio.h /usr/include/errno.h +vpr: vpr.c /usr/include/signal.h /usr/include/machine/trap.h +vpr: /usr/include/sys/param.h /usr/include/sys/types.h /usr/include/signal.h +vpr: /usr/include/machine/machparam.h +vprm: vprm.c /usr/include/sys/param.h /usr/include/sys/types.h +vprm: /usr/include/signal.h /usr/include/machine/trap.h +vprm: /usr/include/machine/machparam.h /usr/include/sys/dir.h +vprm: /usr/include/sys/stat.h /usr/include/stdio.h + +# IF YOU PUT ANYTHING HERE IT WILL GO AWAY