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