2008-06-05 Alp Toker <alp@nuanti.com>
[WebKit-https.git] / WebCore / GNUmakefile.am
1
2 WebCore := $(srcdir)/WebCore
3
4 FEATURE_DEFINES_JAVASCRIPT := LANGUAGE_JAVASCRIPT=1
5 SVG_FEATURES :=
6 HTML_FEATURES :=
7
8 WEBCORE_CSS_PROPERTY_NAMES := $(WebCore)/css/CSSPropertyNames.in
9 WEBCORE_CSS_VALUE_KEYWORDS := $(WebCore)/css/CSSValueKeywords.in
10
11 webcore_cppflags += \
12         -I$(srcdir)/WebCore \
13         -I$(srcdir)/WebCore/platform \
14         -I$(srcdir)/WebCore/platform/network \
15         -I$(srcdir)/WebCore/platform/graphics \
16         -I$(srcdir)/WebCore/platform/text \
17         -I$(srcdir)/WebCore/loader \
18         -I$(srcdir)/WebCore/loader/appcache \
19         -I$(srcdir)/WebCore/loader/archive \
20         -I$(srcdir)/WebCore/loader/icon \
21         -I$(srcdir)/WebCore/css \
22         -I$(srcdir)/WebCore/dom \
23         -I$(srcdir)/WebCore/page \
24         -I$(srcdir)/WebCore/bridge \
25         -I$(srcdir)/WebCore/bridge/c \
26         -I$(srcdir)/WebCore/editing \
27         -I$(srcdir)/WebCore/history \
28         -I$(srcdir)/WebCore/xml \
29         -I$(srcdir)/WebCore/html \
30         -I$(srcdir)/WebCore/bindings/js \
31         -I$(srcdir)/WebCore/platform/image-decoders \
32         -I$(srcdir)/WebCore/platform/image-decoders/bmp \
33         -I$(srcdir)/WebCore/platform/image-decoders/gif \
34         -I$(srcdir)/WebCore/platform/image-decoders/ico \
35         -I$(srcdir)/WebCore/platform/image-decoders/jpeg \
36         -I$(srcdir)/WebCore/platform/image-decoders/png \
37         -I$(srcdir)/WebCore/platform/image-decoders/xbm \
38         -I$(srcdir)/WebCore/plugins \
39         -I$(srcdir)/WebCore/rendering \
40         -I$(srcdir)/WebCore/rendering/style \
41         -I$(top_builddir)/WebCore/bindings/js
42
43 webcoregtk_cppflags += \
44         -I$(srcdir)/WebCore/platform/gtk \
45         -I$(srcdir)/WebCore/platform/graphics/gtk \
46         -I$(srcdir)/WebCore/platform/graphics/cairo \
47         -I$(srcdir)/WebCore/loader/gtk \
48         -I$(srcdir)/WebCore/page/gtk \
49         -I$(srcdir)/WebKit/gtk \
50         -I$(srcdir)/WebKit/gtk/WebCoreSupport \
51         -I$(srcdir)/WebKit/gtk/webkit \
52         -I$(top_builddir)/WebKit/gtk/webkit
53
54 webcore_built_nosources += \
55         DerivedSources/DocTypeStrings.cpp \
56         DerivedSources/tokenizer.cpp \
57         DerivedSources/ColorData.c \
58         WebCore/bindings/js/JSDOMWindowBase.lut.h \
59         WebCore/bindings/js/JSEventTargetBase.lut.h \
60         WebCore/bindings/js/JSRGBColor.lut.h \
61         WebCore/bindings/js/JSHTMLInputElementBaseTable.cpp
62
63 webcore_built_sources += \
64         DerivedSources/CSSPropertyNames.h \
65         DerivedSources/CSSValueKeywords.h \
66         DerivedSources/HTMLNames.h \
67         DerivedSources/HTMLNames.cpp \
68         DerivedSources/XMLNames.h \
69         DerivedSources/XMLNames.cpp \
70         DerivedSources/HTMLEntityNames.c \
71         DerivedSources/CSSGrammar.h \
72         DerivedSources/CSSGrammar.cpp \
73         DerivedSources/UserAgentStyleSheets.h \
74         DerivedSources/UserAgentStyleSheetsData.cpp \
75         DerivedSources/JSAttr.h \
76         DerivedSources/JSBarInfo.h \
77         DerivedSources/JSCDATASection.h \
78         DerivedSources/JSCSSCharsetRule.h \
79         DerivedSources/JSCSSFontFaceRule.h \
80         DerivedSources/JSCSSImportRule.h \
81         DerivedSources/JSCSSMediaRule.h \
82         DerivedSources/JSCSSPageRule.h \
83         DerivedSources/JSCSSPrimitiveValue.h \
84         DerivedSources/JSCSSRule.h \
85         DerivedSources/JSCSSRuleList.h \
86         DerivedSources/JSCSSStyleDeclaration.h \
87         DerivedSources/JSCSSStyleRule.h \
88         DerivedSources/JSCSSStyleSheet.h \
89         DerivedSources/JSCSSValue.h \
90         DerivedSources/JSCSSValueList.h \
91         DerivedSources/JSCanvasGradient.h \
92         DerivedSources/JSCanvasPattern.h \
93         DerivedSources/JSCanvasPixelArray.h \
94         DerivedSources/JSCanvasRenderingContext2D.h \
95         DerivedSources/JSCharacterData.h \
96         DerivedSources/JSClipboard.h \
97         DerivedSources/JSComment.h \
98         DerivedSources/JSConsole.h \
99         DerivedSources/JSCounter.h \
100         DerivedSources/JSDOMCoreException.h \
101         DerivedSources/JSDOMImplementation.h \
102         DerivedSources/JSDOMParser.h \
103         DerivedSources/JSDOMSelection.h \
104         DerivedSources/JSDOMWindow.h \
105         DerivedSources/JSDocument.h \
106         DerivedSources/JSDocumentFragment.h \
107         DerivedSources/JSDocumentType.h \
108         DerivedSources/JSElement.h \
109         DerivedSources/JSEntity.h \
110         DerivedSources/JSEntityReference.h \
111         DerivedSources/JSEvent.h \
112         DerivedSources/JSEventException.h \
113         DerivedSources/JSHTMLAnchorElement.h \
114         DerivedSources/JSHTMLAppletElement.h \
115         DerivedSources/JSHTMLAreaElement.h \
116         DerivedSources/JSHTMLBRElement.h \
117         DerivedSources/JSHTMLBaseElement.h \
118         DerivedSources/JSHTMLBaseFontElement.h \
119         DerivedSources/JSHTMLBlockquoteElement.h \
120         DerivedSources/JSHTMLBodyElement.h \
121         DerivedSources/JSHTMLButtonElement.h \
122         DerivedSources/JSHTMLCanvasElement.h \
123         DerivedSources/JSHTMLCollection.h \
124         DerivedSources/JSHTMLDListElement.h \
125         DerivedSources/JSHTMLDirectoryElement.h \
126         DerivedSources/JSHTMLDivElement.h \
127         DerivedSources/JSHTMLDocument.h \
128         DerivedSources/JSHTMLElement.h \
129         DerivedSources/JSHTMLEmbedElement.h \
130         DerivedSources/JSHTMLFieldSetElement.h \
131         DerivedSources/JSHTMLFontElement.h \
132         DerivedSources/JSHTMLFormElement.h \
133         DerivedSources/JSHTMLFrameElement.h \
134         DerivedSources/JSHTMLFrameSetElement.h \
135         DerivedSources/JSHTMLHRElement.h \
136         DerivedSources/JSHTMLHeadElement.h \
137         DerivedSources/JSHTMLHeadingElement.h \
138         DerivedSources/JSHTMLHtmlElement.h \
139         DerivedSources/JSHTMLIFrameElement.h \
140         DerivedSources/JSHTMLImageElement.h \
141         DerivedSources/JSHTMLInputElement.h \
142         DerivedSources/JSHTMLIsIndexElement.h \
143         DerivedSources/JSHTMLLIElement.h \
144         DerivedSources/JSHTMLLabelElement.h \
145         DerivedSources/JSHTMLLegendElement.h \
146         DerivedSources/JSHTMLLinkElement.h \
147         DerivedSources/JSHTMLMapElement.h \
148         DerivedSources/JSHTMLMarqueeElement.h \
149         DerivedSources/JSHTMLMenuElement.h \
150         DerivedSources/JSHTMLMetaElement.h \
151         DerivedSources/JSHTMLModElement.h \
152         DerivedSources/JSHTMLOListElement.h \
153         DerivedSources/JSHTMLObjectElement.h \
154         DerivedSources/JSHTMLOptGroupElement.h \
155         DerivedSources/JSHTMLOptionElement.h \
156         DerivedSources/JSHTMLOptionsCollection.h \
157         DerivedSources/JSHTMLParagraphElement.h \
158         DerivedSources/JSHTMLParamElement.h \
159         DerivedSources/JSHTMLPreElement.h \
160         DerivedSources/JSHTMLQuoteElement.h \
161         DerivedSources/JSHTMLScriptElement.h \
162         DerivedSources/JSHTMLSelectElement.h \
163         DerivedSources/JSHTMLStyleElement.h \
164         DerivedSources/JSHTMLTableCaptionElement.h \
165         DerivedSources/JSHTMLTableCellElement.h \
166         DerivedSources/JSHTMLTableColElement.h \
167         DerivedSources/JSHTMLTableElement.h \
168         DerivedSources/JSHTMLTableRowElement.h \
169         DerivedSources/JSHTMLTableSectionElement.h \
170         DerivedSources/JSHTMLTextAreaElement.h \
171         DerivedSources/JSHTMLTitleElement.h \
172         DerivedSources/JSHTMLUListElement.h \
173         DerivedSources/JSHistory.h \
174         DerivedSources/JSImageData.h \
175         DerivedSources/JSJavaScriptCallFrame.h \
176         DerivedSources/JSKeyboardEvent.h \
177         DerivedSources/JSLocation.h \
178         DerivedSources/JSMediaList.h \
179         DerivedSources/JSMessageEvent.h \
180         DerivedSources/JSMessageEvent.cpp \
181         DerivedSources/JSMimeType.h \
182         DerivedSources/JSMimeTypeArray.h \
183         DerivedSources/JSMouseEvent.h \
184         DerivedSources/JSMutationEvent.h \
185         DerivedSources/JSNamedNodeMap.h \
186         DerivedSources/JSNavigator.h \
187         DerivedSources/JSNode.h \
188         DerivedSources/JSNodeFilter.h \
189         DerivedSources/JSNodeIterator.h \
190         DerivedSources/JSNodeList.h \
191         DerivedSources/JSNotation.h \
192         DerivedSources/JSOverflowEvent.h \
193         DerivedSources/JSPlugin.h \
194         DerivedSources/JSPluginArray.h \
195         DerivedSources/JSProcessingInstruction.h \
196         DerivedSources/JSProgressEvent.h \
197         DerivedSources/JSRange.h \
198         DerivedSources/JSRangeException.h \
199         DerivedSources/JSRect.h \
200         DerivedSources/JSScreen.h \
201         DerivedSources/JSStyleSheet.h \
202         DerivedSources/JSStyleSheetList.h \
203         DerivedSources/JSText.h \
204         DerivedSources/JSTextEvent.h \
205         DerivedSources/JSTreeWalker.h \
206         DerivedSources/JSUIEvent.h \
207         DerivedSources/JSWheelEvent.h \
208         DerivedSources/JSXMLHttpRequest.h \
209         DerivedSources/JSXMLHttpRequestException.h \
210         DerivedSources/JSXMLSerializer.h \
211         DerivedSources/JSXSLTProcessor.h \
212         DerivedSources/JSAttr.cpp \
213         DerivedSources/JSBarInfo.cpp \
214         DerivedSources/JSCDATASection.cpp \
215         DerivedSources/JSCSSCharsetRule.cpp \
216         DerivedSources/JSCSSFontFaceRule.cpp \
217         DerivedSources/JSCSSImportRule.cpp \
218         DerivedSources/JSCSSMediaRule.cpp \
219         DerivedSources/JSCSSPageRule.cpp \
220         DerivedSources/JSCSSPrimitiveValue.cpp \
221         DerivedSources/JSCSSRule.cpp \
222         DerivedSources/JSCSSRuleList.cpp \
223         DerivedSources/JSCSSStyleDeclaration.cpp \
224         DerivedSources/JSCSSStyleRule.cpp \
225         DerivedSources/JSCSSStyleSheet.cpp \
226         DerivedSources/JSCSSValue.cpp \
227         DerivedSources/JSCSSValueList.cpp \
228         DerivedSources/JSCanvasGradient.cpp \
229         DerivedSources/JSCanvasPattern.cpp \
230         DerivedSources/JSCanvasPixelArray.cpp \
231         DerivedSources/JSCanvasRenderingContext2D.cpp \
232         DerivedSources/JSCharacterData.cpp \
233         DerivedSources/JSClipboard.cpp \
234         DerivedSources/JSComment.cpp \
235         DerivedSources/JSConsole.cpp \
236         DerivedSources/JSCounter.cpp \
237         DerivedSources/JSDOMCoreException.cpp \
238         DerivedSources/JSDOMImplementation.cpp \
239         DerivedSources/JSDOMParser.cpp \
240         DerivedSources/JSDOMSelection.cpp \
241         DerivedSources/JSDOMWindow.cpp \
242         DerivedSources/JSDocument.cpp \
243         DerivedSources/JSDocumentFragment.cpp \
244         DerivedSources/JSDocumentType.cpp \
245         DerivedSources/JSElement.cpp \
246         DerivedSources/JSEntity.cpp \
247         DerivedSources/JSEntityReference.cpp \
248         DerivedSources/JSEvent.cpp \
249         DerivedSources/JSEventException.cpp \
250         DerivedSources/JSHTMLAnchorElement.cpp \
251         DerivedSources/JSHTMLAppletElement.cpp \
252         DerivedSources/JSHTMLAreaElement.cpp \
253         DerivedSources/JSHTMLBRElement.cpp \
254         DerivedSources/JSHTMLBaseElement.cpp \
255         DerivedSources/JSHTMLBaseFontElement.cpp \
256         DerivedSources/JSHTMLBlockquoteElement.cpp \
257         DerivedSources/JSHTMLBodyElement.cpp \
258         DerivedSources/JSHTMLButtonElement.cpp \
259         DerivedSources/JSHTMLCanvasElement.cpp \
260         DerivedSources/JSHTMLCollection.cpp \
261         DerivedSources/JSHTMLDListElement.cpp \
262         DerivedSources/JSHTMLDirectoryElement.cpp \
263         DerivedSources/JSHTMLDivElement.cpp \
264         DerivedSources/JSHTMLDocument.cpp \
265         DerivedSources/JSHTMLElement.cpp \
266         DerivedSources/JSHTMLElementWrapperFactory.cpp \
267         DerivedSources/JSHTMLEmbedElement.cpp \
268         DerivedSources/JSHTMLFieldSetElement.cpp \
269         DerivedSources/JSHTMLFontElement.cpp \
270         DerivedSources/JSHTMLFormElement.cpp \
271         DerivedSources/JSHTMLFrameElement.cpp \
272         DerivedSources/JSHTMLFrameSetElement.cpp \
273         DerivedSources/JSHTMLHRElement.cpp \
274         DerivedSources/JSHTMLHeadElement.cpp \
275         DerivedSources/JSHTMLHeadingElement.cpp \
276         DerivedSources/JSHTMLHtmlElement.cpp \
277         DerivedSources/JSHTMLIFrameElement.cpp \
278         DerivedSources/JSHTMLImageElement.cpp \
279         DerivedSources/JSHTMLInputElement.cpp \
280         DerivedSources/JSHTMLIsIndexElement.cpp \
281         DerivedSources/JSHTMLLIElement.cpp \
282         DerivedSources/JSHTMLLabelElement.cpp \
283         DerivedSources/JSHTMLLegendElement.cpp \
284         DerivedSources/JSHTMLLinkElement.cpp \
285         DerivedSources/JSHTMLMapElement.cpp \
286         DerivedSources/JSHTMLMarqueeElement.cpp \
287         DerivedSources/JSHTMLMenuElement.cpp \
288         DerivedSources/JSHTMLMetaElement.cpp \
289         DerivedSources/JSHTMLModElement.cpp \
290         DerivedSources/JSHTMLOListElement.cpp \
291         DerivedSources/JSHTMLObjectElement.cpp \
292         DerivedSources/JSHTMLOptGroupElement.cpp \
293         DerivedSources/JSHTMLOptionElement.cpp \
294         DerivedSources/JSHTMLOptionsCollection.cpp \
295         DerivedSources/JSHTMLParagraphElement.cpp \
296         DerivedSources/JSHTMLParamElement.cpp \
297         DerivedSources/JSHTMLPreElement.cpp \
298         DerivedSources/JSHTMLQuoteElement.cpp \
299         DerivedSources/JSHTMLScriptElement.cpp \
300         DerivedSources/JSHTMLSelectElement.cpp \
301         DerivedSources/JSHTMLStyleElement.cpp \
302         DerivedSources/JSHTMLTableCaptionElement.cpp \
303         DerivedSources/JSHTMLTableCellElement.cpp \
304         DerivedSources/JSHTMLTableColElement.cpp \
305         DerivedSources/JSHTMLTableElement.cpp \
306         DerivedSources/JSHTMLTableRowElement.cpp \
307         DerivedSources/JSHTMLTableSectionElement.cpp \
308         DerivedSources/JSHTMLTextAreaElement.cpp \
309         DerivedSources/JSHTMLTitleElement.cpp \
310         DerivedSources/JSHTMLUListElement.cpp \
311         DerivedSources/JSHistory.cpp \
312         DerivedSources/JSImageData.cpp \
313         DerivedSources/JSJavaScriptCallFrame.cpp \
314         DerivedSources/JSKeyboardEvent.cpp \
315         DerivedSources/JSLocation.cpp \
316         DerivedSources/JSMediaList.cpp \
317         DerivedSources/JSMimeType.cpp \
318         DerivedSources/JSMimeTypeArray.cpp \
319         DerivedSources/JSMouseEvent.cpp \
320         DerivedSources/JSMutationEvent.cpp \
321         DerivedSources/JSNamedNodeMap.cpp \
322         DerivedSources/JSNavigator.cpp \
323         DerivedSources/JSNode.cpp \
324         DerivedSources/JSNodeFilter.cpp \
325         DerivedSources/JSNodeIterator.cpp \
326         DerivedSources/JSNodeList.cpp \
327         DerivedSources/JSNotation.cpp \
328         DerivedSources/JSOverflowEvent.cpp \
329         DerivedSources/JSPlugin.cpp \
330         DerivedSources/JSPluginArray.cpp \
331         DerivedSources/JSProcessingInstruction.cpp \
332         DerivedSources/JSProgressEvent.cpp \
333         DerivedSources/JSRange.cpp \
334         DerivedSources/JSRangeException.cpp \
335         DerivedSources/JSRect.cpp \
336         DerivedSources/JSScreen.cpp \
337         DerivedSources/JSStyleSheet.cpp \
338         DerivedSources/JSStyleSheetList.cpp \
339         DerivedSources/JSText.cpp \
340         DerivedSources/JSTextEvent.cpp \
341         DerivedSources/JSTreeWalker.cpp \
342         DerivedSources/JSUIEvent.cpp \
343         DerivedSources/JSWheelEvent.cpp \
344         DerivedSources/JSXMLHttpRequest.cpp \
345         DerivedSources/JSXMLHttpRequestException.cpp \
346         DerivedSources/JSXMLHttpRequestProgressEvent.cpp \
347         DerivedSources/JSXMLSerializer.cpp \
348         DerivedSources/JSXSLTProcessor.cpp
349
350 IDL_BINDINGS +=  \
351         WebCore/css/Counter.idl \
352         WebCore/css/CSSCharsetRule.idl \
353         WebCore/css/CSSFontFaceRule.idl \
354         WebCore/css/CSSImportRule.idl \
355         WebCore/css/CSSMediaRule.idl \
356         WebCore/css/CSSPageRule.idl \
357         WebCore/css/CSSPrimitiveValue.idl \
358         WebCore/css/CSSRule.idl \
359         WebCore/css/CSSRuleList.idl \
360         WebCore/css/CSSStyleDeclaration.idl \
361         WebCore/css/CSSStyleRule.idl \
362         WebCore/css/CSSStyleSheet.idl \
363         WebCore/css/CSSValue.idl \
364         WebCore/css/CSSValueList.idl \
365         WebCore/css/MediaList.idl \
366         WebCore/css/Rect.idl \
367         WebCore/css/StyleSheet.idl \
368         WebCore/css/StyleSheetList.idl \
369         WebCore/dom/Attr.idl \
370         WebCore/dom/CharacterData.idl \
371         WebCore/dom/Clipboard.idl \
372         WebCore/dom/CDATASection.idl \
373         WebCore/dom/Comment.idl \
374         WebCore/dom/DocumentFragment.idl \
375         WebCore/dom/Document.idl \
376         WebCore/dom/DocumentType.idl \
377         WebCore/dom/DOMCoreException.idl \
378         WebCore/dom/DOMImplementation.idl \
379         WebCore/dom/Element.idl \
380         WebCore/dom/Entity.idl \
381         WebCore/dom/EntityReference.idl \
382         WebCore/dom/Event.idl \
383         WebCore/dom/EventException.idl \
384         WebCore/dom/KeyboardEvent.idl \
385         WebCore/dom/MessageEvent.idl \
386         WebCore/dom/MouseEvent.idl \
387         WebCore/dom/MutationEvent.idl \
388         WebCore/dom/NamedNodeMap.idl \
389         WebCore/dom/Node.idl \
390         WebCore/dom/NodeFilter.idl \
391         WebCore/dom/NodeIterator.idl \
392         WebCore/dom/NodeList.idl \
393         WebCore/dom/Notation.idl \
394         WebCore/dom/OverflowEvent.idl \
395         WebCore/dom/ProcessingInstruction.idl \
396         WebCore/dom/ProgressEvent.idl \
397         WebCore/dom/RangeException.idl \
398         WebCore/dom/Range.idl \
399         WebCore/dom/Text.idl \
400         WebCore/dom/TextEvent.idl \
401         WebCore/dom/TreeWalker.idl \
402         WebCore/dom/UIEvent.idl \
403         WebCore/dom/WheelEvent.idl \
404         WebCore/html/CanvasGradient.idl \
405         WebCore/html/CanvasPattern.idl \
406         WebCore/html/CanvasRenderingContext2D.idl \
407         WebCore/html/HTMLAnchorElement.idl \
408         WebCore/html/HTMLAppletElement.idl \
409         WebCore/html/HTMLAreaElement.idl \
410         WebCore/html/HTMLBaseElement.idl \
411         WebCore/html/HTMLBaseFontElement.idl \
412         WebCore/html/HTMLBlockquoteElement.idl \
413         WebCore/html/HTMLBodyElement.idl \
414         WebCore/html/HTMLBRElement.idl \
415         WebCore/html/HTMLButtonElement.idl \
416         WebCore/html/HTMLCanvasElement.idl \
417         WebCore/html/HTMLCollection.idl \
418         WebCore/html/HTMLDirectoryElement.idl \
419         WebCore/html/HTMLDivElement.idl \
420         WebCore/html/HTMLDListElement.idl \
421         WebCore/html/HTMLDocument.idl \
422         WebCore/html/HTMLElement.idl \
423         WebCore/html/HTMLEmbedElement.idl \
424         WebCore/html/HTMLFieldSetElement.idl \
425         WebCore/html/HTMLFontElement.idl \
426         WebCore/html/HTMLFormElement.idl \
427         WebCore/html/HTMLFrameElement.idl \
428         WebCore/html/HTMLFrameSetElement.idl \
429         WebCore/html/HTMLHeadElement.idl \
430         WebCore/html/HTMLHeadingElement.idl \
431         WebCore/html/HTMLHRElement.idl \
432         WebCore/html/HTMLHtmlElement.idl \
433         WebCore/html/HTMLIFrameElement.idl \
434         WebCore/html/HTMLImageElement.idl \
435         WebCore/html/HTMLInputElement.idl \
436         WebCore/html/HTMLIsIndexElement.idl \
437         WebCore/html/HTMLLabelElement.idl \
438         WebCore/html/HTMLLegendElement.idl \
439         WebCore/html/HTMLLIElement.idl \
440         WebCore/html/HTMLLinkElement.idl \
441         WebCore/html/HTMLMapElement.idl \
442         WebCore/html/HTMLMarqueeElement.idl \
443         WebCore/html/HTMLMenuElement.idl \
444         WebCore/html/HTMLMetaElement.idl \
445         WebCore/html/HTMLModElement.idl \
446         WebCore/html/HTMLObjectElement.idl \
447         WebCore/html/HTMLOListElement.idl \
448         WebCore/html/HTMLOptGroupElement.idl \
449         WebCore/html/HTMLOptionElement.idl \
450         WebCore/html/HTMLOptionsCollection.idl \
451         WebCore/html/HTMLParagraphElement.idl \
452         WebCore/html/HTMLParamElement.idl \
453         WebCore/html/HTMLPreElement.idl \
454         WebCore/html/HTMLQuoteElement.idl \
455         WebCore/html/HTMLScriptElement.idl \
456         WebCore/html/HTMLSelectElement.idl \
457         WebCore/html/HTMLStyleElement.idl \
458         WebCore/html/HTMLTableCaptionElement.idl \
459         WebCore/html/HTMLTableCellElement.idl \
460         WebCore/html/HTMLTableColElement.idl \
461         WebCore/html/HTMLTableElement.idl \
462         WebCore/html/HTMLTableRowElement.idl \
463         WebCore/html/HTMLTableSectionElement.idl \
464         WebCore/html/HTMLTextAreaElement.idl \
465         WebCore/html/HTMLTitleElement.idl \
466         WebCore/html/HTMLUListElement.idl \
467         WebCore/page/BarInfo.idl \
468         WebCore/page/Console.idl \
469         WebCore/page/DOMSelection.idl \
470         WebCore/page/DOMWindow.idl \
471         WebCore/page/History.idl \
472         WebCore/page/JavaScriptCallFrame.idl \
473         WebCore/page/Location.idl \
474         WebCore/page/Navigator.idl \
475         WebCore/page/Screen.idl \
476         WebCore/plugins/MimeType.idl \
477         WebCore/plugins/MimeTypeArray.idl \
478         WebCore/plugins/Plugin.idl \
479         WebCore/plugins/PluginArray.idl \
480         WebCore/xml/DOMParser.idl \
481         WebCore/xml/XMLHttpRequest.idl \
482         WebCore/xml/XMLHttpRequestProgressEvent.idl \
483         WebCore/xml/XMLHttpRequestException.idl \
484         WebCore/xml/XMLSerializer.idl \
485         WebCore/xml/XSLTProcessor.idl
486
487 webcore_headers += \
488         WebCore/loader/icon/IconDatabase.h
489
490 webcore_sources += \
491         WebCore/bindings/js/GCController.cpp \
492         WebCore/bindings/js/JSAttrCustom.cpp \
493         WebCore/bindings/js/JSCanvasPixelArrayCustom.cpp \
494         WebCore/bindings/js/JSCanvasRenderingContext2DCustom.cpp \
495         WebCore/bindings/js/JSClipboardCustom.cpp \
496         WebCore/bindings/js/JSConsoleCustom.cpp \
497         WebCore/bindings/js/JSCSSRuleCustom.cpp \
498         WebCore/bindings/js/JSCSSStyleDeclarationCustom.cpp \
499         WebCore/bindings/js/JSCSSValueCustom.cpp \
500         WebCore/bindings/js/JSCustomVoidCallback.cpp \
501         WebCore/bindings/js/JSCustomXPathNSResolver.cpp \
502         WebCore/bindings/js/JSDocumentCustom.cpp \
503         WebCore/bindings/js/JSDOMWindowBase.cpp \
504         WebCore/bindings/js/JSDOMWindowCustom.cpp \
505         WebCore/bindings/js/JSDOMWindowShell.cpp \
506         WebCore/bindings/js/JSElementCustom.cpp \
507         WebCore/bindings/js/JSEventCustom.cpp \
508         WebCore/bindings/js/JSEventTargetBase.cpp \
509         WebCore/bindings/js/JSHistoryCustom.cpp \
510         WebCore/bindings/js/JSImageConstructor.cpp \
511         WebCore/bindings/js/JSInspectedObjectWrapper.cpp \
512         WebCore/bindings/js/JSInspectorCallbackWrapper.cpp \
513         WebCore/bindings/js/JSJavaScriptCallFrameCustom.cpp \
514         WebCore/bindings/js/JSLocationCustom.cpp \
515         WebCore/bindings/js/JSEventTargetNode.cpp \
516         WebCore/bindings/js/JSHTMLAppletElementCustom.cpp \
517         WebCore/bindings/js/JSHTMLCollectionCustom.cpp \
518         WebCore/bindings/js/JSHTMLDocumentCustom.cpp \
519         WebCore/bindings/js/JSHTMLElementCustom.cpp \
520         WebCore/bindings/js/JSHTMLEmbedElementCustom.cpp \
521         WebCore/bindings/js/JSHTMLFormElementCustom.cpp \
522         WebCore/bindings/js/JSHTMLFrameElementCustom.cpp \
523         WebCore/bindings/js/JSHTMLFrameSetElementCustom.cpp \
524         WebCore/bindings/js/JSHTMLIFrameElementCustom.cpp \
525         WebCore/bindings/js/JSHTMLInputElementBase.cpp \
526         WebCore/bindings/js/JSHTMLObjectElementCustom.cpp \
527         WebCore/bindings/js/JSHTMLOptionElementConstructor.cpp \
528         WebCore/bindings/js/JSHTMLOptionsCollectionCustom.cpp \
529         WebCore/bindings/js/JSHTMLSelectElementCustom.cpp \
530         WebCore/bindings/js/JSMimeTypeArrayCustom.cpp \
531         WebCore/bindings/js/JSNamedNodeMapCustom.cpp \
532         WebCore/bindings/js/JSNamedNodesCollection.cpp  \
533         WebCore/bindings/js/JSNavigatorCustom.cpp  \
534         WebCore/bindings/js/JSNodeCustom.cpp \
535         WebCore/bindings/js/JSNodeFilterCondition.cpp \
536         WebCore/bindings/js/JSNodeFilterCustom.cpp \
537         WebCore/bindings/js/JSNodeIteratorCustom.cpp \
538         WebCore/bindings/js/JSNodeListCustom.cpp \
539         WebCore/bindings/js/JSQuarantinedObjectWrapper.cpp \
540         WebCore/bindings/js/JSRGBColor.cpp \
541         WebCore/bindings/js/JSPluginArrayCustom.cpp \
542         WebCore/bindings/js/JSPluginCustom.cpp \
543         WebCore/bindings/js/JSStyleSheetCustom.cpp \
544         WebCore/bindings/js/JSStyleSheetListCustom.cpp \
545         WebCore/bindings/js/JSTextCustom.cpp \
546         WebCore/bindings/js/JSTreeWalkerCustom.cpp \
547         WebCore/bindings/js/JSXMLHttpRequestCustom.cpp \
548         WebCore/bindings/js/JSXMLHttpRequestConstructor.cpp \
549         WebCore/bindings/js/JSXSLTProcessorCustom.cpp \
550         WebCore/bindings/js/JSXSLTProcessorConstructor.cpp \
551         WebCore/bindings/js/kjs_binding.cpp \
552         WebCore/bindings/js/kjs_events.cpp \
553         WebCore/bindings/js/kjs_html.cpp \
554         WebCore/bindings/js/kjs_proxy.cpp \
555         WebCore/bindings/js/PausedTimeouts.cpp \
556         WebCore/bindings/js/ScheduledAction.cpp \
557         WebCore/bridge/NP_jsobject.cpp \
558         WebCore/bridge/c/c_class.cpp \
559         WebCore/bridge/c/c_instance.cpp \
560         WebCore/bridge/c/c_runtime.cpp \
561         WebCore/bridge/c/c_utility.cpp \
562         WebCore/bridge/npruntime.cpp \
563         WebCore/bridge/runtime.cpp \
564         WebCore/bridge/runtime_array.cpp \
565         WebCore/bridge/runtime_method.cpp \
566         WebCore/bridge/runtime_object.cpp \
567         WebCore/bridge/runtime_root.cpp \
568         WebCore/css/CSSBorderImageValue.cpp \
569         WebCore/css/CSSCanvasValue.cpp \
570         WebCore/css/CSSCharsetRule.cpp \
571         WebCore/css/CSSComputedStyleDeclaration.cpp \
572         WebCore/css/CSSCursorImageValue.cpp \
573         WebCore/css/CSSFontFace.cpp \
574         WebCore/css/CSSFontFaceRule.cpp \
575         WebCore/css/CSSFontFaceSrcValue.cpp \
576         WebCore/css/CSSFontSelector.cpp \
577         WebCore/css/CSSFontFaceSource.cpp \
578         WebCore/css/CSSGradientValue.cpp \
579         WebCore/css/CSSHelper.cpp \
580         WebCore/css/CSSImageGeneratorValue.cpp \
581         WebCore/css/CSSImageValue.cpp \
582         WebCore/css/CSSImportRule.cpp \
583         WebCore/css/CSSInheritedValue.cpp \
584         WebCore/css/CSSInitialValue.cpp \
585         WebCore/css/CSSMediaRule.cpp \
586         WebCore/css/CSSMutableStyleDeclaration.cpp \
587         WebCore/css/CSSPageRule.cpp \
588         WebCore/css/CSSParser.cpp \
589         WebCore/css/CSSPrimitiveValue.cpp \
590         WebCore/css/CSSProperty.cpp \
591         WebCore/css/CSSReflectValue.cpp \
592         WebCore/css/CSSRule.cpp \
593         WebCore/css/CSSRuleList.cpp \
594         WebCore/css/CSSSelector.cpp \
595         WebCore/css/CSSSegmentedFontFace.cpp \
596         WebCore/css/CSSStyleDeclaration.cpp \
597         WebCore/css/CSSStyleRule.cpp \
598         WebCore/css/CSSStyleSelector.cpp \
599         WebCore/css/CSSStyleSheet.cpp \
600         WebCore/css/CSSTimingFunctionValue.cpp \
601         WebCore/css/CSSTransformValue.cpp \
602         WebCore/css/CSSUnicodeRangeValue.cpp \
603         WebCore/css/CSSValueList.cpp \
604         WebCore/css/FontFamilyValue.cpp \
605         WebCore/css/FontValue.cpp \
606         WebCore/css/MediaFeatureNames.cpp \
607         WebCore/css/MediaList.cpp \
608         WebCore/css/MediaQuery.cpp \
609         WebCore/css/MediaQueryEvaluator.cpp \
610         WebCore/css/MediaQueryExp.cpp \
611         WebCore/css/ShadowValue.cpp \
612         WebCore/css/StyleBase.cpp \
613         WebCore/css/StyleList.cpp \
614         WebCore/css/StyleSheet.cpp \
615         WebCore/css/StyleSheetList.cpp \
616         WebCore/dom/Attr.cpp \
617         WebCore/dom/Attribute.cpp \
618         WebCore/dom/BeforeTextInsertedEvent.cpp \
619         WebCore/dom/BeforeUnloadEvent.cpp \
620         WebCore/dom/CDATASection.cpp \
621         WebCore/dom/CharacterData.cpp \
622         WebCore/dom/ChildNodeList.cpp \
623         WebCore/dom/ClassNames.cpp \
624         WebCore/dom/ClassNodeList.cpp \
625         WebCore/dom/Clipboard.cpp \
626         WebCore/dom/ClipboardEvent.cpp \
627         WebCore/dom/Comment.cpp \
628         WebCore/dom/ContainerNode.cpp \
629         WebCore/dom/CSSMappedAttributeDeclaration.cpp \
630         WebCore/dom/Document.cpp \
631         WebCore/dom/DocumentFragment.cpp \
632         WebCore/dom/DocumentType.cpp \
633         WebCore/dom/DOMImplementation.cpp \
634         WebCore/dom/DynamicNodeList.cpp \
635         WebCore/dom/EditingText.cpp \
636         WebCore/dom/Element.cpp \
637         WebCore/dom/Entity.cpp \
638         WebCore/dom/EntityReference.cpp \
639         WebCore/dom/Event.cpp \
640         WebCore/dom/EventNames.cpp \
641         WebCore/dom/EventTarget.cpp \
642         WebCore/dom/EventTargetNode.cpp \
643         WebCore/dom/ExceptionBase.cpp \
644         WebCore/dom/ExceptionCode.cpp \
645         WebCore/dom/KeyboardEvent.cpp \
646         WebCore/dom/MappedAttribute.cpp \
647         WebCore/dom/MessageEvent.cpp \
648         WebCore/dom/MouseEvent.cpp \
649         WebCore/dom/MouseRelatedEvent.cpp \
650         WebCore/dom/MutationEvent.cpp \
651         WebCore/dom/NamedAttrMap.cpp \
652         WebCore/dom/NamedMappedAttrMap.cpp \
653         WebCore/dom/NameNodeList.cpp \
654         WebCore/dom/Node.cpp \
655         WebCore/dom/NodeFilterCondition.cpp \
656         WebCore/dom/NodeFilter.cpp \
657         WebCore/dom/NodeIterator.cpp \
658         WebCore/dom/Notation.cpp \
659         WebCore/dom/OverflowEvent.cpp \
660         WebCore/dom/Position.cpp \
661         WebCore/dom/PositionIterator.cpp \
662         WebCore/dom/ProcessingInstruction.cpp \
663         WebCore/dom/ProgressEvent.cpp \
664         WebCore/dom/QualifiedName.cpp \
665         WebCore/dom/Range.cpp \
666         WebCore/dom/RegisteredEventListener.cpp \
667         WebCore/dom/SelectorNodeList.cpp \
668         WebCore/dom/StaticNodeList.cpp \
669         WebCore/dom/StyledElement.cpp \
670         WebCore/dom/StyleElement.cpp \
671         WebCore/dom/TagNodeList.cpp \
672         WebCore/dom/Text.cpp \
673         WebCore/dom/TextEvent.cpp \
674         WebCore/dom/Traversal.cpp \
675         WebCore/dom/TreeWalker.cpp \
676         WebCore/dom/UIEvent.cpp \
677         WebCore/dom/UIEventWithKeyState.cpp \
678         WebCore/dom/WheelEvent.cpp \
679         WebCore/dom/XMLTokenizer.cpp \
680         WebCore/editing/AppendNodeCommand.cpp \
681         WebCore/editing/ApplyStyleCommand.cpp \
682         WebCore/editing/BreakBlockquoteCommand.cpp \
683         WebCore/editing/CompositeEditCommand.cpp \
684         WebCore/editing/CreateLinkCommand.cpp \
685         WebCore/editing/DeleteButtonController.cpp \
686         WebCore/editing/DeleteButton.cpp \
687         WebCore/editing/DeleteFromTextNodeCommand.cpp \
688         WebCore/editing/DeleteSelectionCommand.cpp \
689         WebCore/editing/EditCommand.cpp \
690         WebCore/editing/Editor.cpp \
691         WebCore/editing/EditorCommand.cpp \
692         WebCore/editing/FormatBlockCommand.cpp \
693         WebCore/editing/htmlediting.cpp \
694         WebCore/editing/HTMLInterchange.cpp \
695         WebCore/editing/IndentOutdentCommand.cpp \
696         WebCore/editing/InsertIntoTextNodeCommand.cpp \
697         WebCore/editing/InsertLineBreakCommand.cpp \
698         WebCore/editing/InsertListCommand.cpp \
699         WebCore/editing/InsertNodeBeforeCommand.cpp \
700         WebCore/editing/InsertParagraphSeparatorCommand.cpp \
701         WebCore/editing/InsertTextCommand.cpp \
702         WebCore/editing/JoinTextNodesCommand.cpp \
703         WebCore/editing/markup.cpp \
704         WebCore/editing/MergeIdenticalElementsCommand.cpp \
705         WebCore/editing/ModifySelectionListLevel.cpp \
706         WebCore/editing/MoveSelectionCommand.cpp \
707         WebCore/editing/RemoveCSSPropertyCommand.cpp \
708         WebCore/editing/RemoveFormatCommand.cpp \
709         WebCore/editing/RemoveNodeAttributeCommand.cpp \
710         WebCore/editing/RemoveNodeCommand.cpp \
711         WebCore/editing/RemoveNodePreservingChildrenCommand.cpp \
712         WebCore/editing/ReplaceSelectionCommand.cpp \
713         WebCore/editing/SelectionController.cpp \
714         WebCore/editing/Selection.cpp \
715         WebCore/editing/SetNodeAttributeCommand.cpp \
716         WebCore/editing/SmartReplace.cpp \
717         WebCore/editing/SmartReplaceICU.cpp \
718         WebCore/editing/SplitElementCommand.cpp \
719         WebCore/editing/SplitTextNodeCommand.cpp \
720         WebCore/editing/SplitTextNodeContainingElementCommand.cpp \
721         WebCore/editing/TextIterator.cpp \
722         WebCore/editing/TypingCommand.cpp \
723         WebCore/editing/UnlinkCommand.cpp \
724         WebCore/editing/VisiblePosition.cpp \
725         WebCore/editing/visible_units.cpp \
726         WebCore/editing/WrapContentsInDummySpanCommand.cpp \
727         WebCore/history/BackForwardList.cpp \
728         WebCore/history/CachedPage.cpp \
729         WebCore/history/HistoryItem.cpp \
730         WebCore/history/PageCache.cpp \
731         WebCore/html/CanvasGradient.cpp \
732         WebCore/html/CanvasPattern.cpp \
733         WebCore/html/CanvasPixelArray.cpp \
734         WebCore/html/CanvasRenderingContext2D.cpp \
735         WebCore/html/CanvasStyle.cpp \
736         WebCore/html/FormDataList.cpp \
737         WebCore/html/HTMLAnchorElement.cpp \
738         WebCore/html/HTMLAppletElement.cpp \
739         WebCore/html/HTMLAreaElement.cpp \
740         WebCore/html/HTMLBaseElement.cpp \
741         WebCore/html/HTMLBaseFontElement.cpp \
742         WebCore/html/HTMLBlockquoteElement.cpp \
743         WebCore/html/HTMLBodyElement.cpp \
744         WebCore/html/HTMLBRElement.cpp \
745         WebCore/html/HTMLButtonElement.cpp \
746         WebCore/html/HTMLCanvasElement.cpp \
747         WebCore/html/HTMLCollection.cpp \
748         WebCore/html/HTMLDirectoryElement.cpp \
749         WebCore/html/HTMLDivElement.cpp \
750         WebCore/html/HTMLDListElement.cpp \
751         WebCore/html/HTMLDocument.cpp \
752         WebCore/html/HTMLElement.cpp \
753         WebCore/html/HTMLElementFactory.cpp \
754         WebCore/html/HTMLEmbedElement.cpp \
755         WebCore/html/HTMLFieldSetElement.cpp \
756         WebCore/html/HTMLFontElement.cpp \
757         WebCore/html/HTMLFormCollection.cpp \
758         WebCore/html/HTMLFormElement.cpp \
759         WebCore/html/HTMLFrameElementBase.cpp \
760         WebCore/html/HTMLFrameElement.cpp \
761         WebCore/html/HTMLFrameOwnerElement.cpp \
762         WebCore/html/HTMLFrameSetElement.cpp \
763         WebCore/html/HTMLGenericFormElement.cpp \
764         WebCore/html/HTMLHeadElement.cpp \
765         WebCore/html/HTMLHeadingElement.cpp \
766         WebCore/html/HTMLHRElement.cpp \
767         WebCore/html/HTMLHtmlElement.cpp \
768         WebCore/html/HTMLIFrameElement.cpp \
769         WebCore/html/HTMLImageElement.cpp \
770         WebCore/html/HTMLImageLoader.cpp \
771         WebCore/html/HTMLInputElement.cpp \
772         WebCore/html/HTMLIsIndexElement.cpp \
773         WebCore/html/HTMLKeygenElement.cpp \
774         WebCore/html/HTMLLabelElement.cpp \
775         WebCore/html/HTMLLegendElement.cpp \
776         WebCore/html/HTMLLIElement.cpp \
777         WebCore/html/HTMLLinkElement.cpp \
778         WebCore/html/HTMLMapElement.cpp \
779         WebCore/html/HTMLMarqueeElement.cpp \
780         WebCore/html/HTMLMenuElement.cpp \
781         WebCore/html/HTMLMetaElement.cpp \
782         WebCore/html/HTMLModElement.cpp \
783         WebCore/html/HTMLNameCollection.cpp \
784         WebCore/html/HTMLObjectElement.cpp \
785         WebCore/html/HTMLOListElement.cpp \
786         WebCore/html/HTMLOptGroupElement.cpp \
787         WebCore/html/HTMLOptionElement.cpp \
788         WebCore/html/HTMLOptionsCollection.cpp \
789         WebCore/html/HTMLParagraphElement.cpp \
790         WebCore/html/HTMLParamElement.cpp \
791         WebCore/html/HTMLParser.cpp \
792         WebCore/html/HTMLParserErrorCodes.cpp \
793         WebCore/html/HTMLPlugInElement.cpp \
794         WebCore/html/HTMLPreElement.cpp \
795         WebCore/html/HTMLQuoteElement.cpp \
796         WebCore/html/HTMLScriptElement.cpp \
797         WebCore/html/HTMLSelectElement.cpp \
798         WebCore/html/HTMLStyleElement.cpp \
799         WebCore/html/HTMLTableCaptionElement.cpp \
800         WebCore/html/HTMLTableCellElement.cpp \
801         WebCore/html/HTMLTableColElement.cpp \
802         WebCore/html/HTMLTableElement.cpp \
803         WebCore/html/HTMLTablePartElement.cpp \
804         WebCore/html/HTMLTableRowElement.cpp \
805         WebCore/html/HTMLTableRowsCollection.cpp \
806         WebCore/html/HTMLTableSectionElement.cpp \
807         WebCore/html/HTMLTextAreaElement.cpp \
808         WebCore/html/HTMLTextFieldInnerElement.cpp \
809         WebCore/html/HTMLTitleElement.cpp \
810         WebCore/html/HTMLTokenizer.cpp \
811         WebCore/html/HTMLUListElement.cpp \
812         WebCore/html/HTMLViewSourceDocument.cpp \
813         WebCore/html/ImageData.cpp \
814         WebCore/html/PreloadScanner.cpp \
815         WebCore/loader/archive/ArchiveFactory.cpp \
816         WebCore/loader/archive/ArchiveResource.cpp \
817         WebCore/loader/archive/ArchiveResourceCollection.cpp \
818         WebCore/loader/Cache.cpp \
819         WebCore/loader/CachedCSSStyleSheet.cpp \
820         WebCore/loader/CachedFont.cpp \
821         WebCore/loader/CachedImage.cpp \
822         WebCore/loader/CachedResourceClientWalker.cpp \
823         WebCore/loader/CachedResource.cpp \
824         WebCore/loader/CachedScript.cpp \
825         WebCore/loader/CachedXSLStyleSheet.cpp \
826         WebCore/loader/DocLoader.cpp \
827         WebCore/loader/DocumentLoader.cpp \
828         WebCore/loader/FormState.cpp \
829         WebCore/loader/FrameLoader.cpp \
830         WebCore/loader/FTPDirectoryDocument.cpp \
831         WebCore/loader/FTPDirectoryParser.cpp \
832         WebCore/loader/icon/IconLoader.cpp \
833         WebCore/loader/ImageDocument.cpp \
834         WebCore/loader/loader.cpp \
835         WebCore/loader/MainResourceLoader.cpp \
836         WebCore/loader/NavigationAction.cpp \
837         WebCore/loader/NetscapePlugInStreamLoader.cpp \
838         WebCore/loader/PluginDocument.cpp \
839         WebCore/loader/ProgressTracker.cpp \
840         WebCore/loader/Request.cpp \
841         WebCore/loader/ResourceLoader.cpp \
842         WebCore/loader/SubresourceLoader.cpp \
843         WebCore/loader/TextDocument.cpp \
844         WebCore/loader/TextResourceDecoder.cpp \
845         WebCore/page/AccessibilityListBox.cpp \
846         WebCore/page/AccessibilityListBoxOption.cpp \
847         WebCore/page/AccessibilityObject.cpp \
848         WebCore/page/AccessibilityRenderObject.cpp \
849         WebCore/page/AnimationController.cpp \
850         WebCore/page/AXObjectCache.cpp \
851         WebCore/page/BarInfo.cpp \
852         WebCore/page/Chrome.cpp \
853         WebCore/page/Console.cpp \
854         WebCore/page/ContextMenuController.cpp \
855         WebCore/page/DOMSelection.cpp \
856         WebCore/page/DOMWindow.cpp \
857         WebCore/page/DragController.cpp \
858         WebCore/page/EventHandler.cpp \
859         WebCore/page/FocusController.cpp \
860         WebCore/page/Frame.cpp \
861         WebCore/page/FrameTree.cpp \
862         WebCore/page/FrameView.cpp \
863         WebCore/page/History.cpp \
864         WebCore/page/InspectorController.cpp \
865         WebCore/page/JavaScriptCallFrame.cpp \
866         WebCore/page/JavaScriptDebugServer.cpp \
867         WebCore/page/JavaScriptProfile.cpp \
868         WebCore/page/JavaScriptProfileNode.cpp \
869         WebCore/page/Location.cpp \
870         WebCore/page/MouseEventWithHitTestResults.cpp \
871         WebCore/page/Navigator.cpp \
872         WebCore/page/Page.cpp \
873         WebCore/page/PageGroup.cpp \
874         WebCore/page/PrintContext.cpp \
875         WebCore/page/Screen.cpp \
876         WebCore/page/Settings.cpp \
877         WebCore/page/WindowFeatures.cpp \
878         WebCore/platform/Arena.cpp \
879         WebCore/platform/text/AtomicString.cpp \
880         WebCore/platform/text/Base64.cpp \
881         WebCore/platform/text/BidiContext.cpp \
882         WebCore/platform/ContextMenu.cpp \
883         WebCore/platform/text/CString.cpp \
884         WebCore/platform/DeprecatedPtrListImpl.cpp \
885         WebCore/platform/DeprecatedValueListImpl.cpp \
886         WebCore/platform/DragData.cpp \
887         WebCore/platform/DragImage.cpp \
888         WebCore/platform/FileChooser.cpp \
889         WebCore/platform/graphics/FontDescription.cpp \
890         WebCore/platform/graphics/FontFamily.cpp \
891         WebCore/platform/graphics/AffineTransform.cpp \
892         WebCore/platform/graphics/BitmapImage.cpp \
893         WebCore/platform/graphics/Color.cpp \
894         WebCore/platform/graphics/FloatPoint3D.cpp \
895         WebCore/platform/graphics/FloatPoint.cpp \
896         WebCore/platform/graphics/FloatRect.cpp \
897         WebCore/platform/graphics/FloatSize.cpp \
898         WebCore/platform/graphics/GeneratedImage.cpp \
899         WebCore/platform/graphics/Gradient.cpp \
900         WebCore/platform/graphics/GraphicsContext.cpp \
901         WebCore/platform/graphics/GraphicsTypes.cpp \
902         WebCore/platform/graphics/Image.cpp \
903         WebCore/platform/graphics/IntRect.cpp \
904         WebCore/platform/graphics/Path.cpp \
905         WebCore/platform/graphics/PathTraversalState.cpp \
906         WebCore/platform/graphics/Pen.cpp \
907         WebCore/platform/KURL.cpp \
908         WebCore/platform/Logging.cpp \
909         WebCore/platform/MIMETypeRegistry.cpp \
910         WebCore/platform/network/AuthenticationChallengeBase.cpp \
911         WebCore/platform/network/Credential.cpp \
912         WebCore/platform/network/FormData.cpp \
913         WebCore/platform/network/HTTPParsers.cpp \
914         WebCore/platform/network/NetworkStateNotifier.cpp \
915         WebCore/platform/network/ProtectionSpace.cpp \
916         WebCore/platform/network/ResourceErrorBase.cpp \
917         WebCore/platform/network/ResourceHandle.cpp \
918         WebCore/platform/network/ResourceRequestBase.cpp \
919         WebCore/platform/network/ResourceResponseBase.cpp \
920         WebCore/platform/text/RegularExpression.cpp \
921         WebCore/platform/ScrollBar.cpp \
922         WebCore/platform/SecurityOrigin.cpp \
923         WebCore/platform/text/SegmentedString.cpp \
924         WebCore/platform/SharedBuffer.cpp \
925         WebCore/platform/text/String.cpp \
926         WebCore/platform/text/StringBuilder.cpp \
927         WebCore/platform/text/StringImpl.cpp \
928         WebCore/platform/text/TextCodec.cpp \
929         WebCore/platform/text/TextCodecLatin1.cpp \
930         WebCore/platform/text/TextCodecUserDefined.cpp \
931         WebCore/platform/text/TextCodecUTF16.cpp \
932         WebCore/platform/text/TextDecoder.cpp \
933         WebCore/platform/text/TextEncoding.cpp \
934         WebCore/platform/text/TextEncodingRegistry.cpp \
935         WebCore/platform/text/TextStream.cpp \
936         WebCore/platform/Timer.cpp \
937         WebCore/platform/text/UnicodeRange.cpp \
938         WebCore/platform/Widget.cpp \
939         WebCore/plugins/MimeType.cpp \
940         WebCore/plugins/MimeTypeArray.cpp \
941         WebCore/plugins/Plugin.cpp \
942         WebCore/plugins/PluginArray.cpp \
943         WebCore/plugins/PluginData.cpp \
944         WebCore/plugins/PluginDatabase.cpp \
945         WebCore/plugins/PluginInfoStore.cpp \
946         WebCore/plugins/PluginPackage.cpp \
947         WebCore/plugins/PluginStream.cpp \
948         WebCore/plugins/PluginView.cpp \
949         WebCore/plugins/npapi.cpp \
950         WebCore/plugins/gtk/PluginDataGtk.cpp \
951         WebCore/plugins/gtk/PluginDatabaseGtk.cpp \
952         WebCore/plugins/gtk/PluginPackageGtk.cpp \
953         WebCore/plugins/gtk/PluginViewGtk.cpp \
954         WebCore/rendering/AutoTableLayout.cpp \
955         WebCore/rendering/bidi.cpp \
956         WebCore/rendering/break_lines.cpp \
957         WebCore/rendering/CounterNode.cpp \
958         WebCore/rendering/EllipsisBox.cpp \
959         WebCore/rendering/FixedTableLayout.cpp \
960         WebCore/rendering/HitTestResult.cpp \
961         WebCore/rendering/InlineBox.cpp \
962         WebCore/rendering/InlineFlowBox.cpp \
963         WebCore/rendering/InlineTextBox.cpp \
964         WebCore/rendering/LayoutState.cpp \
965         WebCore/rendering/ListMarkerBox.cpp \
966         WebCore/rendering/RenderApplet.cpp \
967         WebCore/rendering/RenderArena.cpp \
968         WebCore/rendering/RenderBlock.cpp \
969         WebCore/rendering/RenderBox.cpp \
970         WebCore/rendering/RenderBR.cpp \
971         WebCore/rendering/RenderButton.cpp \
972         WebCore/rendering/RenderContainer.cpp \
973         WebCore/rendering/RenderCounter.cpp \
974         WebCore/rendering/RenderFieldset.cpp \
975         WebCore/rendering/RenderFileUploadControl.cpp \
976         WebCore/rendering/RenderFlexibleBox.cpp \
977         WebCore/rendering/RenderFlow.cpp \
978         WebCore/rendering/RenderFrame.cpp \
979         WebCore/rendering/RenderFrameSet.cpp \
980         WebCore/rendering/RenderHTMLCanvas.cpp \
981         WebCore/rendering/RenderImage.cpp \
982         WebCore/rendering/RenderImageGeneratedContent.cpp \
983         WebCore/rendering/RenderInline.cpp \
984         WebCore/rendering/RenderLayer.cpp \
985         WebCore/rendering/RenderLegend.cpp \
986         WebCore/rendering/RenderListBox.cpp \
987         WebCore/rendering/RenderListItem.cpp \
988         WebCore/rendering/RenderListMarker.cpp \
989         WebCore/rendering/RenderMenuList.cpp \
990         WebCore/rendering/RenderObject.cpp \
991         WebCore/rendering/RenderPart.cpp \
992         WebCore/rendering/RenderPartObject.cpp \
993         WebCore/rendering/RenderReplaced.cpp \
994         WebCore/rendering/RenderReplica.cpp \
995         WebCore/rendering/RenderSlider.cpp \
996         WebCore/rendering/RenderTableCell.cpp \
997         WebCore/rendering/RenderTableCol.cpp \
998         WebCore/rendering/RenderTable.cpp \
999         WebCore/rendering/RenderTableRow.cpp \
1000         WebCore/rendering/RenderTableSection.cpp \
1001         WebCore/rendering/RenderTextControl.cpp \
1002         WebCore/rendering/RenderText.cpp \
1003         WebCore/rendering/RenderTextFragment.cpp \
1004         WebCore/rendering/RenderTheme.cpp \
1005         WebCore/rendering/RenderTreeAsText.cpp \
1006         WebCore/rendering/RenderView.cpp \
1007         WebCore/rendering/RenderWidget.cpp \
1008         WebCore/rendering/RenderWordBreak.cpp \
1009         WebCore/rendering/RootInlineBox.cpp \
1010         WebCore/rendering/style/RenderStyle.cpp \
1011         WebCore/xml/AccessControlList.cpp \
1012         WebCore/xml/AccessItem.cpp \
1013         WebCore/xml/AccessItemRule.cpp \
1014         WebCore/xml/DOMParser.cpp \
1015         WebCore/xml/XMLHttpRequest.cpp \
1016         WebCore/xml/XMLHttpRequestProgressEvent.cpp \
1017         WebCore/xml/XMLSerializer.cpp
1018
1019 if TARGET_X11
1020 webcoregtk_sources += \
1021         WebCore/plugins/gtk/gtk2xtbin.c
1022 endif
1023
1024 webcoregtk_headers += \
1025         WebCore/platform/gtk/ClipboardGtk.h \
1026         WebCore/platform/gtk/PasteboardHelper.h
1027
1028 webcoregtk_sources += \
1029         WebCore/platform/graphics/GlyphPageTreeNode.cpp \
1030         WebCore/platform/graphics/GlyphWidthMap.cpp \
1031         WebCore/platform/graphics/FontCache.cpp \
1032         WebCore/platform/graphics/Font.cpp \
1033         WebCore/platform/graphics/FontData.cpp \
1034         WebCore/platform/graphics/FontFallbackList.cpp \
1035         WebCore/platform/graphics/SegmentedFontData.cpp \
1036         WebCore/platform/graphics/SimpleFontData.cpp \
1037         WebCore/platform/graphics/StringTruncator.cpp \
1038         WebCore/platform/text/TextCodecICU.cpp \
1039         WebCore/platform/text/TextBoundariesICU.cpp \
1040         WebCore/platform/text/TextBreakIteratorICU.cpp \
1041         WebCore/page/gtk/AXObjectCacheAtk.cpp \
1042         WebCore/page/gtk/AccessibilityObjectWrapperAtk.cpp \
1043         WebCore/page/gtk/EventHandlerGtk.cpp \
1044         WebCore/page/gtk/FrameGtk.cpp \
1045         WebCore/page/gtk/DragControllerGtk.cpp \
1046         WebCore/platform/gtk/ClipboardGtk.cpp \
1047         WebCore/platform/gtk/CursorGtk.cpp \
1048         WebCore/platform/gtk/ContextMenuGtk.cpp \
1049         WebCore/platform/gtk/ContextMenuItemGtk.cpp \
1050         WebCore/platform/gtk/DragDataGtk.cpp \
1051         WebCore/platform/gtk/DragImageGtk.cpp \
1052         WebCore/platform/gtk/EventLoopGtk.cpp \
1053         WebCore/platform/gtk/FileChooserGtk.cpp \
1054         WebCore/platform/gtk/FileSystemGtk.cpp \
1055         WebCore/platform/graphics/gtk/FontCacheGtk.cpp \
1056         WebCore/platform/graphics/gtk/FontGtk.cpp \
1057         WebCore/platform/gtk/KeyEventGtk.cpp \
1058         WebCore/platform/gtk/Language.cpp \
1059         WebCore/platform/gtk/LocalizedStringsGtk.cpp \
1060         WebCore/platform/gtk/LoggingGtk.cpp \
1061         WebCore/platform/gtk/MIMETypeRegistryGtk.cpp \
1062         WebCore/platform/gtk/MouseEventGtk.cpp \
1063         WebCore/platform/gtk/PasteboardGtk.cpp \
1064         WebCore/platform/gtk/PlatformScreenGtk.cpp \
1065         WebCore/platform/gtk/PlatformScrollBarGtk.cpp \
1066         WebCore/platform/gtk/PopupMenuGtk.cpp \
1067         WebCore/platform/gtk/RenderThemeGtk.cpp \
1068         WebCore/platform/gtk/SearchPopupMenuGtk.cpp \
1069         WebCore/platform/gtk/ScrollViewGtk.cpp \
1070         WebCore/platform/gtk/SharedTimerGtk.cpp \
1071         WebCore/platform/gtk/SoundGtk.cpp \
1072         WebCore/platform/gtk/SystemTimeGtk.cpp \
1073         WebCore/platform/gtk/TemporaryLinkStubs.cpp \
1074         WebCore/platform/text/gtk/TextBreakIteratorInternalICUGtk.cpp \
1075         WebCore/platform/gtk/WheelEventGtk.cpp \
1076         WebCore/platform/gtk/WidgetGtk.cpp \
1077         WebCore/platform/gtk/gtk2drawing.c \
1078         WebCore/platform/graphics/gtk/ColorGtk.cpp \
1079         WebCore/platform/graphics/gtk/IconGtk.cpp \
1080         WebCore/platform/graphics/gtk/ImageGtk.cpp \
1081         WebCore/platform/graphics/gtk/IntPointGtk.cpp \
1082         WebCore/platform/graphics/gtk/IntRectGtk.cpp \
1083         WebCore/platform/graphics/cairo/AffineTransformCairo.cpp \
1084         WebCore/platform/graphics/cairo/FontCairo.cpp \
1085         WebCore/platform/graphics/cairo/GradientCairo.cpp \
1086         WebCore/platform/graphics/cairo/GraphicsContextCairo.cpp \
1087         WebCore/platform/graphics/cairo/ImageBufferCairo.cpp \
1088         WebCore/platform/graphics/cairo/ImageCairo.cpp \
1089         WebCore/platform/graphics/cairo/ImageSourceCairo.cpp \
1090         WebCore/platform/graphics/cairo/PathCairo.cpp \
1091         WebCore/platform/image-decoders/gif/GIFImageDecoder.cpp \
1092         WebCore/platform/image-decoders/gif/GIFImageReader.cpp  \
1093         WebCore/platform/image-decoders/png/PNGImageDecoder.cpp \
1094         WebCore/platform/image-decoders/jpeg/JPEGImageDecoder.cpp \
1095         WebCore/platform/image-decoders/bmp/BMPImageDecoder.cpp \
1096         WebCore/platform/image-decoders/ico/ICOImageDecoder.cpp \
1097         WebCore/platform/image-decoders/xbm/XBMImageDecoder.cpp
1098
1099 # ----
1100 # curl http backend
1101 # ----
1102 if USE_CURL
1103
1104 webcore_cppflags += \
1105         -DWTF_USE_CURL=1 \
1106         -I$(srcdir)/WebCore/platform/network/curl
1107
1108 webcore_sources += \
1109         WebCore/platform/network/curl/CookieJarCurl.cpp \
1110         WebCore/platform/network/curl/FormDataStreamCurl.cpp \
1111         WebCore/platform/network/curl/ResourceHandleCurl.cpp \
1112         WebCore/platform/network/curl/ResourceHandleManager.cpp
1113
1114 endif # END USE_CURL
1115
1116 if USE_SOUP
1117 webcore_cppflags += \
1118         -DWTF_USE_SOUP=1 \
1119         -I$(srcdir)/WebCore/platform/network/soup
1120
1121 webcore_sources += \
1122         WebCore/platform/network/soup/CookieJarSoup.cpp \
1123         WebCore/platform/network/soup/ResourceHandleSoup.cpp
1124 endif
1125
1126 # ---
1127 # Freetype font backend
1128 # ---
1129 if USE_FREETYPE
1130 webcoregtk_cppflags += \
1131         -DUSE_FREETYPE=1
1132
1133 webcoregtk_sources += \
1134         WebCore/platform/graphics/gtk/FontCustomPlatformData.cpp \
1135         WebCore/platform/graphics/gtk/FontPlatformDataGtk.cpp \
1136         WebCore/platform/graphics/gtk/GlyphPageTreeNodeGtk.cpp \
1137         WebCore/platform/graphics/gtk/SimpleFontDataGtk.cpp
1138 endif # END USE_FREETYPE
1139
1140 # ---
1141 # Pango font backend
1142 # ---
1143 if USE_PANGO
1144 webcoregtk_cppflags += \
1145         -DUSE_PANGO=1
1146
1147 webcoregtk_sources += \
1148         WebCore/platform/graphics/gtk/FontCustomPlatformDataPango.cpp \
1149         WebCore/platform/graphics/gtk/FontPlatformDataPango.cpp \
1150         WebCore/platform/graphics/gtk/GlyphPageTreeNodePango.cpp \
1151         WebCore/platform/graphics/gtk/SimpleFontDataPango.cpp
1152 endif # END USE_PANGO
1153
1154 # ----
1155 # Offline Web Applications
1156 # ----
1157 if ENABLE_OFFLINE_WEB_APPLICATIONS
1158 FEATURE_DEFINES_JAVASCRIPT += ENABLE_OFFLINE_WEB_APPLICATIONS=1
1159
1160 webcore_cppflags += \
1161         -DENABLE_OFFLINE_WEB_APPLICATIONS=1
1162
1163 webcore_sources += \
1164         WebCore/bindings/js/JSDOMApplicationCacheCustom.cpp \
1165         WebCore/loader/appcache/ApplicationCache.cpp \
1166         WebCore/loader/appcache/ApplicationCacheGroup.cpp \
1167         WebCore/loader/appcache/ApplicationCacheResource.cpp \
1168         WebCore/loader/appcache/ApplicationCacheStorage.cpp \
1169         WebCore/loader/appcache/DOMApplicationCache.cpp \
1170         WebCore/loader/appcache/ManifestParser.cpp
1171
1172 webcore_built_sources += \
1173         DerivedSources/JSDOMApplicationCache.cpp
1174
1175 endif # END ENABLE_OFFLINE_WEB_APPLICATIONS
1176
1177 # ----
1178 # Dashboard Support
1179 # ----
1180 if ENABLE_DASHBOARD_SUPPORT
1181
1182 webcore_cppflags += \
1183         -DENABLE_DASHBOARD_SUPPORT=1
1184
1185 WEBCORE_CSS_PROPERTY_NAMES += $(WebCore)/css/DashboardSupportCSSPropertyNames.in
1186
1187 endif # END ENABLE_DASHBOARD_SUPPORT
1188
1189 # ----
1190 # Database Support
1191 # ----
1192 if ENABLE_DATABASE
1193 FEATURE_DEFINES_JAVASCRIPT += ENABLE_DATABASE=1
1194
1195 webcore_built_sources += \
1196         DerivedSources/JSDatabase.h \
1197         DerivedSources/JSSQLError.h \
1198         DerivedSources/JSSQLResultSet.h \
1199         DerivedSources/JSSQLResultSetRowList.h \
1200         DerivedSources/JSSQLTransaction.h \
1201         DerivedSources/JSDatabase.cpp \
1202         DerivedSources/JSSQLError.cpp \
1203         DerivedSources/JSSQLResultSet.cpp \
1204         DerivedSources/JSSQLResultSetRowList.cpp \
1205         DerivedSources/JSSQLTransaction.cpp
1206
1207 IDL_BINDINGS += \
1208         WebCore/storage/Database.idl \
1209         WebCore/storage/SQLError.idl \
1210         WebCore/storage/SQLResultSet.idl \
1211         WebCore/storage/SQLResultSetRowList.idl \
1212         WebCore/storage/SQLTransaction.idl
1213
1214 webcore_cppflags += \
1215         -DENABLE_DATABASE=1 \
1216         -I$(top_srcdir)/WebCore/platform/sql \
1217         -I$(top_srcdir)/WebCore/storage
1218
1219 webcore_sources += \
1220         WebCore/platform/sql/SQLiteAuthorizer.cpp \
1221         WebCore/platform/sql/SQLiteDatabase.cpp \
1222         WebCore/platform/sql/SQLiteStatement.cpp \
1223         WebCore/platform/sql/SQLiteTransaction.cpp \
1224         WebCore/platform/sql/SQLValue.cpp \
1225         WebCore/storage/ChangeVersionWrapper.cpp \
1226         WebCore/storage/DatabaseAuthorizer.cpp \
1227         WebCore/storage/Database.cpp \
1228         WebCore/storage/DatabaseTask.cpp \
1229         WebCore/storage/DatabaseThread.cpp \
1230         WebCore/storage/DatabaseTracker.cpp \
1231         WebCore/storage/OriginQuotaManager.cpp \
1232         WebCore/storage/OriginUsageRecord.cpp \
1233         WebCore/storage/SQLResultSet.cpp \
1234         WebCore/storage/SQLResultSetRowList.cpp \
1235         WebCore/storage/SQLStatement.cpp \
1236         WebCore/storage/SQLTransaction.cpp \
1237         WebCore/bindings/js/JSCustomSQLStatementCallback.cpp \
1238         WebCore/bindings/js/JSCustomSQLStatementErrorCallback.cpp \
1239         WebCore/bindings/js/JSCustomSQLTransactionCallback.cpp \
1240         WebCore/bindings/js/JSCustomSQLTransactionErrorCallback.cpp \
1241         WebCore/bindings/js/JSDatabaseCustom.cpp \
1242         WebCore/bindings/js/JSSQLResultSetRowListCustom.cpp \
1243         WebCore/bindings/js/JSSQLTransactionCustom.cpp
1244
1245 endif # END ENABLE_DATABASE
1246
1247 # ----
1248 # HTML5 client-side session and persistent storage
1249 # ----
1250 if ENABLE_DOM_STORAGE
1251 FEATURE_DEFINES_JAVASCRIPT += ENABLE_DOM_STORAGE=1
1252
1253 webcore_built_sources += \
1254         DerivedSources/JSStorage.h \
1255         DerivedSources/JSStorageEvent.h \
1256         DerivedSources/JSStorage.cpp \
1257         DerivedSources/JSStorageEvent.cpp
1258
1259 IDL_BINDINGS += \
1260         WebCore/storage/Storage.idl \
1261         WebCore/storage/StorageEvent.idl
1262
1263 webcore_cppflags += \
1264         -DENABLE_DOM_STORAGE=1 \
1265         -I$(top_srcdir)/WebCore/storage
1266
1267 webcore_sources += \
1268         WebCore/storage/LocalStorage.cpp \
1269         WebCore/storage/LocalStorageArea.cpp \
1270         WebCore/storage/LocalStorageTask.cpp \
1271         WebCore/storage/LocalStorageThread.cpp \
1272         WebCore/storage/Storage.cpp \
1273         WebCore/storage/StorageArea.cpp \
1274         WebCore/storage/StorageEvent.cpp \
1275         WebCore/storage/StorageMap.cpp \
1276         WebCore/storage/SessionStorage.cpp \
1277         WebCore/storage/SessionStorageArea.cpp \
1278         WebCore/bindings/js/JSStorageCustom.cpp
1279
1280 endif # END ENABLE_DOM_STORAGE
1281
1282 # ----
1283 # Icon Database Support
1284 # ----
1285 if ENABLE_ICONDATABASE
1286 webcore_cppflags += -DENABLE_ICONDATABASE=1
1287
1288 webcore_sources += \
1289         WebCore/loader/icon/IconDatabase.cpp \
1290         WebCore/loader/icon/IconRecord.cpp \
1291         WebCore/loader/icon/PageURLRecord.cpp
1292
1293 else
1294 webcore_sources += \
1295         WebCore/loader/icon/IconDatabaseNone.cpp
1296
1297 endif # END ENABLE_ICONDATABASE
1298
1299 # ----
1300 # Video Support
1301 # ----
1302 if ENABLE_VIDEO
1303 FEATURE_DEFINES_JAVASCRIPT += ENABLE_VIDEO=1
1304
1305 HTML_FEATURES += ENABLE_VIDEO=1
1306 webcore_cppflags += -DENABLE_VIDEO=1
1307
1308 if ENABLE_DEBUG
1309 webcore_cppflags += -DGST_DISABLE_DEPRECATED
1310 endif # END ENABLE_DEBUG
1311
1312 webcore_built_sources += \
1313         DerivedSources/JSHTMLSourceElement.h \
1314         DerivedSources/JSHTMLAudioElement.h \
1315         DerivedSources/JSHTMLMediaElement.h \
1316         DerivedSources/JSHTMLVideoElement.h \
1317         DerivedSources/JSMediaError.h \
1318         DerivedSources/JSTimeRanges.h \
1319         DerivedSources/JSVoidCallback.h \
1320         DerivedSources/JSHTMLSourceElement.cpp \
1321         DerivedSources/JSHTMLAudioElement.cpp \
1322         DerivedSources/JSHTMLMediaElement.cpp \
1323         DerivedSources/JSHTMLVideoElement.cpp \
1324         DerivedSources/JSMediaError.cpp \
1325         DerivedSources/JSTimeRanges.cpp \
1326         DerivedSources/JSVoidCallback.cpp
1327
1328 IDL_BINDINGS += \
1329         WebCore/html/HTMLAudioElement.idl \
1330         WebCore/html/HTMLMediaElement.idl \
1331         WebCore/html/HTMLSourceElement.idl \
1332         WebCore/html/HTMLVideoElement.idl \
1333         WebCore/html/MediaError.idl \
1334         WebCore/html/TimeRanges.idl \
1335         WebCore/html/VoidCallback.idl
1336
1337 webcore_sources += \
1338         WebCore/html/HTMLAudioElement.cpp \
1339         WebCore/html/HTMLMediaElement.cpp \
1340         WebCore/html/HTMLSourceElement.cpp \
1341         WebCore/html/HTMLVideoElement.cpp \
1342         WebCore/html/TimeRanges.cpp \
1343         WebCore/platform/graphics/MediaPlayer.cpp \
1344         WebCore/rendering/MediaControlElements.cpp \
1345         WebCore/rendering/RenderVideo.cpp \
1346         WebCore/rendering/RenderMedia.cpp \
1347         WebCore/bindings/js/JSAudioConstructor.cpp
1348
1349 webcoregtk_sources += \
1350         WebCore/platform/graphics/gtk/MediaPlayerPrivateGStreamer.cpp \
1351         WebCore/platform/graphics/gtk/VideoSinkGStreamer.cpp
1352
1353 endif # END ENABLE_VIDEO
1354
1355 # ----
1356 # XPath Support
1357 # ----
1358 if ENABLE_XPATH
1359 FEATURE_DEFINES_JAVASCRIPT += ENABLE_XPATH=1
1360
1361 webcore_cppflags += -DENABLE_XPATH=1
1362
1363 webcore_built_sources += \
1364         DerivedSources/XPathGrammar.h \
1365         DerivedSources/XPathGrammar.cpp \
1366         DerivedSources/JSXPathEvaluator.h \
1367         DerivedSources/JSXPathException.h \
1368         DerivedSources/JSXPathExpression.h \
1369         DerivedSources/JSXPathNSResolver.h \
1370         DerivedSources/JSXPathResult.h \
1371         DerivedSources/JSXPathEvaluator.cpp \
1372         DerivedSources/JSXPathException.cpp \
1373         DerivedSources/JSXPathExpression.cpp \
1374         DerivedSources/JSXPathNSResolver.cpp \
1375         DerivedSources/JSXPathResult.cpp
1376
1377 IDL_BINDINGS += \
1378         WebCore/xml/XPathNSResolver.idl \
1379         WebCore/xml/XPathException.idl \
1380         WebCore/xml/XPathExpression.idl \
1381         WebCore/xml/XPathResult.idl \
1382         WebCore/xml/XPathEvaluator.idl
1383
1384 webcore_sources += \
1385         WebCore/xml/NativeXPathNSResolver.cpp \
1386         WebCore/xml/XPathEvaluator.cpp \
1387         WebCore/xml/XPathExpression.cpp \
1388         WebCore/xml/XPathExpressionNode.cpp \
1389         WebCore/xml/XPathFunctions.cpp \
1390         WebCore/xml/XPathNamespace.cpp \
1391         WebCore/xml/XPathNodeSet.cpp \
1392         WebCore/xml/XPathNSResolver.cpp \
1393         WebCore/xml/XPathParser.cpp \
1394         WebCore/xml/XPathPath.cpp \
1395         WebCore/xml/XPathPredicate.cpp \
1396         WebCore/xml/XPathResult.cpp \
1397         WebCore/xml/XPathStep.cpp \
1398         WebCore/xml/XPathUtil.cpp \
1399         WebCore/xml/XPathValue.cpp \
1400         WebCore/xml/XPathVariableReference.cpp
1401
1402 # XPath grammar
1403
1404 $(GENSOURCES)/XPathGrammar.h: $(GENSOURCES)/XPathGrammar.cpp;
1405
1406 # NOTE: older versions of bison do not inject an inclusion guard, so we do it
1407 $(GENSOURCES)/XPathGrammar.cpp: $(WebCore)/xml/XPathGrammar.y
1408         rm -f $(GENSOURCES)/XPathGrammar.cpp.h $(GENSOURCES)/XPathGrammar.hpp
1409         $(BISON) -d -p xpathyy $< -o $(GENSOURCES)/XPathGrammar.cpp
1410         touch $(GENSOURCES)/XPathGrammar.cpp.h $(GENSOURCES)/XPathGrammar.hpp
1411         echo '#ifndef XPathGrammar_h' > $(GENSOURCES)/XPathGrammar.h
1412         echo '#define XPathGrammar_h' >> $(GENSOURCES)/XPathGrammar.h
1413         cat $(GENSOURCES)/XPathGrammar.cpp.h $(GENSOURCES)/XPathGrammar.hpp >> $(GENSOURCES)/XPathGrammar.h
1414         echo '#endif' >> $(GENSOURCES)/XPathGrammar.h
1415         rm -f $(GENSOURCES)/XPathGrammar.cpp.h $(GENSOURCES)/XPathGrammar.hpp
1416
1417 endif # END ENABLE_XPATH
1418
1419 # ----
1420 # XSLT Support
1421 # ----
1422 if ENABLE_XSLT
1423 FEATURE_DEFINES_JAVASCRIPT += ENABLE_XSLT=1
1424
1425 webcore_cppflags += -DENABLE_XSLT=1
1426
1427 webcore_sources += \
1428         WebCore/xml/XSLImportRule.cpp \
1429         WebCore/xml/XSLStyleSheet.cpp \
1430         WebCore/xml/XSLTExtensions.cpp \
1431         WebCore/xml/XSLTUnicodeSort.cpp \
1432         WebCore/xml/XSLTProcessor.cpp
1433 endif # END ENABLE_XSLT
1434
1435 # ----
1436 # SVG Support
1437 #
1438 # FIXME: allow a more fine-grained inclusion/generation of sources per SVG feature
1439 # ----
1440 if ENABLE_SVG
1441 FEATURE_DEFINES_JAVASCRIPT += ENABLE_SVG=1
1442
1443 WEBCORE_CSS_PROPERTY_NAMES += $(WebCore)/css/SVGCSSPropertyNames.in 
1444 WEBCORE_CSS_VALUE_KEYWORDS += $(WebCore)/css/SVGCSSValueKeywords.in
1445
1446 webcoregtk_cppflags += \
1447         -I$(srcdir)/WebCore/svg/graphics/cairo
1448
1449 webcore_built_sources += \
1450         DerivedSources/XLinkNames.cpp \
1451         DerivedSources/SVGElementFactory.cpp \
1452         DerivedSources/SVGNames.cpp \
1453         DerivedSources/JSSVGAElement.h \
1454         DerivedSources/JSSVGAltGlyphElement.h \
1455         DerivedSources/JSSVGAngle.h \
1456         DerivedSources/JSSVGAnimatedAngle.h \
1457         DerivedSources/JSSVGAnimateColorElement.h \
1458         DerivedSources/JSSVGAnimateElement.h \
1459         DerivedSources/JSSVGAnimateTransformElement.h \
1460         DerivedSources/JSSVGAnimatedBoolean.h \
1461         DerivedSources/JSSVGAnimatedEnumeration.h \
1462         DerivedSources/JSSVGAnimatedInteger.h \
1463         DerivedSources/JSSVGAnimatedLength.h \
1464         DerivedSources/JSSVGAnimatedLengthList.h \
1465         DerivedSources/JSSVGAnimatedNumber.h \
1466         DerivedSources/JSSVGAnimatedNumberList.h \
1467         DerivedSources/JSSVGAnimatedPreserveAspectRatio.h \
1468         DerivedSources/JSSVGAnimatedRect.h \
1469         DerivedSources/JSSVGAnimatedString.h \
1470         DerivedSources/JSSVGAnimatedTransformList.h \
1471         DerivedSources/JSSVGAnimationElement.h \
1472         DerivedSources/JSSVGColor.h \
1473         DerivedSources/JSSVGCircleElement.h \
1474         DerivedSources/JSSVGClipPathElement.h \
1475         DerivedSources/JSSVGComponentTransferFunctionElement.h \
1476         DerivedSources/JSSVGCursorElement.h \
1477         DerivedSources/JSSVGDefsElement.h \
1478         DerivedSources/JSSVGDefinitionSrcElement.h \
1479         DerivedSources/JSSVGDescElement.h \
1480         DerivedSources/JSSVGDocument.h \
1481         DerivedSources/JSSVGException.h \
1482         DerivedSources/JSSVGLength.h \
1483         DerivedSources/JSSVGMatrix.h \
1484         DerivedSources/JSSVGMetadataElement.h \
1485         DerivedSources/JSSVGPathElement.h \
1486         DerivedSources/JSSVGPathSeg.h \
1487         DerivedSources/JSSVGPathSegArcAbs.h \
1488         DerivedSources/JSSVGPathSegArcRel.h \
1489         DerivedSources/JSSVGPathSegClosePath.h \
1490         DerivedSources/JSSVGPathSegCurvetoCubicAbs.h \
1491         DerivedSources/JSSVGPathSegCurvetoCubicRel.h \
1492         DerivedSources/JSSVGPathSegCurvetoCubicSmoothAbs.h \
1493         DerivedSources/JSSVGPathSegCurvetoCubicSmoothRel.h \
1494         DerivedSources/JSSVGPathSegCurvetoQuadraticAbs.h \
1495         DerivedSources/JSSVGPathSegCurvetoQuadraticRel.h \
1496         DerivedSources/JSSVGPathSegCurvetoQuadraticSmoothAbs.h \
1497         DerivedSources/JSSVGPathSegCurvetoQuadraticSmoothRel.h \
1498         DerivedSources/JSSVGPathSegLinetoAbs.h \
1499         DerivedSources/JSSVGPathSegLinetoHorizontalAbs.h \
1500         DerivedSources/JSSVGPathSegLinetoHorizontalRel.h \
1501         DerivedSources/JSSVGPathSegLinetoRel.h \
1502         DerivedSources/JSSVGPathSegLinetoVerticalAbs.h \
1503         DerivedSources/JSSVGPathSegLinetoVerticalRel.h \
1504         DerivedSources/JSSVGPathSegMovetoAbs.h \
1505         DerivedSources/JSSVGPathSegMovetoRel.h \
1506         DerivedSources/JSSVGNumber.h \
1507         DerivedSources/JSSVGNumberList.h \
1508         DerivedSources/JSSVGPaint.h \
1509         DerivedSources/JSSVGPathSegList.h \
1510         DerivedSources/JSSVGPatternElement.h \
1511         DerivedSources/JSSVGPoint.h \
1512         DerivedSources/JSSVGPointList.h \
1513         DerivedSources/JSSVGPolygonElement.h \
1514         DerivedSources/JSSVGPolylineElement.h \
1515         DerivedSources/JSSVGRadialGradientElement.h \
1516         DerivedSources/JSSVGRect.h \
1517         DerivedSources/JSSVGRectElement.h \
1518         DerivedSources/JSSVGRenderingIntent.h \
1519         DerivedSources/JSSVGSetElement.h \
1520         DerivedSources/JSSVGScriptElement.h \
1521         DerivedSources/JSSVGStyleElement.h \
1522         DerivedSources/JSSVGSwitchElement.h \
1523         DerivedSources/JSSVGStopElement.h \
1524         DerivedSources/JSSVGStringList.h \
1525         DerivedSources/JSSVGSymbolElement.h \
1526         DerivedSources/JSSVGTRefElement.h \
1527         DerivedSources/JSSVGTSpanElement.h \
1528         DerivedSources/JSSVGTextElement.h \
1529         DerivedSources/JSSVGTextContentElement.h \
1530         DerivedSources/JSSVGTextPathElement.h \
1531         DerivedSources/JSSVGTextPositioningElement.h \
1532         DerivedSources/JSSVGTitleElement.h \
1533         DerivedSources/JSSVGTransform.h \
1534         DerivedSources/JSSVGTransformList.h \
1535         DerivedSources/JSSVGUnitTypes.h \
1536         DerivedSources/JSSVGUseElement.h \
1537         DerivedSources/JSSVGViewElement.h \
1538         DerivedSources/JSSVGPreserveAspectRatio.h \
1539         DerivedSources/JSSVGElement.h \
1540         DerivedSources/JSSVGElementInstance.h \
1541         DerivedSources/JSSVGElementInstanceList.h \
1542         DerivedSources/JSSVGSVGElement.h \
1543         DerivedSources/JSSVGEllipseElement.h \
1544         DerivedSources/JSSVGFEBlendElement.h \
1545         DerivedSources/JSSVGFEColorMatrixElement.h \
1546         DerivedSources/JSSVGFEComponentTransferElement.h \
1547         DerivedSources/JSSVGFECompositeElement.h \
1548         DerivedSources/JSSVGFEDiffuseLightingElement.h \
1549         DerivedSources/JSSVGFEDisplacementMapElement.h \
1550         DerivedSources/JSSVGFEDistantLightElement.h \
1551         DerivedSources/JSSVGFEFloodElement.h \
1552         DerivedSources/JSSVGFEFuncAElement.h \
1553         DerivedSources/JSSVGFEFuncBElement.h \
1554         DerivedSources/JSSVGFEFuncGElement.h \
1555         DerivedSources/JSSVGFEFuncRElement.h \
1556         DerivedSources/JSSVGFEGaussianBlurElement.h \
1557         DerivedSources/JSSVGFEImageElement.h \
1558         DerivedSources/JSSVGFEMergeElement.h \
1559         DerivedSources/JSSVGFEMergeNodeElement.h \
1560         DerivedSources/JSSVGFEOffsetElement.h \
1561         DerivedSources/JSSVGFEPointLightElement.h \
1562         DerivedSources/JSSVGFESpecularLightingElement.h \
1563         DerivedSources/JSSVGFESpotLightElement.h \
1564         DerivedSources/JSSVGFETileElement.h \
1565         DerivedSources/JSSVGFETurbulenceElement.h \
1566         DerivedSources/JSSVGFilterElement.h \
1567         DerivedSources/JSSVGFontElement.h \
1568         DerivedSources/JSSVGFontFaceElement.h \
1569         DerivedSources/JSSVGFontFaceFormatElement.h \
1570         DerivedSources/JSSVGFontFaceNameElement.h \
1571         DerivedSources/JSSVGFontFaceSrcElement.h \
1572         DerivedSources/JSSVGFontFaceUriElement.h \
1573         DerivedSources/JSSVGForeignObjectElement.h \
1574         DerivedSources/JSSVGGElement.h \
1575         DerivedSources/JSSVGGlyphElement.h \
1576         DerivedSources/JSSVGGradientElement.h \
1577         DerivedSources/JSSVGImageElement.h \
1578         DerivedSources/JSSVGLengthList.h \
1579         DerivedSources/JSSVGLineElement.h \
1580         DerivedSources/JSSVGLinearGradientElement.h \
1581         DerivedSources/JSSVGMaskElement.h \
1582         DerivedSources/JSSVGMarkerElement.h \
1583         DerivedSources/JSSVGMissingGlyphElement.h \
1584         DerivedSources/JSSVGZoomEvent.h \
1585         DerivedSources/JSSVGAElement.cpp \
1586         DerivedSources/JSSVGAltGlyphElement.cpp \
1587         DerivedSources/JSSVGAngle.cpp \
1588         DerivedSources/JSSVGAnimatedAngle.cpp \
1589         DerivedSources/JSSVGAnimateColorElement.cpp \
1590         DerivedSources/JSSVGAnimateElement.cpp \
1591         DerivedSources/JSSVGAnimateTransformElement.cpp \
1592         DerivedSources/JSSVGAnimatedBoolean.cpp \
1593         DerivedSources/JSSVGAnimatedEnumeration.cpp \
1594         DerivedSources/JSSVGAnimatedInteger.cpp \
1595         DerivedSources/JSSVGAnimatedLength.cpp \
1596         DerivedSources/JSSVGAnimatedLengthList.cpp \
1597         DerivedSources/JSSVGAnimatedNumber.cpp \
1598         DerivedSources/JSSVGAnimatedNumberList.cpp \
1599         DerivedSources/JSSVGAnimatedPreserveAspectRatio.cpp \
1600         DerivedSources/JSSVGAnimatedRect.cpp \
1601         DerivedSources/JSSVGAnimatedString.cpp \
1602         DerivedSources/JSSVGAnimatedTransformList.cpp \
1603         DerivedSources/JSSVGAnimationElement.cpp \
1604         DerivedSources/JSSVGColor.cpp \
1605         DerivedSources/JSSVGCircleElement.cpp \
1606         DerivedSources/JSSVGClipPathElement.cpp \
1607         DerivedSources/JSSVGComponentTransferFunctionElement.cpp \
1608         DerivedSources/JSSVGCursorElement.cpp \
1609         DerivedSources/JSSVGDefsElement.cpp \
1610         DerivedSources/JSSVGDefinitionSrcElement.cpp \
1611         DerivedSources/JSSVGDescElement.cpp \
1612         DerivedSources/JSSVGDocument.cpp \
1613         DerivedSources/JSSVGException.cpp \
1614         DerivedSources/JSSVGLength.cpp \
1615         DerivedSources/JSSVGMatrix.cpp \
1616         DerivedSources/JSSVGMetadataElement.cpp \
1617         DerivedSources/JSSVGPathElement.cpp \
1618         DerivedSources/JSSVGPathSeg.cpp \
1619         DerivedSources/JSSVGPathSegArcAbs.cpp \
1620         DerivedSources/JSSVGPathSegArcRel.cpp \
1621         DerivedSources/JSSVGPathSegClosePath.cpp \
1622         DerivedSources/JSSVGPathSegCurvetoCubicAbs.cpp \
1623         DerivedSources/JSSVGPathSegCurvetoCubicRel.cpp \
1624         DerivedSources/JSSVGPathSegCurvetoCubicSmoothAbs.cpp \
1625         DerivedSources/JSSVGPathSegCurvetoCubicSmoothRel.cpp \
1626         DerivedSources/JSSVGPathSegCurvetoQuadraticAbs.cpp \
1627         DerivedSources/JSSVGPathSegCurvetoQuadraticRel.cpp \
1628         DerivedSources/JSSVGPathSegCurvetoQuadraticSmoothAbs.cpp \
1629         DerivedSources/JSSVGPathSegCurvetoQuadraticSmoothRel.cpp \
1630         DerivedSources/JSSVGPathSegLinetoAbs.cpp \
1631         DerivedSources/JSSVGPathSegLinetoHorizontalAbs.cpp \
1632         DerivedSources/JSSVGPathSegLinetoHorizontalRel.cpp \
1633         DerivedSources/JSSVGPathSegLinetoRel.cpp \
1634         DerivedSources/JSSVGPathSegLinetoVerticalAbs.cpp \
1635         DerivedSources/JSSVGPathSegLinetoVerticalRel.cpp \
1636         DerivedSources/JSSVGPathSegMovetoAbs.cpp \
1637         DerivedSources/JSSVGPathSegMovetoRel.cpp \
1638         DerivedSources/JSSVGNumber.cpp \
1639         DerivedSources/JSSVGNumberList.cpp \
1640         DerivedSources/JSSVGPaint.cpp \
1641         DerivedSources/JSSVGPathSegList.cpp \
1642         DerivedSources/JSSVGPatternElement.cpp \
1643         DerivedSources/JSSVGPoint.cpp \
1644         DerivedSources/JSSVGPointList.cpp \
1645         DerivedSources/JSSVGPolygonElement.cpp \
1646         DerivedSources/JSSVGPolylineElement.cpp \
1647         DerivedSources/JSSVGRadialGradientElement.cpp \
1648         DerivedSources/JSSVGRect.cpp \
1649         DerivedSources/JSSVGRectElement.cpp \
1650         DerivedSources/JSSVGRenderingIntent.cpp \
1651         DerivedSources/JSSVGSetElement.cpp \
1652         DerivedSources/JSSVGScriptElement.cpp \
1653         DerivedSources/JSSVGStyleElement.cpp \
1654         DerivedSources/JSSVGSwitchElement.cpp \
1655         DerivedSources/JSSVGStopElement.cpp \
1656         DerivedSources/JSSVGStringList.cpp \
1657         DerivedSources/JSSVGSymbolElement.cpp \
1658         DerivedSources/JSSVGTRefElement.cpp \
1659         DerivedSources/JSSVGTSpanElement.cpp \
1660         DerivedSources/JSSVGTextElement.cpp \
1661         DerivedSources/JSSVGTextContentElement.cpp \
1662         DerivedSources/JSSVGTextPathElement.cpp \
1663         DerivedSources/JSSVGTextPositioningElement.cpp \
1664         DerivedSources/JSSVGTitleElement.cpp \
1665         DerivedSources/JSSVGTransform.cpp \
1666         DerivedSources/JSSVGTransformList.cpp \
1667         DerivedSources/JSSVGUnitTypes.cpp \
1668         DerivedSources/JSSVGUseElement.cpp \
1669         DerivedSources/JSSVGViewElement.cpp \
1670         DerivedSources/JSSVGPreserveAspectRatio.cpp \
1671         DerivedSources/JSSVGElement.cpp \
1672         DerivedSources/JSSVGElementInstance.cpp \
1673         DerivedSources/JSSVGElementInstanceList.cpp \
1674         DerivedSources/JSSVGSVGElement.cpp \
1675         DerivedSources/JSSVGElementWrapperFactory.cpp \
1676         DerivedSources/JSSVGEllipseElement.cpp \
1677         DerivedSources/JSSVGFEBlendElement.cpp \
1678         DerivedSources/JSSVGFEColorMatrixElement.cpp \
1679         DerivedSources/JSSVGFEComponentTransferElement.cpp \
1680         DerivedSources/JSSVGFECompositeElement.cpp \
1681         DerivedSources/JSSVGFEDiffuseLightingElement.cpp \
1682         DerivedSources/JSSVGFEDisplacementMapElement.cpp \
1683         DerivedSources/JSSVGFEDistantLightElement.cpp \
1684         DerivedSources/JSSVGFEFloodElement.cpp \
1685         DerivedSources/JSSVGFEFuncAElement.cpp \
1686         DerivedSources/JSSVGFEFuncBElement.cpp \
1687         DerivedSources/JSSVGFEFuncGElement.cpp \
1688         DerivedSources/JSSVGFEFuncRElement.cpp \
1689         DerivedSources/JSSVGFEGaussianBlurElement.cpp \
1690         DerivedSources/JSSVGFEImageElement.cpp \
1691         DerivedSources/JSSVGFEMergeElement.cpp \
1692         DerivedSources/JSSVGFEMergeNodeElement.cpp \
1693         DerivedSources/JSSVGFEOffsetElement.cpp \
1694         DerivedSources/JSSVGFEPointLightElement.cpp \
1695         DerivedSources/JSSVGFESpecularLightingElement.cpp \
1696         DerivedSources/JSSVGFESpotLightElement.cpp \
1697         DerivedSources/JSSVGFETileElement.cpp \
1698         DerivedSources/JSSVGFETurbulenceElement.cpp \
1699         DerivedSources/JSSVGFilterElement.cpp \
1700         DerivedSources/JSSVGFontElement.cpp \
1701         DerivedSources/JSSVGFontFaceElement.cpp \
1702         DerivedSources/JSSVGFontFaceFormatElement.cpp \
1703         DerivedSources/JSSVGFontFaceNameElement.cpp \
1704         DerivedSources/JSSVGFontFaceSrcElement.cpp \
1705         DerivedSources/JSSVGFontFaceUriElement.cpp \
1706         DerivedSources/JSSVGForeignObjectElement.cpp \
1707         DerivedSources/JSSVGGElement.cpp \
1708         DerivedSources/JSSVGGlyphElement.cpp \
1709         DerivedSources/JSSVGGradientElement.cpp \
1710         DerivedSources/JSSVGImageElement.cpp \
1711         DerivedSources/JSSVGLengthList.cpp \
1712         DerivedSources/JSSVGLineElement.cpp \
1713         DerivedSources/JSSVGLinearGradientElement.cpp \
1714         DerivedSources/JSSVGMaskElement.cpp \
1715         DerivedSources/JSSVGMarkerElement.cpp \
1716         DerivedSources/JSSVGMissingGlyphElement.cpp \
1717         DerivedSources/JSSVGZoomEvent.cpp
1718
1719 IDL_BINDINGS += \
1720         WebCore/svg/SVGZoomEvent.idl \
1721         WebCore/svg/SVGAElement.idl \
1722         WebCore/svg/SVGAltGlyphElement.idl \
1723         WebCore/svg/SVGAngle.idl \
1724         WebCore/svg/SVGAnimateColorElement.idl \
1725         WebCore/svg/SVGAnimatedAngle.idl \
1726         WebCore/svg/SVGAnimatedBoolean.idl \
1727         WebCore/svg/SVGAnimatedEnumeration.idl \
1728         WebCore/svg/SVGAnimatedInteger.idl \
1729         WebCore/svg/SVGAnimatedLength.idl \
1730         WebCore/svg/SVGAnimatedLengthList.idl \
1731         WebCore/svg/SVGAnimatedNumber.idl \
1732         WebCore/svg/SVGAnimatedNumberList.idl \
1733         WebCore/svg/SVGAnimatedPreserveAspectRatio.idl \
1734         WebCore/svg/SVGAnimatedRect.idl \
1735         WebCore/svg/SVGAnimatedString.idl \
1736         WebCore/svg/SVGAnimatedTransformList.idl \
1737         WebCore/svg/SVGAnimateElement.idl \
1738         WebCore/svg/SVGAnimateTransformElement.idl \
1739         WebCore/svg/SVGAnimationElement.idl \
1740         WebCore/svg/SVGCircleElement.idl \
1741         WebCore/svg/SVGClipPathElement.idl \
1742         WebCore/svg/SVGColor.idl \
1743         WebCore/svg/SVGComponentTransferFunctionElement.idl \
1744         WebCore/svg/SVGCursorElement.idl \
1745         WebCore/svg/SVGDefinitionSrcElement.idl \
1746         WebCore/svg/SVGDefsElement.idl \
1747         WebCore/svg/SVGDescElement.idl \
1748         WebCore/svg/SVGDocument.idl \
1749         WebCore/svg/SVGElement.idl \
1750         WebCore/svg/SVGElementInstance.idl \
1751         WebCore/svg/SVGElementInstanceList.idl \
1752         WebCore/svg/SVGEllipseElement.idl \
1753         WebCore/svg/SVGException.idl \
1754         WebCore/svg/SVGFEBlendElement.idl \
1755         WebCore/svg/SVGFEColorMatrixElement.idl \
1756         WebCore/svg/SVGFEComponentTransferElement.idl \
1757         WebCore/svg/SVGFECompositeElement.idl \
1758         WebCore/svg/SVGFEDiffuseLightingElement.idl \
1759         WebCore/svg/SVGFEDisplacementMapElement.idl \
1760         WebCore/svg/SVGFEDistantLightElement.idl \
1761         WebCore/svg/SVGFEFloodElement.idl \
1762         WebCore/svg/SVGFEFuncAElement.idl \
1763         WebCore/svg/SVGFEFuncBElement.idl \
1764         WebCore/svg/SVGFEFuncGElement.idl \
1765         WebCore/svg/SVGFEFuncRElement.idl \
1766         WebCore/svg/SVGFEGaussianBlurElement.idl \
1767         WebCore/svg/SVGFEImageElement.idl \
1768         WebCore/svg/SVGFEMergeElement.idl \
1769         WebCore/svg/SVGFEMergeNodeElement.idl \
1770         WebCore/svg/SVGFEOffsetElement.idl \
1771         WebCore/svg/SVGFEPointLightElement.idl \
1772         WebCore/svg/SVGFESpecularLightingElement.idl \
1773         WebCore/svg/SVGFESpotLightElement.idl \
1774         WebCore/svg/SVGFETileElement.idl \
1775         WebCore/svg/SVGFETurbulenceElement.idl \
1776         WebCore/svg/SVGFilterElement.idl \
1777         WebCore/svg/SVGFontElement.idl \
1778         WebCore/svg/SVGFontFaceElement.idl \
1779         WebCore/svg/SVGFontFaceFormatElement.idl \
1780         WebCore/svg/SVGFontFaceNameElement.idl \
1781         WebCore/svg/SVGFontFaceSrcElement.idl \
1782         WebCore/svg/SVGFontFaceUriElement.idl \
1783         WebCore/svg/SVGForeignObjectElement.idl \
1784         WebCore/svg/SVGGElement.idl \
1785         WebCore/svg/SVGGlyphElement.idl \
1786         WebCore/svg/SVGGElement.idl \
1787         WebCore/svg/SVGGradientElement.idl \
1788         WebCore/svg/SVGImageElement.idl \
1789         WebCore/svg/SVGLength.idl \
1790         WebCore/svg/SVGLengthList.idl \
1791         WebCore/svg/SVGLinearGradientElement.idl \
1792         WebCore/svg/SVGLineElement.idl \
1793         WebCore/svg/SVGMarkerElement.idl \
1794         WebCore/svg/SVGMaskElement.idl \
1795         WebCore/svg/SVGMatrix.idl \
1796         WebCore/svg/SVGMetadataElement.idl \
1797         WebCore/svg/SVGMissingGlyphElement.idl \
1798         WebCore/svg/SVGNumber.idl \
1799         WebCore/svg/SVGNumberList.idl \
1800         WebCore/svg/SVGPaint.idl \
1801         WebCore/svg/SVGPathElement.idl \
1802         WebCore/svg/SVGPathSegArcAbs.idl \
1803         WebCore/svg/SVGPathSegArcRel.idl \
1804         WebCore/svg/SVGPathSegClosePath.idl \
1805         WebCore/svg/SVGPathSegCurvetoCubicAbs.idl \
1806         WebCore/svg/SVGPathSegCurvetoCubicRel.idl \
1807         WebCore/svg/SVGPathSegCurvetoCubicSmoothAbs.idl \
1808         WebCore/svg/SVGPathSegCurvetoCubicSmoothRel.idl \
1809         WebCore/svg/SVGPathSegCurvetoQuadraticAbs.idl \
1810         WebCore/svg/SVGPathSegCurvetoQuadraticRel.idl \
1811         WebCore/svg/SVGPathSegCurvetoQuadraticSmoothAbs.idl \
1812         WebCore/svg/SVGPathSegCurvetoQuadraticSmoothRel.idl \
1813         WebCore/svg/SVGPathSeg.idl \
1814         WebCore/svg/SVGPathSegLinetoAbs.idl \
1815         WebCore/svg/SVGPathSegLinetoHorizontalAbs.idl \
1816         WebCore/svg/SVGPathSegLinetoHorizontalRel.idl \
1817         WebCore/svg/SVGPathSegLinetoRel.idl \
1818         WebCore/svg/SVGPathSegLinetoVerticalAbs.idl \
1819         WebCore/svg/SVGPathSegLinetoVerticalRel.idl \
1820         WebCore/svg/SVGPathSegList.idl \
1821         WebCore/svg/SVGPathSegMovetoAbs.idl \
1822         WebCore/svg/SVGPathSegMovetoRel.idl \
1823         WebCore/svg/SVGPatternElement.idl \
1824         WebCore/svg/SVGPoint.idl \
1825         WebCore/svg/SVGPointList.idl \
1826         WebCore/svg/SVGPolygonElement.idl \
1827         WebCore/svg/SVGPolylineElement.idl \
1828         WebCore/svg/SVGPreserveAspectRatio.idl \
1829         WebCore/svg/SVGRadialGradientElement.idl \
1830         WebCore/svg/SVGRectElement.idl \
1831         WebCore/svg/SVGRect.idl \
1832         WebCore/svg/SVGRenderingIntent.idl \
1833         WebCore/svg/SVGScriptElement.idl \
1834         WebCore/svg/SVGSetElement.idl \
1835         WebCore/svg/SVGStopElement.idl \
1836         WebCore/svg/SVGStringList.idl \
1837         WebCore/svg/SVGStyleElement.idl \
1838         WebCore/svg/SVGSVGElement.idl \
1839         WebCore/svg/SVGSwitchElement.idl \
1840         WebCore/svg/SVGSymbolElement.idl \
1841         WebCore/svg/SVGTextContentElement.idl \
1842         WebCore/svg/SVGTextElement.idl \
1843         WebCore/svg/SVGTextPathElement.idl \
1844         WebCore/svg/SVGTextPositioningElement.idl \
1845         WebCore/svg/SVGTitleElement.idl \
1846         WebCore/svg/SVGTransform.idl \
1847         WebCore/svg/SVGTransformList.idl \
1848         WebCore/svg/SVGTRefElement.idl \
1849         WebCore/svg/SVGTSpanElement.idl \
1850         WebCore/svg/SVGUnitTypes.idl \
1851         WebCore/svg/SVGUseElement.idl \
1852         WebCore/svg/SVGViewElement.idl
1853
1854 webcore_cppflags += \
1855         -DENABLE_SVG=1 \
1856         -I\$(top_srcdir)/WebCore/svg \
1857         -I\$(top_srcdir)/WebCore/svg/animation \
1858         -I\$(top_srcdir)/WebCore/svg/graphics \
1859         -I\$(top_srcdir)/WebCore/svg/graphics/filters
1860
1861 webcore_sources += \
1862         WebCore/bindings/js/JSSVGMatrixCustom.cpp \
1863         WebCore/bindings/js/JSSVGPathSegCustom.cpp \
1864         WebCore/bindings/js/JSSVGPathSegListCustom.cpp \
1865         WebCore/bindings/js/JSSVGPointListCustom.cpp \
1866         WebCore/bindings/js/JSSVGTransformListCustom.cpp \
1867         WebCore/bindings/js/JSSVGLazyEventListener.cpp \
1868         WebCore/css/SVGCSSComputedStyleDeclaration.cpp \
1869         WebCore/css/SVGCSSParser.cpp \
1870         WebCore/css/SVGCSSStyleSelector.cpp \
1871         WebCore/rendering/SVGRenderStyle.cpp \
1872         WebCore/rendering/SVGRenderStyleDefs.cpp \
1873         WebCore/rendering/SVGRenderTreeAsText.cpp \
1874         WebCore/rendering/PointerEventsHitRules.cpp \
1875         WebCore/svg/SVGZoomEvent.cpp \
1876         WebCore/svg/SVGDocumentExtensions.cpp \
1877         WebCore/svg/SVGImageLoader.cpp \
1878         WebCore/svg/ColorDistance.cpp \
1879         WebCore/svg/SVGAElement.cpp \
1880         WebCore/svg/SVGAltGlyphElement.cpp \
1881         WebCore/svg/SVGAngle.cpp \
1882         WebCore/svg/SVGAnimateColorElement.cpp \
1883         WebCore/svg/SVGAnimatedPathData.cpp \
1884         WebCore/svg/SVGAnimatedPoints.cpp \
1885         WebCore/svg/SVGAnimateElement.cpp \
1886         WebCore/svg/SVGAnimateMotionElement.cpp \
1887         WebCore/svg/SVGAnimateTransformElement.cpp \
1888         WebCore/svg/SVGAnimationElement.cpp \
1889         WebCore/svg/SVGCircleElement.cpp \
1890         WebCore/svg/SVGClipPathElement.cpp \
1891         WebCore/svg/SVGColor.cpp \
1892         WebCore/svg/SVGComponentTransferFunctionElement.cpp \
1893         WebCore/svg/SVGCursorElement.cpp \
1894         WebCore/svg/SVGDefinitionSrcElement.cpp \
1895         WebCore/svg/SVGDefsElement.cpp \
1896         WebCore/svg/SVGDescElement.cpp \
1897         WebCore/svg/SVGDocument.cpp \
1898         WebCore/svg/SVGElement.cpp \
1899         WebCore/svg/SVGElementInstance.cpp \
1900         WebCore/svg/SVGElementInstanceList.cpp \
1901         WebCore/svg/SVGEllipseElement.cpp \
1902         WebCore/svg/SVGExternalResourcesRequired.cpp \
1903         WebCore/svg/SVGFEBlendElement.cpp \
1904         WebCore/svg/SVGFEColorMatrixElement.cpp \
1905         WebCore/svg/SVGFEComponentTransferElement.cpp \
1906         WebCore/svg/SVGFECompositeElement.cpp \
1907         WebCore/svg/SVGFEDiffuseLightingElement.cpp \
1908         WebCore/svg/SVGFEDisplacementMapElement.cpp \
1909         WebCore/svg/SVGFEDistantLightElement.cpp \
1910         WebCore/svg/SVGFEFloodElement.cpp \
1911         WebCore/svg/SVGFEFuncAElement.cpp \
1912         WebCore/svg/SVGFEFuncBElement.cpp \
1913         WebCore/svg/SVGFEFuncGElement.cpp \
1914         WebCore/svg/SVGFEFuncRElement.cpp \
1915         WebCore/svg/SVGFEGaussianBlurElement.cpp \
1916         WebCore/svg/SVGFEImageElement.cpp \
1917         WebCore/svg/SVGFELightElement.cpp \
1918         WebCore/svg/SVGFEMergeElement.cpp \
1919         WebCore/svg/SVGFEMergeNodeElement.cpp \
1920         WebCore/svg/SVGFEOffsetElement.cpp \
1921         WebCore/svg/SVGFEPointLightElement.cpp \
1922         WebCore/svg/SVGFESpecularLightingElement.cpp \
1923         WebCore/svg/SVGFESpotLightElement.cpp \
1924         WebCore/svg/SVGFETileElement.cpp \
1925         WebCore/svg/SVGFETurbulenceElement.cpp \
1926         WebCore/svg/SVGFilterElement.cpp \
1927         WebCore/svg/SVGFilterPrimitiveStandardAttributes.cpp \
1928         WebCore/svg/SVGFitToViewBox.cpp \
1929         WebCore/svg/SVGFont.cpp \
1930         WebCore/svg/SVGFontData.cpp \
1931         WebCore/svg/SVGFontElement.cpp \
1932         WebCore/svg/SVGFontFaceElement.cpp \
1933         WebCore/svg/SVGFontFaceFormatElement.cpp \
1934         WebCore/svg/SVGFontFaceNameElement.cpp \
1935         WebCore/svg/SVGFontFaceSrcElement.cpp \
1936         WebCore/svg/SVGFontFaceUriElement.cpp \
1937         WebCore/svg/SVGForeignObjectElement.cpp \
1938         WebCore/svg/SVGGElement.cpp \
1939         WebCore/svg/SVGGlyphElement.cpp \
1940         WebCore/svg/SVGGradientElement.cpp \
1941         WebCore/svg/SVGHKernElement.cpp \
1942         WebCore/svg/SVGImageElement.cpp \
1943         WebCore/svg/SVGLangSpace.cpp \
1944         WebCore/svg/SVGLength.cpp \
1945         WebCore/svg/SVGLengthList.cpp \
1946         WebCore/svg/SVGLinearGradientElement.cpp \
1947         WebCore/svg/SVGLineElement.cpp \
1948         WebCore/svg/SVGLocatable.cpp \
1949         WebCore/svg/SVGMarkerElement.cpp \
1950         WebCore/svg/SVGMaskElement.cpp \
1951         WebCore/svg/SVGMetadataElement.cpp \
1952         WebCore/svg/SVGMissingGlyphElement.cpp \
1953         WebCore/svg/SVGMPathElement.cpp \
1954         WebCore/svg/SVGNumberList.cpp \
1955         WebCore/svg/SVGPaint.cpp \
1956         WebCore/svg/SVGParserUtilities.cpp \
1957         WebCore/svg/SVGPathElement.cpp \
1958         WebCore/svg/SVGPathSegArc.cpp \
1959         WebCore/svg/SVGPathSegClosePath.cpp \
1960         WebCore/svg/SVGPathSegCurvetoCubic.cpp \
1961         WebCore/svg/SVGPathSegCurvetoCubicSmooth.cpp \
1962         WebCore/svg/SVGPathSegCurvetoQuadratic.cpp \
1963         WebCore/svg/SVGPathSegCurvetoQuadraticSmooth.cpp \
1964         WebCore/svg/SVGPathSegLineto.cpp \
1965         WebCore/svg/SVGPathSegLinetoHorizontal.cpp \
1966         WebCore/svg/SVGPathSegLinetoVertical.cpp \
1967         WebCore/svg/SVGPathSegList.cpp \
1968         WebCore/svg/SVGPathSegMoveto.cpp \
1969         WebCore/svg/SVGPatternElement.cpp \
1970         WebCore/svg/SVGPointList.cpp \
1971         WebCore/svg/SVGPolyElement.cpp \
1972         WebCore/svg/SVGPolygonElement.cpp \
1973         WebCore/svg/SVGPolylineElement.cpp \
1974         WebCore/svg/SVGPreserveAspectRatio.cpp \
1975         WebCore/svg/SVGRadialGradientElement.cpp \
1976         WebCore/svg/SVGRectElement.cpp \
1977         WebCore/svg/SVGScriptElement.cpp \
1978         WebCore/svg/SVGSetElement.cpp \
1979         WebCore/svg/SVGStopElement.cpp \
1980         WebCore/svg/SVGStringList.cpp \
1981         WebCore/svg/SVGStylable.cpp \
1982         WebCore/svg/SVGStyledElement.cpp \
1983         WebCore/svg/SVGStyledLocatableElement.cpp \
1984         WebCore/svg/SVGStyledTransformableElement.cpp \
1985         WebCore/svg/SVGStyleElement.cpp \
1986         WebCore/svg/SVGSVGElement.cpp \
1987         WebCore/svg/SVGSwitchElement.cpp \
1988         WebCore/svg/SVGSymbolElement.cpp \
1989         WebCore/svg/SVGTests.cpp \
1990         WebCore/svg/SVGTextContentElement.cpp \
1991         WebCore/svg/SVGTextElement.cpp \
1992         WebCore/svg/SVGTextPathElement.cpp \
1993         WebCore/svg/SVGTextPositioningElement.cpp \
1994         WebCore/svg/SVGTitleElement.cpp \
1995         WebCore/svg/SVGTransformable.cpp \
1996         WebCore/svg/SVGTransform.cpp \
1997         WebCore/svg/SVGTransformDistance.cpp \
1998         WebCore/svg/SVGTransformList.cpp \
1999         WebCore/svg/SVGTRefElement.cpp \
2000         WebCore/svg/SVGTSpanElement.cpp \
2001         WebCore/svg/SVGURIReference.cpp \
2002         WebCore/svg/SVGUseElement.cpp \
2003         WebCore/svg/SVGViewElement.cpp \
2004         WebCore/svg/SVGViewSpec.cpp \
2005         WebCore/svg/SVGZoomAndPan.cpp \
2006         WebCore/svg/animation/SMILTime.cpp \
2007         WebCore/svg/animation/SMILTimeContainer.cpp \
2008         WebCore/svg/animation/SVGSMILElement.cpp \
2009         WebCore/svg/graphics/filters/SVGFEBlend.cpp \
2010         WebCore/svg/graphics/filters/SVGFEColorMatrix.cpp \
2011         WebCore/svg/graphics/filters/SVGFEComponentTransfer.cpp \
2012         WebCore/svg/graphics/filters/SVGFEComposite.cpp \
2013         WebCore/svg/graphics/filters/SVGFEConvolveMatrix.cpp \
2014         WebCore/svg/graphics/filters/SVGFEDiffuseLighting.cpp \
2015         WebCore/svg/graphics/filters/SVGFEDisplacementMap.cpp \
2016         WebCore/svg/graphics/filters/SVGFEFlood.cpp \
2017         WebCore/svg/graphics/filters/SVGFEGaussianBlur.cpp \
2018         WebCore/svg/graphics/filters/SVGFEImage.cpp \
2019         WebCore/svg/graphics/filters/SVGFEMerge.cpp \
2020         WebCore/svg/graphics/filters/SVGFEMorphology.cpp \
2021         WebCore/svg/graphics/filters/SVGFEOffset.cpp \
2022         WebCore/svg/graphics/filters/SVGFESpecularLighting.cpp \
2023         WebCore/svg/graphics/filters/SVGFETurbulence.cpp \
2024         WebCore/svg/graphics/filters/SVGFilterEffect.cpp \
2025         WebCore/svg/graphics/filters/SVGLightSource.cpp \
2026         WebCore/svg/graphics/SVGImage.cpp \
2027         WebCore/svg/graphics/SVGPaintServer.cpp \
2028         WebCore/svg/graphics/SVGPaintServerGradient.cpp \
2029         WebCore/svg/graphics/SVGPaintServerLinearGradient.cpp \
2030         WebCore/svg/graphics/SVGPaintServerPattern.cpp \
2031         WebCore/svg/graphics/SVGPaintServerRadialGradient.cpp \
2032         WebCore/svg/graphics/SVGPaintServerSolid.cpp \
2033         WebCore/svg/graphics/SVGResourceClipper.cpp \
2034         WebCore/svg/graphics/SVGResource.cpp \
2035         WebCore/svg/graphics/SVGResourceFilter.cpp \
2036         WebCore/svg/graphics/SVGResourceMarker.cpp \
2037         WebCore/svg/graphics/SVGResourceMasker.cpp \
2038         WebCore/rendering/RenderForeignObject.cpp \
2039         WebCore/rendering/RenderPath.cpp \
2040         WebCore/rendering/RenderSVGBlock.cpp \
2041         WebCore/rendering/RenderSVGContainer.cpp \
2042         WebCore/rendering/RenderSVGGradientStop.cpp \
2043         WebCore/rendering/RenderSVGHiddenContainer.cpp \
2044         WebCore/rendering/RenderSVGImage.cpp \
2045         WebCore/rendering/RenderSVGInline.cpp \
2046         WebCore/rendering/RenderSVGInlineText.cpp \
2047         WebCore/rendering/RenderSVGRoot.cpp \
2048         WebCore/rendering/RenderSVGText.cpp \
2049         WebCore/rendering/RenderSVGTextPath.cpp \
2050         WebCore/rendering/RenderSVGTransformableContainer.cpp \
2051         WebCore/rendering/RenderSVGTSpan.cpp \
2052         WebCore/rendering/RenderSVGViewportContainer.cpp \
2053         WebCore/rendering/SVGCharacterLayoutInfo.cpp \
2054         WebCore/rendering/SVGInlineFlowBox.cpp \
2055         WebCore/rendering/SVGInlineTextBox.cpp \
2056         WebCore/rendering/SVGRenderSupport.cpp \
2057         WebCore/rendering/SVGRootInlineBox.cpp
2058
2059 webcoregtk_sources += \
2060         WebCore/svg/graphics/cairo/RenderPathCairo.cpp \
2061         WebCore/svg/graphics/cairo/SVGPaintServerCairo.cpp \
2062         WebCore/svg/graphics/cairo/SVGPaintServerGradientCairo.cpp \
2063         WebCore/svg/graphics/cairo/SVGPaintServerPatternCairo.cpp \
2064         WebCore/svg/graphics/cairo/SVGPaintServerSolidCairo.cpp \
2065         WebCore/svg/graphics/cairo/SVGResourceClipperCairo.cpp \
2066         WebCore/svg/graphics/cairo/SVGResourceFilterCairo.cpp \
2067         WebCore/svg/graphics/cairo/SVGResourceMaskerCairo.cpp
2068
2069
2070 # SVG Features
2071 if ENABLE_SVG_USE
2072 FEATURE_DEFINES_JAVASCRIPT += ENABLE_SVG_USE=1
2073 SVG_FEATURES += ENABLE_SVG_USE=1
2074 webcore_cppflags += -DENABLE_SVG_USE=1
2075 endif
2076
2077 if ENABLE_SVG_FOREIGN_OBJECT
2078 FEATURE_DEFINES_JAVASCRIPT += ENABLE_SVG_FOREIGN_OBJECT=1
2079 SVG_FEATURES += ENABLE_SVG_FOREIGN_OBJECT=1
2080 webcore_cppflags += -DENABLE_SVG_FOREIGN_OBJECT=1
2081 endif
2082
2083 if ENABLE_SVG_FONTS
2084 FEATURE_DEFINES_JAVASCRIPT += ENABLE_SVG_FONTS=1
2085 SVG_FEATURES += ENABLE_SVG_FONTS=1
2086 webcore_cppflags += -DENABLE_SVG_FONTS=1
2087 endif
2088
2089 if ENABLE_SVG_FILTERS
2090 FEATURE_DEFINES_JAVASCRIPT += ENABLE_SVG_FILTERS=1
2091 SVG_FEATURES += ENABLE_SVG_FILTERS=1
2092 webcore_cppflags += -DENABLE_SVG_FILTERS=1
2093 endif
2094
2095 if ENABLE_SVG_AS_IMAGE
2096 FEATURE_DEFINES_JAVASCRIPT += ENABLE_SVG_AS_IMAGE=1
2097 SVG_FEATURES += ENABLE_SVG_AS_IMAGE=1
2098 webcore_cppflags += -DENABLE_SVG_AS_IMAGE=1
2099 endif
2100
2101 if ENABLE_SVG_ANIMATION
2102 FEATURE_DEFINES_JAVASCRIPT += ENABLE_SVG_ANIMATION=1
2103 SVG_FEATURES += ENABLE_SVG_ANIMATION=1
2104 webcore_cppflags += -DENABLE_SVG_ANIMATION=1
2105 endif
2106
2107 # SVG tag and attribute names (need to pass an extra flag if svg experimental features are enabled)
2108 DerivedSources/SVGNames.cpp: DerivedSources/SVGElementFactory.cpp;
2109
2110 if SVG_FLAGS
2111 DerivedSources/SVGElementFactory.cpp: $(WebCore)/dom/make_names.pl $(WebCore)/svg/svgtags.in $(WebCore)/svg/svgattrs.in
2112         $(PERL) $< --tags $(WebCore)/svg/svgtags.in --attrs $(WebCore)/svg/svgattrs.in --extraDefines "$(SVG_FEATURES)" \
2113         --namespace SVG --guardFactoryWith "ENABLE(SVG)" --cppNamespace WebCore --namespaceURI "http://www.w3.org/2000/svg" --factory --wrapperFactory --attrsNullNamespace --output $(GENSOURCES)
2114 else
2115 DerivedSources/SVGElementFactory.cpp: $(WebCore)/dom/make_names.pl $(WebCore)/svg/svgtags.in $(WebCore)/svg/svgattrs.in
2116         $(PERL) $< --tags $(WebCore)/svg/svgtags.in --attrs $(WebCore)/svg/svgattrs.in --namespace SVG --guardFactoryWith "ENABLE(SVG)" --cppNamespace WebCore --namespaceURI "http://www.w3.org/2000/svg" --factory --wrapperFactory --attrsNullNamespace --output $(GENSOURCES)
2117
2118 endif # SVG_FLAGS
2119
2120 # end SVG Features
2121
2122 DerivedSources/XLinkNames.h: DerivedSources/XLinkNames.cpp;
2123
2124 DerivedSources/XLinkNames.cpp : $(WebCore)/dom/make_names.pl $(WebCore)/svg/xlinkattrs.in
2125         $(PERL) $< --attrs $(WebCore)/svg/xlinkattrs.in --namespace XLink --cppNamespace WebCore --namespaceURI "http://www.w3.org/1999/xlink" --output $(GENSOURCES)
2126
2127 endif # END ENABLE_SVG
2128
2129 DerivedSources/CSSPropertyNames.h: $(WEBCORE_CSS_PROPERTY_NAMES) $(WebCore)/css/makeprop.pl
2130         if sort $(WEBCORE_CSS_PROPERTY_NAMES) | uniq -d | grep -E '^[^#]'; then echo 'Duplicate value!'; exit 1; fi
2131         cat $(WEBCORE_CSS_PROPERTY_NAMES) > CSSPropertyNames.in
2132         $(PERL) "$(WebCore)/css/makeprop.pl"
2133         mv CSSPropertyNames.* $(GENSOURCES)
2134
2135 # Lower case all the values, as CSS values are case-insensitive
2136 DerivedSources/CSSValueKeywords.h : $(WEBCORE_CSS_VALUE_KEYWORDS) $(WebCore)/css/makevalues.pl
2137         $(PERL) -ne 'print lc' $(WEBCORE_CSS_VALUE_KEYWORDS) > CSSValueKeywords.in
2138         if sort CSSValueKeywords.in | uniq -d | grep -E '^[^#]'; then echo 'Duplicate value!'; exit 1; fi
2139         $(PERL) "$(WebCore)/css/makevalues.pl"
2140         mv CSSValueKeywords.* $(GENSOURCES)
2141
2142 # DOCTYPE strings
2143 DerivedSources/DocTypeStrings.cpp : $(WebCore)/html/DocTypeStrings.gperf
2144         $(GPERF) -CEot -L ANSI-C -k "*" -N findDoctypeEntry -F ,PubIDInfo::eAlmostStandards,PubIDInfo::eAlmostStandards $(WebCore)/html/DocTypeStrings.gperf > $@
2145
2146 # HTML entity names
2147 DerivedSources/HTMLEntityNames.c : $(WebCore)/html/HTMLEntityNames.gperf
2148         $(GPERF) -a -L ANSI-C -C -G -c -o -t -k '*' -N findEntity -D -s 2 \
2149         $(WebCore)/html/HTMLEntityNames.gperf > $@
2150
2151 # color names
2152 DerivedSources/ColorData.c: $(WebCore)/platform/ColorData.gperf
2153         $(GPERF) -CDEot -L ANSI-C -k '*' -N findColor -D -s 2 $< > $@
2154
2155 # CSS tokenizer
2156 DerivedSources/tokenizer.cpp : $(WebCore)/css/tokenizer.flex $(WebCore)/css/maketokenizer
2157         $(FLEX) -t $< | $(PERL) $(WebCore)/css/maketokenizer > $@
2158
2159 # CSS grammar
2160
2161 DerivedSources/CSSGrammar.h: $(GENSOURCES)/CSSGrammar.cpp;
2162
2163 # NOTE: older versions of bison do not inject an inclusion guard, so we do it
2164 DerivedSources/CSSGrammar.cpp: $(WebCore)/css/CSSGrammar.y
2165         rm -f $(GENSOURCES)/CSSGrammar.cpp.h $(GENSOURCES)/CSSGrammar.hpp
2166         $(BISON) -d -p cssyy $< -o $(GENSOURCES)/CSSGrammar.cpp
2167         touch $(GENSOURCES)/CSSGrammar.cpp.h $(GENSOURCES)/CSSGrammar.hpp
2168         echo '#ifndef CSSGrammar_h' > $(GENSOURCES)/CSSGrammar.h
2169         echo '#define CSSGrammar_h' >> $(GENSOURCES)/CSSGrammar.h
2170         cat $(GENSOURCES)/CSSGrammar.cpp.h $(GENSOURCES)/CSSGrammar.hpp >> $(GENSOURCES)/CSSGrammar.h
2171         echo '#endif' >> $(GENSOURCES)/CSSGrammar.h
2172         rm -f $(GENSOURCES)/CSSGrammar.cpp.h $(GENSOURCES)/CSSGrammar.hpp
2173
2174 # user agent style sheets
2175 USER_AGENT_STYLE_SHEETS = \
2176         $(WebCore)/css/html4.css \
2177         $(WebCore)/css/quirks.css \
2178         $(WebCore)/css/view-source.css \
2179         $(WebCore)/css/svg.css
2180
2181 # new-style JavaScript bindings
2182 SCRIPTS_BINDINGS = \
2183         $(WebCore)/bindings/scripts/CodeGenerator.pm \
2184         $(WebCore)/bindings/scripts/IDLParser.pm \
2185         $(WebCore)/bindings/scripts/IDLStructure.pm \
2186         $(WebCore)/bindings/scripts/generate-bindings.pl
2187
2188 DerivedSources/UserAgentStyleSheetsData.cpp: DerivedSources/UserAgentStyleSheets.h;
2189
2190 DerivedSources/UserAgentStyleSheets.h: $(WebCore)/css/make-css-file-arrays.pl $(USER_AGENT_STYLE_SHEETS)
2191         $(PERL) $< $@ DerivedSources/UserAgentStyleSheetsData.cpp $(USER_AGENT_STYLE_SHEETS)
2192
2193 # lookup tables for old-style JavaScript bindings
2194 %.lut.h: %.cpp $(CREATE_HASH_TABLE)
2195         $(CREATE_HASH_TABLE) $< > $@
2196
2197 WebCore/bindings/js/%Table.cpp: $(srcdir)/WebCore/bindings/js/JSHTMLInputElementBase.cpp $(CREATE_HASH_TABLE)
2198         $(CREATE_HASH_TABLE) $< > $@
2199
2200 # HTML tag and attribute names
2201 DerivedSources/HTMLNames.h: DerivedSources/HTMLNames.cpp;
2202
2203 if HTML_FLAGS
2204 DerivedSources/HTMLNames.cpp: $(WebCore)/dom/make_names.pl $(WebCore)/html/HTMLTagNames.in $(WebCore)/html/HTMLAttributeNames.in
2205         $(PERL) $< --tags $(WebCore)/html/HTMLTagNames.in --attrs $(WebCore)/html/HTMLAttributeNames.in --extraDefines "$(HTML_FEATURES)" --namespace HTML --namespacePrefix xhtml --cppNamespace WebCore --namespaceURI "http://www.w3.org/1999/xhtml" --wrapperFactory --attrsNullNamespace --output $(GENSOURCES)
2206 else
2207 DerivedSources/HTMLNames.cpp: $(WebCore)/dom/make_names.pl $(WebCore)/html/HTMLTagNames.in $(WebCore)/html/HTMLAttributeNames.in
2208         $(PERL) $< --tags $(WebCore)/html/HTMLTagNames.in --attrs $(WebCore)/html/HTMLAttributeNames.in --namespace HTML --namespacePrefix xhtml --cppNamespace WebCore --namespaceURI "http://www.w3.org/1999/xhtml" --wrapperFactory --attrsNullNamespace --output $(GENSOURCES)
2209 endif # HTML_FLAGS
2210
2211 DerivedSources/XMLNames.h: DerivedSources/XMLNames.cpp;
2212
2213 DerivedSources/XMLNames.cpp: $(WebCore)/dom/make_names.pl $(WebCore)/xml/xmlattrs.in
2214         $(PERL) $< --attrs $(WebCore)/xml/xmlattrs.in --namespace XML --cppNamespace WebCore --namespaceURI "http://www.w3.org/XML/1998/namespace" --output $(GENSOURCES)
2215
2216 vpath %.idl = \
2217     $(WebCore) \
2218     $(WebCore)/bindings/js \
2219     $(WebCore)/bindings/objc \
2220     $(WebCore)/css \
2221     $(WebCore)/dom \
2222     $(WebCore)/html \
2223     $(WebCore)/loader/appcache \
2224     $(WebCore)/page \
2225     $(WebCore)/storage \
2226     $(WebCore)/svg \
2227     $(WebCore)/xml \
2228     $(WebCore)/plugins
2229
2230 DerivedSources/JS%.h: DerivedSources/JS%.cpp;
2231
2232 DerivedSources/JS%.cpp: %.idl $(SCRIPTS_BINDINGS) $(WebCore)/bindings/scripts/CodeGeneratorJS.pm
2233         $(PERL) -I$(WebCore)/bindings/scripts $(WebCore)/bindings/scripts/generate-bindings.pl --include $(WebCore)/dom --include $(WebCore)/html --include $(WebCore)/css --include $(WebCore)/page --include $(WebCore)/xml --include $(WebCore)/svg --outputdir $(GENSOURCES) --defines "$(FEATURE_DEFINES_JAVASCRIPT)" --generator JS $<
2234
2235 # Clean rules for WebCore
2236
2237 CLEANFILES += \
2238         WebCore/bindings/js/JSEventTargetBase.lut.h \
2239         WebCore/bindings/js/JSHTMLInputElementBaseTable.cpp \
2240         WebCore/bindings/js/JSDOMWindowBase.lut.h \
2241         WebCore/bindings/js/JSRGBColor.lut.h
2242