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