# Copyright (c) 1989 The Regents of the University of California.
# Redistribution and use in source and binary forms are permitted
# provided that the above copyright notice and this paragraph are
# duplicated in all such forms and that any documentation,
# advertising materials, and other materials related to such
# distribution and use acknowledge that the software was developed
# by the University of California, Berkeley. The name of the
# University may not be used to endorse or promote products derived
# from this software without specific prior written permission.
# THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
# IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
# WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
# @(#)Makefile 4.14 (Berkeley) %G%
ALL
= libf77plot libplot lib300 lib300s lib4013 lib4014 lib450 libvt0 \
libplotaed libplotbg libplotdumb libplotgigi libplot2648 libplot7221 \
SUBDIRS
=tf77 plot t4013 t4014 t300 t300s t450 vt0 aed bitgraph dumb gigi \
MDIR
= ${DESTDIR}/usr
/man
/cat3
cd bitgraph
; make
${MFLAGS}
cd hp2648
; make
${MFLAGS}
cd hp7221
; make
${MFLAGS}
cd imagen
; make
${MFLAGS}
for i in
${SUBDIRS}; do \
(cd
$$i; make
${MFLAGS} clean); \
rm -f
${MAN} tags .depend
for i in
${SUBDIRS}; do \
(cd
$$i; make
${MFLAGS} $@
); done
install -o bin
-g bin
-m
644 $$i ${DESTDIR}/usr
/lib
/$$i.a
; \
ranlib
${DESTDIR}/usr
/lib
/$$i.a
; \
install -c
-o bin
-g bin
-m
444 plot
.0 ${DESTDIR}/usr
/man
/cat3
rm -f
${MDIR}/arc
.0; ln
${MDIR}/plot
.0 ${MDIR}/arc
.0
rm -f
${MDIR}/circle
.0; ln
${MDIR}/plot
.0 ${MDIR}/circle
.0
rm -f
${MDIR}/cont
.0; ln
${MDIR}/plot
.0 ${MDIR}/cont
.0
rm -f
${MDIR}/erase
.0; ln
${MDIR}/plot
.0 ${MDIR}/erase
.0
rm -f
${MDIR}/label
.0; ln
${MDIR}/plot
.0 ${MDIR}/label
.0
rm -f
${MDIR}/line
.0; ln
${MDIR}/plot
.0 ${MDIR}/line
.0
rm -f
${MDIR}/linemod
.0; ln
${MDIR}/plot
.0 ${MDIR}/linemod
.0
rm -f
${MDIR}/move
.0; ln
${MDIR}/plot
.0 ${MDIR}/move
.0
rm -f
${MDIR}/openpl
.0; ln
${MDIR}/plot
.0 ${MDIR}/openpl
.0
rm -f
${MDIR}/point
.0; ln
${MDIR}/plot
.0 ${MDIR}/point
.0
rm -f
${MDIR}/space
.0; ln
${MDIR}/plot
.0 ${MDIR}/space
.0