Fixing the kde build after the icu Qt changes.
[WebKit-https.git] / WebCore / CMakeLists.txt
1
2 project( WebCore )
3
4 IF (WEBKIT_USE_KDE_SUPPORT)
5     include (CheckCXXCompilerFlag)
6 ENDIF (WEBKIT_USE_KDE_SUPPORT)
7
8 include_directories(
9    BEFORE ${CMAKE_CURRENT_BINARY_DIR}
10    ${CMAKE_CURRENT_SOURCE_DIR}/../
11    ${CMAKE_CURRENT_SOURCE_DIR}/../JavaScriptCore/
12    ${CMAKE_CURRENT_SOURCE_DIR}/../JavaScriptCore/bindings
13    ${CMAKE_CURRENT_SOURCE_DIR}/../JavaScriptCore/kjs
14    ${CMAKE_CURRENT_SOURCE_DIR}/bindings/js
15    ${CMAKE_CURRENT_SOURCE_DIR}/bridge
16    ${CMAKE_CURRENT_BINARY_DIR}/css
17    ${CMAKE_CURRENT_SOURCE_DIR}/css
18    ${CMAKE_CURRENT_SOURCE_DIR}/dom
19    ${CMAKE_CURRENT_SOURCE_DIR}/editing
20    ${CMAKE_CURRENT_SOURCE_DIR}/editing/qt
21    ${CMAKE_CURRENT_BINARY_DIR}/html
22    ${CMAKE_CURRENT_SOURCE_DIR}/html
23    ${CMAKE_CURRENT_SOURCE_DIR}/ksvg2 
24    ${CMAKE_CURRENT_SOURCE_DIR}/ksvg2/css
25    ${CMAKE_CURRENT_SOURCE_DIR}/ksvg2/events 
26    ${CMAKE_CURRENT_BINARY_DIR}/ksvg2/misc 
27    ${CMAKE_CURRENT_SOURCE_DIR}/ksvg2/misc
28    ${CMAKE_CURRENT_BINARY_DIR}/ksvg2/svg
29    ${CMAKE_CURRENT_SOURCE_DIR}/ksvg2/svg
30    ${CMAKE_CURRENT_SOURCE_DIR}/loader
31    ${CMAKE_CURRENT_SOURCE_DIR}/loader/icon
32    ${CMAKE_CURRENT_SOURCE_DIR}/loader/qt
33    ${CMAKE_CURRENT_SOURCE_DIR}/page
34    ${CMAKE_CURRENT_SOURCE_DIR}/page/qt
35    ${CMAKE_CURRENT_BINARY_DIR}/platform
36    ${CMAKE_CURRENT_SOURCE_DIR}/platform 
37    ${CMAKE_CURRENT_SOURCE_DIR}/platform/graphics
38    ${CMAKE_CURRENT_SOURCE_DIR}/platform/graphics/qt
39    ${CMAKE_CURRENT_SOURCE_DIR}/platform/graphics/svg
40    ${CMAKE_CURRENT_SOURCE_DIR}/platform/graphics/svg/filters
41    ${CMAKE_CURRENT_SOURCE_DIR}/platform/image-decoders
42    ${CMAKE_CURRENT_SOURCE_DIR}/platform/image-decoders/gif
43    ${CMAKE_CURRENT_SOURCE_DIR}/platform/image-decoders/jpeg
44    ${CMAKE_CURRENT_SOURCE_DIR}/platform/image-decoders/ico
45    ${CMAKE_CURRENT_SOURCE_DIR}/platform/image-decoders/xbm
46    ${CMAKE_CURRENT_SOURCE_DIR}/platform/image-decoders/bmp
47    ${CMAKE_CURRENT_SOURCE_DIR}/platform/image-decoders/png
48    ${CMAKE_CURRENT_SOURCE_DIR}/platform/network
49    ${CMAKE_CURRENT_SOURCE_DIR}/platform/network/qt
50    ${CMAKE_CURRENT_SOURCE_DIR}/platform/qt
51    ${CMAKE_CURRENT_SOURCE_DIR}/rendering
52    ${CMAKE_CURRENT_BINARY_DIR}/xml
53    ${CMAKE_CURRENT_SOURCE_DIR}/xml
54    ${LIBXML2_INCLUDE_DIR}
55    ${QT_INCLUDES}
56 )
57
58 add_definitions( -DQT3_SUPPORT -Wno-undef -Wno-unused-parameter )
59 IF (WEBKIT_USE_KDE_SUPPORT)
60     check_cxx_compiler_flag( -Wno-variadic-macros __KDE_HAVE_WVARIADIC_MACROS )
61 ENDIF (WEBKIT_USE_KDE_SUPPORT)
62
63 IF ( __KDE_HAVE_WVARIADIC_MACROS )
64   add_definitions( -Wno-variadic-macros )
65 ENDIF (__KDE_HAVE_WVARIADIC_MACROS)
66
67 IF (WEBKIT_USE_KDE_SUPPORT)
68     kde4_automoc( WebCore platform/network/qt/ResourceHandleManager.cpp )
69     kde4_automoc( WebCore platform/qt/ScrollViewCanvasQt.cpp )
70     kde4_automoc( WebCore platform/qt/SharedTimerQt.cpp )
71 ELSE (WEBKIT_USE_KDE_SUPPORT)
72     qt4_automoc( WebCore platform/network/qt/ResourceHandleManager.cpp )
73     qt4_automoc( WebCore platform/qt/ScrollViewCanvasQt.cpp )
74     qt4_automoc( WebCore platform/qt/SharedTimerQt.cpp )
75 ENDIF (WEBKIT_USE_KDE_SUPPORT)
76
77 SET (FEATURE_DEFINES_JAVASCRIPT LANGUAGE_JAVASCRIPT)
78
79 IF (WEBKIT_USE_XPATH_SUPPORT)
80 SET (FEATURE_DEFINES_JAVASCRIPT ${FEATURE_DEFINES_JAVASCRIPT} XPATH_SUPPORT)
81
82 set(IDL_BINDINGS_XPATH
83     xml/XPathEvaluator.idl
84     xml/XPathExpression.idl
85     xml/XPathNSResolver.idl
86     xml/XPathResult.idl
87 )
88 ENDIF (WEBKIT_USE_XPATH_SUPPORT)
89
90 IF (WEBKIT_USE_XSLT_SUPPORT)
91 SET (FEATURE_DEFINES_JAVASCRIPT ${FEATURE_DEFINES_JAVASCRIPT} XSLT_SUPPORT)
92 ENDIF (WEBKIT_USE_XSLT_SUPPORT)
93
94 IF (WEBKIT_USE_XBL_SUPPORT)
95 SET (FEATURE_DEFINES_JAVASCRIPT ${FEATURE_DEFINES_JAVASCRIPT} XBL_SUPPORT)
96 ENDIF (WEBKIT_USE_XBL_SUPPORT)
97
98 # rules for generated files
99 IF (WEBKIT_USE_SVG_SUPPORT)
100 SET (FEATURE_DEFINES_JAVASCRIPT ${FEATURE_DEFINES_JAVASCRIPT} SVG_SUPPORT)
101
102 set(IDL_BINDINGS_SVG
103     ksvg2/events/SVGZoomEvent.idl
104
105     ksvg2/svg/SVGAElement.idl
106     ksvg2/svg/SVGAngle.idl
107     ksvg2/svg/SVGAnimateColorElement.idl
108     ksvg2/svg/SVGAnimatedAngle.idl
109     ksvg2/svg/SVGAnimatedBoolean.idl
110     ksvg2/svg/SVGAnimatedEnumeration.idl
111     ksvg2/svg/SVGAnimatedInteger.idl
112     ksvg2/svg/SVGAnimatedLength.idl
113     ksvg2/svg/SVGAnimatedLengthList.idl
114     ksvg2/svg/SVGAnimatedNumber.idl
115     ksvg2/svg/SVGAnimatedNumberList.idl
116     ksvg2/svg/SVGAnimatedPreserveAspectRatio.idl
117     ksvg2/svg/SVGAnimatedRect.idl
118     ksvg2/svg/SVGAnimatedString.idl
119     ksvg2/svg/SVGAnimatedTransformList.idl
120     ksvg2/svg/SVGAnimateElement.idl
121     ksvg2/svg/SVGAnimateTransformElement.idl
122     ksvg2/svg/SVGAnimationElement.idl
123     ksvg2/svg/SVGCircleElement.idl
124     ksvg2/svg/SVGClipPathElement.idl
125     ksvg2/svg/SVGColor.idl
126     ksvg2/svg/SVGComponentTransferFunctionElement.idl
127     ksvg2/svg/SVGCursorElement.idl
128     ksvg2/svg/SVGDefsElement.idl
129     ksvg2/svg/SVGDescElement.idl
130     ksvg2/svg/SVGDocument.idl
131     ksvg2/svg/SVGElement.idl
132     ksvg2/svg/SVGEllipseElement.idl
133     ksvg2/svg/SVGFEBlendElement.idl
134     ksvg2/svg/SVGFEColorMatrixElement.idl
135     ksvg2/svg/SVGFEComponentTransferElement.idl
136     ksvg2/svg/SVGFECompositeElement.idl
137     ksvg2/svg/SVGFEDiffuseLightingElement.idl
138     ksvg2/svg/SVGFEDisplacementMapElement.idl
139     ksvg2/svg/SVGFEDistantLightElement.idl
140     ksvg2/svg/SVGFEFloodElement.idl
141     ksvg2/svg/SVGFEFuncAElement.idl
142     ksvg2/svg/SVGFEFuncBElement.idl
143     ksvg2/svg/SVGFEFuncGElement.idl
144     ksvg2/svg/SVGFEFuncRElement.idl
145     ksvg2/svg/SVGFEGaussianBlurElement.idl
146     ksvg2/svg/SVGFEImageElement.idl
147     ksvg2/svg/SVGFEMergeElement.idl
148     ksvg2/svg/SVGFEMergeNodeElement.idl
149     ksvg2/svg/SVGFEOffsetElement.idl
150     ksvg2/svg/SVGFEPointLightElement.idl
151     ksvg2/svg/SVGFESpecularLightingElement.idl
152     ksvg2/svg/SVGFESpotLightElement.idl
153     ksvg2/svg/SVGFETileElement.idl
154     ksvg2/svg/SVGFETurbulenceElement.idl
155     ksvg2/svg/SVGFilterElement.idl
156     ksvg2/svg/SVGForeignObjectElement.idl
157     ksvg2/svg/SVGGElement.idl
158     ksvg2/svg/SVGGradientElement.idl
159     ksvg2/svg/SVGImageElement.idl
160     ksvg2/svg/SVGLength.idl
161     ksvg2/svg/SVGLengthList.idl
162     ksvg2/svg/SVGLinearGradientElement.idl
163     ksvg2/svg/SVGLineElement.idl
164     ksvg2/svg/SVGMarkerElement.idl
165     ksvg2/svg/SVGMaskElement.idl
166     ksvg2/svg/SVGMatrix.idl
167     ksvg2/svg/SVGMetadataElement.idl
168     ksvg2/svg/SVGNumberList.idl
169     ksvg2/svg/SVGPaint.idl
170     ksvg2/svg/SVGPathElement.idl
171     ksvg2/svg/SVGPathSegArcAbs.idl
172     ksvg2/svg/SVGPathSegArcRel.idl
173     ksvg2/svg/SVGPathSegClosePath.idl
174     ksvg2/svg/SVGPathSegCurvetoCubicAbs.idl
175     ksvg2/svg/SVGPathSegCurvetoCubicRel.idl
176     ksvg2/svg/SVGPathSegCurvetoCubicSmoothAbs.idl
177     ksvg2/svg/SVGPathSegCurvetoCubicSmoothRel.idl
178     ksvg2/svg/SVGPathSegCurvetoQuadraticAbs.idl
179     ksvg2/svg/SVGPathSegCurvetoQuadraticRel.idl
180     ksvg2/svg/SVGPathSegCurvetoQuadraticSmoothAbs.idl
181     ksvg2/svg/SVGPathSegCurvetoQuadraticSmoothRel.idl
182     ksvg2/svg/SVGPathSeg.idl
183     ksvg2/svg/SVGPathSegLinetoAbs.idl
184     ksvg2/svg/SVGPathSegLinetoHorizontalAbs.idl
185     ksvg2/svg/SVGPathSegLinetoHorizontalRel.idl
186     ksvg2/svg/SVGPathSegLinetoRel.idl
187     ksvg2/svg/SVGPathSegLinetoVerticalAbs.idl
188     ksvg2/svg/SVGPathSegLinetoVerticalRel.idl
189     ksvg2/svg/SVGPathSegList.idl
190     ksvg2/svg/SVGPathSegMovetoAbs.idl
191     ksvg2/svg/SVGPathSegMovetoRel.idl
192     ksvg2/svg/SVGPatternElement.idl
193     ksvg2/svg/SVGPointList.idl
194     ksvg2/svg/SVGPolygonElement.idl
195     ksvg2/svg/SVGPolylineElement.idl
196     ksvg2/svg/SVGPreserveAspectRatio.idl
197     ksvg2/svg/SVGRadialGradientElement.idl
198     ksvg2/svg/SVGRectElement.idl
199     ksvg2/svg/SVGRenderingIntent.idl
200     ksvg2/svg/SVGScriptElement.idl
201     ksvg2/svg/SVGSetElement.idl
202     ksvg2/svg/SVGStopElement.idl
203     ksvg2/svg/SVGStringList.idl
204     ksvg2/svg/SVGStyleElement.idl
205     ksvg2/svg/SVGSVGElement.idl
206     ksvg2/svg/SVGSwitchElement.idl
207     ksvg2/svg/SVGSymbolElement.idl
208     ksvg2/svg/SVGTextContentElement.idl
209     ksvg2/svg/SVGTextElement.idl
210     ksvg2/svg/SVGTextPositioningElement.idl
211     ksvg2/svg/SVGTitleElement.idl
212     ksvg2/svg/SVGTransform.idl
213     ksvg2/svg/SVGTransformList.idl
214     ksvg2/svg/SVGTRefElement.idl
215     ksvg2/svg/SVGTSpanElement.idl
216     ksvg2/svg/SVGUnitTypes.idl
217     ksvg2/svg/SVGUseElement.idl
218     ksvg2/svg/SVGViewElement.idl
219 )
220
221 ENDIF (WEBKIT_USE_SVG_SUPPORT)
222
223 set(IDL_BINDINGS
224     css/Counter.idl
225     css/CSSPrimitiveValue.idl
226     css/CSSRule.idl
227     css/CSSRuleList.idl
228     css/CSSStyleDeclaration.idl
229     css/CSSValue.idl
230     css/CSSValueList.idl
231     css/MediaList.idl
232
233     dom/Attr.idl
234     dom/CharacterData.idl
235     dom/DocumentFragment.idl
236     dom/Document.idl
237     dom/DocumentType.idl
238     dom/DOMImplementation.idl
239     dom/Element.idl
240     dom/Entity.idl
241     dom/Event.idl
242     dom/KeyboardEvent.idl
243     dom/MouseEvent.idl
244     dom/MutationEvent.idl
245     dom/NodeFilter.idl
246     dom/Node.idl
247     dom/NodeIterator.idl
248     dom/Notation.idl
249     dom/OverflowEvent.idl
250     dom/ProcessingInstruction.idl
251     dom/RangeException.idl
252     dom/Range.idl
253     dom/Text.idl
254     dom/TreeWalker.idl
255     dom/UIEvent.idl
256     dom/WheelEvent.idl
257
258     html/CanvasGradient.idl
259     html/CanvasPattern.idl
260     html/CanvasRenderingContext2D.idl
261     html/HTMLAnchorElement.idl
262     html/HTMLAppletElement.idl
263     html/HTMLAreaElement.idl
264     html/HTMLBaseElement.idl
265     html/HTMLBaseFontElement.idl
266     html/HTMLBlockquoteElement.idl
267     html/HTMLBodyElement.idl
268     html/HTMLBRElement.idl
269     html/HTMLButtonElement.idl
270     html/HTMLCanvasElement.idl
271     html/HTMLDirectoryElement.idl
272     html/HTMLDivElement.idl
273     html/HTMLDListElement.idl
274     html/HTMLDocument.idl
275     html/HTMLElement.idl
276     html/HTMLFieldSetElement.idl
277     html/HTMLFontElement.idl
278     html/HTMLFormElement.idl
279     html/HTMLHeadElement.idl
280     html/HTMLHeadingElement.idl
281     html/HTMLHRElement.idl
282     html/HTMLHtmlElement.idl
283     html/HTMLImageElement.idl
284     html/HTMLInputElement.idl
285     html/HTMLIsIndexElement.idl
286     html/HTMLLabelElement.idl
287     html/HTMLLegendElement.idl
288     html/HTMLLIElement.idl
289     html/HTMLLinkElement.idl
290     html/HTMLMapElement.idl
291     html/HTMLMenuElement.idl
292     html/HTMLMetaElement.idl
293     html/HTMLModElement.idl
294     html/HTMLOListElement.idl
295     html/HTMLOptGroupElement.idl
296     html/HTMLOptionElement.idl
297     html/HTMLOptionsCollection.idl
298     html/HTMLParagraphElement.idl
299     html/HTMLParamElement.idl
300     html/HTMLPreElement.idl
301     html/HTMLQuoteElement.idl
302     html/HTMLScriptElement.idl
303     html/HTMLStyleElement.idl
304     html/HTMLTextAreaElement.idl
305     html/HTMLTitleElement.idl
306     html/HTMLUListElement.idl
307
308     page/DOMWindow.idl
309
310     xml/DOMParser.idl
311     xml/XMLSerializer.idl
312
313     ${IDL_BINDINGS_SVG}
314     ${IDL_BINDINGS_XPATH}
315 )
316
317 set(WebCore-unity-IDLGeneratedSources )
318
319 # create these files at build time on demand, not everytime at cmake-time, Alex
320 foreach (idl ${IDL_BINDINGS})
321    get_filename_component(_basename ${idl} NAME_WE)
322    add_custom_command(OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/JS${_basename}.cpp ${CMAKE_CURRENT_BINARY_DIR}/JS${_basename}.h
323       COMMAND perl -I${CMAKE_CURRENT_SOURCE_DIR}/bindings/scripts ${CMAKE_CURRENT_SOURCE_DIR}/bindings/scripts/generate-bindings.pl  --defines \"${FEATURE_DEFINES_JAVASCRIPT}\" --generator JS --include ${CMAKE_SOURCE_DIR}/WebCore/dom --include ${CMAKE_SOURCE_DIR}/WebCore/html --include ${CMAKE_SOURCE_DIR}/WebCore/xml --include ${CMAKE_SOURCE_DIR}/WebCore/ksvg2/svg --outputdir ${CMAKE_CURRENT_BINARY_DIR} ${CMAKE_CURRENT_SOURCE_DIR}/${idl}
324       DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/${idl} ${CMAKE_CURRENT_SOURCE_DIR}/bindings/scripts/CodeGenerator.pm ${CMAKE_CURRENT_SOURCE_DIR}/bindings/scripts/CodeGeneratorJS.pm)
325    set(WebCore-unity-IDLGeneratedSources ${WebCore-unity-IDLGeneratedSources} ${CMAKE_CURRENT_BINARY_DIR}/JS${_basename}.cpp ${CMAKE_CURRENT_BINARY_DIR}/JS${_basename}.h )
326 endforeach (idl)
327
328 set(CREATE_HASH_TABLE ${CMAKE_CURRENT_SOURCE_DIR}/../JavaScriptCore/kjs/create_hash_table )
329
330 macro(CREATE_LUT _srcs_LIST _in_FILE _out_FILE _dep_FILE)
331
332    add_custom_command(OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/${_out_FILE}
333       COMMAND ${PERL_EXECUTABLE} ${CREATE_HASH_TABLE} ${CMAKE_CURRENT_SOURCE_DIR}/${_in_FILE} -i > ${CMAKE_CURRENT_BINARY_DIR}/${_out_FILE}
334       DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/${_in_FILE} ${CMAKE_CURRENT_SOURCE_DIR}/${_dep_FILE} )
335    set( ${_srcs_LIST}  ${${_srcs_LIST}} ${CMAKE_CURRENT_BINARY_DIR}/${_out_FILE})
336 endmacro(CREATE_LUT)
337
338 macro(CREATE_CPP_LUT _in_FILE _out_FILE _dep_FILE)
339    add_custom_command(OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/${_out_FILE}
340       COMMAND ${PERL_EXECUTABLE} ${CREATE_HASH_TABLE} ${CMAKE_CURRENT_SOURCE_DIR}/${_in_FILE} -i > ${CMAKE_CURRENT_BINARY_DIR}/${_out_FILE}
341       DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/${_in_FILE} ${CMAKE_CURRENT_SOURCE_DIR}/${_dep_FILE} )
342 endmacro(CREATE_CPP_LUT)
343
344
345 create_lut( WebCore-unity_LIB_SRCS bindings/js/kjs_css.cpp kjs_css.lut.h bindings/js/kjs_css.cpp )
346 create_lut( WebCore-unity_LIB_SRCS bindings/js/kjs_dom.cpp kjs_dom.lut.h bindings/js/kjs_dom.cpp )
347 create_lut( WebCore-unity_LIB_SRCS bindings/js/kjs_events.cpp kjs_events.lut.h bindings/js/kjs_events.cpp )
348 create_lut( WebCore-unity_LIB_SRCS bindings/js/kjs_html.cpp kjs_html.lut.h bindings/js/kjs_html.cpp )
349 create_lut( WebCore-unity_LIB_SRCS bindings/js/kjs_navigator.cpp kjs_navigator.lut.h bindings/js/kjs_navigator.cpp )
350 create_lut( WebCore-unity_LIB_SRCS bindings/js/kjs_traversal.cpp kjs_traversal.lut.h bindings/js/kjs_traversal.cpp )
351 create_lut( WebCore-unity_LIB_SRCS bindings/js/kjs_window.cpp kjs_window.lut.h bindings/js/kjs_window.cpp )
352 create_lut( WebCore-unity_LIB_SRCS bindings/js/JSXMLHttpRequest.cpp JSXMLHttpRequest.lut.h bindings/js/JSXMLHttpRequest.cpp )
353 create_lut( WebCore-unity_LIB_SRCS bindings/js/JSXSLTProcessor.cpp JSXSLTProcessor.lut.h bindings/js/JSXSLTProcessor.cpp )
354
355 # now this is ugly
356 # WebKit sources include some generated files which have the suffix ".cpp"
357 # the CMake way to create the dependencies of targets to generated files is
358 # to list the generated files as part of the sources for the target.
359 # If this would be done for the generated-and-then-included cpp-files
360 # they would be compiled twice (once included and once on their own).
361 # The easy way would be to rename the generated files to use the suffix
362 # ".inl" or something like this. But this is not wanted by the WebKit developers
363 # AFAIK. So we have to work around it here. This is done by renaming the
364 # generated files to *.inl and adding these files to the list of sources
365 # (WebCore-unity_LIB_SRCS). But the include-statements still want a cpp-file,
366 # so tell CMake to create these cpp-files at cmake-time, but these files contain
367 # nothing except an include-statement for the inl-file. Alex
368 macro(CREATE_GENERATED_CPP_HELPER  _inlName)
369    get_filename_component(_baseName ${_inlName} NAME_WE)
370    if (NOT EXISTS ${CMAKE_CURRENT_BINARY_DIR}/${_baseName}.cpp)
371       file(WRITE ${CMAKE_CURRENT_BINARY_DIR}/${_baseName}.cpp
372 "/* This file is autogenerated by CMake.                                       *
373  * Do not edit, changes will be lost.                                         *
374  * With the CMake buildsystem giving generated-but-not-compiled-on-their-own  *
375  * files the suffix \".cpp\" is not recommended, because it breaks the          *
376  * dependency handling. So the actual generated file has the suffix \".inl\"    *
377  * and this file here only exists as a helper.                                */
378 #include \"${CMAKE_CURRENT_BINARY_DIR}/${_inlName}\"\n")
379    endif (NOT EXISTS ${CMAKE_CURRENT_BINARY_DIR}/${_baseName}.cpp)
380    set(WebCore-unity_LIB_SRCS ${WebCore-unity_LIB_SRCS} ${CMAKE_CURRENT_BINARY_DIR}/${_inlName})
381 endmacro(CREATE_GENERATED_CPP_HELPER  _inlName)
382
383 create_cpp_lut( bindings/js/JSHTMLInputElementBase.cpp JSHTMLInputElementBaseTable.inl bindings/js/JSHTMLInputElementBase.cpp )
384 create_generated_cpp_helper( JSHTMLInputElementBaseTable.inl)
385
386 IF (WEBKIT_USE_SVG_SUPPORT)
387     create_cpp_lut( bindings/js/JSSVGNumber.cpp JSSVGNumberTable.inl bindings/js/JSSVGNumber.cpp )
388     create_generated_cpp_helper( JSSVGNumberTable.inl )
389
390     create_cpp_lut( bindings/js/JSSVGPoint.cpp JSSVGPointTable.inl bindings/js/JSSVGPoint.cpp )
391     create_generated_cpp_helper( JSSVGPointTable.inl )
392
393     create_cpp_lut( bindings/js/JSSVGRect.cpp JSSVGRectTable.inl bindings/js/JSSVGRect.cpp )
394     create_generated_cpp_helper( JSSVGRectTable.inl )
395 ENDIF (WEBKIT_USE_SVG_SUPPORT)
396
397 add_custom_command(OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/tokenizer.inl
398   COMMAND flex -t < ${CMAKE_CURRENT_SOURCE_DIR}/css/tokenizer.flex | perl ${CMAKE_CURRENT_SOURCE_DIR}/css/maketokenizer > ${CMAKE_CURRENT_BINARY_DIR}/tokenizer.inl
399   DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/css/tokenizer.flex
400 )
401 create_generated_cpp_helper( tokenizer.inl )
402
403 add_custom_command(OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/CSSPropertyNames.h ${CMAKE_CURRENT_BINARY_DIR}/CSSPropertyNames.c
404
405   WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
406   COMMAND cp ${CMAKE_CURRENT_SOURCE_DIR}/css/CSSPropertyNames.in ${CMAKE_CURRENT_BINARY_DIR}/CSSPropertyNames.in
407   COMMAND sh ${CMAKE_CURRENT_SOURCE_DIR}/css/makeprop
408
409   DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/css/CSSPropertyNames.in
410 )
411
412 add_custom_command(OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/CSSValueKeywords.h ${CMAKE_CURRENT_BINARY_DIR}/CSSValueKeywords.c
413
414   WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
415   COMMAND cp ${CMAKE_CURRENT_SOURCE_DIR}/css/CSSValueKeywords.in ${CMAKE_CURRENT_BINARY_DIR}
416   COMMAND sh ${CMAKE_CURRENT_SOURCE_DIR}/css/makevalues
417
418   DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/css/CSSValueKeywords.in
419 )
420
421 add_custom_command(OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/CSSGrammar.cpp ${CMAKE_CURRENT_BINARY_DIR}/CSSGrammar.h
422   WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
423   COMMAND ${BISON_EXECUTABLE} -d -p cssyy ${CMAKE_CURRENT_SOURCE_DIR}/css/CSSGrammar.y
424   COMMAND mv CSSGrammar.tab.c ${CMAKE_CURRENT_BINARY_DIR}/CSSGrammar.cpp
425   #COMMAND rm -f CSSGrammar.tab.h
426   #COMMAND touch CSSGrammar.h
427   COMMAND mv CSSGrammar.tab.h ${CMAKE_CURRENT_BINARY_DIR}/CSSGrammar.h
428   DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/css/CSSGrammar.y
429 )
430
431 add_custom_command(OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/XPathGrammar.cpp ${CMAKE_CURRENT_BINARY_DIR}/XPathGrammar.h
432   WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
433   COMMAND ${BISON_EXECUTABLE} -d -p xpathyy ${CMAKE_CURRENT_SOURCE_DIR}/xml/XPathGrammar.y
434   COMMAND mv XPathGrammar.tab.c ${CMAKE_CURRENT_BINARY_DIR}/XPathGrammar.cpp
435   #COMMAND rm -f XPathGrammar.tab.h
436   #COMMAND touch XPathGrammar.h
437   COMMAND mv XPathGrammar.tab.h ${CMAKE_CURRENT_BINARY_DIR}/XPathGrammar.h
438   DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/xml/XPathGrammar.y
439 )
440
441 add_custom_command(OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/html/HTMLNames.cpp ${CMAKE_CURRENT_BINARY_DIR}/html/HTMLNames.h
442   WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
443   COMMAND mkdir -p ${CMAKE_CURRENT_BINARY_DIR}/html
444   COMMAND perl ${CMAKE_CURRENT_SOURCE_DIR}/ksvg2/scripts/make_names.pl --tags ${CMAKE_CURRENT_SOURCE_DIR}/html/HTMLTagNames.in --attrs ${CMAKE_CURRENT_SOURCE_DIR}/html/HTMLAttributeNames.in --namespace HTML --namespacePrefix xhtml --cppNamespace WebCore --namespaceURI "http://www.w3.org/1999/xhtml" --attrsNullNamespace --output html
445
446   DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/html/HTMLTagNames.in ${CMAKE_CURRENT_SOURCE_DIR}/html/HTMLAttributeNames.in
447 )
448
449 add_custom_command(OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/ksvg2/svg/SVGNames.cpp ${CMAKE_CURRENT_BINARY_DIR}/ksvg2/svg/SVGNames.h ${CMAKE_CURRENT_BINARY_DIR}/ksvg2/svg/SVGElementFactory.cpp ${CMAKE_CURRENT_BINARY_DIR}/ksvg2/svg/SVGElementFactory.h
450   WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
451   COMMAND mkdir -p ${CMAKE_CURRENT_BINARY_DIR}/ksvg2/svg
452   COMMAND perl ${CMAKE_CURRENT_SOURCE_DIR}/ksvg2/scripts/make_names.pl --tags ${CMAKE_CURRENT_SOURCE_DIR}/ksvg2/svg/svgtags.in --attrs ${CMAKE_CURRENT_SOURCE_DIR}/ksvg2/svg/svgattrs.in --namespace SVG --cppNamespace WebCore --namespaceURI "http://www.w3.org/2000/svg" --factory --attrsNullNamespace --output ksvg2/svg
453
454   DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/ksvg2/svg/svgtags.in ${CMAKE_CURRENT_SOURCE_DIR}/ksvg2/svg/svgattrs.in
455 )
456
457 add_custom_command(OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/ksvg2/misc/XLinkNames.cpp ${CMAKE_CURRENT_BINARY_DIR}/ksvg2/misc/XLinkNames.h
458   WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
459   COMMAND mkdir -p ${CMAKE_CURRENT_BINARY_DIR}/ksvg2/misc
460   COMMAND perl ${CMAKE_CURRENT_SOURCE_DIR}/ksvg2/scripts/make_names.pl --attrs ${CMAKE_CURRENT_SOURCE_DIR}/ksvg2/misc/xlinkattrs.in --namespace XLink --cppNamespace WebCore --namespaceURI "http://www.w3.org/1999/xlink" --output ksvg2/misc
461
462   DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/ksvg2/misc/xlinkattrs.in
463 )
464
465 add_custom_command(OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/xml/XMLNames.cpp ${CMAKE_CURRENT_BINARY_DIR}/xml/XMLNames.h
466   WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
467   COMMAND mkdir -p ${CMAKE_CURRENT_BINARY_DIR}/xml
468   COMMAND perl ${CMAKE_CURRENT_SOURCE_DIR}/ksvg2/scripts/make_names.pl --attrs ${CMAKE_CURRENT_SOURCE_DIR}/xml/xmlattrs.in --namespace XML --cppNamespace WebCore --namespaceURI "http://www.w3.org/XML/1998/namespace" --output xml
469
470   DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/xml/xmlattrs.in
471 )
472
473 add_custom_command(OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/html/HTMLEntityNames.c
474   WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
475   COMMAND mkdir -p html
476   COMMAND echo '\#include <string.h>' > html/HTMLEntityNames.c
477   COMMAND ${GPERF_EXECUTABLE} -a -L ANSI-C -C -G -c -o -t -k '*' -N findEntity -D -s 2 < ${CMAKE_CURRENT_SOURCE_DIR}/html/HTMLEntityNames.gperf >> html/HTMLEntityNames.c
478
479   DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/html/HTMLEntityNames.gperf
480 )
481
482 add_custom_command(OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/html/DocTypeStrings.cpp
483   WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
484   COMMAND mkdir -p html
485   COMMAND echo '\#include <string.h>' > html/DocTypeStrings.cpp
486   COMMAND ${GPERF_EXECUTABLE} -CEot -L ANSI-C -k \"*\" -N findDoctypeEntry -F ,PubIDInfo::eAlmostStandards,PubIDInfo::eAlmostStandards < ${CMAKE_CURRENT_SOURCE_DIR}/html/DocTypeStrings.gperf >> html/DocTypeStrings.cpp
487   DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/html/DocTypeStrings.gperf
488 )
489
490 add_custom_command(OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/platform/ColorData.c
491   WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
492   COMMAND mkdir -p platform
493   COMMAND echo '\#include <string.h>' > platform/ColorData.c
494   COMMAND ${GPERF_EXECUTABLE} -CDEot -L ANSI-C -k \"*\" -N findColor -D -s 2 < ${CMAKE_CURRENT_SOURCE_DIR}/platform/ColorData.gperf >> platform/ColorData.c
495   DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/platform/ColorData.gperf
496 )
497
498 add_custom_command(OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/ksvgcssproperties.h
499   COMMAND cp ${CMAKE_CURRENT_SOURCE_DIR}/ksvg2/css/CSSPropertyNames.in ${CMAKE_CURRENT_BINARY_DIR}/ksvgcssproperties.in
500   COMMAND perl ${CMAKE_CURRENT_SOURCE_DIR}/ksvg2/scripts/cssmakeprops -n SVG -f ksvgcssproperties.in
501   DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/ksvg2/scripts/cssmakeprops ${CMAKE_CURRENT_SOURCE_DIR}/ksvg2/css/CSSPropertyNames.in
502 )
503
504 add_custom_command(OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/ksvgcssvalues.h
505   WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
506   COMMAND perl -ne 'print lc' ${CMAKE_CURRENT_SOURCE_DIR}/ksvg2/css/CSSValueKeywords.in > ksvgcssvalues.in
507   COMMAND perl ${CMAKE_CURRENT_SOURCE_DIR}/ksvg2/scripts/cssmakevalues -n SVG -f ksvgcssvalues.in
508   DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/ksvg2/scripts/cssmakevalues ${CMAKE_CURRENT_SOURCE_DIR}/ksvg2/css/CSSValueKeywords.in
509 )
510
511 add_custom_command(OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/UserAgentStyleSheets.h ${CMAKE_CURRENT_BINARY_DIR}/UserAgentStyleSheetsData.cpp
512   COMMAND perl ${CMAKE_CURRENT_SOURCE_DIR}/css/make-css-file-arrays.pl ${CMAKE_CURRENT_BINARY_DIR}/UserAgentStyleSheets.h ${CMAKE_CURRENT_BINARY_DIR}/UserAgentStyleSheetsData.cpp ${CMAKE_CURRENT_SOURCE_DIR}/css/html4.css ${CMAKE_CURRENT_SOURCE_DIR}/css/quirks.css ${CMAKE_CURRENT_SOURCE_DIR}/css/svg.css ${CMAKE_CURRENT_SOURCE_DIR}/css/view-source.css
513   DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/css/html4.css ${CMAKE_CURRENT_SOURCE_DIR}/css/quirks.css ${CMAKE_CURRENT_SOURCE_DIR}/css/svg.css
514 )
515
516 # source stuff
517 if (WEBKIT_USE_XPATH_SUPPORT)
518 SET (XPATH_SOURCES
519     ${CMAKE_CURRENT_BINARY_DIR}/XPathGrammar.cpp
520     ${CMAKE_CURRENT_BINARY_DIR}/XPathGrammar.h
521 )
522 ENDIF (WEBKIT_USE_XPATH_SUPPORT)
523
524 IF (WEBKIT_USE_SVG_SUPPORT)
525 set (SVG_SOURCES
526     ${CMAKE_CURRENT_BINARY_DIR}/ksvg2/misc/XLinkNames.cpp
527     ${CMAKE_CURRENT_BINARY_DIR}/ksvg2/svg/SVGElementFactory.cpp
528     ${CMAKE_CURRENT_BINARY_DIR}/ksvg2/svg/SVGNames.cpp
529     ${CMAKE_CURRENT_BINARY_DIR}/xml/XMLNames.cpp
530
531     bindings/js/JSSVGElementWrapperFactory.cpp
532     bindings/js/JSSVGNumber.cpp
533     bindings/js/JSSVGPoint.cpp
534     bindings/js/JSSVGRect.cpp
535
536     ksvg2/css/SVGCSSParser.cpp
537     ksvg2/css/SVGCSSStyleSelector.cpp
538     ksvg2/css/SVGRenderStyle.cpp
539     ksvg2/css/SVGRenderStyleDefs.cpp
540
541     ksvg2/events/JSSVGLazyEventListener.cpp
542     ksvg2/events/SVGZoomEvent.cpp
543
544     ksvg2/misc/KCanvasRenderingStyle.cpp
545     ksvg2/misc/KSVGTimeScheduler.cpp
546     ksvg2/misc/SVGDocumentExtensions.cpp
547     ksvg2/misc/SVGImageLoader.cpp
548
549     ksvg2/svg/SVGAElement.cpp
550     ksvg2/svg/SVGAngle.cpp
551     ksvg2/svg/SVGAnimateColorElement.cpp
552     ksvg2/svg/SVGAnimatedPathData.cpp
553     ksvg2/svg/SVGAnimatedPoints.cpp
554     ksvg2/svg/SVGAnimateElement.cpp
555     ksvg2/svg/SVGAnimateTransformElement.cpp
556     ksvg2/svg/SVGAnimationElement.cpp
557     ksvg2/svg/SVGCircleElement.cpp
558     ksvg2/svg/SVGClipPathElement.cpp
559     ksvg2/svg/SVGColor.cpp
560     ksvg2/svg/SVGComponentTransferFunctionElement.cpp
561     ksvg2/svg/SVGCursorElement.cpp
562     ksvg2/svg/SVGDefsElement.cpp
563     ksvg2/svg/SVGDescElement.cpp
564     ksvg2/svg/SVGDocument.cpp
565     ksvg2/svg/SVGDOMImplementation.cpp
566     ksvg2/svg/SVGElement.cpp
567 #   ksvg2/svg/SVGElementInstance.cpp
568 #   ksvg2/svg/SVGElementInstanceList.cpp
569     ksvg2/svg/SVGEllipseElement.cpp
570     ksvg2/svg/SVGExternalResourcesRequired.cpp
571     ksvg2/svg/SVGFEBlendElement.cpp
572     ksvg2/svg/SVGFEColorMatrixElement.cpp
573     ksvg2/svg/SVGFEComponentTransferElement.cpp
574     ksvg2/svg/SVGFECompositeElement.cpp
575     ksvg2/svg/SVGFEDiffuseLightingElement.cpp
576     ksvg2/svg/SVGFEDisplacementMapElement.cpp
577     ksvg2/svg/SVGFEDistantLightElement.cpp
578     ksvg2/svg/SVGFEFloodElement.cpp
579     ksvg2/svg/SVGFEFuncAElement.cpp
580     ksvg2/svg/SVGFEFuncBElement.cpp
581     ksvg2/svg/SVGFEFuncGElement.cpp
582     ksvg2/svg/SVGFEFuncRElement.cpp
583     ksvg2/svg/SVGFEGaussianBlurElement.cpp
584     ksvg2/svg/SVGFEImageElement.cpp
585     ksvg2/svg/SVGFELightElement.cpp
586     ksvg2/svg/SVGFEMergeElement.cpp
587     ksvg2/svg/SVGFEMergeNodeElement.cpp
588     ksvg2/svg/SVGFEOffsetElement.cpp
589     ksvg2/svg/SVGFEPointLightElement.cpp
590     ksvg2/svg/SVGFESpecularLightingElement.cpp
591     ksvg2/svg/SVGFESpotLightElement.cpp
592     ksvg2/svg/SVGFETileElement.cpp
593     ksvg2/svg/SVGFETurbulenceElement.cpp
594     ksvg2/svg/SVGFilterElement.cpp
595     ksvg2/svg/SVGFilterPrimitiveStandardAttributes.cpp
596     ksvg2/svg/SVGFitToViewBox.cpp
597     ksvg2/svg/SVGForeignObjectElement.cpp
598     ksvg2/svg/SVGGElement.cpp
599     ksvg2/svg/SVGGradientElement.cpp
600     ksvg2/svg/SVGHelper.cpp
601     ksvg2/svg/SVGImageElement.cpp
602     ksvg2/svg/SVGLangSpace.cpp
603     ksvg2/svg/SVGLength.cpp
604     ksvg2/svg/SVGLengthList.cpp
605     ksvg2/svg/SVGLinearGradientElement.cpp
606     ksvg2/svg/SVGLineElement.cpp
607     ksvg2/svg/SVGLocatable.cpp
608     ksvg2/svg/SVGMarkerElement.cpp
609     ksvg2/svg/SVGMaskElement.cpp
610     ksvg2/svg/SVGMatrix.cpp
611     ksvg2/svg/SVGMetadataElement.cpp
612     ksvg2/svg/SVGNumberList.cpp
613     ksvg2/svg/SVGPaint.cpp
614     ksvg2/svg/SVGPathElement.cpp
615     ksvg2/svg/svgpathparser.cpp
616     ksvg2/svg/SVGPathSegArc.cpp
617     ksvg2/svg/SVGPathSegClosePath.cpp
618     ksvg2/svg/SVGPathSeg.cpp
619     ksvg2/svg/SVGPathSegCurvetoCubic.cpp
620     ksvg2/svg/SVGPathSegCurvetoCubicSmooth.cpp
621     ksvg2/svg/SVGPathSegCurvetoQuadratic.cpp
622     ksvg2/svg/SVGPathSegCurvetoQuadraticSmooth.cpp
623     ksvg2/svg/SVGPathSegLineto.cpp
624     ksvg2/svg/SVGPathSegLinetoHorizontal.cpp
625     ksvg2/svg/SVGPathSegLinetoVertical.cpp
626     ksvg2/svg/SVGPathSegList.cpp
627     ksvg2/svg/SVGPathSegMoveto.cpp
628     ksvg2/svg/SVGPatternElement.cpp
629     ksvg2/svg/SVGPointList.cpp
630     ksvg2/svg/SVGPolyElement.cpp
631     ksvg2/svg/SVGPolygonElement.cpp
632     ksvg2/svg/SVGPolylineElement.cpp
633     ksvg2/svg/SVGPreserveAspectRatio.cpp
634     ksvg2/svg/SVGRadialGradientElement.cpp
635     ksvg2/svg/SVGRectElement.cpp
636     ksvg2/svg/SVGScriptElement.cpp
637     ksvg2/svg/SVGSetElement.cpp
638     ksvg2/svg/SVGStopElement.cpp
639     ksvg2/svg/SVGStringList.cpp
640     ksvg2/svg/SVGStylable.cpp
641     ksvg2/svg/SVGStyledElement.cpp
642     ksvg2/svg/SVGStyledLocatableElement.cpp
643     ksvg2/svg/SVGStyledTransformableElement.cpp
644     ksvg2/svg/SVGStyleElement.cpp
645     ksvg2/svg/SVGSVGElement.cpp
646     ksvg2/svg/SVGSwitchElement.cpp
647     ksvg2/svg/SVGSymbolElement.cpp
648     ksvg2/svg/SVGTests.cpp
649     ksvg2/svg/SVGTextContentElement.cpp
650     ksvg2/svg/SVGTextElement.cpp
651     ksvg2/svg/SVGTextPositioningElement.cpp
652     ksvg2/svg/SVGTitleElement.cpp
653     ksvg2/svg/SVGTransformable.cpp
654     ksvg2/svg/SVGTransform.cpp
655     ksvg2/svg/SVGTransformList.cpp
656     ksvg2/svg/SVGTRefElement.cpp
657     ksvg2/svg/SVGTSpanElement.cpp
658     ksvg2/svg/SVGURIReference.cpp
659     ksvg2/svg/SVGUseElement.cpp
660     ksvg2/svg/SVGViewElement.cpp
661     ksvg2/svg/SVGZoomAndPan.cpp
662
663     rendering/RenderForeignObject.cpp
664     rendering/RenderPath.cpp
665     rendering/RenderSVGBlock.cpp
666     rendering/RenderSVGContainer.cpp
667     rendering/RenderSVGImage.cpp
668     rendering/RenderSVGInline.cpp
669     rendering/RenderSVGInlineText.cpp
670     rendering/RenderSVGText.cpp
671     rendering/RenderSVGTSpan.cpp
672     rendering/SVGInlineFlowBox.cpp
673     rendering/SVGRootInlineBox.cpp
674 )
675 ENDIF(WEBKIT_USE_SVG_SUPPORT)
676
677 set(WebCore_SRCS
678     ${WebCore-unity_LIB_SRCS}
679
680     # Generated files first
681     ${CMAKE_CURRENT_BINARY_DIR}/CSSGrammar.cpp
682     ${CMAKE_CURRENT_BINARY_DIR}/CSSGrammar.h
683     ${CMAKE_CURRENT_BINARY_DIR}/CSSPropertyNames.h
684     ${CMAKE_CURRENT_BINARY_DIR}/CSSValueKeywords.h
685     ${CMAKE_CURRENT_BINARY_DIR}/html/DocTypeStrings.cpp
686     ${CMAKE_CURRENT_BINARY_DIR}/html/HTMLEntityNames.c
687     ${CMAKE_CURRENT_BINARY_DIR}/html/HTMLNames.cpp
688     ${CMAKE_CURRENT_BINARY_DIR}/ksvgcssproperties.h
689     ${CMAKE_CURRENT_BINARY_DIR}/ksvgcssvalues.h
690     ${CMAKE_CURRENT_BINARY_DIR}/platform/ColorData.c
691     ${CMAKE_CURRENT_BINARY_DIR}/UserAgentStyleSheetsData.cpp
692     ${CMAKE_CURRENT_BINARY_DIR}/UserAgentStyleSheets.h
693
694     # Hand-written JavaScript bindings
695     bindings/js/kjs_binding.cpp
696     bindings/js/kjs_css.cpp
697     bindings/js/kjs_dom.cpp
698     bindings/js/kjs_events.cpp
699     bindings/js/kjs_html.cpp
700     bindings/js/kjs_navigator.cpp
701     bindings/js/kjs_proxy.cpp
702     bindings/js/kjs_traversal.cpp
703     bindings/js/kjs_window.cpp
704
705     # Custom JavaScript object implementations
706     bindings/js/JSCanvasRenderingContext2DCustom.cpp
707     bindings/js/JSHTMLElementWrapperFactory.cpp
708     bindings/js/JSHTMLFormElementCustom.cpp
709     bindings/js/JSHTMLInputElementBase.cpp
710     bindings/js/JSHTMLOptionElementConstructor.cpp
711     bindings/js/JSHTMLOptionsCollectionCustom.cpp
712     bindings/js/JSNodeIteratorCustom.cpp
713     bindings/js/JSTreeWalkerCustom.cpp
714     bindings/js/JSXMLHttpRequest.cpp
715     bindings/js/JSXSLTProcessor.cpp
716
717     css/CSSBorderImageValue.cpp
718     css/CSSCharsetRule.cpp
719     css/CSSComputedStyleDeclaration.cpp
720     css/CSSCursorImageValue.cpp
721     css/CSSFontFaceRule.cpp
722     css/csshelper.cpp
723     css/CSSImageValue.cpp
724     css/CSSImportRule.cpp
725     css/CSSInheritedValue.cpp
726     css/CSSInitialValue.cpp
727     css/CSSMediaRule.cpp
728     css/CSSMutableStyleDeclaration.cpp
729     css/CSSPageRule.cpp
730     css/cssparser.cpp
731     css/CSSPrimitiveValue.cpp
732     css/CSSProperty.cpp
733     css/CSSRule.cpp
734     css/CSSRuleList.cpp
735     css/CSSSelector.cpp
736     css/CSSStyleDeclaration.cpp
737     css/CSSStyleRule.cpp
738     css/cssstyleselector.cpp
739     css/CSSStyleSheet.cpp
740     css/CSSValueList.cpp
741     css/FontFamilyValue.cpp
742     css/FontValue.cpp
743     css/MediaFeatureNames.cpp
744     css/MediaList.cpp
745     css/MediaQuery.cpp
746     css/MediaQueryEvaluator.cpp
747     css/MediaQueryExp.cpp
748     css/ShadowValue.cpp
749     css/StyleBase.cpp
750     css/StyleList.cpp
751     css/StyleSheet.cpp
752     css/StyleSheetList.cpp
753
754     dom/Attr.cpp
755     dom/Attribute.cpp
756     dom/BeforeTextInsertedEvent.cpp
757     dom/BeforeUnloadEvent.cpp
758     dom/CDATASection.cpp
759     dom/CharacterData.cpp
760     dom/ChildNodeList.cpp
761     dom/ClipboardEvent.cpp
762     dom/Comment.cpp
763     dom/ContainerNode.cpp
764     dom/CSSMappedAttributeDeclaration.cpp
765     dom/Document.cpp
766     dom/DocumentFragment.cpp
767     dom/DocumentType.cpp
768     dom/DOMImplementation.cpp
769     dom/EditingText.cpp
770     dom/Element.cpp
771     dom/Entity.cpp
772     dom/EntityReference.cpp
773     dom/Event.cpp
774     dom/EventNames.cpp
775     dom/EventTargetNode.cpp
776     dom/KeyboardEvent.cpp
777     dom/MappedAttribute.cpp
778     dom/MouseEvent.cpp
779     dom/MouseRelatedEvent.cpp
780     dom/MutationEvent.cpp
781     dom/NamedAttrMap.cpp
782     dom/NamedMappedAttrMap.cpp
783     dom/NameNodeList.cpp
784     dom/Node.cpp
785     dom/NodeFilterCondition.cpp
786     dom/NodeFilter.cpp
787     dom/NodeIterator.cpp
788     dom/NodeList.cpp
789     dom/Notation.cpp
790     dom/OverflowEvent.cpp
791     dom/Position.cpp
792     dom/ProcessingInstruction.cpp
793     dom/QualifiedName.cpp
794     dom/Range.cpp
795     dom/RegisteredEventListener.cpp
796     dom/StyleElement.cpp
797     dom/StyledElement.cpp
798     dom/Text.cpp
799     dom/Traversal.cpp
800     dom/TreeWalker.cpp
801     dom/UIEvent.cpp
802     dom/UIEventWithKeyState.cpp
803     dom/WheelEvent.cpp
804     dom/XMLTokenizer.cpp
805
806     editing/AppendNodeCommand.cpp
807     editing/ApplyStyleCommand.cpp
808     editing/BreakBlockquoteCommand.cpp
809     editing/CommandByName.cpp
810     editing/CompositeEditCommand.cpp
811     editing/CreateLinkCommand.cpp
812     editing/DeleteButtonController.cpp
813     editing/DeleteButton.cpp
814     editing/DeleteFromTextNodeCommand.cpp
815     editing/DeleteSelectionCommand.cpp
816     editing/EditCommand.cpp
817     editing/Editor.cpp
818     editing/FormatBlockCommand.cpp
819     editing/htmlediting.cpp
820     editing/HTMLInterchange.cpp
821     editing/IndentOutdentCommand.cpp
822     editing/InsertIntoTextNodeCommand.cpp
823     editing/InsertLineBreakCommand.cpp
824     editing/InsertListCommand.cpp
825     editing/InsertNodeBeforeCommand.cpp
826     editing/InsertParagraphSeparatorCommand.cpp
827     editing/InsertTextCommand.cpp
828     editing/JoinTextNodesCommand.cpp
829     editing/JSEditor.cpp
830     editing/markup.cpp
831     editing/MergeIdenticalElementsCommand.cpp
832     editing/ModifySelectionListLevel.cpp
833     editing/MoveSelectionCommand.cpp
834     editing/RemoveCSSPropertyCommand.cpp
835     editing/RemoveNodeAttributeCommand.cpp
836     editing/RemoveNodeCommand.cpp
837     editing/RemoveNodePreservingChildrenCommand.cpp
838     editing/ReplaceSelectionCommand.cpp
839     editing/SelectionController.cpp
840     editing/Selection.cpp
841     editing/SetNodeAttributeCommand.cpp
842     editing/SplitElementCommand.cpp
843     editing/SplitTextNodeCommand.cpp
844     editing/SplitTextNodeContainingElementCommand.cpp
845     editing/TextIterator.cpp
846     editing/TypingCommand.cpp
847     editing/UnlinkCommand.cpp
848     editing/VisiblePosition.cpp
849     editing/visible_units.cpp
850     editing/WrapContentsInDummySpanCommand.cpp
851     editing/qt/EditorQt.cpp
852
853     html/CanvasGradient.cpp
854     html/CanvasPattern.cpp
855     html/CanvasRenderingContext2D.cpp
856     html/CanvasStyle.cpp
857     html/FormDataList.cpp
858     html/HTMLAnchorElement.cpp
859     html/HTMLAppletElement.cpp
860     html/HTMLAreaElement.cpp
861     html/HTMLBaseElement.cpp
862     html/HTMLBaseFontElement.cpp
863     html/HTMLBlockquoteElement.cpp
864     html/HTMLBodyElement.cpp
865     html/HTMLBRElement.cpp
866     html/HTMLButtonElement.cpp
867     html/HTMLCanvasElement.cpp
868     html/HTMLCollection.cpp
869     html/HTMLDirectoryElement.cpp
870     html/HTMLDivElement.cpp
871     html/HTMLDListElement.cpp
872     html/HTMLDocument.cpp
873     html/HTMLElement.cpp
874     html/HTMLElementFactory.cpp
875     html/HTMLEmbedElement.cpp
876     html/HTMLFieldSetElement.cpp
877     html/HTMLFontElement.cpp
878     html/HTMLFormCollection.cpp
879     html/HTMLFormElement.cpp
880     html/HTMLFrameElementBase.cpp
881     html/HTMLFrameElement.cpp
882     html/HTMLFrameSetElement.cpp
883     html/HTMLGenericFormElement.cpp
884     html/HTMLHeadElement.cpp
885     html/HTMLHeadingElement.cpp
886     html/HTMLHRElement.cpp
887     html/HTMLHtmlElement.cpp
888     html/HTMLIFrameElement.cpp
889     html/HTMLImageElement.cpp
890     html/HTMLImageLoader.cpp
891     html/HTMLInputElement.cpp
892     html/HTMLIsIndexElement.cpp
893     html/HTMLKeygenElement.cpp
894     html/HTMLLabelElement.cpp
895     html/HTMLLegendElement.cpp
896     html/HTMLLIElement.cpp
897     html/HTMLLinkElement.cpp
898     html/HTMLMapElement.cpp
899     html/HTMLMarqueeElement.cpp
900     html/HTMLMenuElement.cpp
901     html/HTMLMetaElement.cpp
902     html/HTMLModElement.cpp
903     html/HTMLNameCollection.cpp
904     html/HTMLObjectElement.cpp
905     html/HTMLOListElement.cpp
906     html/HTMLOptGroupElement.cpp
907     html/HTMLOptionElement.cpp
908     html/HTMLOptionsCollection.cpp
909     html/HTMLParagraphElement.cpp
910     html/HTMLParamElement.cpp
911     html/HTMLParser.cpp
912     html/HTMLPlugInElement.cpp
913     html/HTMLPreElement.cpp
914     html/HTMLQuoteElement.cpp
915     html/HTMLScriptElement.cpp
916     html/HTMLSelectElement.cpp
917     html/HTMLStyleElement.cpp
918     html/HTMLTableCaptionElement.cpp
919     html/HTMLTableCellElement.cpp
920     html/HTMLTableColElement.cpp
921     html/HTMLTableElement.cpp
922     html/HTMLTablePartElement.cpp
923     html/HTMLTableRowElement.cpp
924     html/HTMLTableSectionElement.cpp
925     html/HTMLTextAreaElement.cpp
926     html/HTMLTextFieldInnerElement.cpp
927     html/HTMLTitleElement.cpp
928     html/HTMLTokenizer.cpp
929     html/HTMLUListElement.cpp
930     html/HTMLViewSourceDocument.cpp
931
932 #   icon/IconDatabase.cpp
933 #   icon/SiteIcon.cpp
934 #   icon/SQLDatabase.cpp
935 #   icon/SQLStatement.cpp
936 #   icon/SQLTransaction.cpp
937
938     loader/Cache.cpp
939     loader/CachedCSSStyleSheet.cpp
940     loader/CachedImage.cpp
941     loader/CachedResourceClientWalker.cpp
942     loader/CachedResource.cpp
943     loader/CachedScript.cpp
944     loader/CachedXSLStyleSheet.cpp
945     loader/DocLoader.cpp
946     loader/DocumentLoader.cpp
947     loader/FormState.cpp
948     loader/FrameLoader.cpp
949     loader/ImageDocument.cpp
950     loader/loader.cpp
951     loader/MainResourceLoader.cpp
952     loader/NetscapePlugInStreamLoader.cpp
953     loader/PluginDocument.cpp
954     loader/Request.cpp
955     loader/ResourceLoader.cpp
956     loader/SubresourceLoader.cpp
957     loader/TextDocument.cpp
958     loader/TextResourceDecoder.cpp
959     loader/icon/IconDatabase.cpp
960     loader/icon/IconDataCache.cpp
961     loader/icon/IconLoader.cpp
962     loader/icon/SQLDatabase.cpp
963     loader/icon/SQLStatement.cpp
964     loader/icon/SQLTransaction.cpp
965     loader/qt/DocumentLoaderQt.cpp
966     loader/qt/FrameLoaderClientQt.cpp
967     loader/qt/FrameLoaderQt.cpp
968     loader/qt/NavigationActionQt.cpp
969     loader/qt/ResourceLoaderQt.cpp
970
971     page/Chrome.cpp
972     page/ContextMenuController.cpp
973     page/DOMWindow.cpp
974     page/EventHandler.cpp
975     page/Frame.cpp
976     page/FrameTree.cpp
977     page/FrameView.cpp
978     page/MouseEventWithHitTestResults.cpp
979     page/Page.cpp
980     page/PageState.cpp
981
982     page/qt/EventHandlerQt.cpp
983
984     platform/Arena.cpp
985     platform/ArrayImpl.cpp
986     platform/AtomicString.cpp
987     platform/CString.cpp
988     platform/ContextMenu.cpp
989     platform/DeprecatedCString.cpp
990     platform/DeprecatedPtrListImpl.cpp
991     platform/DeprecatedString.cpp
992     platform/DeprecatedStringList.cpp
993     platform/DeprecatedValueListImpl.cpp
994     platform/FontCache.cpp
995     platform/Font.cpp
996     platform/FontData.cpp
997     platform/FontFallbackList.cpp
998     platform/FontFamily.cpp
999     platform/GlyphMap.cpp
1000     platform/GlyphWidthMap.cpp
1001     platform/KURL.cpp
1002     platform/Logging.cpp
1003     platform/MimeTypeRegistry.cpp
1004 #    plafform/Pasteboard.cpp
1005     platform/RegularExpression.cpp
1006     platform/SegmentedString.cpp
1007     platform/String.cpp
1008     platform/StringImpl.cpp
1009     platform/TextCodec.cpp
1010     platform/TextCodecLatin1.cpp
1011     platform/TextCodecUTF16.cpp
1012     platform/TextDecoder.cpp
1013     platform/TextEncoding.cpp
1014     platform/TextEncodingRegistry.cpp
1015     platform/TextStream.cpp
1016     platform/Timer.cpp
1017     platform/Widget.cpp
1018
1019     platform/graphics/AffineTransform.cpp
1020     platform/graphics/Color.cpp
1021     platform/graphics/FloatPoint3D.cpp
1022     platform/graphics/FloatPoint.cpp
1023     platform/graphics/FloatRect.cpp
1024     platform/graphics/FloatSize.cpp
1025     platform/graphics/GraphicsContext.cpp
1026     platform/graphics/GraphicsTypes.cpp
1027     platform/graphics/Image.cpp
1028     platform/graphics/IntRect.cpp
1029     platform/graphics/Path.cpp
1030     platform/graphics/Pen.cpp
1031
1032     platform/graphics/qt/AffineTransformQt.cpp
1033     platform/graphics/qt/ColorQt.cpp
1034     platform/graphics/qt/FloatPointQt.cpp
1035     platform/graphics/qt/FloatRectQt.cpp
1036     platform/graphics/qt/GraphicsContextQt.cpp
1037     platform/graphics/qt/IconQt.cpp
1038     platform/graphics/qt/ImageQt.cpp
1039     platform/graphics/qt/ImageSourceQt.cpp
1040     platform/graphics/qt/IntPointQt.cpp
1041     platform/graphics/qt/IntRectQt.cpp
1042     platform/graphics/qt/IntSizeQt.cpp
1043     platform/graphics/qt/PathQt.cpp
1044
1045     platform/graphics/svg/SVGPaintServer.cpp
1046     platform/graphics/svg/SVGPaintServerGradient.cpp
1047     platform/graphics/svg/SVGPaintServerLinearGradient.cpp
1048     platform/graphics/svg/SVGPaintServerPattern.cpp
1049     platform/graphics/svg/SVGPaintServerRadialGradient.cpp
1050     platform/graphics/svg/SVGPaintServerSolid.cpp
1051     platform/graphics/svg/SVGResource.cpp
1052     platform/graphics/svg/SVGResourceClipper.cpp
1053     platform/graphics/svg/SVGResourceFilter.cpp
1054     platform/graphics/svg/SVGResourceMarker.cpp
1055     platform/graphics/svg/SVGResourceMasker.cpp
1056
1057     platform/graphics/svg/filters/SVGFEBlend.cpp
1058     platform/graphics/svg/filters/SVGFEColorMatrix.cpp
1059     platform/graphics/svg/filters/SVGFEComponentTransfer.cpp
1060     platform/graphics/svg/filters/SVGFEComposite.cpp
1061     platform/graphics/svg/filters/SVGFEConvolveMatrix.cpp
1062     platform/graphics/svg/filters/SVGFEDiffuseLighting.cpp
1063     platform/graphics/svg/filters/SVGFEDisplacementMap.cpp
1064     platform/graphics/svg/filters/SVGFEFlood.cpp
1065     platform/graphics/svg/filters/SVGFEGaussianBlur.cpp
1066     platform/graphics/svg/filters/SVGFEImage.cpp
1067     platform/graphics/svg/filters/SVGFEMerge.cpp
1068     platform/graphics/svg/filters/SVGFEMorphology.cpp
1069     platform/graphics/svg/filters/SVGFEOffset.cpp
1070     platform/graphics/svg/filters/SVGFESpecularLighting.cpp
1071     platform/graphics/svg/filters/SVGFETurbulence.cpp
1072     platform/graphics/svg/filters/SVGFilterEffect.cpp
1073     platform/graphics/svg/filters/SVGLightSource.cpp
1074
1075     platform/graphics/svg/qt/RenderPathQt.cpp
1076     platform/graphics/svg/qt/SVGPaintServerGradientQt.cpp
1077     platform/graphics/svg/qt/SVGPaintServerLinearGradientQt.cpp
1078     platform/graphics/svg/qt/SVGPaintServerPatternQt.cpp
1079     platform/graphics/svg/qt/SVGPaintServerQt.cpp
1080     platform/graphics/svg/qt/SVGPaintServerRadialGradientQt.cpp
1081     platform/graphics/svg/qt/SVGPaintServerSolidQt.cpp
1082     platform/graphics/svg/qt/SVGResourceClipperQt.cpp
1083     platform/graphics/svg/qt/SVGResourceImageQt.cpp
1084     platform/graphics/svg/qt/SVGResourceMaskerQt.cpp
1085     platform/graphics/svg/qt/SVGResourceFilterQt.cpp
1086
1087     platform/image-decoders/bmp/BMPImageDecoder.cpp
1088     platform/image-decoders/gif/GIFImageDecoder.cpp
1089     platform/image-decoders/gif/GIFImageReader.cpp
1090     platform/image-decoders/ico/ICOImageDecoder.cpp
1091
1092     platform/image-decoders/jpeg/jcomapi.c
1093     platform/image-decoders/jpeg/jdapimin.c
1094     platform/image-decoders/jpeg/jdapistd.c
1095     platform/image-decoders/jpeg/jdatadst.c
1096     platform/image-decoders/jpeg/jdatasrc.c
1097     platform/image-decoders/jpeg/jdcoefct.c
1098     platform/image-decoders/jpeg/jdcolor.c
1099     platform/image-decoders/jpeg/jddctmgr.c
1100     platform/image-decoders/jpeg/jdhuff.c
1101     platform/image-decoders/jpeg/jdinput.c
1102     platform/image-decoders/jpeg/jdmainct.c
1103     platform/image-decoders/jpeg/jdmarker.c
1104     platform/image-decoders/jpeg/jdmaster.c
1105     platform/image-decoders/jpeg/jdmerge.c
1106     platform/image-decoders/jpeg/jdphuff.c
1107     platform/image-decoders/jpeg/jdpostct.c
1108     platform/image-decoders/jpeg/jdsample.c
1109     platform/image-decoders/jpeg/jerror.c
1110     platform/image-decoders/jpeg/jfdctflt.c
1111     platform/image-decoders/jpeg/jfdctfst.c
1112     platform/image-decoders/jpeg/jfdctint.c
1113     platform/image-decoders/jpeg/jidctflt.c
1114     platform/image-decoders/jpeg/jidctfst.c
1115     platform/image-decoders/jpeg/jidctint.c
1116     platform/image-decoders/jpeg/jmemmgr.c
1117     platform/image-decoders/jpeg/jmemnobs.c
1118     platform/image-decoders/jpeg/JPEGImageDecoder.cpp
1119     platform/image-decoders/jpeg/jquant1.c
1120     platform/image-decoders/jpeg/jquant2.c
1121     platform/image-decoders/jpeg/jutils.c
1122
1123     platform/image-decoders/png/png.c
1124     platform/image-decoders/png/pngerror.c
1125     platform/image-decoders/png/pnggccrd.c
1126     platform/image-decoders/png/pngget.c
1127     platform/image-decoders/png/PNGImageDecoder.cpp
1128     platform/image-decoders/png/pngmem.c
1129     platform/image-decoders/png/pngpread.c
1130     platform/image-decoders/png/pngread.c
1131     platform/image-decoders/png/pngrio.c
1132     platform/image-decoders/png/pngrtran.c
1133     platform/image-decoders/png/pngrutil.c
1134     platform/image-decoders/png/pngset.c
1135     platform/image-decoders/png/pngtrans.c
1136     platform/image-decoders/png/pngvcrd.c
1137     platform/image-decoders/png/pngwio.c
1138     platform/image-decoders/png/pngwrite.c
1139     platform/image-decoders/png/pngwtran.c
1140     platform/image-decoders/png/pngwutil.c
1141
1142     platform/image-decoders/xbm/XBMImageDecoder.cpp
1143
1144     platform/network/FormData.cpp
1145     platform/network/HTTPParsers.cpp
1146     platform/network/ResourceHandle.cpp
1147     platform/network/ResourceRequest.cpp
1148     platform/network/ResourceResponse.cpp
1149
1150     platform/network/qt/ResourceHandleManager.cpp
1151     platform/network/qt/ResourceHandleQt.cpp
1152
1153     platform/qt/ChromeClientQt.cpp
1154     platform/qt/ContextMenuClientQt.cpp
1155     platform/qt/ContextMenuQt.cpp
1156     platform/qt/ContextMenuItemQt.cpp
1157     platform/qt/CookieJarQt.cpp
1158     platform/qt/CursorQt.cpp
1159     platform/qt/EditorClientQt.cpp
1160     platform/qt/FileChooserQt.cpp
1161     platform/qt/FontCacheQt.cpp
1162     platform/qt/FontDataQt.cpp
1163     platform/qt/FontPlatformDataQt.cpp
1164     platform/qt/FontQt.cpp
1165     platform/qt/FrameQtClient.cpp
1166     platform/qt/FrameQt.cpp
1167     platform/qt/GlyphMapQt.cpp
1168 #   platform/qt/LineEditQt.cpp
1169     platform/qt/LoaderFunctionsQt.cpp
1170     platform/qt/MimeTypeRegistryQt.cpp
1171     platform/qt/PageQt.cpp
1172     platform/qt/PasteboardQt.cpp
1173     platform/qt/PlatformKeyboardEventQt.cpp
1174     platform/qt/PlatformMouseEventQt.cpp
1175     platform/qt/PopupMenuQt.cpp
1176     platform/qt/RenderThemeQt.cpp
1177     platform/qt/ScreenQt.cpp
1178     platform/qt/ScrollViewCanvasQt.cpp
1179     platform/qt/ScrollViewQt.cpp
1180     platform/qt/SharedTimerQt.cpp
1181     platform/qt/SoundQt.cpp
1182     platform/qt/StringQt.cpp
1183     platform/qt/SystemTimeQt.cpp
1184     platform/qt/TemporaryLinkStubs.cpp
1185     platform/qt/TextBoundaries.cpp
1186     platform/qt/TextBreakIteratorQt.cpp
1187     platform/qt/TextCodecQt.cpp
1188 #   platform/qt/TextEditQt.cpp
1189     platform/qt/WidgetQt.cpp
1190
1191     xml/DOMParser.cpp
1192     xml/xmlhttprequest.cpp
1193     xml/XMLSerializer.cpp
1194     xml/XPathEvaluator.cpp
1195     xml/XPathExpression.cpp
1196     xml/XPathExpressionNode.cpp
1197     xml/XPathFunctions.cpp
1198     xml/XPathNamespace.cpp
1199     xml/XPathNSResolver.cpp
1200     xml/XPathParser.cpp
1201     xml/XPathPath.cpp
1202     xml/XPathPredicate.cpp
1203     xml/XPathResult.cpp
1204     xml/XPathStep.cpp
1205     xml/XPathUtil.cpp
1206     xml/XPathValue.cpp
1207     xml/XPathVariableReference.cpp
1208     xml/XSLImportRule.cpp
1209     xml/XSLStyleSheet.cpp
1210     xml/XSLTProcessor.cpp
1211
1212     rendering/AutoTableLayout.cpp
1213     rendering/bidi.cpp
1214     rendering/break_lines.cpp
1215     rendering/CounterNode.cpp
1216     rendering/CounterResetNode.cpp
1217     rendering/EllipsisBox.cpp
1218     rendering/FixedTableLayout.cpp
1219     rendering/HitTestResult.cpp
1220     rendering/InlineBox.cpp
1221     rendering/InlineFlowBox.cpp
1222     rendering/InlineTextBox.cpp
1223     rendering/ListMarkerBox.cpp
1224     rendering/RenderApplet.cpp
1225     rendering/RenderArena.cpp
1226     rendering/RenderBlock.cpp
1227     rendering/RenderBox.cpp
1228     rendering/RenderBR.cpp
1229     rendering/RenderButton.cpp
1230     rendering/RenderContainer.cpp
1231     rendering/RenderCounter.cpp
1232     rendering/RenderFieldset.cpp
1233     rendering/RenderFileUploadControl.cpp
1234     rendering/RenderFlexibleBox.cpp
1235     rendering/RenderFlow.cpp
1236     rendering/RenderFormElement.cpp
1237     rendering/RenderFrame.cpp
1238     rendering/RenderFrameSet.cpp
1239     rendering/RenderHTMLCanvas.cpp
1240     rendering/RenderImage.cpp
1241     rendering/RenderInline.cpp
1242     rendering/RenderLabel.cpp
1243     rendering/RenderLayer.cpp
1244     rendering/RenderLegend.cpp
1245     rendering/RenderLineEdit.cpp
1246     rendering/RenderListBox.cpp
1247     rendering/RenderListItem.cpp
1248     rendering/RenderListMarker.cpp
1249     rendering/RenderMenuList.cpp
1250     rendering/RenderObject.cpp
1251     rendering/RenderPart.cpp
1252     rendering/RenderPartObject.cpp
1253     rendering/RenderReplaced.cpp
1254     rendering/RenderSlider.cpp
1255     rendering/RenderStyle.cpp
1256     rendering/RenderTableCell.cpp
1257     rendering/RenderTableCol.cpp
1258     rendering/RenderTable.cpp
1259     rendering/RenderTableRow.cpp
1260     rendering/RenderTableSection.cpp
1261     rendering/RenderTextControl.cpp
1262     rendering/RenderText.cpp
1263     rendering/RenderTextFragment.cpp
1264     rendering/RenderTheme.cpp
1265     rendering/RenderTreeAsText.cpp
1266     rendering/RenderView.cpp
1267     rendering/RenderWidget.cpp
1268     rendering/RootInlineBox.cpp
1269     rendering/SVGRenderTreeAsText.cpp
1270
1271     # Optional SVG/XPath support
1272     ${SVG_SOURCES}
1273     ${XPATH_SOURCES}
1274
1275     # Generated JavaScript bindings
1276     ${WebCore-unity-IDLGeneratedSources}
1277 )
1278
1279 IF (WEBKIT_USE_KDE_SUPPORT)
1280     kde4_add_library( WebCore-unity SHARED  ${WebCore_SRCS} )
1281 ELSE (WEBKIT_USE_KDE_SUPPORT)
1282     add_library( WebCore-unity SHARED  ${WebCore_SRCS} )
1283 ENDIF (WEBKIT_USE_KDE_SUPPORT)
1284
1285 IF (WEBKIT_USE_KDE_SUPPORT)
1286 target_link_libraries(WebCore-unity
1287     ${LIBXML2_LIBRARIES}
1288     ${LIBXSLT_LIBRARIES}
1289
1290     ${QT_QTCORE_LIBRARY}
1291     ${QT_QTGUI_LIBRARY}
1292
1293     icuuc
1294     kio
1295     kjs-unity
1296     pcre-unity
1297     sqlite3
1298     wtf-unity
1299     z
1300 )
1301 ELSE (WEBKIT_USE_KDE_SUPPORT)
1302 target_link_libraries(WebCore-unity
1303     ${LIBXSLT_LIBRARIES}
1304     ${LIBXML2_LIBRARIES}
1305
1306     ${QT_QTCORE_LIBRARY}
1307     ${QT_QTGUI_LIBRARY}
1308
1309     icuuc
1310     kjs-unity
1311     pcre-unity
1312     sqlite3
1313     wtf-unity
1314     z
1315 )
1316 ENDIF (WEBKIT_USE_KDE_SUPPORT)
1317
1318 IF (WEBKIT_USE_KDE_SUPPORT)
1319     install( TARGETS WebCore-unity DESTINATION ${LIB_INSTALL_DIR} )
1320 ENDIF (WEBKIT_USE_KDE_SUPPORT)