# Copyright (c) 1987 Regents of the University of California.
# All rights reserved. The Berkeley software License Agreement
# specifies the terms and conditions for redistribution.
# @(#)Makefile 4.10 (Berkeley) 12/1/87
SRCS
= atoplot.c chrtab.c crtdriver.c crtplot.c debug.c driver.c plottoa.c
OBJS
= atoplot.o chrtab.o crtdriver.o crtplot.o debug.o driver.o plottoa.o
ALL
= tek t4013 t300 t300s t450 aedplot bgplot crtplot dumbplot gigiplot \
hpplot hp7221plot implot atoplot plottoa grnplot
${CC} ${CFLAGS} -o
$@ driver.o
-l4014
-lm
${CC} ${CFLAGS} -o
$@ driver.o
-l4013
-lm
${CC} ${CFLAGS} -o
$@ driver.o
-l300
-lm
${CC} ${CFLAGS} -o
$@ driver.o
-l300s
-lm
${CC} ${CFLAGS} -o
$@ driver.o
-l450
-lm
${CC} ${CFLAGS} -o
$@ driver.o
-lplotaed
${CC} ${CFLAGS} -o
$@ driver.o
-lplotbg
-lm
crtplot
: crtdriver.o crtplot.o
${CC} ${CFLAGS} -o
$@ crtdriver.o crtplot.o
-lcurses
-ltermcap
-lm
${CC} ${CFLAGS} -o
$@ driver.o
-lplotdumb
-ltermcap
-lm
${CC} ${CFLAGS} -o
$@ driver.o
-lplotgigi
-lm
${CC} ${CFLAGS} -o
$@ driver.o
-lplot2648
-lm
${CC} ${CFLAGS} -o
$@ driver.o
-lplot7221
-lm
${CC} ${CFLAGS} -o
$@ driver.o
-lplotimagen
-lm
${CC} ${CFLAGS} -o
$@ atoplot.o
-lplot
-lm
${CC} ${CFLAGS} -o
$@ plottoa.o
${CC} ${CFLAGS} -o
$@ driver.o
-lplotgrn
-lm
${CC} ${CFLAGS} -o
$@ debug.o
rm -f
${OBJS} ${ALL} debug core
(install -s
-o bin
-g bin
-m
755 $$i ${DESTDIR}/usr
/bin
/$$i); \
install -c
-o bin
-g bin
-m
755 plot.sh
${DESTDIR}/usr
/bin
/plot
# DO NOT DELETE THIS LINE -- mkdep uses it.
# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.
atoplot.o
: atoplot.c
/usr
/include/stdio.h
crtdriver.o
: crtdriver.c
/usr
/include/stdio.h
crtplot.o
: crtplot.c
/usr
/include/curses.h
/usr
/include/stdio.h
crtplot.o
: /usr
/include/sgtty.h
/usr
/include/sys
/ioctl.h
crtplot.o
: /usr
/include/sys
/ttychars.h
/usr
/include/sys
/ttydev.h
crtplot.o
: /usr
/include/math.h
/usr
/include/signal.h
crtplot.o
: /usr
/include/machine
/trap.h
debug.o
: debug.c
/usr
/include/stdio.h
driver.o
: driver.c
/usr
/include/stdio.h
plottoa.o
: plottoa.c
/usr
/include/stdio.h
# IF YOU PUT ANYTHING HERE IT WILL GO AWAY