2 # $Id: makefile.ami,v 1.7 2004/04/13 17:23:30 broeker Exp $
4 # GNUPLOT Makefile for Manx Aztec C 5.2 beta of better on the Amiga
6 # Pat R. Empleo Sept 1991
10 # make -f makefile.ami
14 # where to install help file gnuplot.gih
15 HELPFILE=S:gnuplot.gih
16 # Where to send email about bugs and comments (locally)
17 EMAIL="gnuplot-bugs@lists.sourceforge.net"
20 # Manx Aztec C v5.2 compiler options
24 CFLAGS = -mcd -DAMIGA_AC_5 -fa -sab -wosw -MR
26 # note that current versions of Aztec may very well have float.h
27 # if anyone can verify this, please fix it.
30 # Manx Aztec C v5.2 linker options
36 # Terminal (device) support --- see term.h
38 TERMFLAGS = -Iterm -I.
41 # List of object files except term.o, version.o
43 OBJS = alloc.o binary.o bitmap.o command.o contour.o datafile.o dynarray.o \
44 eval.o fit.o graphics.o graph3d.o help.o hidden3d.o history.o \
45 internal.o interpol.o matrix.o misc.o parse.o plot.o plot2d.o \
46 plot3d.o readline.o save.o scanner.o set.o show.o specfun.o \
47 standard.o stdfn.o tables.o time.o unset.o util.o util3d.o variable.o
51 CSOURCE1 = alloc.c binary.c bitmap.c command.c contour.c datafile.c dynarray.c
52 CSOURCE2 = eval.c fit.c graphics.c graph3d.c help.c hidden3d.c history.c
53 CSOURCE3 = internal.c interpol.c matrix.c misc.c parse.c plot.c plot2d.c
54 CSOURCE4 = plot3d.c readline.c save.c scanner.c set.c show.c specfun.c time.c
55 CSOURCE5 = standard.c stdfn.c tables.c term.c util.c util3d.c version.c variable.c
56 CSOURCE6 = term/amiga.trm term/aed.trm term/cgi.trm term/dumb.trm term/dxf.trm \
57 term/dxy.trm term/eepic.trm term/epson.trm term/fig.trm \
58 term/hp26.trm term/hp2648.trm term/hpgl.trm term/hpljii.trm \
59 term/apollo.trm term/gpr.trm
60 CSOURCE7 = term/impcodes.h term/imagen.trm term/object.h \
61 term/iris4d.trm term/kyo.trm term/latex.trm term/pbm.trm term/pc.trm
62 CSOURCE8 = term/post.trm term/qms.trm term/regis.trm term/sun.trm \
63 term/t410x.trm term/tek.trm term/unixpc.trm term/unixplot.trm \
64 term/v384.trm term/x11.trm term/bigfig.trm term/vws.trm gplt_x11.c
69 DOCS1 = docs/Makefile docs/README docs/checkdoc.c docs/doc2gih.c \
70 docs/doc2hlp.c docs/doc2hlp.vms docs/doc2ms.c docs/doc2tex.c \
71 docs/gnuplot.1 docs/lasergnu.1 docs/toc_entry.sty \
72 docs/titlepage.ms docs/titlepage.tex
73 DOCS2 = docs/gnuplot.doc
74 DOCS3 = docs/latextut/Makefile docs/latextut/eg1.plt \
75 docs/latextut/eg2.plt docs/latextut/eg3.dat docs/latextut/eg3.plt \
76 docs/latextut/eg4.plt docs/latextut/eg5.plt docs/latextut/eg6.plt \
77 docs/latextut/header.tex docs/latextut/tutorial.tex \
78 docs/latextut/linepoint.plt
86 gnuplot: $(OBJS) term.o version.o
87 $(LD) $(OBJS) term.o version.o $(LIBS) -o gnuplot
91 make -f makefile.ami gih
97 $(CC) $(CFLAGS) plot.c
99 term.o: term.h term.c $(CSOURCE5) $(CSOURCE6) $(CSOURCE7)
100 $(CC) $(CFLAGS) $(TERMFLAGS) term.c
103 $(CC) $(CFLAGS) -DCONTACT=$(EMAIL) version.c
109 $(CC) $(CFLAGS) -c command.c -DHELPFILE=\"$(HELPFILE)\"
112 $(CC) $(CFLAGS) -c show.c -DHELPFILE=\"$(HELPFILE)\"
114 command.o help.o misc.o: help.h
116 command.o graphics.o graph3d.o misc.o plot.o set.o show.o term.o interpol.o: setshow.h
118 command.o fit.o matrix.o: fit.h
120 fit.o matrix.o: matrix.h
122 fit.o: fit.c fit.h matrix.h plot.h
124 matrix.o: matrix.c matrix.h fit.h
126 bitmap.o term.o: bitmap.h
128 variable.o: variable.c plot.h variable.h