blob: 9be0d11085ac2739628661b2c891a07dc67b1ce1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
|
## Process this file with automake to produce Makefile.in
%.out : %
EXTRA_DIST = \
dbgen.pl \
alphabetize.out alphabetize.ref alphabetize.xsl \
attsets.out attsets.ref attsets.xsl \
avts.out avts.ref avts.xsl \
axis.out axis.ref axis.xml axis.xsl \
backwards.out backwards.ref backwards.xsl \
bottles.out bottles.ref bottles.xml bottles.xsl \
breadth.out breadth.ref breadth.xml \
brutal.out brutal.ref brutal.xml brutal.xsl \
chart.out chart.ref chart.xml chart.xsl \
creation.out creation.ref creation.xsl \
current.out current.ref current.xml current.xsl \
dbonerow.out dbonerow.ref dbonerow.xsl \
dbtail.out dbtail.ref dbtail.xsl \
decoy.out decoy.xsl \
depth.out depth.ref depth.xml \
encrypt.out encrypt.ref encrypt.xsl \
find.xsl \
functions.out functions.ref functions.xsl \
game.out game.ref game.xml game.xsl \
gettysburg.xml \
html.out html.ref html.xml html.xsl \
identity.out identity.ref identity.xml identity.xsl \
inventory.out inventory.ref inventory.xml inventory.xsl \
metric.out metric.ref metric.xml metric.xsl \
number.out number.xml number.xsl \
oddtemplate.out oddtemplate.ref oddtemplate.xml oddtemplate.xsl \
patterns.out patterns.ref patterns.xsl \
prettyprint.out prettyprint.ref prettyprint.xsl \
priority.out priority.ref priority.xml priority.xsl \
products.out products.ref products.xml products.xsl \
queens.out queens.ref queens.xml queens.xsl \
reverser.out reverser.ref reverser.xsl \
stringsort.out stringsort.ref stringsort.xsl \
summarize.out summarize.ref summarize.xsl \
total.out total.ref total.xsl \
tower.out tower.ref tower.xml tower.xsl tower2.xsl \
trend.out trend.ref trend.xml trend.xsl \
union.out union.ref union.xml union.xsl \
xpath.out xpath.ref xpath.xml xpath.xsl \
xslbench1.out xslbench1.xml xslbench1.xsl \
xslbench2.out xslbench2.xsl \
xslbench3.out xslbench3.xsl \
xslbenchdream.xml
if WITH_PERL
PERL = perl
endif
$(top_builddir)/libxslt/xsltproc:
@(cd ../../libxslt ; make xsltproc)
all: alphabetize attsets avts axis backwards bottles breadth brutal chart \
creation current dbonerow dbtail decoy depth encrypt functions game \
html identity inventory metric number oddtemplate patterns prettyprint \
priority products queens reverser stringsort summarize total tower trend \
union xpath xslbench1 xslbench2 xslbench3
rm -f *.tmp
clean:
rm -f *.tmp *~ core db100.xml db1000.xml db10000.xml
if WITH_PERL
db100.xml: $(srcdir)/dbgen.pl
perl $(srcdir)/dbgen.pl 100 > db100.xml
db1000.xml: $(srcdir)/dbgen.pl
perl $(srcdir)/dbgen.pl 1000 > db1000.xml
db10000.xml: $(srcdir)/dbgen.pl
perl $(srcdir)/dbgen.pl 10000 > db10000.xml
alphabetize: db100.xml
@(echo > .memdump)
@(echo alphabetize)
@($(top_builddir)/libxslt/xsltproc $(srcdir)/alphabetize.xsl db100.xml > alphabetize.tmp; \
if [ ! -f $(srcdir)/alphabetize.out ] ; then cp alphabetize.tmp $(srcdir)/alphabetize.out ; \
else diff $(srcdir)/alphabetize.out alphabetize.tmp ; fi ; \
grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" ; exit 0 )
# reference=alphabetize.ref
avts: db100.xml
@(echo > .memdump)
@(echo avts)
@($(top_builddir)/libxslt/xsltproc $(srcdir)/avts.xsl db100.xml > avts.tmp; \
if [ ! -f $(srcdir)/avts.out ] ; then cp avts.tmp $(srcdir)/avts.out ; \
else diff $(srcdir)/avts.out avts.tmp ; fi ; \
grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" ; exit 0 )
# reference=avts.ref
creation: db100.xml
@(echo > .memdump)
@(echo creation)
@($(top_builddir)/libxslt/xsltproc $(srcdir)/creation.xsl db100.xml > creation.tmp; \
if [ ! -f $(srcdir)/creation.out ] ; then cp creation.tmp $(srcdir)/creation.out ; \
else diff $(srcdir)/creation.out creation.tmp ; fi ; \
grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" ; exit 0 )
# reference=creation.ref
dbonerow: db10000.xml
@(echo > .memdump)
@(echo dbonerow)
@($(top_builddir)/libxslt/xsltproc $(srcdir)/dbonerow.xsl db10000.xml > dbonerow.tmp; \
if [ ! -f $(srcdir)/dbonerow.out ] ; then cp dbonerow.tmp $(srcdir)/dbonerow.out ; \
else diff $(srcdir)/dbonerow.out dbonerow.tmp ; fi ; \
grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" ; exit 0 )
# reference=dbonerow.ref
dbtail: db100.xml
@(echo > .memdump)
@(echo dbtail)
@($(top_builddir)/libxslt/xsltproc $(srcdir)/dbtail.xsl db100.xml > dbtail.tmp; \
if [ ! -f $(srcdir)/dbtail.out ] ; then cp dbtail.tmp $(srcdir)/dbtail.out ; \
else diff $(srcdir)/dbtail.out dbtail.tmp ; fi ; \
grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" ; exit 0 )
# reference=dbtail.ref
decoy: db100.xml
@(echo > .memdump)
@(echo decoy)
@($(top_builddir)/libxslt/xsltproc $(srcdir)/decoy.xsl db100.xml > decoy.tmp; \
if [ ! -f $(srcdir)/decoy.out ] ; then cp decoy.tmp $(srcdir)/decoy.out ; \
else diff $(srcdir)/decoy.out decoy.tmp ; fi ; \
grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" ; exit 0 )
# reference=patterns.ref
encrypt: db100.xml
@(echo > .memdump)
@(echo encrypt)
@($(top_builddir)/libxslt/xsltproc $(srcdir)/encrypt.xsl db100.xml > encrypt.tmp; \
if [ ! -f $(srcdir)/encrypt.out ] ; then cp encrypt.tmp $(srcdir)/encrypt.out ; \
else diff $(srcdir)/encrypt.out encrypt.tmp ; fi ; \
grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" ; exit 0 )
# reference=encrypt.ref
functions: db100.xml
@(echo > .memdump)
@(echo functions)
@($(top_builddir)/libxslt/xsltproc $(srcdir)/functions.xsl db100.xml > functions.tmp; \
if [ ! -f $(srcdir)/functions.out ] ; then cp functions.tmp $(srcdir)/functions.out ; \
else diff $(srcdir)/functions.out functions.tmp ; fi ; \
grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" ; exit 0 )
# reference=functions.ref
identity: db1000.xml
@(echo > .memdump)
@(echo identity)
@($(top_builddir)/libxslt/xsltproc $(srcdir)/identity.xsl db1000.xml > identity.tmp; \
if [ ! -f $(srcdir)/identity.out ] ; then cp identity.tmp $(srcdir)/identity.out ; \
else diff $(srcdir)/identity.out identity.tmp ; fi ; \
grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" ; exit 0 )
# reference=identity.ref
inventory:
@(echo > .memdump)
@(echo inventory)
@($(top_builddir)/libxslt/xsltproc $(srcdir)/inventory.xsl $(srcdir)/inventory.xml > inventory.tmp; \
if [ ! -f $(srcdir)/inventory.out ] ; then cp inventory.tmp $(srcdir)/inventory.out ; \
else diff $(srcdir)/inventory.out inventory.tmp ; fi ; \
grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" ; exit 0 )
# reference=inventory.ref
patterns: db100.xml
@(echo > .memdump)
@(echo patterns)
@($(top_builddir)/libxslt/xsltproc $(srcdir)/patterns.xsl db100.xml > patterns.tmp; \
if [ ! -f $(srcdir)/patterns.out ] ; then cp patterns.tmp $(srcdir)/patterns.out ; \
else diff $(srcdir)/patterns.out patterns.tmp ; fi ; \
grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" ; exit 0 )
# reference=patterns.ref
prettyprint: db100.xml
@(echo > .memdump)
@(echo prettyprint)
@($(top_builddir)/libxslt/xsltproc $(srcdir)/prettyprint.xsl db100.xml > prettyprint.tmp; \
if [ ! -f $(srcdir)/prettyprint.out ] ; then cp prettyprint.tmp $(srcdir)/prettyprint.out ; \
else diff $(srcdir)/prettyprint.out prettyprint.tmp ; fi ; \
grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" ; exit 0 )
# reference=prettyprint.ref
stringsort: db1000.xml
@(echo > .memdump)
@(echo stringsort)
@($(top_builddir)/libxslt/xsltproc $(srcdir)/stringsort.xsl db1000.xml > stringsort.tmp; \
if [ ! -f $(srcdir)/stringsort.out ] ; then cp stringsort.tmp $(srcdir)/stringsort.out ; \
else diff $(srcdir)/stringsort.out stringsort.tmp ; fi ; \
grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" ; exit 0 )
# reference=stringsort.ref
endif
attsets:
@(echo > .memdump)
@(echo attsets)
@($(top_builddir)/libxslt/xsltproc $(srcdir)/attsets.xsl $(srcdir)/chart.xml > attsets.tmp; \
if [ ! -f $(srcdir)/attsets.out ] ; then cp attsets.tmp $(srcdir)/attsets.out ; \
else diff $(srcdir)/attsets.out attsets.tmp ; fi ; \
grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" ; exit 0 )
# reference=attsets.ref
axis:
@(echo > .memdump)
@(echo axis)
@($(top_builddir)/libxslt/xsltproc $(srcdir)/axis.xsl $(srcdir)/axis.xml > axis.tmp; \
if [ ! -f $(srcdir)/axis.out ] ; then cp axis.tmp $(srcdir)/axis.out ; \
else diff $(srcdir)/axis.out axis.tmp ; fi ; \
grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" ; exit 0 )
# reference=axis.ref
backwards:
@(echo > .memdump)
@(echo backwards)
@($(top_builddir)/libxslt/xsltproc $(srcdir)/backwards.xsl $(srcdir)/game.xml > backwards.tmp; \
if [ ! -f $(srcdir)/backwards.out ] ; then cp backwards.tmp $(srcdir)/backwards.out ; \
else diff $(srcdir)/backwards.out backwards.tmp ; fi ; \
grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" ; exit 0 )
# reference=backwards.ref
bottles:
@(echo > .memdump)
@(echo bottles)
@($(top_builddir)/libxslt/xsltproc $(srcdir)/bottles.xsl $(srcdir)/bottles.xml > bottles.tmp; \
if [ ! -f $(srcdir)/bottles.out ] ; then cp bottles.tmp $(srcdir)/bottles.out ; \
else diff $(srcdir)/bottles.out bottles.tmp ; fi ; \
grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" ; exit 0 )
# reference=bottles.ref
breadth:
@(echo > .memdump)
@(echo breadth)
@($(top_builddir)/libxslt/xsltproc $(srcdir)/find.xsl $(srcdir)/breadth.xml > breadth.tmp; \
if [ ! -f $(srcdir)/breadth.out ] ; then cp breadth.tmp $(srcdir)/breadth.out ; \
else diff $(srcdir)/breadth.out breadth.tmp ; fi ; \
grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" ; exit 0 )
# reference=breadth.ref
brutal:
@(echo > .memdump)
@(echo brutal)
@($(top_builddir)/libxslt/xsltproc $(srcdir)/brutal.xsl $(srcdir)/brutal.xml > brutal.tmp; \
if [ ! -f $(srcdir)/brutal.out ] ; then cp brutal.tmp $(srcdir)/brutal.out ; \
else diff $(srcdir)/brutal.out brutal.tmp ; fi ; \
grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" ; exit 0 )
# reference=brutal.ref
chart:
@(echo > .memdump)
@(echo chart)
@($(top_builddir)/libxslt/xsltproc $(srcdir)/chart.xsl $(srcdir)/chart.xml > chart.tmp; \
if [ ! -f $(srcdir)/chart.out ] ; then cp chart.tmp $(srcdir)/chart.out ; \
else diff $(srcdir)/chart.out chart.tmp ; fi ; \
grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" ; exit 0 )
# reference=chart.ref
current:
@(echo > .memdump)
@(echo current)
@($(top_builddir)/libxslt/xsltproc $(srcdir)/current.xsl $(srcdir)/current.xml > current.tmp; \
if [ ! -f $(srcdir)/current.out ] ; then cp current.tmp $(srcdir)/current.out ; \
else diff $(srcdir)/current.out current.tmp ; fi ; \
grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" ; exit 0 )
# reference=current.ref
depth:
@(echo > .memdump)
@(echo depth)
@($(top_builddir)/libxslt/xsltproc $(srcdir)/find.xsl $(srcdir)/depth.xml > depth.tmp; \
if [ ! -f $(srcdir)/depth.out ] ; then cp depth.tmp $(srcdir)/depth.out ; \
else diff $(srcdir)/depth.out depth.tmp ; fi ; \
grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" ; exit 0 )
# reference=depth.ref
game:
@(echo > .memdump)
@(echo game)
@($(top_builddir)/libxslt/xsltproc $(srcdir)/game.xsl $(srcdir)/game.xml > game.tmp; \
if [ ! -f $(srcdir)/game.out ] ; then cp game.tmp $(srcdir)/game.out ; \
else diff $(srcdir)/game.out game.tmp ; fi ; \
grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" ; exit 0 )
# reference=game.ref
html:
@(echo > .memdump)
@(echo html)
@($(top_builddir)/libxslt/xsltproc $(srcdir)/html.xsl $(srcdir)/html.xml > html.tmp; \
if [ ! -f $(srcdir)/html.out ] ; then cp html.tmp $(srcdir)/html.out ; \
else diff $(srcdir)/html.out html.tmp ; fi ; \
grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" ; exit 0 )
# reference=html.ref
metric:
@(echo > .memdump)
@(echo metric)
@($(top_builddir)/libxslt/xsltproc $(srcdir)/metric.xsl $(srcdir)/metric.xml > metric.tmp; \
if [ ! -f $(srcdir)/metric.out ] ; then cp metric.tmp $(srcdir)/metric.out ; \
else diff $(srcdir)/metric.out metric.tmp ; fi ; \
grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" ; exit 0 )
# reference=metric.ref
number:
@(echo > .memdump)
@(echo number)
@($(top_builddir)/libxslt/xsltproc $(srcdir)/number.xsl $(srcdir)/number.xml > number.tmp; \
if [ ! -f $(srcdir)/number.out ] ; then cp number.tmp $(srcdir)/number.out ; \
else diff $(srcdir)/number.out number.tmp ; fi ; \
grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" ; exit 0 )
iterations=100
skipdriver=ExternalDriver:txdriver
oddtemplate:
@(echo > .memdump)
@(echo oddtemplate)
@($(top_builddir)/libxslt/xsltproc $(srcdir)/oddtemplate.xsl $(srcdir)/oddtemplate.xml > oddtemplate.tmp; \
if [ ! -f $(srcdir)/oddtemplate.out ] ; then cp oddtemplate.tmp $(srcdir)/oddtemplate.out ; \
else diff $(srcdir)/oddtemplate.out oddtemplate.tmp ; fi ; \
grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" ; exit 0 )
# reference=oddtemplate.ref
priority:
@(echo > .memdump)
@(echo priority)
@($(top_builddir)/libxslt/xsltproc $(srcdir)/priority.xsl $(srcdir)/priority.xml > priority.tmp; \
if [ ! -f $(srcdir)/priority.out ] ; then cp priority.tmp $(srcdir)/priority.out ; \
else diff $(srcdir)/priority.out priority.tmp ; fi ; \
grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" ; exit 0 )
# reference=priority.ref
products:
@(echo > .memdump)
@(echo products)
@($(top_builddir)/libxslt/xsltproc $(srcdir)/products.xsl $(srcdir)/products.xml > products.tmp; \
if [ ! -f $(srcdir)/products.out ] ; then cp products.tmp $(srcdir)/products.out ; \
else diff $(srcdir)/products.out products.tmp ; fi ; \
grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" ; exit 0 )
# reference=products.ref
queens:
@(echo > .memdump)
@(echo queens)
@($(top_builddir)/libxslt/xsltproc $(srcdir)/queens.xsl $(srcdir)/queens.xml > queens.tmp; \
if [ ! -f $(srcdir)/queens.out ] ; then cp queens.tmp $(srcdir)/queens.out ; \
else diff $(srcdir)/queens.out queens.tmp ; fi ; \
grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" ; exit 0 )
# reference=queens.ref
reverser:
@(echo > .memdump)
@(echo reverser)
@($(top_builddir)/libxslt/xsltproc $(srcdir)/reverser.xsl $(srcdir)/gettysburg.xml > reverser.tmp; \
if [ ! -f $(srcdir)/reverser.out ] ; then cp reverser.tmp $(srcdir)/reverser.out ; \
else diff $(srcdir)/reverser.out reverser.tmp ; fi ; \
grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" ; exit 0 )
# reference=reverser.ref
summarize:
@(echo > .memdump)
@(echo summarize)
@($(top_builddir)/libxslt/xsltproc $(srcdir)/summarize.xsl $(srcdir)/queens.xsl > summarize.tmp; \
if [ ! -f $(srcdir)/summarize.out ] ; then cp summarize.tmp $(srcdir)/summarize.out ; \
else diff $(srcdir)/summarize.out summarize.tmp ; fi ; \
grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" ; exit 0 )
# reference=summarize.ref
total:
@(echo > .memdump)
@(echo total)
@($(top_builddir)/libxslt/xsltproc $(srcdir)/total.xsl $(srcdir)/chart.xml > total.tmp; \
if [ ! -f $(srcdir)/total.out ] ; then cp total.tmp $(srcdir)/total.out ; \
else diff $(srcdir)/total.out total.tmp ; fi ; \
grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" ; exit 0 )
# reference=total.ref
tower:
@(echo > .memdump)
@(echo tower)
@($(top_builddir)/libxslt/xsltproc $(srcdir)/tower.xsl $(srcdir)/tower.xml > tower.tmp; \
if [ ! -f $(srcdir)/tower.out ] ; then cp tower.tmp $(srcdir)/tower.out ; \
else diff $(srcdir)/tower.out tower.tmp ; fi ; \
grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" ; exit 0 )
# reference=tower.ref
trend:
@(echo > .memdump)
@(echo trend)
@($(top_builddir)/libxslt/xsltproc $(srcdir)/trend.xsl $(srcdir)/trend.xml > trend.tmp; \
if [ ! -f $(srcdir)/trend.out ] ; then cp trend.tmp $(srcdir)/trend.out ; \
else diff $(srcdir)/trend.out trend.tmp ; fi ; \
grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" ; exit 0 )
# reference=trend.ref
union:
@(echo > .memdump)
@(echo union)
@($(top_builddir)/libxslt/xsltproc $(srcdir)/union.xsl $(srcdir)/union.xml > union.tmp; \
if [ ! -f $(srcdir)/union.out ] ; then cp union.tmp $(srcdir)/union.out ; \
else diff $(srcdir)/union.out union.tmp ; fi ; \
grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" ; exit 0 )
# reference=union.ref
xpath:
@(echo > .memdump)
@(echo xpath)
@($(top_builddir)/libxslt/xsltproc $(srcdir)/xpath.xsl $(srcdir)/xpath.xml > xpath.tmp; \
if [ ! -f $(srcdir)/xpath.out ] ; then cp xpath.tmp $(srcdir)/xpath.out ; \
else diff $(srcdir)/xpath.out xpath.tmp ; fi ; \
grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" ; exit 0 )
# reference=xpath.ref
xslbench1:
@(echo > .memdump)
@(echo xslbench1)
@($(top_builddir)/libxslt/xsltproc $(srcdir)/xslbench1.xsl $(srcdir)/xslbench1.xml > xslbench1.tmp; \
if [ ! -f $(srcdir)/xslbench1.out ] ; then cp xslbench1.tmp $(srcdir)/xslbench1.out ; \
else diff $(srcdir)/xslbench1.out xslbench1.tmp ; fi ; \
grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" ; exit 0 )
xslbench2:
@(echo > .memdump)
@(echo xslbench2)
@($(top_builddir)/libxslt/xsltproc $(srcdir)/xslbench2.xsl $(srcdir)/xslbenchdream.xml > xslbench2.tmp; \
if [ ! -f $(srcdir)/xslbench2.out ] ; then cp xslbench2.tmp $(srcdir)/xslbench2.out ; \
else diff $(srcdir)/xslbench2.out xslbench2.tmp ; fi ; \
grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" ; exit 0 )
xslbench3:
@(echo > .memdump)
@(echo xslbench3)
@($(top_builddir)/libxslt/xsltproc $(srcdir)/xslbench3.xsl $(srcdir)/xslbenchdream.xml > xslbench3.tmp; \
if [ ! -f $(srcdir)/xslbench3.out ] ; then cp xslbench3.tmp $(srcdir)/xslbench3.out ; \
else diff $(srcdir)/xslbench3.out xslbench3.tmp ; fi ; \
grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" ; exit 0 )
|