]> err.no Git - sope/blob - sope-xml/DOM/GNUmakefile
include config.make in makefiles
[sope] / sope-xml / DOM / GNUmakefile
1 # GNUstep makefile
2
3 -include ../../config.make
4 include ../common.make
5
6 LIBRARY_NAME   = libDOM
7 FRAMEWORK_NAME = DOM
8
9 libDOM_HEADER_FILES_DIR         = .
10 libDOM_HEADER_FILES_INSTALL_DIR = /DOM
11 libDOM_SOVERSION=$(MAJOR_VERSION).$(MINOR_VERSION)
12 libDOM_VERSION=$(MAJOR_VERSION).$(MINOR_VERSION).$(SUBMINOR_VERSION)
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         EDOM.h                          \
44         DOMSaxBuilder.h                 \
45         DOMSaxHandler.h                 \
46         DOMText.h                       \
47         DOMXMLOutputter.h               \
48         DOMPYXOutputter.h               \
49         DOMNodeWalker.h                 \
50         DOMNamedNodeMap.h               \
51
52 DOM_CORE_OBJC_FILES = \
53         NSObject+StringValue.m          \
54         DOMAttribute.m                  \
55         DOMCDATASection.m               \
56         DOMCharacterData.m              \
57         DOMComment.m                    \
58         DOMDocument.m                   \
59         DOMElement.m                    \
60         DOMEntity.m                     \
61         DOMEntityReference.m            \
62         DOMImplementation.m             \
63         DOMNode.m                       \
64         DOMNodeWithChildren.m           \
65         DOMNotation.m                   \
66         DOMProcessingInstruction.m      \
67         DOMText.m                       \
68         DOMDocument+factory.m           \
69         DOMDocumentType.m               \
70         DOM+JS.m                        \
71         DOMBuilderFactory.m             \
72
73 EDOM_OBJC_FILES = \
74         DOMNode+Enum.m                  \
75         DOMNode+QueryPath.m             \
76         DOMQueryPathExpression.m        \
77         NSObject+QPEval.m               \
78         DOMNode+QPEval.m                \
79
80 DOM_TRAVERSAL_OBJC_FILES = \
81         DOMTreeWalker.m                 \
82         DOMNodeFilter.m                 \
83         DOMNodeIterator.m               \
84
85 libDOM_OBJC_FILES = \
86         DOMSaxBuilder.m                 \
87         DOMSaxHandler.m                 \
88         DOMXMLOutputter.m               \
89         DOMPYXOutputter.m               \
90         DOMNodeWalker.m                 \
91         NSObject+DOM.m                  \
92         $(EDOM_OBJC_FILES)              \
93         $(DOM_CORE_OBJC_FILES)          \
94         $(DOM_TRAVERSAL_OBJC_FILES)     \
95
96 DOM_HEADER_FILES = $(libDOM_HEADER_FILES)
97 DOM_OBJC_FILES   = $(libDOM_OBJC_FILES)
98
99 -include GNUmakefile.preamble
100 include $(GNUSTEP_MAKEFILES)/library.make
101
102 ifeq ($(FOUNDATION_LIB),apple)
103 include $(GNUSTEP_MAKEFILES)/framework.make
104 endif
105 -include GNUmakefile.postamble
106 -include fhs.make