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