Annotation of OpenXM_contrib/gnuplot/makefile.ami, Revision 1.1.1.2
1.1 maekawa 1: #
1.1.1.2 ! maekawa 2: # $Id: makefile.ami,v 1.5 1998/09/25 15:22:15 lhecking Exp $
1.1 maekawa 3: #
4: #
5: #
6: # Makefile for the Amiga Pat R. Empleo
7: # Sept 1991
8: # Manx Aztec C 5.2 beta version
9: #
10: # Usage:
11: #
12: # make -f makefile.ami
13: #
14: #
15:
16: # where to install help file gnuplot.gih
17: HELPFILE=S:gnuplot.gih
18: # Where to send email about bugs and comments (locally)
19: EMAIL="bug-gnuplot@dartmouth.edu"
20:
21: #
22: # Manx Aztec C v5.2 compiler options
23: #
24: #
25: CC = cc
26: CFLAGS = -mcd -DAMIGA_AC_5 -DNO_FLOAT_H -fa -sab -wosw -MR
27:
28: # note that current versions of Aztec may very well have float.h
29: # if anyone can verify this, please fix it.
30:
31: #
32: # Manx Aztec C v5.2 linker options
33: #
34: LD = ln
35: LIBS = -lmal -lc
36:
37: #
38: # Terminal (device) support --- see term.h
39: #
40: TERMFLAGS = -Iterm -I.
41:
42: #
43: # List of object files except term.o, version.o
44: #
45: OBJS = binary.o bitmap.o command.o contour.o eval.o graphics.o \
46: graph3d.o help.o internal.o misc.o parse.o plot.o plot2d.o \
47: plot3d.o scanner.o set.o show.o specfun.o standard.o stdfn.o \
48: util.o interpol.o fit.o matrix.o datafile.o alloc.o
49:
50: #
51: # List of sources
52: #
53: CSOURCE1 = binary.c command.c setshow.c
54: CSOURCE2 = help.c graphics.c graph3d.c internal.c
55: CSOURCE3 = misc.c eval.c parse.c plot.c plot2d.c plot3d.c readline.c scanner.c standard.c stdfn.c
56: CSOURCE4 = bitmap.c term.c util.c version.c fit.c matrix.c
57: CSOURCE5 = term/amiga.trm term/aed.trm term/cgi.trm term/dumb.trm term/dxf.trm \
58: term/dxy.trm term/eepic.trm term/epson.trm term/fig.trm \
59: term/hp26.trm term/hp2648.trm term/hpgl.trm term/hpljii.trm \
60: term/apollo.trm term/gpr.trm
61: CSOURCE6 = term/impcodes.h term/imagen.trm term/object.h \
62: term/iris4d.trm term/kyo.trm term/latex.trm term/pbm.trm term/pc.trm
63: CSOURCE7 = term/post.trm term/qms.trm term/regis.trm term/sun.trm \
64: term/t410x.trm term/tek.trm term/unixpc.trm term/unixplot.trm \
65: term/v384.trm term/x11.trm term/bigfig.trm term/vws.trm gplt_x11.c
66: CSOURCE8 = contour.c specfun.c interpol.c
67:
68: #
69: # Docs
70: #
71: DOCS1 = docs/Makefile docs/README docs/checkdoc.c docs/doc2gih.c \
72: docs/doc2hlp.c docs/doc2hlp.com docs/doc2ms.c docs/doc2tex.c \
73: docs/gnuplot.1 docs/lasergnu.1 docs/toc_entry.sty \
74: docs/titlepage.ms docs/titlepage.tex
75: DOCS2 = docs/gnuplot.doc
76: DOCS3 = docs/latextut/Makefile docs/latextut/eg1.plt \
77: docs/latextut/eg2.plt docs/latextut/eg3.dat docs/latextut/eg3.plt \
78: docs/latextut/eg4.plt docs/latextut/eg5.plt docs/latextut/eg6.plt \
79: docs/latextut/header.tex docs/latextut/tutorial.tex \
80: docs/latextut/linepoint.plt
81:
82: #
83: # Targets
84: #
85:
86: default: gnuplot doc
87:
88: gnuplot: $(OBJS) term.o version.o
89: $(LD) $(OBJS) term.o version.o $(LIBS) -o gnuplot
90:
91: doc:
92: cd docs
93: make -f makefile.ami gih
94:
95: #
96: # Dependencies
97: #
98: plot.o: plot.c
99: $(CC) $(CFLAGS) plot.c
100:
101: term.o: term.h term.c $(CSOURCE5) $(CSOURCE6) $(CSOURCE7)
102: $(CC) $(CFLAGS) $(TERMFLAGS) term.c
103:
104: version.o:
105: $(CC) $(CFLAGS) -DCONTACT=$(EMAIL) version.c
106:
107: $(OBJS): plot.h
108: $(CC) $(CFLAGS) $*.c
109:
110: command.o:
111: $(CC) $(CFLAGS) -c command.c -DHELPFILE=\"$(HELPFILE)\"
112:
113: show.o:
114: $(CC) $(CFLAGS) -c show.c -DHELPFILE=\"$(HELPFILE)\"
115:
116: command.o help.o misc.o: help.h
117:
118: command.o graphics.o graph3d.o misc.o plot.o set.o show.o term.o interpol.o: setshow.h
119:
120: command.o fit.o matrix.o: fit.h
121:
122: fit.o matrix.o: matrix.h
123:
124: fit.o: fit.c fit.h matrix.h plot.h
125:
126: matrix.o: matrix.c matrix.h fit.h
127:
128: bitmap.o term.o: bitmap.h
129:
130: #
131: # misc
132: #
133: clean:
134: delete #?.o
135:
136: veryclean: spotless
137:
138: spotless:
139: delete #?.o gnuplot
140:
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>