/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 xsl/Makefile

  • Committer: Suren A. Chilingaryan
  • Date: 2009-02-16 09:27:17 UTC
  • Revision ID: csa@dside.dyndns.org-20090216092717-wipyvaaw2srxhgns
Initial import

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
include ../Makefile.in
 
2
 
 
3
ALLTARGETS = libxml xml4c-dom expat-sablotron-dom oracle-dom sun_dom2.class \
 
4
        xerces-dom
 
5
 
 
6
TARGETS =
 
7
 
 
8
ifeq ($(LIBXSLT), yes)
 
9
TARGETS += libxml
 
10
endif
 
11
 
 
12
ifeq ($(INTEL), yes)
 
13
TARGETS += intel-dom 
 
14
endif
 
15
 
 
16
ifeq ($(XALANC), yes)
 
17
TARGETS += xerces-dom 
 
18
endif
 
19
 
 
20
ifeq ($(LOTUSXSL), yes)
 
21
TARGETS += xml4c-dom
 
22
endif
 
23
 
 
24
ifeq ($(XDKC), yes)
 
25
TARGETS += oracle-dom
 
26
endif
 
27
 
 
28
ifeq ($(SABLOTRON), yes)
 
29
TARGETS += expat-sablotron-dom
 
30
endif
 
31
 
 
32
ifeq ($(SUN), yes)
 
33
TARGETS += sun_dom2.class
 
34
endif
 
35
 
 
36
 
 
37
HEADERS = tools.h tools2.h ../tools/disp.h ../xmlgen/xmlgen.h ../xmlgen/opcgen.h ../xmlgen/random.h
 
38
 
 
39
CLASSES = bench.class
 
40
 
 
41
all:    $(TARGETS)
 
42
 
 
43
clean:
 
44
        rm -f $(ALLTARGETS) $(CLASSES)
 
45
 
 
46
libxml: libxml.c $(HEADERS)
 
47
        $(gcc) -o libxml $(LIBXSLT_INCLUDE) $(LIBXSLT_LIB) $(LIBS) $(FLAGS) $<
 
48
 
 
49
 
 
50
intel-dom: intel-dom.cpp $(HEADERS) 
 
51
        $(gpp) $< -o intel-dom $(INTEL_INCLUDE) $(INTEL_LIB) $(LIBS) $(FLAGS)
 
52
 
 
53
ifneq ($(XERCESC_VERSION), 2.1)
 
54
xerces-dom: xerces-dom.cpp $(HEADERS) 
 
55
        $(gpp) $< -o xerces-dom $(XALANC_INCLUDE) $(XALANC_LIB) $(LIBS) $(FLAGS)
 
56
else
 
57
xerces-dom: xerces-dom.cpp $(HEADERS) 
 
58
        $(compatgpp) $< -o xerces-dom $(XALANC_INCLUDE) $(XALANC_LIB) $(LIBS) $(FLAGS)
 
59
endif
 
60
 
 
61
ifneq ($(XML4C_VERSION), 5.0)
 
62
xml4c-dom: xerces-dom.cpp $(HEADERS) 
 
63
        $(gpp) $< -o xml4c-dom $(LOTUSXSL_INCLUDE) $(LOTUSXSL_LIB) $(LIBS) $(FLAGS)
 
64
else
 
65
xml4c-dom: xerces-dom.cpp $(HEADERS) 
 
66
        $(compatgpp) $< -o xml4c-dom $(LOTUSXSL_INCLUDE) $(LOTUSXSL_LIB) $(LIBS) $(FLAGS)
 
67
endif
 
68
 
 
69
expat-sablotron-dom: expat-sablotron-dom.cpp $(HEADERS)
 
70
        $(gpp)  $< -o expat-sablotron-dom $(SABLOTRON_INCLUDE) $(SABLOTRON_LIB) $(LIBS) $(FLAGS)
 
71
 
 
72
oracle-dom: oracle-dom.c $(HEADERS)
 
73
        $(gcc) $< -o oracle-dom $(XDKC_INCLUDE) $(XDKC_LIB) $(LIBS) $(FLAGS)
 
74
 
 
75
sun_dom2.class: sun_dom2.java $(CLASSES)
 
76
        $(javac) -classpath $(SUN_CLASSPATH) $< 
 
77
 
 
78
bench.class: bench.java
 
79
        $(javac) -classpath $(SUN_CLASSPATH) $<