/xmlbench/trunk

To get this branch, use:
bzr branch http://darksoft.org/webbzr/xmlbench/trunk

« back to all changes in this revision

Viewing changes to parse/Makefile

  • Committer: Suren A. Chilingaryan
  • Date: 2009-09-28 21:25:28 UTC
  • Revision ID: csa@dside.dyndns.org-20090928212528-e6oby5he4yrueskz
Parsing tests for mono, vtd-xml, lisp, scripting languages

Show diffs side-by-side

added added

removed removed

Lines of Context:
7
7
        oracle-dom oracle-sax oracle-dom++ oracle-sax++ \
8
8
        rxp qt-sax qt-dom intel-dom intel-sax asmxml parabix \
9
9
        phobos-dom phobos-sax tango-dom tango-sax tango-pull \
 
10
        mono-dom.exe mono-sax.exe \
 
11
        rapidxml vtdxml \
10
12
        sun_dom2.class sun_sax2.class oracle_dom2.class oracle_sax2.class \
11
13
        intel_dom2.class intel_sax2.class
12
14
 
 
15
ifeq (${LISP}, yes)
 
16
.PHONY: lisp
 
17
endif
 
18
 
 
19
ifeq (${RUBY}, yes)
 
20
.PHONY: ruby
 
21
endif
 
22
 
 
23
ifeq (${PERL}, yes)
 
24
.PHONY: perl
 
25
endif
 
26
 
 
27
ifeq (${PHP}, yes)
 
28
.PHONY: php
 
29
endif
 
30
 
 
31
ifeq (${PYTHON}, yes)
 
32
.PHONY: python
 
33
endif
 
34
 
13
35
ifeq ($(GENERATOR_XMARK),yes)
14
36
FLAGS+=-DGENERATOR_XMARK
15
37
endif
93
115
TARGETS += phobos
94
116
endif
95
117
 
 
118
ifeq ($(VTDXML), yes)
 
119
TARGETS += vtdxml
 
120
endif
 
121
 
 
122
ifeq ($(MONO), yes)
 
123
TARGETS += mono.exe
 
124
endif
 
125
 
96
126
 
97
127
HEADERS = tools.h ../tools/disp.h ../xmlgen/xmlgen.h ../xmlgen/opcgen.h ../xmlgen/random.h
98
128
 
101
131
all: $(TARGETS)
102
132
 
103
133
clean:
104
 
        rm -f $(ALLTARGETS) $(CLASSES) *.o
 
134
        rm -f $(ALLTARGETS) $(CLASSES) *.o lisp-*.sh ruby-*.sh perl-*.sh php-*.sh python-*.sh
105
135
 
106
136
libxml: libxml.c $(HEADERS)
107
137
        $(gcc) $< -o libxml $(LIBXML_INCLUDE) $(LIBXML_LIB) $(LIBS) $(FLAGS)
225
255
rapidxml: rapidxml.cpp $(HEADERS)
226
256
        $(gpp) $< -o rapidxml $(RAPIDXML_INCLUDE) $(RAPIDXML_LIB) $(LIBS) $(FLAGS)
227
257
 
 
258
vtdxml: vtdxml.c $(HEADERS)
 
259
        $(gcc) $< -o vtdxml $(VTDXML_INCLUDE) $(VTDXML_LIB) $(LIBS) $(FLAGS)
 
260
 
228
261
tools32.o: tools.c tools.h
229
262
        $(gcc) $(FLAGS) -c -m32 -o tools32.o tools.c
230
263
 
242
275
 
243
276
tango-pull: tools32.o tango-pull.d tools.d
244
277
        $(dmd1) ${DFLAGS} tango-pull tools tools32.o
 
278
 
 
279
bench.dll: bench.cs
 
280
        $(mcs) /target:library bench.cs
 
281
 
 
282
mono-dom.exe: mono-dom.cs bench.dll
 
283
        $(mcs) /r:bench.dll mono-dom.cs
 
284
 
 
285
mono-pull.exe: mono-pull.cs bench.dll
 
286
        $(mcs) /r:bench.dll mono-pull.cs
 
287
 
 
288
lisp:
 
289
        @for name in lisp/*.cl; do ln -sf tools/run-script lisp-`basename $$name .cl`.sh; done
 
290
 
 
291
ruby:
 
292
        @for name in scripts/*.ruby; do ln -sf tools/run-script ruby-`basename $$name .ruby`.sh; done
 
293
 
 
294
python:
 
295
        @for name in scripts/*.py; do ln -sf tools/run-script python-`basename $$name .py`.sh; done
 
296
 
 
297
perl:
 
298
        @for name in scripts/*.pl; do ln -sf tools/run-script perl-`basename $$name .pl`.sh; done
 
299
 
 
300
php:
 
301
        @for name in scripts/*.php; do ln -sf tools/run-script php-`basename $$name .php`.sh; done