/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 security/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 libxml1 xerces-dom sun_dom2.class
 
4
 
 
5
HEADERS = tools.h ../tools/disp.h ../xmlgen/xmlgen.h ../xmlgen/opcgen.h ../xmlgen/random.h
 
6
 
 
7
CLASSES = bench.class
 
8
 
 
9
TARGETS = 
 
10
 
 
11
 
 
12
ifeq ($(XMLSEC1), yes)
 
13
TARGETS += libxml1
 
14
endif
 
15
ifeq ($(XMLSEC), yes)
 
16
TARGETS += libxml
 
17
endif
 
18
ifeq ($(SUN), yes)
 
19
TARGETS += sun_dom2.class
 
20
endif
 
21
ifeq ($(XSECURITY), yes)
 
22
TARGETS += xerces-dom
 
23
endif
 
24
 
 
25
all:    $(TARGETS)
 
26
 
 
27
clean:
 
28
        rm -f $(ALLTARGETS)  $(CLASSES)
 
29
 
 
30
libxml: libxml.c $(HEADERS)
 
31
        $(gcc) $< -o libxml $(XMLSEC_INCLUDE) $(XMLSEC_LIB) $(LIBS) $(FLAGS) 
 
32
 
 
33
libxml1: libxml1.c $(HEADERS) libxml1.h
 
34
        $(gcc) $< -o libxml1 $(XMLSEC1_INCLUDE) $(XMLSEC1_LIB) $(LIBS) $(FLAGS) 
 
35
 
 
36
xerces-dom: xerces-dom.cpp $(HEADERS) xerces-dom.h
 
37
        $(gpp) $< -o xerces-dom $(XSECURITY_INCLUDE) $(XSECURITY_LIB) $(LIBS) $(FLAGS)
 
38
 
 
39
sun_dom2.class: sun_dom2.java $(CLASSES)
 
40
        $(javac) -classpath $(SUN_CLASSPATH) $<
 
41
 
 
42
bench.class: bench.java
 
43
        $(javac) -classpath $(SUN_CLASSPATH) $<