|
|
1.1 root 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.10 (Berkeley) 12/1/87
7: #
8: CFLAGS= -O
9: LIBC= /lib/libc.a
10: SRCS= atoplot.c chrtab.c crtdriver.c crtplot.c debug.c driver.c plottoa.c
11: OBJS= atoplot.o chrtab.o crtdriver.o crtplot.o debug.o driver.o plottoa.o
12: ALL= tek t4013 t300 t300s t450 aedplot bgplot crtplot dumbplot gigiplot \
13: hpplot hp7221plot implot atoplot plottoa grnplot
14:
15: all: ${ALL} debug
16:
17: tek: driver.o
18: ${CC} ${CFLAGS} -o $@ driver.o -l4014 -lm
19:
20: t4013: driver.o
21: ${CC} ${CFLAGS} -o $@ driver.o -l4013 -lm
22:
23: t300: driver.o
24: ${CC} ${CFLAGS} -o $@ driver.o -l300 -lm
25:
26: t300s: driver.o
27: ${CC} ${CFLAGS} -o $@ driver.o -l300s -lm
28:
29: t450: driver.o
30: ${CC} ${CFLAGS} -o $@ driver.o -l450 -lm
31:
32: aedplot: driver.o
33: ${CC} ${CFLAGS} -o $@ driver.o -lplotaed
34:
35: bgplot: driver.o
36: ${CC} ${CFLAGS} -o $@ driver.o -lplotbg -lm
37:
38: crtplot: crtdriver.o crtplot.o
39: ${CC} ${CFLAGS} -o $@ crtdriver.o crtplot.o -lcurses -ltermcap -lm
40:
41: dumbplot: driver.o
42: ${CC} ${CFLAGS} -o $@ driver.o -lplotdumb -ltermcap -lm
43:
44: gigiplot: driver.o
45: ${CC} ${CFLAGS} -o $@ driver.o -lplotgigi -lm
46:
47: hpplot: driver.o
48: ${CC} ${CFLAGS} -o $@ driver.o -lplot2648 -lm
49:
50: hp7221plot: driver.o
51: ${CC} ${CFLAGS} -o $@ driver.o -lplot7221 -lm
52:
53: implot: driver.o
54: ${CC} ${CFLAGS} -o $@ driver.o -lplotimagen -lm
55:
56: atoplot: atoplot.o
57: ${CC} ${CFLAGS} -o $@ atoplot.o -lplot -lm
58:
59: plottoa: plottoa.o
60: ${CC} ${CFLAGS} -o $@ plottoa.o
61:
62: grnplot: driver.o
63: ${CC} ${CFLAGS} -o $@ driver.o -lplotgrn -lm
64:
65: debug: debug.o
66: ${CC} ${CFLAGS} -o $@ debug.o
67:
68: clean: FRC
69: rm -f ${OBJS} ${ALL} debug core
70:
71: depend: FRC
72: mkdep ${CFLAGS} ${SRCS}
73:
74: install: FRC
75: for i in ${ALL}; do \
76: (install -s -o bin -g bin -m 755 $$i ${DESTDIR}/usr/bin/$$i); \
77: done
78: install -c -o bin -g bin -m 755 plot.sh ${DESTDIR}/usr/bin/plot
79:
80: lint: FRC
81: lint ${CFLAGS} ${SRCS}
82:
83: tags: FRC
84: ctags ${SRCS}
85:
86: FRC:
87:
88: # DO NOT DELETE THIS LINE -- mkdep uses it.
89: # DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.
90:
91: atoplot.o: atoplot.c /usr/include/stdio.h
92: chrtab.o: chrtab.c
93: crtdriver.o: crtdriver.c /usr/include/stdio.h
94: crtplot.o: crtplot.c /usr/include/curses.h /usr/include/stdio.h
95: crtplot.o: /usr/include/sgtty.h /usr/include/sys/ioctl.h
96: crtplot.o: /usr/include/sys/ttychars.h /usr/include/sys/ttydev.h
97: crtplot.o: /usr/include/math.h /usr/include/signal.h
98: crtplot.o: /usr/include/machine/trap.h
99: debug.o: debug.c /usr/include/stdio.h
100: driver.o: driver.c /usr/include/stdio.h
101: plottoa.o: plottoa.c /usr/include/stdio.h
102:
103: # IF YOU PUT ANYTHING HERE IT WILL GO AWAY
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.