~uhh-ssd/+junk/Probe_Control

« back to all changes in this revision

Viewing changes to plplot/plplot-5.9.9/examples/Makefile.examples

  • Committer: Joachim Erfle
  • Date: 2012-06-15 16:09:06 UTC
  • Revision ID: joachim.erfle@desy.de-20120615160906-popdt8a9d8ob1oyw
added stripmeasurements

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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.
 
4
 
 
5
# Copyright (C) 2004, 2008  Alan W. Irwin
 
6
 
7
# This file is part of PLplot.
 
8
#
 
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.
 
12
#
 
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.
 
17
#
 
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
 
21
 
 
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.
 
27
 
 
28
all: c/x01c
 
29
c/x01c:
 
30
        cd c; $(MAKE)
 
31
c_clean:
 
32
        cd c; $(MAKE) clean
 
33
.PHONY: c_clean
 
34
clean: c_clean
 
35
x01c.psc: c/x01c
 
36
        @echo Generate C results for psc device
 
37
        ./plplot-test.sh --verbose --front-end=c --device=psc
 
38
test_noninteractive: x01c.psc
 
39
compare: x01c.psc
 
40
# Just for c, c++, and tk directories
 
41
test_interactive: c/x01c
 
42
 
 
43
#all: ada/x01a
 
44
#ada/x01a:
 
45
#       cd ada; $(MAKE)
 
46
#ada_clean:
 
47
#       cd ada; $(MAKE) clean
 
48
#.PHONY: ada_clean
 
49
#clean: ada_clean
 
50
#x01a.psc: ada/x01a
 
51
#       @echo Generate Ada results for psc device
 
52
#       ./plplot-test.sh --verbose --front-end=ada --device=psc
 
53
#test_noninteractive: x01a.psc
 
54
#compare: x01a.psc
 
55
 
 
56
all: c++/x01
 
57
c++/x01:
 
58
        cd c++; $(MAKE)
 
59
cxx_clean:
 
60
        cd c++; $(MAKE) clean
 
61
.PHONY: cxx_clean
 
62
clean: cxx_clean
 
63
x01cxx.psc: c++/x01
 
64
        @echo Generate C++ results for psc device
 
65
        ./plplot-test.sh --verbose --front-end=cxx --device=psc
 
66
test_noninteractive: x01cxx.psc
 
67
compare: x01cxx.psc
 
68
# Just for c, c++, and tk directories
 
69
test_interactive: c++/x01
 
70
 
 
71
#all: d/x01d
 
72
#d/x01d:
 
73
#       cd d; $(MAKE)
 
74
#d_clean:
 
75
#       cd d; $(MAKE) clean
 
76
#.PHONY: d_clean
 
77
#clean: d_clean
 
78
#x01d.psc: d/x01d
 
79
#       @echo Generate d results for psc device
 
80
#       ./plplot-test.sh --verbose --front-end=d --device=psc
 
81
#test_noninteractive: x01d.psc
 
82
#compare: x01d.psc
 
83
 
 
84
#all: f77/x01f
 
85
#f77/x01f:
 
86
#       cd f77; $(MAKE)
 
87
#f77_clean:
 
88
#       cd f77; $(MAKE) clean
 
89
#.PHONY: f77_clean
 
90
#clean: f77_clean
 
91
#x01f.psc: f77/x01f
 
92
#       @echo Generate Fortran 77 results for psc device
 
93
#       ./plplot-test.sh --verbose --front-end=f77 --device=psc
 
94
#test_noninteractive: x01f.psc
 
95
#compare: x01f.psc
 
96
 
 
97
#all: f95/x01f
 
98
#f95/x01f:
 
99
#       cd f95; $(MAKE)
 
100
#f95_clean:
 
101
#       cd f95; $(MAKE) clean
 
102
#.PHONY: f95_clean
 
103
#clean: f95_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
 
108
#compare: x01f95.psc
 
109
 
 
110
#all: java/x01.class
 
111
#java/x01.class:
 
112
#       cd java; $(MAKE)
 
113
#java_clean:
 
114
#       cd java; $(MAKE) clean
 
115
#.PHONY: java_clean
 
116
#clean: java_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
 
121
#compare: x01j.psc
 
122
 
 
123
#all: ocaml/x01ocaml
 
124
#ocaml/x01ocaml:
 
125
#       cd ocaml; $(MAKE)
 
126
#ocaml_clean:
 
127
#       cd ocaml; $(MAKE) clean
 
128
#.PHONY: ocaml_clean
 
129
#clean: ocaml_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
 
135
 
 
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
 
140
#compare: x01o.psc
 
141
 
 
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
 
146
#compare: x01pdl.psc
 
147
 
 
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
 
152
#compare: x01p.psc
 
153
 
 
154
#x01t.psc: tcl/x01
 
155
#       @echo Generate Tcl results for psc device
 
156
#       ./plplot-test.sh --verbose --front-end=tcl --device=psc
 
157
#test_noninteractive: x01t.psc
 
158
#compare: x01t.psc
 
159
 
 
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
 
164
#compare: x01lua.psc
 
165
 
 
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
 
170
 
 
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
 
175
 
 
176
x01c.pscairo: c/x01c
 
177
        @echo Generate C results for pscairo device
 
178
        ./plplot-test.sh --verbose --front-end=c --device=pscairo
 
179
test_noninteractive: x01c.pscairo
 
180
 
 
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
 
185
 
 
186
#x01c01.gif : c/x01c
 
187
#       @echo Generate C results for gif device
 
188
#       ./plplot-test.sh --verbose --front-end=c --device=gif
 
189
#test_noninteractive: x01c01.gif
 
190
 
 
191
#x01c01.jpeg: c/x01c
 
192
#       @echo Generate C results for jpeg device
 
193
#       ./plplot-test.sh --verbose --front-end=c --device=jpeg
 
194
#test_noninteractive: x01c01.jpeg
 
195
 
 
196
#x01c01.png: c/x01c
 
197
#       @echo Generate C results for png device
 
198
#       ./plplot-test.sh --verbose --front-end=c --device=png
 
199
#test_noninteractive: x01c01.png
 
200
 
 
201
#x01c.psttfc: c/x01c
 
202
#       @echo Generate C results for psttfc device
 
203
#       ./plplot-test.sh --verbose --front-end=c --device=psttfc
 
204
#test_noninteractive: x01c.psttfc
 
205
 
 
206
x01c01.svg: c/x01c
 
207
        @echo Generate C results for svg device
 
208
        ./plplot-test.sh --verbose --front-end=c --device=svg
 
209
test_noninteractive: x01c01.svg
 
210
 
 
211
x01c01.xfig: c/x01c
 
212
        @echo Generate C results for xfig device
 
213
        ./plplot-test.sh --verbose --front-end=c --device=xfig
 
214
test_noninteractive: x01c01.xfig
 
215
 
 
216
#x01c.pstex: c/x01c
 
217
#       @echo Generate C results for pstex device
 
218
#       ./plplot-test.sh --verbose --front-end=c --device=pstex
 
219
#test_noninteractive: x01c.pstex
 
220
 
 
221
#x01c.cgm : c/x01c
 
222
#       @echo Generate C results for cgm device
 
223
#       ./plplot-test.sh --verbose --front-end=c --device=cgm
 
224
#test_noninteractive: x01c.cgm
 
225
 
 
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
 
230
 
 
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
 
235
 
 
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
 
240
 
 
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
 
245
 
 
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
 
250
 
 
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
 
255
 
 
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
 
260
 
 
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
 
265
 
 
266
compare: 
 
267
        @echo Compare non-C language psc and stdout results with corresponding C results
 
268
        -./test_diff.sh
 
269
        touch compare
 
270
test_noninteractive: compare
 
271
 
 
272
#all: tk/xtk01$(EXEEXT)
 
273
#tk/xtk01$(EXEEXT):
 
274
#       cd tk; $(MAKE)
 
275
#tk_clean:
 
276
#       cd tk; $(MAKE) clean
 
277
#.PHONY: tk_clean
 
278
#clean: tk_clean
 
279
#test_interactive: tk/xtk01$(EXEEXT)
 
280
 
 
281
test_interactive:
 
282
        ./plplot-test-interactive.sh
 
283
 
 
284
test_clean:
 
285
        rm -f *.psc *.pdfcairo *.pngcairo *.pscairo *.svgcairo \
 
286
        *.gif *.jpeg *.png *.psttfc *.svg *.xfig *.pstex* *.*qt *.cgm \
 
287
        *.txt test.error \
 
288
        compare
 
289
 
 
290
clean: test_clean
 
291
 
 
292
.PHONY : all clean test_noninteractive test_clean test_interactive