1# 2# Copyright (c) 1987 Regents of the University of California. 3# All rights reserved. The Berkeley software License Agreement 4# specifies the terms and conditions for redistribution. 5# 6# @(#)Makefile 4.12 (Berkeley) 06/19/87 7# 8CFLAGS= -O 9LIBC= /lib/libc.a 10ALL= libf77plot libplot lib300 lib300s lib4013 lib4014 lib450 libvt0 \ 11 libplotaed libplotbg libplotdumb libplotgigi libplot2648 libplot7221 \ 12 libplotimagen libplotgrn 13SUBDIRS=tf77 plot t4013 t4014 t300 t300s t450 vt0 aed bitgraph dumb gigi \ 14 hp2648 hp7221 imagen grn 15 16all: ${ALL} 17 18libf77plot: FRC 19 cd tf77; make ${MFLAGS} 20 21libplot: FRC 22 cd plot; make ${MFLAGS} 23 24lib4013: FRC 25 cd t4013; make ${MFLAGS} 26 27lib4014: FRC 28 cd t4014; make ${MFLAGS} 29 30lib300: FRC 31 cd t300; make ${MFLAGS} 32 33lib300s: FRC 34 cd t300s; make ${MFLAGS} 35 36lib450: FRC 37 cd t450; make ${MFLAGS} 38 39libvt0: FRC 40 cd vt0; make ${MFLAGS} 41 42libplotaed: FRC 43 cd aed; make ${MFLAGS} 44 45libplotbg: FRC 46 cd bitgraph; make ${MFLAGS} 47 48libplotdumb: FRC 49 cd dumb; make ${MFLAGS} 50 51libplotgigi: FRC 52 cd gigi; make ${MFLAGS} 53 54libplot2648: FRC 55 cd hp2648; make ${MFLAGS} 56 57libplot7221: FRC 58 cd hp7221; make ${MFLAGS} 59 60libplotimagen: FRC 61 cd imagen; make ${MFLAGS} 62 63libplotgrn: FRC 64 cd grn; make ${MFLAGS} 65 66clean: FRC 67 rm -f ${ALL} core 68 for i in ${SUBDIRS}; do \ 69 (cd $$i; make ${MFLAGS} clean); \ 70 done 71 72depend: FRC 73 for i in ${SUBDIRS}; do \ 74 (cd $$i; make ${MFLAGS} depend); \ 75 done 76 77install: FRC 78 for i in ${ALL}; do \ 79 install -o bin -g bin -m 644 $$i ${DESTDIR}/usr/lib/$$i.a; \ 80 ranlib ${DESTDIR}/usr/lib/$$i.a; \ 81 done 82 83tags: FRC 84 for i in ${SUBDIRS}; do \ 85 (cd $$i; make ${MFLAGS} tags); \ 86 done 87 88lint: 89FRC: 90