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