1
# examples/Makefile.examples.in for PLplot
2
# configured by our CMake-based build system to examples/Makefile.examples
3
# in the build tree and installed as examples/Makefile in the install tree.
5
# Copyright (C) 2004, 2008 Alan W. Irwin
7
# This file is part of PLplot.
9
# PLplot is free software; you can redistribute it and/or modify
10
# it under the terms of the GNU Library General Public License as published by
11
# the Free Software Foundation; version 2 of the License.
13
# PLplot is distributed in the hope that it will be useful,
14
# but WITHOUT ANY WARRANTY; without even the implied warranty of
15
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16
# GNU Library General Public License for more details.
18
# You should have received a copy of the GNU Library General Public License
19
# along with the file PLplot; if not, write to the Free Software
20
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
22
# This Makefile should not be used in the build tree. It is meant for use
23
# only in the install tree. It is first configured, then installed
24
# (with the name Makefile) in the _installed_ examples directory
25
# It combines building all the examples that need to be built along
26
# with testing all examples.
36
@echo Generate C results for psc device
37
./plplot-test.sh --verbose --front-end=c --device=psc
38
test_noninteractive: x01c.psc
40
# Just for c, c++, and tk directories
41
test_interactive: c/x01c
47
# cd ada; $(MAKE) clean
51
# @echo Generate Ada results for psc device
52
# ./plplot-test.sh --verbose --front-end=ada --device=psc
53
#test_noninteractive: x01a.psc
64
@echo Generate C++ results for psc device
65
./plplot-test.sh --verbose --front-end=cxx --device=psc
66
test_noninteractive: x01cxx.psc
68
# Just for c, c++, and tk directories
69
test_interactive: c++/x01
79
# @echo Generate d results for psc device
80
# ./plplot-test.sh --verbose --front-end=d --device=psc
81
#test_noninteractive: x01d.psc
88
# cd f77; $(MAKE) clean
92
# @echo Generate Fortran 77 results for psc device
93
# ./plplot-test.sh --verbose --front-end=f77 --device=psc
94
#test_noninteractive: x01f.psc
101
# cd f95; $(MAKE) clean
104
#x01f95.psc: f95/x01f
105
# @echo Generate Fortran 95 results for psc device
106
# ./plplot-test.sh --verbose --front-end=f95 --device=psc
107
#test_noninteractive: x01f95.psc
114
# cd java; $(MAKE) clean
117
#x01j.psc: java/x01.class
118
# @echo Generate Java results for psc device
119
# ./plplot-test.sh --verbose --front-end=java --device=psc
120
#test_noninteractive: x01j.psc
127
# cd ocaml; $(MAKE) clean
130
#x01ocaml.psc: ocaml/x01ocaml
131
# @echo Generate OCaml results for psc device
132
# ./plplot-test.sh --verbose --front-end=ocaml --device=psc
133
#test_noninteractive: x01ocaml.psc
134
#compare: x01ocaml.psc
136
#x01o.psc: octave/x01c.m
137
# @echo Generate Octave results for psc device
138
# ./plplot-test.sh --verbose --front-end=octave --device=psc
139
#test_noninteractive: x01o.psc
142
#x01pdl.psc: perl/x01.pl
143
# @echo Generate Perl/PDL results for psc device
144
# ./plplot-test.sh --verbose --front-end=pdl --device=psc
145
#test_noninteractive: x01pdl.psc
148
#x01p.psc: python/x01
149
# @echo Generate Python results for psc device
150
# ./plplot-test.sh --verbose --front-end=python --device=psc
151
#test_noninteractive: x01p.psc
155
# @echo Generate Tcl results for psc device
156
# ./plplot-test.sh --verbose --front-end=tcl --device=psc
157
#test_noninteractive: x01t.psc
160
#x01lua.psc: lua/x01.lua
161
# @echo Generate Lua results for psc device
162
# ./plplot-test.sh --verbose --front-end=lua --device=psc
163
#test_noninteractive: x01lua.psc
166
x01c.pdfcairo: c/x01c
167
@echo Generate C results for pdfcairo device
168
./plplot-test.sh --verbose --front-end=c --device=pdfcairo
169
test_noninteractive: x01c.pdfcairo
171
x01c01.pngcairo: c/x01c
172
@echo Generate C results for pngcairo device
173
./plplot-test.sh --verbose --front-end=c --device=pngcairo
174
test_noninteractive: x01c01.pngcairo
177
@echo Generate C results for pscairo device
178
./plplot-test.sh --verbose --front-end=c --device=pscairo
179
test_noninteractive: x01c.pscairo
181
x01c01.svgcairo: c/x01c
182
@echo Generate C results for svgcairo device
183
./plplot-test.sh --verbose --front-end=c --device=svgcairo
184
test_noninteractive: x01c01.svgcairo
187
# @echo Generate C results for gif device
188
# ./plplot-test.sh --verbose --front-end=c --device=gif
189
#test_noninteractive: x01c01.gif
192
# @echo Generate C results for jpeg device
193
# ./plplot-test.sh --verbose --front-end=c --device=jpeg
194
#test_noninteractive: x01c01.jpeg
197
# @echo Generate C results for png device
198
# ./plplot-test.sh --verbose --front-end=c --device=png
199
#test_noninteractive: x01c01.png
202
# @echo Generate C results for psttfc device
203
# ./plplot-test.sh --verbose --front-end=c --device=psttfc
204
#test_noninteractive: x01c.psttfc
207
@echo Generate C results for svg device
208
./plplot-test.sh --verbose --front-end=c --device=svg
209
test_noninteractive: x01c01.svg
212
@echo Generate C results for xfig device
213
./plplot-test.sh --verbose --front-end=c --device=xfig
214
test_noninteractive: x01c01.xfig
217
# @echo Generate C results for pstex device
218
# ./plplot-test.sh --verbose --front-end=c --device=pstex
219
#test_noninteractive: x01c.pstex
222
# @echo Generate C results for cgm device
223
# ./plplot-test.sh --verbose --front-end=c --device=cgm
224
#test_noninteractive: x01c.cgm
226
#x01c01.bmpqt : c/x01c
227
# @echo Generate C results for bmpqt device
228
# ./plplot-test.sh --verbose --front-end=c --device=bmpqt
229
#test_noninteractive: x01c01.bmpqt
231
#x01c01.jpgqt : c/x01c
232
# @echo Generate C results for jpgqt device
233
# ./plplot-test.sh --verbose --front-end=c --device=jpgqt
234
#test_noninteractive: x01c01.jpgqt
236
#x01c01.pngqt : c/x01c
237
# @echo Generate C results for pngqt device
238
# ./plplot-test.sh --verbose --front-end=c --device=pngqt
239
#test_noninteractive: x01c01.pngqt
241
#x01c01.ppmqt : c/x01c
242
# @echo Generate C results for ppmqt device
243
# ./plplot-test.sh --verbose --front-end=c --device=ppmqt
244
#test_noninteractive: x01c01.ppmqt
246
#x01c01.tiffqt : c/x01c
247
# @echo Generate C results for tiffqt device
248
# ./plplot-test.sh --verbose --front-end=c --device=tiffqt
249
#test_noninteractive: x01c01.tiffqt
251
#x01c01.svgqt : c/x01c
252
# @echo Generate C results for svgqt device
253
# ./plplot-test.sh --verbose --front-end=c --device=svgqt
254
#test_noninteractive: x01c01.svgqt
256
#x01c01.epsqt : c/x01c
257
# @echo Generate C results for epsqt device
258
# ./plplot-test.sh --verbose --front-end=c --device=epsqt
259
#test_noninteractive: x01c01.epsqt
261
#x01c01.pdfqt : c/x01c
262
# @echo Generate C results for pdfqt device
263
# ./plplot-test.sh --verbose --front-end=c --device=pdfqt
264
#test_noninteractive: x01c01.pdfqt
267
@echo Compare non-C language psc and stdout results with corresponding C results
270
test_noninteractive: compare
272
#all: tk/xtk01$(EXEEXT)
276
# cd tk; $(MAKE) clean
279
#test_interactive: tk/xtk01$(EXEEXT)
282
./plplot-test-interactive.sh
285
rm -f *.psc *.pdfcairo *.pngcairo *.pscairo *.svgcairo \
286
*.gif *.jpeg *.png *.psttfc *.svg *.xfig *.pstex* *.*qt *.cgm \
292
.PHONY : all clean test_noninteractive test_clean test_interactive