bd0c87ad2858280f4e20afd84d5305a820723177
[WebKit-https.git] / WebCore / WebCore.pri
1
2 include(../common.pri)
3
4 CONFIG(standalone_package) {
5     isEmpty(WC_GENERATED_SOURCES_DIR):WC_GENERATED_SOURCES_DIR = $$PWD/generated
6 } else {
7     isEmpty(WC_GENERATED_SOURCES_DIR):WC_GENERATED_SOURCES_DIR = generated
8 }
9
10 CONFIG(minimal) {
11   DEFINES += ENABLE_NETSCAPE_PLUGIN_API=0
12 }
13
14 ## load mobilityconfig if mobility is available 
15 load(mobilityconfig, true)
16
17 ## Define default features macros for optional components
18 ## (look for defs in config.h and included files!)
19 # Try to locate sqlite3 source
20 CONFIG(QTDIR_build) {
21     SQLITE3SRCDIR = $$QT_SOURCE_TREE/src/3rdparty/sqlite/
22 } else {
23     SQLITE3SRCDIR = $$(SQLITE3SRCDIR)
24     isEmpty(SQLITE3SRCDIR) {
25         SQLITE3SRCDIR = $$[QT_INSTALL_PREFIX]/src/3rdparty/sqlite/
26     }
27 }
28
29 contains(DEFINES, ENABLE_SINGLE_THREADED=1) {
30     DEFINES+=ENABLE_DATABASE=0 ENABLE_DOM_STORAGE=0 ENABLE_ICONDATABASE=0 ENABLE_WORKERS=0 ENABLE_SHARED_WORKERS=0
31 }
32
33 # turn off SQLITE support if we do not have sqlite3 available
34 !CONFIG(QTDIR_build):win32-*:!exists( $${SQLITE3SRCDIR}/sqlite3.c ): DEFINES += ENABLE_SQLITE=0 ENABLE_DATABASE=0 ENABLE_WORKERS=0 ENABLE_SHARED_WORKERS=0 ENABLE_ICONDATABASE=0 ENABLE_OFFLINE_WEB_APPLICATIONS=0 ENABLE_DOM_STORAGE=0
35
36 !contains(DEFINES, ENABLE_JAVASCRIPT_DEBUGGER=.): DEFINES += ENABLE_JAVASCRIPT_DEBUGGER=1
37 !contains(DEFINES, ENABLE_DATABASE=.): DEFINES += ENABLE_DATABASE=1
38 !contains(DEFINES, ENABLE_EVENTSOURCE=.): DEFINES += ENABLE_EVENTSOURCE=1
39 !contains(DEFINES, ENABLE_OFFLINE_WEB_APPLICATIONS=.): DEFINES += ENABLE_OFFLINE_WEB_APPLICATIONS=1
40 !contains(DEFINES, ENABLE_DOM_STORAGE=.): DEFINES += ENABLE_DOM_STORAGE=1
41 !contains(DEFINES, ENABLE_ICONDATABASE=.): DEFINES += ENABLE_ICONDATABASE=1
42 !contains(DEFINES, ENABLE_CHANNEL_MESSAGING=.): DEFINES += ENABLE_CHANNEL_MESSAGING=1
43 !contains(DEFINES, ENABLE_ORIENTATION_EVENTS=.): DEFINES += ENABLE_ORIENTATION_EVENTS=0
44 !contains(DEFINES, ENABLE_DIRECTORY_UPLOAD=.): DEFINES += ENABLE_DIRECTORY_UPLOAD=0
45
46 # turn on SQLITE support if any of the dependent features are turned on
47 !contains(DEFINES, ENABLE_SQLITE=.) {
48   contains(DEFINES, ENABLE_DATABASE=1)|contains(DEFINES, ENABLE_ICONDATABASE=1)|contains(DEFINES, ENABLE_DOM_STORAGE=1)|contains(DEFINES, ENABLE_OFFLINE_WEB_APPLICATIONS=1) {
49     DEFINES += ENABLE_SQLITE=1
50   } else {
51     DEFINES += ENABLE_SQLITE=0
52   }
53 }
54
55 !contains(DEFINES, ENABLE_DASHBOARD_SUPPORT=.): DEFINES += ENABLE_DASHBOARD_SUPPORT=0
56 !contains(DEFINES, ENABLE_FILTERS=.): DEFINES += ENABLE_FILTERS=1
57 !contains(DEFINES, ENABLE_XPATH=.): DEFINES += ENABLE_XPATH=1
58 #!contains(DEFINES, ENABLE_XBL=.): DEFINES += ENABLE_XBL=1
59 !contains(DEFINES, ENABLE_WCSS=.): DEFINES += ENABLE_WCSS=0
60 !contains(DEFINES, ENABLE_WML=.): DEFINES += ENABLE_WML=0
61 !contains(DEFINES, ENABLE_SHARED_WORKERS=.): DEFINES += ENABLE_SHARED_WORKERS=1
62 !contains(DEFINES, ENABLE_WORKERS=.): DEFINES += ENABLE_WORKERS=1
63 !contains(DEFINES, ENABLE_XHTMLMP=.): DEFINES += ENABLE_XHTMLMP=0
64 !contains(DEFINES, ENABLE_DATAGRID=.): DEFINES += ENABLE_DATAGRID=0
65 !contains(DEFINES, ENABLE_VIDEO=.): DEFINES += ENABLE_VIDEO=1
66 !contains(DEFINES, ENABLE_RUBY=.): DEFINES += ENABLE_RUBY=1
67 !contains(DEFINES, ENABLE_SANDBOX=.): DEFINES += ENABLE_SANDBOX=1
68 !contains(DEFINES, ENABLE_METER_TAG=.): DEFINES += ENABLE_METER_TAG=1
69 !contains(DEFINES, ENABLE_PROGRESS_TAG=.): DEFINES += ENABLE_PROGRESS_TAG=1
70 !contains(DEFINES, ENABLE_BLOB_SLICE=.): DEFINES += ENABLE_BLOB_SLICE=0
71 !contains(DEFINES, ENABLE_NOTIFICATIONS=.): DEFINES += ENABLE_NOTIFICATIONS=1
72 !contains(DEFINES, ENABLE_IMAGE_RESIZER=.): DEFINES += ENABLE_IMAGE_RESIZER=0
73 !contains(DEFINES, ENABLE_INPUT_SPEECH=.): DEFINES += ENABLE_INPUT_SPEECH=0
74
75 greaterThan(QT_MINOR_VERSION, 5) {
76     !contains(DEFINES, ENABLE_3D_RENDERING=.): DEFINES += ENABLE_3D_RENDERING=1
77 }
78
79 # SVG support
80 !contains(DEFINES, ENABLE_SVG=0) {
81     !contains(DEFINES, ENABLE_SVG=.): DEFINES += ENABLE_SVG=1
82     !contains(DEFINES, ENABLE_SVG_FONTS=.): DEFINES += ENABLE_SVG_FONTS=1
83     !contains(DEFINES, ENABLE_SVG_FOREIGN_OBJECT=.): DEFINES += ENABLE_SVG_FOREIGN_OBJECT=1
84     !contains(DEFINES, ENABLE_SVG_ANIMATION=.): DEFINES += ENABLE_SVG_ANIMATION=1
85     !contains(DEFINES, ENABLE_SVG_AS_IMAGE=.): DEFINES += ENABLE_SVG_AS_IMAGE=1
86     !contains(DEFINES, ENABLE_SVG_USE=.): DEFINES += ENABLE_SVG_USE=1
87 } else {
88     DEFINES += ENABLE_SVG_FONTS=0 ENABLE_SVG_FOREIGN_OBJECT=0 ENABLE_SVG_ANIMATION=0 ENABLE_SVG_AS_IMAGE=0 ENABLE_SVG_USE=0
89 }
90
91 # HTML5 media support
92 !contains(DEFINES, ENABLE_VIDEO=.): DEFINES += ENABLE_VIDEO=1
93
94 # HTML5 datalist support
95 !contains(DEFINES, ENABLE_DATALIST=.): DEFINES += ENABLE_DATALIST=1
96
97 # Tiled Backing Store support
98 greaterThan(QT_MINOR_VERSION, 5) {
99     !contains(DEFINES, ENABLE_TILED_BACKING_STORE=.): DEFINES += ENABLE_TILED_BACKING_STORE=1
100 }
101
102 # Nescape plugins support (NPAPI)
103 !contains(DEFINES, ENABLE_NETSCAPE_PLUGIN_API=.) {
104     unix|win32-*:!embedded:!wince*: {
105         DEFINES += ENABLE_NETSCAPE_PLUGIN_API=1
106     } else {
107         DEFINES += ENABLE_NETSCAPE_PLUGIN_API=0
108     }
109 }
110
111 # Web Socket support.
112 !contains(DEFINES, ENABLE_WEB_SOCKETS=.): DEFINES += ENABLE_WEB_SOCKETS=1
113
114 # Web Timing support.
115 !contains(DEFINES, ENABLE_WEB_TIMING=.): DEFINES += ENABLE_WEB_TIMING=0
116
117 # XSLT support with QtXmlPatterns
118 !contains(DEFINES, ENABLE_XSLT=.) {
119     contains(QT_CONFIG, xmlpatterns):DEFINES += ENABLE_XSLT=1
120     else:DEFINES += ENABLE_XSLT=0
121 }
122
123 # geolocation support if QtMobility exists
124 !CONFIG(QTDIR_build):!contains(DEFINES, ENABLE_GEOLOCATION=.) {
125     contains(MOBILITY_CONFIG, location) {
126        DEFINES += ENABLE_GEOLOCATION=1
127     }
128 }
129
130 # Bearer management is part of Qt 4.7
131 # for older version, check for mobility with bearer 
132 !contains(DEFINES, ENABLE_QT_BEARER=.) {
133      !lessThan(QT_MINOR_VERSION, 7) {
134         DEFINES += ENABLE_QT_BEARER=1
135      } else {
136         contains(MOBILITY_CONFIG, bearer) {
137             DEFINES += ENABLE_QT_BEARER=1
138         }
139     }
140 }
141
142 # Enable touch event support with Qt 4.6
143 !lessThan(QT_MINOR_VERSION, 6): DEFINES += ENABLE_TOUCH_EVENTS=1
144
145 # Used to compute defaults for the build-webkit script
146 CONFIG(compute_defaults) {
147     message($$DEFINES)
148     error("Done computing defaults")
149 }
150
151 contains(DEFINES, ENABLE_WCSS=1) {
152     contains(DEFINES, ENABLE_XHTMLMP=0) {
153         DEFINES -= ENABLE_XHTMLMP=0
154         DEFINES += ENABLE_XHTMLMP=1
155     }
156 }
157
158 ## Forward enabled feature macros to JavaScript enabled features macros
159 FEATURE_DEFINES_JAVASCRIPT = LANGUAGE_JAVASCRIPT=1
160 contains(DEFINES, ENABLE_CHANNEL_MESSAGING=1): FEATURE_DEFINES_JAVASCRIPT += ENABLE_CHANNEL_MESSAGING=1
161 contains(DEFINES, ENABLE_ORIENTATION_EVENTS=1): FEATURE_DEFINES_JAVASCRIPT += ENABLE_ORIENTATION_EVENTS=1
162 contains(DEFINES, ENABLE_DASHBOARD_SUPPORT=0): DASHBOARDSUPPORTCSSPROPERTIES -= $$PWD/css/DashboardSupportCSSPropertyNames.in
163 contains(DEFINES, ENABLE_DATAGRID=1): FEATURE_DEFINES_JAVASCRIPT += ENABLE_DATAGRID=1
164 contains(DEFINES, ENABLE_EVENTSOURCE=1): FEATURE_DEFINES_JAVASCRIPT += ENABLE_EVENTSOURCE=1
165 contains(DEFINES, ENABLE_DATABASE=1): FEATURE_DEFINES_JAVASCRIPT += ENABLE_DATABASE=1
166 contains(DEFINES, ENABLE_DATALIST=1): FEATURE_DEFINES_JAVASCRIPT += ENABLE_DATALIST=1
167 contains(DEFINES, ENABLE_DOM_STORAGE=1): FEATURE_DEFINES_JAVASCRIPT += ENABLE_DOM_STORAGE=1
168 contains(DEFINES, ENABLE_SHARED_SCRIPT=1): FEATURE_DEFINES_JAVASCRIPT += ENABLE_SHARED_SCRIPT=1
169 contains(DEFINES, ENABLE_WORKERS=1): FEATURE_DEFINES_JAVASCRIPT += ENABLE_WORKERS=1
170 contains(DEFINES, ENABLE_SHARED_WORKERS=1): FEATURE_DEFINES_JAVASCRIPT += ENABLE_SHARED_WORKERS=1
171 contains(DEFINES, ENABLE_VIDEO=1): FEATURE_DEFINES_JAVASCRIPT += ENABLE_VIDEO=1
172 contains(DEFINES, ENABLE_XPATH=1): FEATURE_DEFINES_JAVASCRIPT += ENABLE_XPATH=1
173 contains(DEFINES, ENABLE_XSLT=1): FEATURE_DEFINES_JAVASCRIPT += ENABLE_XSLT=1
174 contains(DEFINES, ENABLE_XBL=1): FEATURE_DEFINES_JAVASCRIPT += ENABLE_XBL=1
175 contains(DEFINES, ENABLE_FILTERS=1): FEATURE_DEFINES_JAVASCRIPT += ENABLE_FILTERS=1
176 contains(DEFINES, ENABLE_WCSS=1): FEATURE_DEFINES_JAVASCRIPT += ENABLE_WCSS=1
177 contains(DEFINES, ENABLE_WML=1): FEATURE_DEFINES_JAVASCRIPT += ENABLE_WML=1
178 contains(DEFINES, ENABLE_XHTMLMP=1): FEATURE_DEFINES_JAVASCRIPT += ENABLE_XHTMLMP=1
179 contains(DEFINES, ENABLE_SVG=1): FEATURE_DEFINES_JAVASCRIPT += ENABLE_SVG=1
180 contains(DEFINES, ENABLE_JAVASCRIPT_DEBUGGER=1): FEATURE_DEFINES_JAVASCRIPT += ENABLE_JAVASCRIPT_DEBUGGER=1
181 contains(DEFINES, ENABLE_OFFLINE_WEB_APPLICATIONS=1): FEATURE_DEFINES_JAVASCRIPT += ENABLE_OFFLINE_WEB_APPLICATIONS=1
182 contains(DEFINES, ENABLE_WEB_SOCKETS=1): FEATURE_DEFINES_JAVASCRIPT += ENABLE_WEB_SOCKETS=1
183 contains(DEFINES, ENABLE_WEB_TIMING=1): FEATURE_DEFINES_JAVASCRIPT += ENABLE_WEB_TIMING=1
184 contains(DEFINES, ENABLE_TOUCH_EVENTS=1): FEATURE_DEFINES_JAVASCRIPT += ENABLE_TOUCH_EVENTS=1
185 contains(DEFINES, ENABLE_TILED_BACKING_STORE=1): FEATURE_DEFINES_JAVASCRIPT += ENABLE_TILED_BACKING_STORE=1
186 contains(DEFINES, ENABLE_NOTIFICATIONS=1): FEATURE_DEFINES_JAVASCRIPT += ENABLE_NOTIFICATIONS=1
187 contains(DEFINES, ENABLE_METER_TAG=1): FEATURE_DEFINES_JAVASCRIPT += ENABLE_METER_TAG=1
188 contains(DEFINES, ENABLE_PROGRESS_TAG=1): FEATURE_DEFINES_JAVASCRIPT += ENABLE_PROGRESS_TAG=1
189 contains(DEFINES, ENABLE_GEOLOCATION=1): FEATURE_DEFINES_JAVASCRIPT += ENABLE_GEOLOCATION=1
190
191 ## Derived source generators
192 MATHML_NAMES = $$PWD/mathml/mathtags.in
193
194 WML_NAMES = $$PWD/wml/WMLTagNames.in
195
196 SVG_NAMES = $$PWD/svg/svgtags.in
197
198 XLINK_NAMES = $$PWD/svg/xlinkattrs.in
199
200 TOKENIZER = $$PWD/css/tokenizer.flex
201
202 DOCTYPESTRINGS_GPERF = $$PWD/html/DocTypeStrings.gperf
203
204 CSSBISON = $$PWD/css/CSSGrammar.y
205
206 HTML_NAMES = $$PWD/html/HTMLTagNames.in
207
208 XML_NAMES = $$PWD/xml/xmlattrs.in
209
210 XMLNS_NAMES = $$PWD/xml/xmlnsattrs.in
211
212 ENTITIES_GPERF = $$PWD/html/HTMLEntityNames.gperf
213
214 COLORDATA_GPERF = $$PWD/platform/ColorData.gperf
215
216 WALDOCSSPROPS = $$PWD/css/CSSPropertyNames.in
217
218 WALDOCSSVALUES = $$PWD/css/CSSValueKeywords.in
219
220 DASHBOARDSUPPORTCSSPROPERTIES = $$PWD/css/DashboardSupportCSSPropertyNames.in
221
222 XPATHBISON = $$PWD/xml/XPathGrammar.y
223
224 contains(DEFINES, ENABLE_SVG=1) {
225     EXTRACSSPROPERTIES += $$PWD/css/SVGCSSPropertyNames.in
226     EXTRACSSVALUES += $$PWD/css/SVGCSSValueKeywords.in
227 }
228
229 contains(DEFINES, ENABLE_WCSS=1) {
230     EXTRACSSPROPERTIES += $$PWD/css/WCSSPropertyNames.in
231     EXTRACSSVALUES += $$PWD/css/WCSSValueKeywords.in
232 }
233
234 STYLESHEETS_EMBED = \
235     $$PWD/css/html.css \
236     $$PWD/css/quirks.css \
237     $$PWD/css/mathml.css \
238     $$PWD/css/svg.css \
239     $$PWD/css/view-source.css \
240     $$PWD/css/wml.css \
241     $$PWD/css/mediaControls.css \
242     $$PWD/css/mediaControlsQt.css \
243     $$PWD/css/themeQtNoListboxes.css \
244     $$PWD/css/themeQtMaemo5.css
245
246 IDL_BINDINGS += \
247     css/Counter.idl \
248     css/CSSCharsetRule.idl \
249     css/CSSFontFaceRule.idl \
250     css/CSSImportRule.idl \
251     css/CSSMediaRule.idl \
252     css/CSSPageRule.idl \
253     css/CSSPrimitiveValue.idl \
254     css/CSSRule.idl \
255     css/CSSRuleList.idl \
256     css/CSSStyleDeclaration.idl \
257     css/CSSStyleRule.idl \
258     css/CSSStyleSheet.idl \
259     css/CSSValue.idl \
260     css/CSSValueList.idl \
261     css/CSSVariablesDeclaration.idl \
262     css/CSSVariablesRule.idl \
263     css/MediaList.idl \
264     css/Rect.idl \
265     css/RGBColor.idl \
266     css/StyleMedia.idl \
267     css/StyleSheet.idl \
268     css/StyleSheetList.idl \
269     css/WebKitCSSKeyframeRule.idl \
270     css/WebKitCSSKeyframesRule.idl \
271     css/WebKitCSSMatrix.idl \
272     css/WebKitCSSTransformValue.idl \
273     dom/Attr.idl \
274     dom/BeforeLoadEvent.idl \
275     dom/BeforeProcessEvent.idl \
276     dom/CharacterData.idl \
277     dom/ClientRect.idl \
278     dom/ClientRectList.idl \
279     dom/Clipboard.idl \
280     dom/CDATASection.idl \
281     dom/Comment.idl \
282     dom/CompositionEvent.idl \
283     dom/CustomEvent.idl \
284     dom/DeviceOrientationEvent.idl \
285     dom/DocumentFragment.idl \
286     dom/Document.idl \
287     dom/DocumentType.idl \
288     dom/DOMCoreException.idl \
289     dom/DOMImplementation.idl \
290     dom/DOMStringList.idl \
291     dom/Element.idl \
292     dom/Entity.idl \
293     dom/EntityReference.idl \
294     dom/ErrorEvent.idl \
295     dom/Event.idl \
296     dom/EventException.idl \
297 #    dom/EventListener.idl \
298 #    dom/EventTarget.idl \
299     dom/KeyboardEvent.idl \
300     dom/MouseEvent.idl \
301     dom/MessageChannel.idl \
302     dom/MessageEvent.idl \
303     dom/MessagePort.idl \
304     dom/MutationEvent.idl \
305     dom/NamedNodeMap.idl \
306     dom/Node.idl \
307     dom/NodeFilter.idl \
308     dom/NodeIterator.idl \
309     dom/NodeList.idl \
310     dom/Notation.idl \
311     dom/OverflowEvent.idl \
312     dom/PageTransitionEvent.idl \
313     dom/PopStateEvent.idl \
314     dom/ProcessingInstruction.idl \
315     dom/ProgressEvent.idl \
316     dom/RangeException.idl \
317     dom/Range.idl \
318     dom/Text.idl \
319     dom/TextEvent.idl \
320     dom/Touch.idl \
321     dom/TouchEvent.idl \
322     dom/TouchList.idl \
323     dom/TreeWalker.idl \
324     dom/UIEvent.idl \
325     dom/WebKitAnimationEvent.idl \
326     dom/WebKitTransitionEvent.idl \
327     dom/WheelEvent.idl \
328     html/Blob.idl \
329     html/BlobBuilder.idl \
330     html/canvas/ArrayBufferView.idl \
331     html/canvas/ArrayBuffer.idl \
332     html/canvas/Int8Array.idl \
333     html/canvas/Float32Array.idl \
334     html/canvas/CanvasGradient.idl \
335     html/canvas/Int32Array.idl \
336     html/canvas/CanvasPattern.idl \
337     html/canvas/CanvasRenderingContext.idl \
338     html/canvas/CanvasRenderingContext2D.idl \
339     html/canvas/WebGLActiveInfo.idl \
340     html/canvas/WebGLBuffer.idl \
341     html/canvas/WebGLContextAttributes.idl \
342     html/canvas/WebGLFramebuffer.idl \
343     html/canvas/WebGLProgram.idl \
344     html/canvas/WebGLRenderbuffer.idl \
345     html/canvas/WebGLRenderingContext.idl \
346     html/canvas/WebGLShader.idl \
347     html/canvas/Int16Array.idl \
348     html/canvas/WebGLTexture.idl \
349     html/canvas/WebGLUniformLocation.idl \
350     html/canvas/Uint8Array.idl \
351     html/canvas/Uint32Array.idl \
352     html/canvas/Uint16Array.idl \
353     html/DataGridColumn.idl \
354     html/DataGridColumnList.idl \
355     html/DOMFormData.idl \
356     html/File.idl \
357     html/FileError.idl \
358     html/FileList.idl \
359     html/FileReader.idl \
360     html/HTMLAllCollection.idl \
361     html/HTMLAudioElement.idl \
362     html/HTMLAnchorElement.idl \
363     html/HTMLAppletElement.idl \
364     html/HTMLAreaElement.idl \
365     html/HTMLBaseElement.idl \
366     html/HTMLBaseFontElement.idl \
367     html/HTMLBlockquoteElement.idl \
368     html/HTMLBodyElement.idl \
369     html/HTMLBRElement.idl \
370     html/HTMLButtonElement.idl \
371     html/HTMLCanvasElement.idl \
372     html/HTMLCollection.idl \
373     html/HTMLDataGridElement.idl \
374     html/HTMLDataGridCellElement.idl \
375     html/HTMLDataGridColElement.idl \
376     html/HTMLDataGridRowElement.idl \
377     html/HTMLDataListElement.idl \
378     html/HTMLDirectoryElement.idl \
379     html/HTMLDivElement.idl \
380     html/HTMLDListElement.idl \
381     html/HTMLDocument.idl \
382     html/HTMLElement.idl \
383     html/HTMLEmbedElement.idl \
384     html/HTMLFieldSetElement.idl \
385     html/HTMLFontElement.idl \
386     html/HTMLFormElement.idl \
387     html/HTMLFrameElement.idl \
388     html/HTMLFrameSetElement.idl \
389     html/HTMLHeadElement.idl \
390     html/HTMLHeadingElement.idl \
391     html/HTMLHRElement.idl \
392     html/HTMLHtmlElement.idl \
393     html/HTMLIFrameElement.idl \
394     html/HTMLImageElement.idl \
395     html/HTMLInputElement.idl \
396     html/HTMLIsIndexElement.idl \
397     html/HTMLLabelElement.idl \
398     html/HTMLLegendElement.idl \
399     html/HTMLLIElement.idl \
400     html/HTMLLinkElement.idl \
401     html/HTMLMapElement.idl \
402     html/HTMLMarqueeElement.idl \
403     html/HTMLMediaElement.idl \
404     html/HTMLMenuElement.idl \
405     html/HTMLMetaElement.idl \
406     html/HTMLMeterElement.idl \
407     html/HTMLModElement.idl \
408     html/HTMLObjectElement.idl \
409     html/HTMLOListElement.idl \
410     html/HTMLOptGroupElement.idl \
411     html/HTMLOptionElement.idl \
412     html/HTMLOptionsCollection.idl \
413     html/HTMLParagraphElement.idl \
414     html/HTMLParamElement.idl \
415     html/HTMLPreElement.idl \
416     html/HTMLProgressElement.idl \
417     html/HTMLQuoteElement.idl \
418     html/HTMLScriptElement.idl \
419     html/HTMLSelectElement.idl \
420     html/HTMLSourceElement.idl \
421     html/HTMLStyleElement.idl \
422     html/HTMLTableCaptionElement.idl \
423     html/HTMLTableCellElement.idl \
424     html/HTMLTableColElement.idl \
425     html/HTMLTableElement.idl \
426     html/HTMLTableRowElement.idl \
427     html/HTMLTableSectionElement.idl \
428     html/HTMLTextAreaElement.idl \
429     html/HTMLTitleElement.idl \
430     html/HTMLUListElement.idl \
431     html/HTMLVideoElement.idl \
432     html/ImageData.idl \
433     html/MediaError.idl \
434     html/TextMetrics.idl \
435     html/TimeRanges.idl \
436     html/ValidityState.idl \
437     html/VoidCallback.idl \
438     inspector/InjectedScriptHost.idl \
439     inspector/InspectorBackend.idl \
440     inspector/InspectorFrontendHost.idl \
441     inspector/JavaScriptCallFrame.idl \
442     inspector/ScriptProfile.idl \
443     inspector/ScriptProfileNode.idl \
444     loader/appcache/DOMApplicationCache.idl \
445     notifications/Notification.idl \
446     notifications/NotificationCenter.idl \
447     page/BarInfo.idl \
448     page/Console.idl \
449     page/Coordinates.idl \
450     page/DOMSelection.idl \
451     page/DOMWindow.idl \
452     page/EventSource.idl \
453     page/Geolocation.idl \
454     page/Geoposition.idl \
455     page/History.idl \
456     page/Location.idl \
457     page/MemoryInfo.idl \
458     page/NavigationTiming.idl \
459     page/Navigator.idl \
460     page/Performance.idl \
461     page/PositionError.idl \
462     page/Screen.idl \
463     page/WebKitPoint.idl \
464     page/WorkerNavigator.idl \
465     plugins/Plugin.idl \
466     plugins/MimeType.idl \
467     plugins/PluginArray.idl \
468     plugins/MimeTypeArray.idl \
469     storage/Database.idl \
470     storage/DatabaseCallback.idl \
471     storage/DatabaseSync.idl \
472     storage/IDBAny.idl \
473     storage/IDBDatabaseError.idl \
474     storage/IDBDatabaseException.idl \
475     storage/IDBDatabaseRequest.idl \
476     storage/IDBErrorEvent.idl \
477     storage/IDBEvent.idl \
478     storage/IDBIndexRequest.idl \
479     storage/IDBKeyRange.idl \
480     storage/IDBObjectStoreRequest.idl \
481     storage/IDBRequest.idl \
482     storage/IDBSuccessEvent.idl \
483     storage/IndexedDatabaseRequest.idl \
484     storage/Storage.idl \
485     storage/StorageEvent.idl \
486     storage/SQLError.idl \
487     storage/SQLException.idl \
488     storage/SQLResultSet.idl \
489     storage/SQLResultSetRowList.idl \
490     storage/SQLStatementCallback.idl \
491     storage/SQLStatementErrorCallback.idl \
492     storage/SQLTransaction.idl \
493     storage/SQLTransactionCallback.idl \
494     storage/SQLTransactionErrorCallback.idl \
495     storage/SQLTransactionSync.idl \
496     storage/SQLTransactionSyncCallback.idl \
497     svg/SVGZoomEvent.idl \
498     svg/SVGAElement.idl \
499     svg/SVGAltGlyphElement.idl \
500     svg/SVGAngle.idl \
501     svg/SVGAnimateColorElement.idl \
502     svg/SVGAnimatedAngle.idl \
503     svg/SVGAnimatedBoolean.idl \
504     svg/SVGAnimatedEnumeration.idl \
505     svg/SVGAnimatedInteger.idl \
506     svg/SVGAnimatedLength.idl \
507     svg/SVGAnimatedLengthList.idl \
508     svg/SVGAnimatedNumber.idl \
509     svg/SVGAnimatedNumberList.idl \
510     svg/SVGAnimatedPreserveAspectRatio.idl \
511     svg/SVGAnimatedRect.idl \
512     svg/SVGAnimatedString.idl \
513     svg/SVGAnimatedTransformList.idl \
514     svg/SVGAnimateElement.idl \
515     svg/SVGAnimateTransformElement.idl \
516     svg/SVGAnimationElement.idl \
517     svg/SVGCircleElement.idl \
518     svg/SVGClipPathElement.idl \
519     svg/SVGColor.idl \
520     svg/SVGComponentTransferFunctionElement.idl \
521     svg/SVGCursorElement.idl \
522     svg/SVGDefsElement.idl \
523     svg/SVGDescElement.idl \
524     svg/SVGDocument.idl \
525     svg/SVGElement.idl \
526     svg/SVGElementInstance.idl \
527     svg/SVGElementInstanceList.idl \
528     svg/SVGEllipseElement.idl \
529     svg/SVGException.idl \
530     svg/SVGFEBlendElement.idl \
531     svg/SVGFEColorMatrixElement.idl \
532     svg/SVGFEComponentTransferElement.idl \
533     svg/SVGFECompositeElement.idl \
534     svg/SVGFEConvolveMatrixElement.idl \
535     svg/SVGFEDiffuseLightingElement.idl \
536     svg/SVGFEDisplacementMapElement.idl \
537     svg/SVGFEDistantLightElement.idl \
538     svg/SVGFEFloodElement.idl \
539     svg/SVGFEFuncAElement.idl \
540     svg/SVGFEFuncBElement.idl \
541     svg/SVGFEFuncGElement.idl \
542     svg/SVGFEFuncRElement.idl \
543     svg/SVGFEGaussianBlurElement.idl \
544     svg/SVGFEImageElement.idl \
545     svg/SVGFEMergeElement.idl \
546     svg/SVGFEMergeNodeElement.idl \
547     svg/SVGFEMorphologyElement.idl \
548     svg/SVGFEOffsetElement.idl \
549     svg/SVGFEPointLightElement.idl \
550     svg/SVGFESpecularLightingElement.idl \
551     svg/SVGFESpotLightElement.idl \
552     svg/SVGFETileElement.idl \
553     svg/SVGFETurbulenceElement.idl \
554     svg/SVGFilterElement.idl \
555     svg/SVGFontElement.idl \
556     svg/SVGFontFaceElement.idl \
557     svg/SVGFontFaceFormatElement.idl \
558     svg/SVGFontFaceNameElement.idl \
559     svg/SVGFontFaceSrcElement.idl \
560     svg/SVGFontFaceUriElement.idl \
561     svg/SVGForeignObjectElement.idl \
562     svg/SVGGElement.idl \
563     svg/SVGGlyphElement.idl \
564     svg/SVGGradientElement.idl \
565     svg/SVGHKernElement.idl \
566     svg/SVGImageElement.idl \
567     svg/SVGLength.idl \
568     svg/SVGLengthList.idl \
569     svg/SVGLinearGradientElement.idl \
570     svg/SVGLineElement.idl \
571     svg/SVGMarkerElement.idl \
572     svg/SVGMaskElement.idl \
573     svg/SVGMatrix.idl \
574     svg/SVGMetadataElement.idl \
575     svg/SVGMissingGlyphElement.idl \
576     svg/SVGNumber.idl \
577     svg/SVGNumberList.idl \
578     svg/SVGPaint.idl \
579     svg/SVGPathElement.idl \
580     svg/SVGPathSegArcAbs.idl \
581     svg/SVGPathSegArcRel.idl \
582     svg/SVGPathSegClosePath.idl \
583     svg/SVGPathSegCurvetoCubicAbs.idl \
584     svg/SVGPathSegCurvetoCubicRel.idl \
585     svg/SVGPathSegCurvetoCubicSmoothAbs.idl \
586     svg/SVGPathSegCurvetoCubicSmoothRel.idl \
587     svg/SVGPathSegCurvetoQuadraticAbs.idl \
588     svg/SVGPathSegCurvetoQuadraticRel.idl \
589     svg/SVGPathSegCurvetoQuadraticSmoothAbs.idl \
590     svg/SVGPathSegCurvetoQuadraticSmoothRel.idl \
591     svg/SVGPathSeg.idl \
592     svg/SVGPathSegLinetoAbs.idl \
593     svg/SVGPathSegLinetoHorizontalAbs.idl \
594     svg/SVGPathSegLinetoHorizontalRel.idl \
595     svg/SVGPathSegLinetoRel.idl \
596     svg/SVGPathSegLinetoVerticalAbs.idl \
597     svg/SVGPathSegLinetoVerticalRel.idl \
598     svg/SVGPathSegList.idl \
599     svg/SVGPathSegMovetoAbs.idl \
600     svg/SVGPathSegMovetoRel.idl \
601     svg/SVGPatternElement.idl \
602     svg/SVGPoint.idl \
603     svg/SVGPointList.idl \
604     svg/SVGPolygonElement.idl \
605     svg/SVGPolylineElement.idl \
606     svg/SVGPreserveAspectRatio.idl \
607     svg/SVGRadialGradientElement.idl \
608     svg/SVGRectElement.idl \
609     svg/SVGRect.idl \
610     svg/SVGRenderingIntent.idl \
611     svg/SVGScriptElement.idl \
612     svg/SVGSetElement.idl \
613     svg/SVGStopElement.idl \
614     svg/SVGStringList.idl \
615     svg/SVGStyleElement.idl \
616     svg/SVGSVGElement.idl \
617     svg/SVGSwitchElement.idl \
618     svg/SVGSymbolElement.idl \
619     svg/SVGTextContentElement.idl \
620     svg/SVGTextElement.idl \
621     svg/SVGTextPathElement.idl \
622     svg/SVGTextPositioningElement.idl \
623     svg/SVGTitleElement.idl \
624     svg/SVGTransform.idl \
625     svg/SVGTransformList.idl \
626     svg/SVGTRefElement.idl \
627     svg/SVGTSpanElement.idl \
628     svg/SVGUnitTypes.idl \
629     svg/SVGUseElement.idl \
630     svg/SVGViewElement.idl \
631     svg/SVGVKernElement.idl \
632     websockets/WebSocket.idl \
633     workers/AbstractWorker.idl \
634     workers/DedicatedWorkerContext.idl \
635     workers/SharedWorker.idl \
636     workers/SharedWorkerContext.idl \
637     workers/Worker.idl \
638     workers/WorkerContext.idl \
639     workers/WorkerLocation.idl \
640     xml/DOMParser.idl \
641     xml/XMLHttpRequest.idl \
642     xml/XMLHttpRequestException.idl \
643     xml/XMLHttpRequestProgressEvent.idl \
644     xml/XMLHttpRequestUpload.idl \
645     xml/XMLSerializer.idl \
646     xml/XPathNSResolver.idl \
647     xml/XPathException.idl \
648     xml/XPathExpression.idl \
649     xml/XPathResult.idl \
650     xml/XPathEvaluator.idl \
651     xml/XSLTProcessor.idl
652
653 contains(DEFINES, ENABLE_MATHML=1) {
654     mathmlnames.output = $${WC_GENERATED_SOURCES_DIR}/MathMLNames.cpp
655     mathmlnames.input = MATHML_NAMES
656     mathmlnames.wkScript = $$PWD/dom/make_names.pl
657     mathmlnames.commands = perl -I$$PWD/bindings/scripts $$mathmlnames.wkScript --tags $$PWD/mathml/mathtags.in --attrs $$PWD/mathml/mathattrs.in --extraDefines \"$${DEFINES}\" --preprocessor \"$${QMAKE_MOC} -E\" --factory --wrapperFactory --outputDir $$WC_GENERATED_SOURCES_DIR
658     mathmlnames.wkExtraSources = $${WC_GENERATED_SOURCES_DIR}/MathMLElementFactory.cpp 
659     addExtraCompiler(mathmlnames)
660 }
661
662 contains(DEFINES, ENABLE_WML=1) {
663     wmlnames.output = $${WC_GENERATED_SOURCES_DIR}/WMLNames.cpp
664     wmlnames.input = WML_NAMES
665     wmlnames.wkScript = $$PWD/dom/make_names.pl
666     wmlnames.commands = perl -I$$PWD/bindings/scripts $$wmlnames.wkScript --tags $$PWD/wml/WMLTagNames.in --attrs $$PWD/wml/WMLAttributeNames.in --extraDefines \"$${DEFINES}\" --preprocessor \"$${QMAKE_MOC} -E\" --factory --wrapperFactory --outputDir $$WC_GENERATED_SOURCES_DIR
667     wmlnames.wkExtraSources = $${WC_GENERATED_SOURCES_DIR}/WMLElementFactory.cpp
668     addExtraCompiler(wmlnames)
669 }
670
671 contains(DEFINES, ENABLE_SVG=1) {
672     # GENERATOR 5-C:
673     svgnames.output = $${WC_GENERATED_SOURCES_DIR}/SVGNames.cpp
674     svgnames.input = SVG_NAMES
675     svgnames.depends = $$PWD/svg/svgattrs.in
676     svgnames.wkScript = $$PWD/dom/make_names.pl
677     svgnames.commands = perl -I$$PWD/bindings/scripts $$svgnames.wkScript --tags $$PWD/svg/svgtags.in --attrs $$PWD/svg/svgattrs.in --extraDefines \"$${DEFINES}\" --preprocessor \"$${QMAKE_MOC} -E\" --factory --wrapperFactory --outputDir $$WC_GENERATED_SOURCES_DIR
678     svgnames.wkExtraSources = $${WC_GENERATED_SOURCES_DIR}/SVGElementFactory.cpp $${WC_GENERATED_SOURCES_DIR}/JSSVGElementWrapperFactory.cpp
679     addExtraCompiler(svgnames)
680 }
681
682 # GENERATOR 5-D:
683 xlinknames.output = $${WC_GENERATED_SOURCES_DIR}/XLinkNames.cpp
684 xlinknames.wkScript = $$PWD/dom/make_names.pl
685 xlinknames.commands = perl -I$$PWD/bindings/scripts $$xlinknames.wkScript --attrs $$PWD/svg/xlinkattrs.in --preprocessor \"$${QMAKE_MOC} -E\" --outputDir $$WC_GENERATED_SOURCES_DIR
686 xlinknames.input = XLINK_NAMES
687 addExtraCompiler(xlinknames)
688
689 # GENERATOR 6-A:
690 cssprops.wkScript = $$PWD/css/makeprop.pl
691 cssprops.output = $${WC_GENERATED_SOURCES_DIR}/CSSPropertyNames.cpp
692 cssprops.input = WALDOCSSPROPS
693 cssprops.commands = perl -ne \"print lc\" ${QMAKE_FILE_NAME} $${DASHBOARDSUPPORTCSSPROPERTIES} $${EXTRACSSPROPERTIES} > $${WC_GENERATED_SOURCES_DIR}/${QMAKE_FILE_BASE}.in && cd $$WC_GENERATED_SOURCES_DIR && perl $$cssprops.wkScript && $(DEL_FILE) ${QMAKE_FILE_BASE}.in ${QMAKE_FILE_BASE}.gperf
694 cssprops.depends = ${QMAKE_FILE_NAME} $${DASHBOARDSUPPORTCSSPROPERTIES} $${EXTRACSSPROPERTIES}
695 addExtraCompiler(cssprops)
696
697 # GENERATOR 6-B:
698 cssvalues.wkScript = $$PWD/css/makevalues.pl
699 cssvalues.output = $${WC_GENERATED_SOURCES_DIR}/CSSValueKeywords.cpp
700 cssvalues.input = WALDOCSSVALUES
701 cssvalues.commands = perl -ne \"print lc\" ${QMAKE_FILE_NAME} $$EXTRACSSVALUES > $${WC_GENERATED_SOURCES_DIR}/${QMAKE_FILE_BASE}.in && cd $$WC_GENERATED_SOURCES_DIR && perl $$cssvalues.wkScript && $(DEL_FILE) ${QMAKE_FILE_BASE}.in ${QMAKE_FILE_BASE}.gperf
702 cssvalues.depends = ${QMAKE_FILE_NAME} $${EXTRACSSVALUES}
703 cssvalues.clean = ${QMAKE_FILE_OUT} ${QMAKE_VAR_WC_GENERATED_SOURCES_DIR}/${QMAKE_FILE_BASE}.h
704 addExtraCompiler(cssvalues)
705
706 # GENERATOR 1: IDL compiler
707 idl.output = $${WC_GENERATED_SOURCES_DIR}/JS${QMAKE_FILE_BASE}.cpp
708 idl.input = IDL_BINDINGS
709 idl.wkScript = $$PWD/bindings/scripts/generate-bindings.pl
710 idl.commands = perl -I$$PWD/bindings/scripts $$idl.wkScript --defines \"$${FEATURE_DEFINES_JAVASCRIPT}\" --generator JS --include $$PWD/dom --include $$PWD/html --include $$PWD/xml --include $$PWD/svg --outputDir $$WC_GENERATED_SOURCES_DIR --preprocessor \"$${QMAKE_MOC} -E\" ${QMAKE_FILE_NAME}
711 idl.depends = $$PWD/bindings/scripts/CodeGenerator.pm \
712               $$PWD/bindings/scripts/CodeGeneratorJS.pm \
713               $$PWD/bindings/scripts/IDLParser.pm \
714               $$PWD/bindings/scripts/IDLStructure.pm \
715               $$PWD/bindings/scripts/InFilesParser.pm
716 addExtraCompiler(idl)
717
718 # GENERATOR 3: tokenizer (flex)
719 tokenizer.output = $${WC_GENERATED_SOURCES_DIR}/${QMAKE_FILE_BASE}.cpp
720 tokenizer.input = TOKENIZER
721 tokenizer.wkScript = $$PWD/css/maketokenizer
722 tokenizer.commands = flex -t < ${QMAKE_FILE_NAME} | perl $$tokenizer.wkScript > ${QMAKE_FILE_OUT}
723 addExtraCompiler(tokenizer)
724
725 # GENERATOR 4: CSS grammar
726 cssbison.output = $${WC_GENERATED_SOURCES_DIR}/${QMAKE_FILE_BASE}.cpp
727 cssbison.input = CSSBISON
728 cssbison.wkScript = $$PWD/css/makegrammar.pl
729 cssbison.commands = perl $$cssbison.wkScript ${QMAKE_FILE_NAME} $${WC_GENERATED_SOURCES_DIR}/${QMAKE_FILE_BASE}
730 cssbison.depends = ${QMAKE_FILE_NAME}
731 addExtraCompiler(cssbison)
732
733 # GENERATOR 5-A:
734 htmlnames.output = $${WC_GENERATED_SOURCES_DIR}/HTMLNames.cpp
735 htmlnames.input = HTML_NAMES
736 htmlnames.wkScript = $$PWD/dom/make_names.pl
737 htmlnames.commands = perl -I$$PWD/bindings/scripts $$htmlnames.wkScript --tags $$PWD/html/HTMLTagNames.in --attrs $$PWD/html/HTMLAttributeNames.in --extraDefines \"$${DEFINES}\" --preprocessor \"$${QMAKE_MOC} -E\"  --factory --wrapperFactory --outputDir $$WC_GENERATED_SOURCES_DIR
738 htmlnames.depends = $$PWD/html/HTMLAttributeNames.in
739 htmlnames.wkExtraSources = $${WC_GENERATED_SOURCES_DIR}/HTMLElementFactory.cpp $${WC_GENERATED_SOURCES_DIR}/JSHTMLElementWrapperFactory.cpp
740 addExtraCompiler(htmlnames)
741
742 # GENERATOR 5-B:
743 xmlnsnames.output = $${WC_GENERATED_SOURCES_DIR}/XMLNSNames.cpp
744 xmlnsnames.input = XMLNS_NAMES
745 xmlnsnames.wkScript = $$PWD/dom/make_names.pl
746 xmlnsnames.commands = perl -I$$PWD/bindings/scripts $$xmlnsnames.wkScript --attrs $$PWD/xml/xmlnsattrs.in --preprocessor \"$${QMAKE_MOC} -E\" --outputDir $$WC_GENERATED_SOURCES_DIR
747 addExtraCompiler(xmlnsnames)
748
749 # GENERATOR 5-C:
750 xmlnames.output = $${WC_GENERATED_SOURCES_DIR}/XMLNames.cpp
751 xmlnames.input = XML_NAMES
752 xmlnames.wkScript = $$PWD/dom/make_names.pl
753 xmlnames.commands = perl -I$$PWD/bindings/scripts $$xmlnames.wkScript --attrs $$PWD/xml/xmlattrs.in --preprocessor \"$${QMAKE_MOC} -E\" --outputDir $$WC_GENERATED_SOURCES_DIR
754 addExtraCompiler(xmlnames)
755
756 # GENERATOR 8-A:
757 entities.output = $${WC_GENERATED_SOURCES_DIR}/HTMLEntityNames.cpp
758 entities.input = ENTITIES_GPERF
759 entities.wkScript = $$PWD/make-hash-tools.pl
760 entities.commands = perl $$entities.wkScript $${WC_GENERATED_SOURCES_DIR} $$ENTITIES_GPERF
761 entities.clean = ${QMAKE_FILE_OUT}
762 entities.depends = $$PWD/make-hash-tools.pl
763 addExtraCompiler(entities)
764
765 # GENERATOR 8-B:
766 doctypestrings.output = $${WC_GENERATED_SOURCES_DIR}/DocTypeStrings.cpp
767 doctypestrings.input = DOCTYPESTRINGS_GPERF
768 doctypestrings.wkScript = $$PWD/make-hash-tools.pl
769 doctypestrings.commands = perl $$doctypestrings.wkScript $${WC_GENERATED_SOURCES_DIR} $$DOCTYPESTRINGS_GPERF
770 doctypestrings.clean = ${QMAKE_FILE_OUT}
771 doctypestrings.depends = $$PWD/make-hash-tools.pl
772 addExtraCompiler(doctypestrings)
773
774 # GENERATOR 8-C:
775 colordata.output = $${WC_GENERATED_SOURCES_DIR}/ColorData.cpp
776 colordata.input = COLORDATA_GPERF
777 colordata.wkScript = $$PWD/make-hash-tools.pl
778 colordata.commands = perl $$colordata.wkScript $${WC_GENERATED_SOURCES_DIR} $$COLORDATA_GPERF
779 colordata.clean = ${QMAKE_FILE_OUT}
780 colordata.depends = $$PWD/make-hash-tools.pl
781 addExtraCompiler(colordata)
782
783 # GENERATOR 9:
784 stylesheets.wkScript = $$PWD/css/make-css-file-arrays.pl
785 stylesheets.output = $${WC_GENERATED_SOURCES_DIR}/UserAgentStyleSheetsData.cpp
786 stylesheets.input = stylesheets.wkScript
787 stylesheets.commands = perl $$stylesheets.wkScript $${WC_GENERATED_SOURCES_DIR}/UserAgentStyleSheets.h ${QMAKE_FILE_OUT} $$STYLESHEETS_EMBED
788 stylesheets.depends = $$STYLESHEETS_EMBED
789 stylesheets.clean = ${QMAKE_FILE_OUT} ${QMAKE_VAR_WC_GENERATED_SOURCES_DIR}/UserAgentStyleSheets.h
790 addExtraCompiler(stylesheets, $${WC_GENERATED_SOURCES_DIR}/UserAgentStyleSheets.h)
791
792 # GENERATOR 10: XPATH grammar
793 xpathbison.output = $${WC_GENERATED_SOURCES_DIR}/${QMAKE_FILE_BASE}.cpp
794 xpathbison.input = XPATHBISON
795 xpathbison.commands = bison -d -p xpathyy ${QMAKE_FILE_NAME} -o $${WC_GENERATED_SOURCES_DIR}/${QMAKE_FILE_BASE}.tab.c && $(MOVE) $${WC_GENERATED_SOURCES_DIR}$${QMAKE_DIR_SEP}${QMAKE_FILE_BASE}.tab.c $${WC_GENERATED_SOURCES_DIR}$${QMAKE_DIR_SEP}${QMAKE_FILE_BASE}.cpp && $(MOVE) $${WC_GENERATED_SOURCES_DIR}$${QMAKE_DIR_SEP}${QMAKE_FILE_BASE}.tab.h $${WC_GENERATED_SOURCES_DIR}$${QMAKE_DIR_SEP}${QMAKE_FILE_BASE}.h
796 xpathbison.depends = ${QMAKE_FILE_NAME}
797 addExtraCompiler(xpathbison)
798
799 # GENERATOR 11: WebKit Version
800 # The appropriate Apple-maintained Version.xcconfig file for WebKit version information is in WebKit/mac/Configurations/.
801 webkitversion.wkScript = $$PWD/../WebKit/scripts/generate-webkitversion.pl
802 webkitversion.output = $${WC_GENERATED_SOURCES_DIR}/WebKitVersion.h
803 webkitversion.input = webkitversion.wkScript
804 webkitversion.commands = perl $$webkitversion.wkScript --config $$PWD/../WebKit/mac/Configurations/Version.xcconfig --outputDir $${WC_GENERATED_SOURCES_DIR}/
805 webkitversion.clean = ${QMAKE_VAR_WC_GENERATED_SOURCES_DIR}/WebKitVersion.h
806 webkitversion.wkAddOutputToSources = false
807 addExtraCompiler(webkitversion)
808