Annotation of OpenXM_contrib/gnuplot/makefile.ami, Revision 1.1.1.3
1.1 maekawa 1: #
1.1.1.3 ! ohara 2: # $Id: makefile.ami,v 1.5.2.1 2002/01/26 18:55:01 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 \
1.1.1.3 ! ohara 62: term/iris4d.trm term/kyo.trm term/latex.trm term/pbm.trm term/pdf.trm \
! 63: term/pc.trm
! 64: CSOURCE7 = term/post.trm term/qms.trm term/regis.trm term/sun.trm term/svg.trm \
1.1 maekawa 65: term/t410x.trm term/tek.trm term/unixpc.trm term/unixplot.trm \
66: term/v384.trm term/x11.trm term/bigfig.trm term/vws.trm gplt_x11.c
67: CSOURCE8 = contour.c specfun.c interpol.c
68:
69: #
70: # Docs
71: #
72: DOCS1 = docs/Makefile docs/README docs/checkdoc.c docs/doc2gih.c \
73: docs/doc2hlp.c docs/doc2hlp.com docs/doc2ms.c docs/doc2tex.c \
74: docs/gnuplot.1 docs/lasergnu.1 docs/toc_entry.sty \
75: docs/titlepage.ms docs/titlepage.tex
76: DOCS2 = docs/gnuplot.doc
77: DOCS3 = docs/latextut/Makefile docs/latextut/eg1.plt \
78: docs/latextut/eg2.plt docs/latextut/eg3.dat docs/latextut/eg3.plt \
79: docs/latextut/eg4.plt docs/latextut/eg5.plt docs/latextut/eg6.plt \
80: docs/latextut/header.tex docs/latextut/tutorial.tex \
81: docs/latextut/linepoint.plt
82:
83: #
84: # Targets
85: #
86:
87: default: gnuplot doc
88:
89: gnuplot: $(OBJS) term.o version.o
90: $(LD) $(OBJS) term.o version.o $(LIBS) -o gnuplot
91:
92: doc:
93: cd docs
94: make -f makefile.ami gih
95:
96: #
97: # Dependencies
98: #
99: plot.o: plot.c
100: $(CC) $(CFLAGS) plot.c
101:
102: term.o: term.h term.c $(CSOURCE5) $(CSOURCE6) $(CSOURCE7)
103: $(CC) $(CFLAGS) $(TERMFLAGS) term.c
104:
105: version.o:
106: $(CC) $(CFLAGS) -DCONTACT=$(EMAIL) version.c
107:
108: $(OBJS): plot.h
109: $(CC) $(CFLAGS) $*.c
110:
111: command.o:
112: $(CC) $(CFLAGS) -c command.c -DHELPFILE=\"$(HELPFILE)\"
113:
114: show.o:
115: $(CC) $(CFLAGS) -c show.c -DHELPFILE=\"$(HELPFILE)\"
116:
117: command.o help.o misc.o: help.h
118:
119: command.o graphics.o graph3d.o misc.o plot.o set.o show.o term.o interpol.o: setshow.h
120:
121: command.o fit.o matrix.o: fit.h
122:
123: fit.o matrix.o: matrix.h
124:
125: fit.o: fit.c fit.h matrix.h plot.h
126:
127: matrix.o: matrix.c matrix.h fit.h
128:
129: bitmap.o term.o: bitmap.h
130:
131: #
132: # misc
133: #
134: clean:
135: delete #?.o
136:
137: veryclean: spotless
138:
139: spotless:
140: delete #?.o gnuplot
141:
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>