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