]> err.no Git - sope/blob - sope-xml/DOM/GNUmakefile
d1aa43a71827aa453a5f38301a404d970b9d4fa8
[sope] / sope-xml / DOM / GNUmakefile
1 # GNUstep makefile
2
3 -include ../../config.make
4 include ../common.make
5
6 ifneq ($(frameworks),yes)
7 LIBRARY_NAME   = libDOM
8 else
9 FRAMEWORK_NAME = DOM
10 endif
11
12 libDOM_PCH_FILE = common.h
13
14 LDOM_HEADER_FILES += \
15         DOM.h                           \
16         DOMProtocols.h                  \
17         DOMAttribute.h                  \
18         DOMCDATASection.h               \
19         DOMCharacterData.h              \
20         DOMComment.h                    \
21         DOMDocument.h                   \
22         DOMDocumentFragment.h           \
23         DOMDocumentType.h               \
24         DOMElement.h                    \
25         DOMEntity.h                     \
26         DOMEntityReference.h            \
27         DOMImplementation.h             \
28         DOMNode.h                       \
29         DOMNotation.h                   \
30         DOMProcessingInstruction.h      \
31         DOMBuilder.h                    \
32         DOMBuilderFactory.h             \
33
34 EDOM_HEADER_FILES += \
35         EDOM.h                          \
36         DOMNode+Enum.h                  \
37         DOMNode+QueryPath.h             \
38         DOMQueryPathExpression.h        \
39
40 libDOM_HEADER_FILES = \
41         $(LDOM_HEADER_FILES)            \
42         $(EDOM_HEADER_FILES)            \
43         DOMSaxBuilder.h                 \
44         DOMSaxHandler.h                 \
45         DOMText.h                       \
46         DOMXMLOutputter.h               \
47         DOMPYXOutputter.h               \
48         DOMNodeWalker.h                 \
49         DOMNamedNodeMap.h               \
50
51 DOM_CORE_OBJC_FILES = \
52         NSObject+StringValue.m          \
53         DOMAttribute.m                  \
54         DOMCDATASection.m               \
55         DOMCharacterData.m              \
56         DOMComment.m                    \
57         DOMDocument.m                   \
58         DOMElement.m                    \
59         DOMEntity.m                     \
60         DOMEntityReference.m            \
61         DOMImplementation.m             \
62         DOMNode.m                       \
63         DOMNodeWithChildren.m           \
64         DOMNotation.m                   \
65         DOMProcessingInstruction.m      \
66         DOMText.m                       \
67         DOMDocument+factory.m           \
68         DOMDocumentType.m               \
69         DOM+JS.m                        \
70         DOMBuilderFactory.m             \
71
72 EDOM_OBJC_FILES = \
73         DOMNode+Enum.m                  \
74         DOMNode+QueryPath.m             \
75         DOMQueryPathExpression.m        \
76         NSObject+QPEval.m               \
77         DOMNode+QPEval.m                \
78
79 DOM_TRAVERSAL_OBJC_FILES = \
80         DOMTreeWalker.m                 \
81         DOMNodeFilter.m                 \
82         DOMNodeIterator.m               \
83
84 libDOM_OBJC_FILES = \
85         DOMSaxBuilder.m                 \
86         DOMSaxHandler.m                 \
87         DOMXMLOutputter.m               \
88         DOMPYXOutputter.m               \
89         DOMNodeWalker.m                 \
90         NSObject+DOM.m                  \
91         $(EDOM_OBJC_FILES)              \
92         $(DOM_CORE_OBJC_FILES)          \
93         $(DOM_TRAVERSAL_OBJC_FILES)     \
94
95
96 # building
97
98 -include GNUmakefile.preamble
99 ifneq ($(frameworks),yes)
100 include $(GNUSTEP_MAKEFILES)/library.make
101 else
102 include $(GNUSTEP_MAKEFILES)/framework.make
103 endif
104 -include GNUmakefile.postamble
105 -include fhs.make