/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-23 17:13:04 UTC
  • Revision ID: csa@dside.dyndns.org-20090923171304-osvtr4zqb29h11kd
Intel, Tango, Phobos, and RapidXML parsers; Memory benchmark scripts

Show diffs side-by-side

added added

removed removed

Lines of Context:
5
5
        expat-cslxml-sax expat-cslxml-dom expat-sablotron-dom \
6
6
        xerces-sax xerces-dom xml4c-sax xml4c-dom \
7
7
        oracle-dom oracle-sax oracle-dom++ oracle-sax++ \
8
 
        rxp qt-sax qt-dom \
 
8
        rxp qt-sax qt-dom intel-dom intel-sax asmxml parabix \
 
9
        phobos-dom phobos-sax tango-dom tango-sax tango-pull \
9
10
        sun_dom2.class sun_sax2.class oracle_dom2.class oracle_sax2.class \
 
11
        intel_dom2.class intel_sax2.class
10
12
 
11
13
ifeq ($(GENERATOR_XMARK),yes)
12
14
FLAGS+=-DGENERATOR_XMARK
70
72
ifeq ($(SUN), yes)
71
73
TARGETS += sun_dom2.class sun_sax2.class 
72
74
endif
 
75
ifeq ($(INTELJ), yes)
 
76
TARGETS += intel_dom2.class intel_sax2.class
 
77
endif
 
78
 
73
79
 
74
80
ifeq ($(PARABIX), yes)
75
81
TARGETS += parabix
79
85
TARGETS += asmxml
80
86
endif
81
87
 
 
88
ifeq ($(PHOBOS), yes)
 
89
TARGETS += phobos-dom
 
90
endif
 
91
 
 
92
ifeq ($(TANGO), yes)
 
93
TARGETS += phobos
 
94
endif
82
95
 
83
96
 
84
97
HEADERS = tools.h ../tools/disp.h ../xmlgen/xmlgen.h ../xmlgen/opcgen.h ../xmlgen/random.h
88
101
all: $(TARGETS)
89
102
 
90
103
clean:
91
 
        rm -f $(ALLTARGETS) $(CLASSES)
 
104
        rm -f $(ALLTARGETS) $(CLASSES) *.o
92
105
 
93
106
libxml: libxml.c $(HEADERS)
94
107
        $(gcc) $< -o libxml $(LIBXML_INCLUDE) $(LIBXML_LIB) $(LIBS) $(FLAGS)
144
157
        $(gcc) $< -o rxp $(RXP_INCLUDE) $(RXP_LIB) $(LIBS) $(FLAGS)
145
158
 
146
159
parabix: parabix.cpp $(HEADERS)
147
 
        $(gcc) $< -o parabix $(PARABIX_INCLUDE) $(PARABIX_LIB) $(LIBS) $(FLAGS)
 
160
        $(gpp) $< -o parabix $(PARABIX_INCLUDE) $(PARABIX_LIB) $(LIBS) $(FLAGS)
148
161
 
149
162
asmxml: asmxml.c $(HEADERS)
150
163
        $(gcc) -m32 $< -o asmxml  $(ASMXML_INCLUDE) -I asm-xml-1.1/include/ $(ASMXML_LIB)  asm-xml-1.1/obj/elf/asm-xml.o $(LIBS) $(FLAGS)
173
186
sun_dom2.class: sun_dom2.java $(CLASSES)
174
187
        $(javac) -classpath $(SUN_CLASSPATH) $< 
175
188
 
 
189
intel_sax2.class: intel_sax2.java $(CLASSES)
 
190
        $(javac) -classpath $(INTEL_CLASSPATH) $< 
 
191
 
 
192
intel_dom2.class: intel_dom2.java $(CLASSES)
 
193
        $(javac) -classpath $(INTEL_CLASSPATH) $< 
 
194
 
176
195
bench.class: bench.java
177
196
        $(javac) -classpath $(SUN_CLASSPATH) $<
178
197
 
202
221
 
203
222
fp_dom.class: fp_dom.java $(CLASSES)
204
223
        $(javac) -classpath $(FASTPARSER_CLASSPATH) $< 
 
224
 
 
225
rapidxml: rapidxml.cpp $(HEADERS)
 
226
        $(gpp) $< -o rapidxml $(RAPIDXML_INCLUDE) $(RAPIDXML_LIB) $(LIBS) $(FLAGS)
 
227
 
 
228
tools32.o: tools.c tools.h
 
229
        $(gcc) $(FLAGS) -c -m32 -o tools32.o tools.c
 
230
 
 
231
phobos-dom: tools32.o phobos-dom.d tools.d
 
232
        $(dmd2) ${DFLAGS} phobos-dom tools tools32.o
 
233
 
 
234
phobos-sax: tools32.o phobos-sax.d tools.d
 
235
        $(dmd2) ${DFLAGS} phobos-sax tools tools32.o
 
236
 
 
237
tango-dom: tools32.o tango-dom.d tools.d
 
238
        $(dmd1) ${DFLAGS} tango-dom tools tools32.o
 
239
 
 
240
tango-sax: tools32.o tango-sax.d tools.d
 
241
        $(dmd1) ${DFLAGS} tango-sax tools tools32.o
 
242
 
 
243
tango-pull: tools32.o tango-pull.d tools.d
 
244
        $(dmd1) ${DFLAGS} tango-pull tools tools32.o