BSD 4_3_Reno release
[unix-history] / usr / src / lib / libplot / Makefile
index f569975..8d3b66a 100644 (file)
@@ -1,71 +1,6 @@
-#      Makefile        4.11    86/08/29
-#
-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
+#      @(#)Makefile    4.15 (Berkeley) 5/11/90
 
 
-all:   ${ALL}
+SUBDIR=        aed bitgraph dumb f77plot gigi grn hp2648 hp7221 imagen plot \
+       t300 t300s t4013 t4014 t450 vt0
 
 
-libf77plot: FRC
-       cd tf77; make ${MFLAGS}
-
-libplot: FRC
-       cd plot; make ${MFLAGS}
-
-lib4013: FRC
-       cd t4013; make ${MFLAGS}
-
-lib4014: FRC
-       cd t4014; make ${MFLAGS}
-
-lib300: FRC
-       cd t300; make ${MFLAGS}
-
-lib300s: FRC
-       cd t300s; make ${MFLAGS}
-
-lib450: FRC
-       cd t450; make ${MFLAGS}
-
-libvt0: FRC
-       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}
-
-libplotgrn: FRC
-       cd grn; make ${MFLAGS}
-
-FRC:
-
-install: all
-       for i in ${ALL}; do \
-               install -m 644 $$i ${DESTDIR}/usr/lib/$$i.a; \
-               ranlib ${DESTDIR}/usr/lib/$$i.a; \
-       done
-
-clean:
-       rm -f ${ALL} errs a.out core
-       for i in ${SUBDIRS}; do \
-               (cd $$i; make ${MFLAGS} clean); \
-       done
+.include <bsd.subdir.mk>