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