From f3c2752f2b3c6d2fdbf64dcf9edb9a8bfa1c7507 Mon Sep 17 00:00:00 2001 From: Keith Bostic Date: Mon, 10 Apr 1989 18:12:19 -0800 Subject: [PATCH] add man page SCCS-vsn: lib/libterm/Makefile 5.5 SCCS-vsn: lib/libmp/Makefile 4.4 SCCS-vsn: old/lib2648/Makefile 5.3 SCCS-vsn: lib/libplot/Makefile 4.13 --- usr/src/lib/libmp/Makefile | 48 +++++++++---------- usr/src/lib/libplot/Makefile | 39 ++++++++++------ usr/src/lib/libterm/Makefile | 8 ++-- usr/src/old/lib2648/Makefile | 89 ++++++++++-------------------------- 4 files changed, 79 insertions(+), 105 deletions(-) diff --git a/usr/src/lib/libmp/Makefile b/usr/src/lib/libmp/Makefile index 9409a5a265..7a07a77346 100644 --- a/usr/src/lib/libmp/Makefile +++ b/usr/src/lib/libmp/Makefile @@ -1,48 +1,50 @@ # -# Copyright (c) 1987 Regents of the University of California. -# All rights reserved. The Berkeley software License Agreement -# specifies the terms and conditions for redistribution. +# Copyright (c) 1989 The Regents of the University of California. +# All rights reserved. # -# @(#)Makefile 4.3 (Berkeley) %G% +# Redistribution and use in source and binary forms are permitted +# provided that the above copyright notice and this paragraph are +# duplicated in all such forms and that any documentation, +# advertising materials, and other materials related to such +# distribution and use acknowledge that the software was developed +# by the University of California, Berkeley. The name of the +# University may not be used to endorse or promote products derived +# from this software without specific prior written permission. +# THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR +# IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED +# WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. +# +# @(#)Makefile 4.4 (Berkeley) %G% # CFLAGS= -O LIBC= /lib/libc.a SRCS= pow.c gcd.c msqrt.c mdiv.c mout.c mult.c madd.c util.c OBJS= pow.o gcd.o msqrt.o mdiv.o mout.o mult.o madd.o util.o +MAN= mp.0 all: libmp.a libmp.a: ${OBJS} ar cr $@ ${OBJS} -clean: FRC +clean: rm -f ${OBJS} core libmp.a -depend: FRC +cleandir: clean + rm -f ${MAN} tags .depend + +depend: ${SRCS} mkdep ${CFLAGS} ${SRCS} -install: FRC +install: ${MAN} install -o bin -g bin -m 644 libmp.a ${DESTDIR}/usr/lib/libmp.a ranlib ${DESTDIR}/usr/lib/libmp.a + install -c -o bin -g bin -m 444 mp.0 ${DESTDIR}/usr/man/cat3 -lint: FRC +lint: ${SRCS} lint ${CFLAGS} ${SRCS} -tags: FRC +tags: ${SRCS} ctags ${SRCS} FRC: - -# DO NOT DELETE THIS LINE -- mkdep uses it. -# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY. - -pow.o: pow.c /usr/include/mp.h -gcd.o: gcd.c /usr/include/mp.h -msqrt.o: msqrt.c /usr/include/mp.h -mdiv.o: mdiv.c /usr/include/mp.h -mout.o: mout.c /usr/include/stdio.h /usr/include/mp.h -mult.o: mult.c /usr/include/mp.h -madd.o: madd.c /usr/include/mp.h -util.o: util.c /usr/include/stdio.h /usr/include/mp.h - -# IF YOU PUT ANYTHING HERE IT WILL GO AWAY diff --git a/usr/src/lib/libplot/Makefile b/usr/src/lib/libplot/Makefile index bbc31419cb..3ae139b77d 100644 --- a/usr/src/lib/libplot/Makefile +++ b/usr/src/lib/libplot/Makefile @@ -1,9 +1,20 @@ # -# Copyright (c) 1987 Regents of the University of California. -# All rights reserved. The Berkeley software License Agreement -# specifies the terms and conditions for redistribution. +# Copyright (c) 1989 The Regents of the University of California. +# All rights reserved. # -# @(#)Makefile 4.12 (Berkeley) %G% +# Redistribution and use in source and binary forms are permitted +# provided that the above copyright notice and this paragraph are +# duplicated in all such forms and that any documentation, +# advertising materials, and other materials related to such +# distribution and use acknowledge that the software was developed +# by the University of California, Berkeley. The name of the +# University may not be used to endorse or promote products derived +# from this software without specific prior written permission. +# THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR +# IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED +# WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. +# +# @(#)Makefile 4.13 (Berkeley) %G% # CFLAGS= -O LIBC= /lib/libc.a @@ -12,6 +23,7 @@ ALL= libf77plot libplot lib300 lib300s lib4013 lib4014 lib450 libvt0 \ libplotimagen libplotgrn SUBDIRS=tf77 plot t4013 t4014 t300 t300s t450 vt0 aed bitgraph dumb gigi \ hp2648 hp7221 imagen grn +MAN= plot.0 all: ${ALL} @@ -63,27 +75,24 @@ libplotimagen: FRC libplotgrn: FRC cd grn; make ${MFLAGS} -clean: FRC +clean: rm -f ${ALL} core for i in ${SUBDIRS}; do \ (cd $$i; make ${MFLAGS} clean); \ done -depend: FRC +cleandir: clean + rm -f ${MAN} tags .depend + +depend lint tags: FRC for i in ${SUBDIRS}; do \ - (cd $$i; make ${MFLAGS} depend); \ - done + (cd $$i; make ${MFLAGS} $@); done -install: FRC +install: ${MAN} for i in ${ALL}; do \ install -o bin -g bin -m 644 $$i ${DESTDIR}/usr/lib/$$i.a; \ ranlib ${DESTDIR}/usr/lib/$$i.a; \ done + install -c -o bin -g bin -m 444 plot.0 ${DESTDIR}/usr/man/cat3 -tags: FRC - for i in ${SUBDIRS}; do \ - (cd $$i; make ${MFLAGS} tags); \ - done - -lint: FRC: diff --git a/usr/src/lib/libterm/Makefile b/usr/src/lib/libterm/Makefile index ed76f1184c..1f4a7c4819 100644 --- a/usr/src/lib/libterm/Makefile +++ b/usr/src/lib/libterm/Makefile @@ -12,14 +12,15 @@ # from this software without specific prior written permission. # THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR # IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED -# WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. +# WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. # -# @(#)Makefile 5.4 (Berkeley) %G% +# @(#)Makefile 5.5 (Berkeley) %G% # CFLAGS= -O -DCM_N -DCM_GT -DCM_B -DCM_D LIBC= /lib/libc.a SRCS= termcap.c tgoto.c tputs.c OBJS= termcap.o tgoto.o tputs.o +MAN= termcap.0 .c.o: ${CC} ${CFLAGS} -c -p $*.c @@ -49,7 +50,7 @@ cleandir: clean depend: mkdep ${CFLAGS} ${SRCS} -install: +install: ${MAN} install -o bin -g bin -m 644 termcap.a ${DESTDIR}/usr/lib/libtermcap.a rm -f ${DESTDIR}/usr/lib/libtermlib.a ln ${DESTDIR}/usr/lib/libtermcap.a ${DESTDIR}/usr/lib/libtermlib.a @@ -58,6 +59,7 @@ install: rm -f ${DESTDIR}/usr/lib/libtermlib_p.a ln ${DESTDIR}/usr/lib/libtermcap_p.a ${DESTDIR}/usr/lib/libtermlib_p.a ranlib ${DESTDIR}/usr/lib/libtermcap_p.a + install -c -o bin -g bin -m 444 termcap.0 ${DESTDIR}/usr/man/cat3 lint: lint ${CFLAGS} ${SRCS} diff --git a/usr/src/old/lib2648/Makefile b/usr/src/old/lib2648/Makefile index 55e4a48fb5..6fb98f64f3 100644 --- a/usr/src/old/lib2648/Makefile +++ b/usr/src/old/lib2648/Makefile @@ -1,9 +1,20 @@ # -# Copyright (c) 1987 Regents of the University of California. -# All rights reserved. The Berkeley software License Agreement -# specifies the terms and conditions for redistribution. +# Copyright (c) 1989 The Regents of the University of California. +# All rights reserved. # -# @(#)Makefile 5.2 (Berkeley) %G% +# Redistribution and use in source and binary forms are permitted +# provided that the above copyright notice and this paragraph are +# duplicated in all such forms and that any documentation, +# advertising materials, and other materials related to such +# distribution and use acknowledge that the software was developed +# by the University of California, Berkeley. The name of the +# University may not be used to endorse or promote products derived +# from this software without specific prior written permission. +# THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR +# IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED +# WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. +# +# @(#)Makefile 5.3 (Berkeley) %G% # CFLAGS= -DTRACE -O SRCS= agoto.c aminmax.c aon.c areaclear.c beep.c bitcopy.c cleara.c \ @@ -20,79 +31,29 @@ OBJS= agoto.o aminmax.o aon.o areaclear.o beep.o bitcopy.o cleara.o \ outstr.o printg.o rawchar.o rbon.o rdchar.o readline.o set.o \ setmat.o sync.o texton.o ttyinit.o update.o video.o zermat.o \ zoomn.o zoomon.o zoomout.o +MAN= lib2648.0 all: lib2648.a lib2648.a: ${OBJS} ar cr lib2648.a `lorder ${OBJS} | tsort` -clean: FRC +clean: rm -f ${OBJS} core lib2648.a -depend: FRC +cleandir: clean + rm -f ${MAN} tags .depend + +depend: ${SRCS} mkdep ${CFLAGS} ${SRCS} -install: FRC +install: ${MAN} install -o bin -g bin -m 644 lib2648.a ${DESTDIR}/usr/lib/lib2648.a ranlib ${DESTDIR}/usr/lib/lib2648.a + install -c -o bin -g bin -m 444 lib2648.0 ${DESTDIR}/usr/man/cat3 -lint: FRC +lint: ${SRCS} lint ${CFLAGS} ${SRCS} -tags: FRC +tags: ${SRCS} ctags ${SRCS} - -FRC: - -# DO NOT DELETE THIS LINE -- mkdep uses it. -# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY. - -agoto.o: agoto.c 2648.h /usr/include/stdio.h -aminmax.o: aminmax.c bit.h /usr/include/stdio.h -aon.o: aon.c 2648.h /usr/include/stdio.h -areaclear.o: areaclear.c 2648.h /usr/include/stdio.h -beep.o: beep.c 2648.h /usr/include/stdio.h -bitcopy.o: bitcopy.c bit.h /usr/include/stdio.h -cleara.o: cleara.c 2648.h /usr/include/stdio.h -clearg.o: clearg.c 2648.h /usr/include/stdio.h -curon.o: curon.c 2648.h /usr/include/stdio.h -dispmsg.o: dispmsg.c 2648.h /usr/include/stdio.h -draw.o: draw.c 2648.h /usr/include/stdio.h -drawbox.o: drawbox.c 2648.h /usr/include/stdio.h -dumpmat.o: dumpmat.c bit.h /usr/include/stdio.h -emptyrow.o: emptyrow.c bit.h /usr/include/stdio.h -error.o: error.c -escseq.o: escseq.c 2648.h /usr/include/stdio.h -gdefault.o: gdefault.c 2648.h /usr/include/stdio.h -gon.o: gon.c 2648.h /usr/include/stdio.h -kon.o: kon.c 2648.h /usr/include/stdio.h -line.o: line.c 2648.h /usr/include/stdio.h -mat.o: mat.c bit.h /usr/include/stdio.h -message.o: message.c 2648.h /usr/include/stdio.h -minmax.o: minmax.c bit.h /usr/include/stdio.h -motion.o: motion.c 2648.h /usr/include/stdio.h -move.o: move.c 2648.h /usr/include/stdio.h -movecurs.o: movecurs.c 2648.h /usr/include/stdio.h -newmat.o: newmat.c bit.h /usr/include/stdio.h -outchar.o: outchar.c 2648.h /usr/include/stdio.h -outstr.o: outstr.c 2648.h /usr/include/stdio.h -printg.o: printg.c 2648.h /usr/include/stdio.h -rawchar.o: rawchar.c 2648.h /usr/include/stdio.h -rbon.o: rbon.c 2648.h /usr/include/stdio.h -rdchar.o: rdchar.c /usr/include/ctype.h -readline.o: readline.c 2648.h /usr/include/stdio.h -set.o: set.c 2648.h /usr/include/stdio.h -setmat.o: setmat.c bit.h /usr/include/stdio.h -sync.o: sync.c 2648.h /usr/include/stdio.h -texton.o: texton.c 2648.h /usr/include/stdio.h -ttyinit.o: ttyinit.c /usr/include/sgtty.h /usr/include/sys/ioctl.h -ttyinit.o: /usr/include/sys/ttychars.h /usr/include/sys/ttydev.h 2648.h -ttyinit.o: /usr/include/stdio.h -update.o: update.c bit.h /usr/include/stdio.h -video.o: video.c 2648.h /usr/include/stdio.h -zermat.o: zermat.c bit.h /usr/include/stdio.h -zoomn.o: zoomn.c 2648.h /usr/include/stdio.h -zoomon.o: zoomon.c 2648.h /usr/include/stdio.h -zoomout.o: zoomout.c - -# IF YOU PUT ANYTHING HERE IT WILL GO AWAY -- 2.20.1