From 94f17316dbf7b67b3c867840ed9b79ac1bd45aa3 Mon Sep 17 00:00:00 2001 From: Keith Bostic Date: Fri, 19 Jun 1987 23:58:17 -0800 Subject: [PATCH] new template SCCS-vsn: lib/libplot/t4013/Makefile 5.2 SCCS-vsn: lib/libplot/t4014/Makefile 4.6 SCCS-vsn: lib/libplot/t450/Makefile 4.4 SCCS-vsn: lib/libplot/f77plot/Makefile 5.2 SCCS-vsn: lib/libplot/vt0/Makefile 4.4 SCCS-vsn: lib/libplot/Makefile 4.12 --- usr/src/lib/libplot/Makefile | 42 ++++++++++++++------ usr/src/lib/libplot/f77plot/Makefile | 52 ++++++++++++++++++++---- usr/src/lib/libplot/t4013/Makefile | 49 ++++++++++++++++++++--- usr/src/lib/libplot/t4014/Makefile | 52 +++++++++++++++++++++--- usr/src/lib/libplot/t450/Makefile | 59 +++++++++++++++++++++++++--- usr/src/lib/libplot/vt0/Makefile | 52 +++++++++++++++++++++--- 6 files changed, 265 insertions(+), 41 deletions(-) diff --git a/usr/src/lib/libplot/Makefile b/usr/src/lib/libplot/Makefile index ddd5a4b33f..bbc31419cb 100644 --- a/usr/src/lib/libplot/Makefile +++ b/usr/src/lib/libplot/Makefile @@ -1,12 +1,19 @@ -# Makefile 4.12 87/06/19 # +# 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 4.12 (Berkeley) %G% +# +CFLAGS= -O +LIBC= /lib/libc.a ALL= libf77plot libplot lib300 lib300s lib4013 lib4014 lib450 libvt0 \ - libplotaed libplotbg libplotdumb libplotgigi libplot2648 \ - libplot7221 libplotimagen libplotgrn -SUBDIRS=tf77 plot t4013 t4014 t300 t300s t450 vt0 \ - aed bitgraph dumb gigi hp2648 hp7221 imagen grn + libplotaed libplotbg libplotdumb libplotgigi libplot2648 libplot7221 \ + libplotimagen libplotgrn +SUBDIRS=tf77 plot t4013 t4014 t300 t300s t450 vt0 aed bitgraph dumb gigi \ + hp2648 hp7221 imagen grn -all: ${ALL} +all: ${ALL} libf77plot: FRC cd tf77; make ${MFLAGS} @@ -56,16 +63,27 @@ libplotimagen: FRC libplotgrn: FRC cd grn; make ${MFLAGS} -FRC: +clean: FRC + rm -f ${ALL} core + for i in ${SUBDIRS}; do \ + (cd $$i; make ${MFLAGS} clean); \ + done -install: all +depend: FRC + for i in ${SUBDIRS}; do \ + (cd $$i; make ${MFLAGS} depend); \ + done + +install: FRC for i in ${ALL}; do \ - install -m 644 $$i ${DESTDIR}/usr/lib/$$i.a; \ + install -o bin -g bin -m 644 $$i ${DESTDIR}/usr/lib/$$i.a; \ ranlib ${DESTDIR}/usr/lib/$$i.a; \ done -clean: - rm -f ${ALL} errs a.out core +tags: FRC for i in ${SUBDIRS}; do \ - (cd $$i; make ${MFLAGS} clean); \ + (cd $$i; make ${MFLAGS} tags); \ done + +lint: +FRC: diff --git a/usr/src/lib/libplot/f77plot/Makefile b/usr/src/lib/libplot/f77plot/Makefile index d95f928b5f..e96bf43a2e 100644 --- a/usr/src/lib/libplot/f77plot/Makefile +++ b/usr/src/lib/libplot/f77plot/Makefile @@ -1,17 +1,53 @@ # -# Copyright (c) 1980 Regents of the University of California. +# 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.1 (Berkeley) %G% +# @(#)Makefile 5.2 (Berkeley) %G% # CFLAGS= -O - -OBJS = arc.o box.o circle.o clospl.o cont.o dot.o erase.o label.o \ +LIBC= /lib/libc.a +SRCS= arc.c box.c circle.c clospl.c cont.c dot.c erase.c label.c \ + line.c linemd.c move.c open.c point.c space.c +OBJS= arc.o box.o circle.o clospl.o cont.o dot.o erase.o label.o \ line.o linemd.o move.o open.o point.o space.o -../libf77plot: ${OBJS} - ar cu ../libf77plot `lorder ${OBJS} | tsort` +all: ../libf77plot + +../libf77plot: ${OBJS} + ar cu $@ `lorder ${OBJS} | tsort` + +clean: FRC + rm -f ${OBJS} core + +depend: FRC + mkdep ${CFLAGS} ${SRCS} + +lint: FRC + lint ${CFLAGS} ${SRCS} + +tags: FRC + ctags ${SRCS} + +install: +FRC: + +# DO NOT DELETE THIS LINE -- mkdep uses it. +# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY. + +arc.o: arc.c +box.o: box.c +circle.o: circle.c +clospl.o: clospl.c +cont.o: cont.c +dot.o: dot.c +erase.o: erase.c +label.o: label.c +line.o: line.c +linemd.o: linemd.c +move.o: move.c +open.o: open.c +point.o: point.c +space.o: space.c -clean: - rm -f ${OBJS} errs a.out core +# IF YOU PUT ANYTHING HERE IT WILL GO AWAY diff --git a/usr/src/lib/libplot/t4013/Makefile b/usr/src/lib/libplot/t4013/Makefile index badab2d113..542d6a966b 100644 --- a/usr/src/lib/libplot/t4013/Makefile +++ b/usr/src/lib/libplot/t4013/Makefile @@ -1,16 +1,53 @@ # -# Copyright (c) 1980 Regents of the University of California. +# 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.1 (Berkeley) %G% +# @(#)Makefile 5.2 (Berkeley) %G% # CFLAGS= -O +LIBC= /lib/libc.a +SRCS= arc.c box.c circle.c close.c dot.c erase.c label.c \ + line.c linemod.c move.c open.c point.c space.c subr.c OBJS= arc.o box.o circle.o close.o dot.o erase.o label.o \ line.o linemod.o move.o open.o point.o space.o subr.o -../lib4013: ${OBJS} - ar cu ../lib4013 `lorder ${OBJS} | tsort` +all: ../lib4013 -clean: - rm -f ${OBJS} errs a.out core +../lib4013: ${OBJS} + ar cu $@ `lorder ${OBJS} | tsort` + +clean: FRC + rm -f ${OBJS} core + +depend: FRC + mkdep ${CFLAGS} ${SRCS} + +lint: FRC + lint ${CFLAGS} ${SRCS} + +tags: FRC + ctags ${SRCS} + +install: +FRC: + +# DO NOT DELETE THIS LINE -- mkdep uses it. +# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY. + +arc.o: arc.c +box.o: box.c +circle.o: circle.c +close.o: close.c /usr/include/stdio.h +dot.o: dot.c +erase.o: erase.c +label.o: label.c +line.o: line.c +linemod.o: linemod.c +move.o: move.c +open.o: open.c +point.o: point.c +space.o: space.c +subr.o: subr.c /usr/include/stdio.h + +# IF YOU PUT ANYTHING HERE IT WILL GO AWAY diff --git a/usr/src/lib/libplot/t4014/Makefile b/usr/src/lib/libplot/t4014/Makefile index a10690dbdc..b7d90a6c77 100644 --- a/usr/src/lib/libplot/t4014/Makefile +++ b/usr/src/lib/libplot/t4014/Makefile @@ -1,11 +1,53 @@ -# Makefile 4.5 85/01/02 +# +# 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 4.6 (Berkeley) %G% # CFLAGS= -O +LIBC= /lib/libc.a +SRCS= arc.c box.c circle.c close.c dot.c erase.c label.c \ + line.c linemod.c move.c open.c point.c space.c subr.c OBJS= arc.o box.o circle.o close.o dot.o erase.o label.o \ line.o linemod.o move.o open.o point.o space.o subr.o -../lib4014: ${OBJS} - ar cu ../lib4014 `lorder ${OBJS} | tsort` +all: ../lib4014 + +../lib4014: ${OBJS} + ar cu $@ `lorder ${OBJS} | tsort` + +clean: FRC + rm -f ${OBJS} core + +depend: FRC + mkdep ${CFLAGS} ${SRCS} + +lint: FRC + lint ${CFLAGS} ${SRCS} + +tags: FRC + ctags ${SRCS} + +install: +FRC: + +# DO NOT DELETE THIS LINE -- mkdep uses it. +# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY. + +arc.o: arc.c +box.o: box.c +circle.o: circle.c +close.o: close.c /usr/include/stdio.h +dot.o: dot.c +erase.o: erase.c +label.o: label.c +line.o: line.c +linemod.o: linemod.c +move.o: move.c +open.o: open.c +point.o: point.c +space.o: space.c +subr.o: subr.c /usr/include/stdio.h -clean: - rm -f ${OBJS} errs a.out core +# IF YOU PUT ANYTHING HERE IT WILL GO AWAY diff --git a/usr/src/lib/libplot/t450/Makefile b/usr/src/lib/libplot/t450/Makefile index 2a3f3da5fb..7258beba8f 100644 --- a/usr/src/lib/libplot/t450/Makefile +++ b/usr/src/lib/libplot/t450/Makefile @@ -1,11 +1,60 @@ -# Makefile 4.3 83/09/21 +# +# 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 4.4 (Berkeley) %G% # CFLAGS= -O +LIBC= /lib/libc.a +SRCS= arc.c box.c circle.c close.c dot.c erase.c label.c \ + line.c linmod.c move.c open.c point.c space.c subr.c OBJS= arc.o box.o circle.o close.o dot.o erase.o label.o \ line.o linmod.o move.o open.o point.o space.o subr.o -../lib450: ${OBJS} - ar cu ../lib450 ${OBJS} +all: ../lib450 + +../lib450: ${OBJS} + ar cu $@ ${OBJS} + +clean: FRC + rm -f ${OBJS} core + +depend: FRC + mkdep ${CFLAGS} ${SRCS} + +lint: FRC + lint ${CFLAGS} ${SRCS} + +tags: FRC + ctags ${SRCS} + +install: +FRC: + +# DO NOT DELETE THIS LINE -- mkdep uses it. +# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY. + +arc.o: arc.c +box.o: box.c +circle.o: circle.c +close.o: close.c /usr/include/stdio.h +dot.o: dot.c +erase.o: erase.c con.h /usr/include/sgtty.h /usr/include/sys/ioctl.h +erase.o: /usr/include/sys/ttychars.h /usr/include/sys/ttydev.h +label.o: label.c con.h /usr/include/sgtty.h /usr/include/sys/ioctl.h +label.o: /usr/include/sys/ttychars.h /usr/include/sys/ttydev.h +line.o: line.c con.h /usr/include/sgtty.h /usr/include/sys/ioctl.h +line.o: /usr/include/sys/ttychars.h /usr/include/sys/ttydev.h +linmod.o: linmod.c +move.o: move.c +open.o: open.c /usr/include/sgtty.h /usr/include/sys/ioctl.h +open.o: /usr/include/sys/ttychars.h /usr/include/sys/ttydev.h +point.o: point.c +space.o: space.c con.h /usr/include/sgtty.h /usr/include/sys/ioctl.h +space.o: /usr/include/sys/ttychars.h /usr/include/sys/ttydev.h +subr.o: subr.c /usr/include/stdio.h con.h /usr/include/sgtty.h +subr.o: /usr/include/sys/ioctl.h /usr/include/sys/ttychars.h +subr.o: /usr/include/sys/ttydev.h -clean: - rm -f ${OBJS} errs a.out core +# IF YOU PUT ANYTHING HERE IT WILL GO AWAY diff --git a/usr/src/lib/libplot/vt0/Makefile b/usr/src/lib/libplot/vt0/Makefile index 40f9e38b07..a24356abf2 100644 --- a/usr/src/lib/libplot/vt0/Makefile +++ b/usr/src/lib/libplot/vt0/Makefile @@ -1,11 +1,53 @@ -# Makefile 4.3 83/07/09 +# +# 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 4.4 (Berkeley) %G% # CFLAGS= -O +LIBC= /lib/libc.a +SRCS= arc.c box.c circle.c close.c dot.c erase.c label.c \ + line.c linmod.c move.c open.c point.c space.c subr.c OBJS= arc.o box.o circle.o close.o dot.o erase.o label.o \ line.o linmod.o move.o open.o point.o space.o subr.o -../libvt0: ${OBJS} - ar cu ../libvt0 ${OBJS} +all: ../libvt0 + +../libvt0: ${OBJS} + ar cu $@ ${OBJS} + +clean: FRC + rm -f ${OBJS} core + +depend: FRC + mkdep ${CFLAGS} ${SRCS} + +lint: FRC + lint ${CFLAGS} ${SRCS} + +tags: FRC + ctags ${SRCS} + +install: +FRC: + +# DO NOT DELETE THIS LINE -- mkdep uses it. +# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY. + +arc.o: arc.c +box.o: box.c +circle.o: circle.c +close.o: close.c +dot.o: dot.c +erase.o: erase.c +label.o: label.c +line.o: line.c +linmod.o: linmod.c +move.o: move.c +open.o: open.c +point.o: point.c +space.o: space.c +subr.o: subr.c -clean: - rm -f ${OBJS} errs a.out core +# IF YOU PUT ANYTHING HERE IT WILL GO AWAY -- 2.20.1