new template
authorKeith Bostic <bostic@ucbvax.Berkeley.EDU>
Sat, 20 Jun 1987 07:58:17 +0000 (23:58 -0800)
committerKeith Bostic <bostic@ucbvax.Berkeley.EDU>
Sat, 20 Jun 1987 07:58:17 +0000 (23:58 -0800)
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
usr/src/lib/libplot/f77plot/Makefile
usr/src/lib/libplot/t4013/Makefile
usr/src/lib/libplot/t4014/Makefile
usr/src/lib/libplot/t450/Makefile
usr/src/lib/libplot/vt0/Makefile

index ddd5a4b..bbc3141 100644 (file)
@@ -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 \
 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}
 
 libf77plot: FRC
        cd tf77; make ${MFLAGS}
@@ -56,16 +63,27 @@ libplotimagen: FRC
 libplotgrn: FRC
        cd grn; make ${MFLAGS}
 
 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 \
        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
 
                ranlib ${DESTDIR}/usr/lib/$$i.a; \
        done
 
-clean:
-       rm -f ${ALL} errs a.out core
+tags: FRC
        for i in ${SUBDIRS}; do \
        for i in ${SUBDIRS}; do \
-               (cd $$i; make ${MFLAGS} clean); \
+               (cd $$i; make ${MFLAGS} tags); \
        done
        done
+
+lint:
+FRC:
index d95f928..e96bf43 100644 (file)
@@ -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.
 #
 # 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
 #
 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
 
        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
index badab2d..542d6a9 100644 (file)
@@ -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.
 #
 # 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
 #
 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
 
 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
index a10690d..b7d90a6 100644 (file)
@@ -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
 #
 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
 
 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
index 2a3f3da..7258beb 100644 (file)
@@ -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
 #
 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
 
 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
index 40f9e38..a24356a 100644 (file)
@@ -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
 #
 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
 
 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