Commit | Line | Data |
---|---|---|
738da2ff | 1 | # |
94f17316 KB |
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) %G% | |
7 | # | |
8 | CFLAGS= -O | |
9 | LIBC= /lib/libc.a | |
5070d2b6 | 10 | ALL= libf77plot libplot lib300 lib300s lib4013 lib4014 lib450 libvt0 \ |
94f17316 KB |
11 | libplotaed libplotbg libplotdumb libplotgigi libplot2648 libplot7221 \ |
12 | libplotimagen libplotgrn | |
13 | SUBDIRS=tf77 plot t4013 t4014 t300 t300s t450 vt0 aed bitgraph dumb gigi \ | |
14 | hp2648 hp7221 imagen grn | |
08ae617f | 15 | |
94f17316 | 16 | all: ${ALL} |
738da2ff | 17 | |
5070d2b6 SL |
18 | libf77plot: FRC |
19 | cd tf77; make ${MFLAGS} | |
20 | ||
9b0b4566 | 21 | libplot: FRC |
738da2ff SL |
22 | cd plot; make ${MFLAGS} |
23 | ||
5070d2b6 SL |
24 | lib4013: FRC |
25 | cd t4013; make ${MFLAGS} | |
26 | ||
acb87785 | 27 | lib4014: FRC |
738da2ff SL |
28 | cd t4014; make ${MFLAGS} |
29 | ||
acb87785 | 30 | lib300: FRC |
738da2ff SL |
31 | cd t300; make ${MFLAGS} |
32 | ||
acb87785 | 33 | lib300s: FRC |
738da2ff SL |
34 | cd t300s; make ${MFLAGS} |
35 | ||
acb87785 | 36 | lib450: FRC |
738da2ff SL |
37 | cd t450; make ${MFLAGS} |
38 | ||
9b0b4566 | 39 | libvt0: FRC |
738da2ff SL |
40 | cd vt0; make ${MFLAGS} |
41 | ||
50c5f98d RC |
42 | libplotaed: FRC |
43 | cd aed; make ${MFLAGS} | |
44 | ||
45 | libplotbg: FRC | |
46 | cd bitgraph; make ${MFLAGS} | |
47 | ||
48 | libplotdumb: FRC | |
49 | cd dumb; make ${MFLAGS} | |
50 | ||
51 | libplotgigi: FRC | |
52 | cd gigi; make ${MFLAGS} | |
53 | ||
54 | libplot2648: FRC | |
55 | cd hp2648; make ${MFLAGS} | |
56 | ||
57 | libplot7221: FRC | |
58 | cd hp7221; make ${MFLAGS} | |
59 | ||
9cc57cc6 | 60 | libplotimagen: FRC |
5517f37a SL |
61 | cd imagen; make ${MFLAGS} |
62 | ||
887d93ef KS |
63 | libplotgrn: FRC |
64 | cd grn; make ${MFLAGS} | |
65 | ||
94f17316 KB |
66 | clean: FRC |
67 | rm -f ${ALL} core | |
68 | for i in ${SUBDIRS}; do \ | |
69 | (cd $$i; make ${MFLAGS} clean); \ | |
70 | done | |
738da2ff | 71 | |
94f17316 KB |
72 | depend: FRC |
73 | for i in ${SUBDIRS}; do \ | |
74 | (cd $$i; make ${MFLAGS} depend); \ | |
75 | done | |
76 | ||
77 | install: FRC | |
738da2ff | 78 | for i in ${ALL}; do \ |
94f17316 | 79 | install -o bin -g bin -m 644 $$i ${DESTDIR}/usr/lib/$$i.a; \ |
9b0b4566 | 80 | ranlib ${DESTDIR}/usr/lib/$$i.a; \ |
738da2ff SL |
81 | done |
82 | ||
94f17316 | 83 | tags: FRC |
5d2d901d | 84 | for i in ${SUBDIRS}; do \ |
94f17316 | 85 | (cd $$i; make ${MFLAGS} tags); \ |
4e444bd9 | 86 | done |
94f17316 KB |
87 | |
88 | lint: | |
89 | FRC: |