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