BSD 4_3_Tahoe release
[unix-history] / usr / src / usr.lib / libplot / Makefile
index 555be7c..b782fcf 100644 (file)
@@ -1,12 +1,19 @@
-#      Makefile        4.10    85/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.12    (Berkeley)      6/19/87
+#
+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
-SUBDIRS=tf77 plot t4013 t4014 t300 t300s t450 vt0 \
-       aed bitgraph dumb gigi hp2648 hp7221 imagen
+       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}
@@ -53,16 +60,30 @@ libplot7221: FRC
 libplotimagen: FRC
        cd imagen; make ${MFLAGS}
 
 libplotimagen: FRC
        cd imagen; make ${MFLAGS}
 
-FRC:
+libplotgrn: FRC
+       cd grn; make ${MFLAGS}
+
+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: