rewritten from the manual page; add Berkeley specific header
[unix-history] / usr / src / lib / libplot / Makefile
CommitLineData
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#
8CFLAGS= -O
9LIBC= /lib/libc.a
5070d2b6 10ALL= libf77plot libplot lib300 lib300s lib4013 lib4014 lib450 libvt0 \
94f17316
KB
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
08ae617f 15
94f17316 16all: ${ALL}
738da2ff 17
5070d2b6
SL
18libf77plot: FRC
19 cd tf77; make ${MFLAGS}
20
9b0b4566 21libplot: FRC
738da2ff
SL
22 cd plot; make ${MFLAGS}
23
5070d2b6
SL
24lib4013: FRC
25 cd t4013; make ${MFLAGS}
26
acb87785 27lib4014: FRC
738da2ff
SL
28 cd t4014; make ${MFLAGS}
29
acb87785 30lib300: FRC
738da2ff
SL
31 cd t300; make ${MFLAGS}
32
acb87785 33lib300s: FRC
738da2ff
SL
34 cd t300s; make ${MFLAGS}
35
acb87785 36lib450: FRC
738da2ff
SL
37 cd t450; make ${MFLAGS}
38
9b0b4566 39libvt0: FRC
738da2ff
SL
40 cd vt0; make ${MFLAGS}
41
50c5f98d
RC
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
9cc57cc6 60libplotimagen: FRC
5517f37a
SL
61 cd imagen; make ${MFLAGS}
62
887d93ef
KS
63libplotgrn: FRC
64 cd grn; make ${MFLAGS}
65
94f17316
KB
66clean: FRC
67 rm -f ${ALL} core
68 for i in ${SUBDIRS}; do \
69 (cd $$i; make ${MFLAGS} clean); \
70 done
738da2ff 71
94f17316
KB
72depend: FRC
73 for i in ${SUBDIRS}; do \
74 (cd $$i; make ${MFLAGS} depend); \
75 done
76
77install: 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 83tags: FRC
5d2d901d 84 for i in ${SUBDIRS}; do \
94f17316 85 (cd $$i; make ${MFLAGS} tags); \
4e444bd9 86 done
94f17316
KB
87
88lint:
89FRC: