bring in most up to date code; removes hardcoded printer resolution;
[unix-history] / usr / src / lib / libplot / Makefile
index 34d54ba..555be7c 100644 (file)
@@ -1,32 +1,68 @@
-#      Makefile        4.1     83/06/27
+#      Makefile        4.10    85/09/21
 #
 #
-all: libplot.a libt4014.a libt300.a libt300s.a libt450.a libvt0.a
+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
 
 
-libplot.a: FRC
+all:   ${ALL}
+
+libf77plot: FRC
+       cd tf77; make ${MFLAGS}
+
+libplot: FRC
        cd plot; make ${MFLAGS}
 
        cd plot; make ${MFLAGS}
 
-libt4014.a: FRC
+lib4013: FRC
+       cd t4013; make ${MFLAGS}
+
+lib4014: FRC
        cd t4014; make ${MFLAGS}
 
        cd t4014; make ${MFLAGS}
 
-libt300.a: FRC
+lib300: FRC
        cd t300; make ${MFLAGS}
 
        cd t300; make ${MFLAGS}
 
-libt300s.a: FRC
+lib300s: FRC
        cd t300s; make ${MFLAGS}
 
        cd t300s; make ${MFLAGS}
 
-libt450.a: FRC
+lib450: FRC
        cd t450; make ${MFLAGS}
 
        cd t450; make ${MFLAGS}
 
-libvt0.a: FRC
+libvt0: FRC
        cd vt0; make ${MFLAGS}
 
        cd vt0; make ${MFLAGS}
 
+libplotaed: FRC
+       cd aed; make ${MFLAGS}
+
+libplotbg: FRC
+       cd bitgraph; make ${MFLAGS}
+
+libplotdumb: FRC
+       cd dumb; make ${MFLAGS}
+
+libplotgigi: FRC
+       cd gigi; make ${MFLAGS}
+
+libplot2648: FRC
+       cd hp2648; make ${MFLAGS}
+
+libplot7221: FRC
+       cd hp7221; make ${MFLAGS}
+
+libplotimagen: FRC
+       cd imagen; make ${MFLAGS}
+
 FRC:
 
 install: all
        for i in ${ALL}; do \
 FRC:
 
 install: all
        for i in ${ALL}; do \
-               install -m 644 $$i ${DESTDIR}/usr/lib/$$i; \
-               ranlib ${DESTDIR}/usr/lib/$$i; \
+               install -m 644 $$i ${DESTDIR}/usr/lib/$$i.a; \
+               ranlib ${DESTDIR}/usr/lib/$$i.a; \
        done
 
 clean:
        rm -f ${ALL} errs a.out core
        done
 
 clean:
        rm -f ${ALL} errs a.out core
+       for i in ${SUBDIRS}; do \
+               (cd $$i; make ${MFLAGS} clean); \
+       done