Unreviewed attempt to fix cmake build of Mac port after r209665.
[WebKit-https.git] / Source / WebKit / PlatformMac.cmake
1 find_library(APPLICATIONSERVICES_LIBRARY ApplicationServices)
2 find_library(QUARTZ_LIBRARY Quartz)
3 add_definitions(-iframework ${QUARTZ_LIBRARY}/Frameworks)
4 add_definitions(-iframework ${APPLICATIONSERVICES_LIBRARY}/Versions/Current/Frameworks)
5 link_directories(../../WebKitLibraries)
6
7 list(APPEND WebKit_INCLUDE_DIRECTORIES
8     "${DERIVED_SOURCES_WEBKITLEGACY_DIR}"
9     "${CMAKE_SOURCE_DIR}/WebKitLibraries"
10 )
11
12 list(APPEND WebKit_SYSTEM_INCLUDE_DIRECTORIES
13     mac
14     mac/Carbon
15     mac/DefaultDelegates
16     mac/DOM
17     mac/History
18     mac/icu
19     mac/Misc
20     mac/Panels
21     mac/Plugins
22     mac/Plugins/Hosted
23     mac/Storage
24     mac/WebCoreSupport
25     mac/WebInspector
26     mac/WebView
27 )
28
29 list(APPEND WebKit_SOURCES
30     cf/WebCoreSupport/WebInspectorClientCF.cpp
31
32     mac/Carbon/CarbonUtils.m
33     mac/Carbon/CarbonWindowAdapter.mm
34     mac/Carbon/CarbonWindowContentView.m
35     mac/Carbon/CarbonWindowFrame.m
36     mac/Carbon/HIViewAdapter.m
37     mac/Carbon/HIWebView.mm
38
39     mac/DOM/DOM.mm
40     mac/DOM/DOMAbstractView.mm
41     mac/DOM/DOMAttr.mm
42     mac/DOM/DOMBlob.mm
43     mac/DOM/DOMCDATASection.mm
44     mac/DOM/DOMCharacterData.mm
45     mac/DOM/DOMComment.mm
46     mac/DOM/DOMCounter.mm
47     mac/DOM/DOMCSS.mm
48     mac/DOM/DOMCSSCharsetRule.mm
49     mac/DOM/DOMCSSFontFaceRule.mm
50     mac/DOM/DOMCSSImportRule.mm
51     mac/DOM/DOMCSSMediaRule.mm
52     mac/DOM/DOMCSSPageRule.mm
53     mac/DOM/DOMCSSPrimitiveValue.mm
54     mac/DOM/DOMCSSRule.mm
55     mac/DOM/DOMCSSRuleList.mm
56     mac/DOM/DOMCSSStyleDeclaration.mm
57     mac/DOM/DOMCSSStyleRule.mm
58     mac/DOM/DOMCSSStyleSheet.mm
59     mac/DOM/DOMCSSUnknownRule.mm
60     mac/DOM/DOMCSSValue.mm
61     mac/DOM/DOMCSSValueList.mm
62     mac/DOM/DOMCustomXPathNSResolver.mm
63     mac/DOM/DOMDOMImplementation.mm
64     mac/DOM/DOMDOMTokenList.mm
65     mac/DOM/DOMDocument.mm
66     mac/DOM/DOMDocumentFragment.mm
67     mac/DOM/DOMDocumentType.mm
68     mac/DOM/DOMElement.mm
69     mac/DOM/DOMEntityReference.mm
70     mac/DOM/DOMEvent.mm
71     mac/DOM/DOMEvents.mm
72     mac/DOM/DOMFile.mm
73     mac/DOM/DOMFileList.mm
74     mac/DOM/DOMHTML.mm
75     mac/DOM/DOMHTMLAnchorElement.mm
76     mac/DOM/DOMHTMLAppletElement.mm
77     mac/DOM/DOMHTMLAreaElement.mm
78     mac/DOM/DOMHTMLBRElement.mm
79     mac/DOM/DOMHTMLBaseElement.mm
80     mac/DOM/DOMHTMLBaseFontElement.mm
81     mac/DOM/DOMHTMLBodyElement.mm
82     mac/DOM/DOMHTMLButtonElement.mm
83     mac/DOM/DOMHTMLCanvasElement.mm
84     mac/DOM/DOMHTMLCollection.mm
85     mac/DOM/DOMHTMLDListElement.mm
86     mac/DOM/DOMHTMLDirectoryElement.mm
87     mac/DOM/DOMHTMLDivElement.mm
88     mac/DOM/DOMHTMLDocument.mm
89     mac/DOM/DOMHTMLElement.mm
90     mac/DOM/DOMHTMLEmbedElement.mm
91     mac/DOM/DOMHTMLFieldSetElement.mm
92     mac/DOM/DOMHTMLFontElement.mm
93     mac/DOM/DOMHTMLFormElement.mm
94     mac/DOM/DOMHTMLFrameElement.mm
95     mac/DOM/DOMHTMLFrameSetElement.mm
96     mac/DOM/DOMHTMLHRElement.mm
97     mac/DOM/DOMHTMLHeadElement.mm
98     mac/DOM/DOMHTMLHeadingElement.mm
99     mac/DOM/DOMHTMLHtmlElement.mm
100     mac/DOM/DOMHTMLIFrameElement.mm
101     mac/DOM/DOMHTMLImageElement.mm
102     mac/DOM/DOMHTMLInputElement.mm
103     mac/DOM/DOMHTMLLIElement.mm
104     mac/DOM/DOMHTMLLabelElement.mm
105     mac/DOM/DOMHTMLLegendElement.mm
106     mac/DOM/DOMHTMLLinkElement.mm
107     mac/DOM/DOMHTMLMapElement.mm
108     mac/DOM/DOMHTMLMarqueeElement.mm
109     mac/DOM/DOMHTMLMediaElement.mm
110     mac/DOM/DOMHTMLMenuElement.mm
111     mac/DOM/DOMHTMLMetaElement.mm
112     mac/DOM/DOMHTMLModElement.mm
113     mac/DOM/DOMHTMLOListElement.mm
114     mac/DOM/DOMHTMLObjectElement.mm
115     mac/DOM/DOMHTMLOptGroupElement.mm
116     mac/DOM/DOMHTMLOptionElement.mm
117     mac/DOM/DOMHTMLOptionsCollection.mm
118     mac/DOM/DOMHTMLParagraphElement.mm
119     mac/DOM/DOMHTMLParamElement.mm
120     mac/DOM/DOMHTMLPreElement.mm
121     mac/DOM/DOMHTMLQuoteElement.mm
122     mac/DOM/DOMHTMLScriptElement.mm
123     mac/DOM/DOMHTMLSelectElement.mm
124     mac/DOM/DOMHTMLStyleElement.mm
125     mac/DOM/DOMHTMLTableCaptionElement.mm
126     mac/DOM/DOMHTMLTableCellElement.mm
127     mac/DOM/DOMHTMLTableColElement.mm
128     mac/DOM/DOMHTMLTableElement.mm
129     mac/DOM/DOMHTMLTableRowElement.mm
130     mac/DOM/DOMHTMLTableSectionElement.mm
131     mac/DOM/DOMHTMLTextAreaElement.mm
132     mac/DOM/DOMHTMLTitleElement.mm
133     mac/DOM/DOMHTMLUListElement.mm
134     mac/DOM/DOMHTMLVideoElement.mm
135     mac/DOM/DOMInternal.mm
136     mac/DOM/DOMKeyboardEvent.mm
137     mac/DOM/DOMMediaError.mm
138     mac/DOM/DOMMediaList.mm
139     mac/DOM/DOMMouseEvent.mm
140     mac/DOM/DOMMutationEvent.mm
141     mac/DOM/DOMNamedNodeMap.mm
142     mac/DOM/DOMNode.mm
143     mac/DOM/DOMNodeIterator.mm
144     mac/DOM/DOMNodeList.mm
145     mac/DOM/DOMObject.mm
146     mac/DOM/DOMOverflowEvent.mm
147     mac/DOM/DOMProcessingInstruction.mm
148     mac/DOM/DOMProgressEvent.mm
149     mac/DOM/DOMRGBColor.mm
150     mac/DOM/DOMRange.mm
151     mac/DOM/DOMRect.mm
152     mac/DOM/DOMStyleSheet.mm
153     mac/DOM/DOMStyleSheetList.mm
154     mac/DOM/DOMText.mm
155     mac/DOM/DOMTextEvent.mm
156     mac/DOM/DOMTimeRanges.mm
157     mac/DOM/DOMTreeWalker.mm
158     mac/DOM/DOMUIEvent.mm
159     mac/DOM/DOMUIKitExtensions.mm
160     mac/DOM/DOMUtility.mm
161     mac/DOM/DOMWheelEvent.mm
162     mac/DOM/DOMXPath.mm
163     mac/DOM/DOMXPathExpression.mm
164     mac/DOM/DOMXPathResult.mm
165     mac/DOM/ExceptionHandlers.mm
166     mac/DOM/ObjCEventListener.mm
167     mac/DOM/ObjCNodeFilterCondition.mm
168
169     mac/DefaultDelegates/WebDefaultContextMenuDelegate.mm
170     mac/DefaultDelegates/WebDefaultEditingDelegate.m
171     mac/DefaultDelegates/WebDefaultPolicyDelegate.m
172     mac/DefaultDelegates/WebDefaultUIDelegate.m
173
174     mac/History/BackForwardList.mm
175     mac/History/BinaryPropertyList.cpp
176     mac/History/HistoryPropertyList.mm
177     mac/History/WebBackForwardList.mm
178     mac/History/WebHistory.mm
179     mac/History/WebHistoryItem.mm
180     mac/History/WebURLsWithTitles.m
181
182     mac/Misc/WebCache.mm
183     mac/Misc/WebCoreStatistics.mm
184     mac/Misc/WebDownload.mm
185     mac/Misc/WebElementDictionary.mm
186     mac/Misc/WebIconDatabase.mm
187     mac/Misc/WebKitErrors.m
188     mac/Misc/WebKitLogging.m
189     mac/Misc/WebKitNSStringExtras.mm
190     mac/Misc/WebKitStatistics.m
191     mac/Misc/WebKitVersionChecks.m
192     mac/Misc/WebLocalizableStrings.mm
193     mac/Misc/WebLocalizableStringsInternal.mm
194     mac/Misc/WebNSControlExtras.m
195     mac/Misc/WebNSDataExtras.m
196     mac/Misc/WebNSDictionaryExtras.m
197     mac/Misc/WebNSEventExtras.m
198     mac/Misc/WebNSFileManagerExtras.mm
199     mac/Misc/WebNSImageExtras.m
200     mac/Misc/WebNSObjectExtras.mm
201     mac/Misc/WebNSPasteboardExtras.mm
202     mac/Misc/WebNSPrintOperationExtras.m
203     mac/Misc/WebNSURLExtras.mm
204     mac/Misc/WebNSURLRequestExtras.m
205     mac/Misc/WebNSUserDefaultsExtras.mm
206     mac/Misc/WebNSViewExtras.m
207     mac/Misc/WebNSWindowExtras.m
208     mac/Misc/WebSharingServicePickerController.mm
209     mac/Misc/WebStringTruncator.mm
210     mac/Misc/WebUserContentURLPattern.mm
211
212     mac/Panels/WebAuthenticationPanel.m
213     mac/Panels/WebPanelAuthenticationHandler.m
214
215     mac/Plugins/WebBaseNetscapePluginView.mm
216     mac/Plugins/WebBasePluginPackage.mm
217     mac/Plugins/WebNetscapePluginEventHandler.mm
218     mac/Plugins/WebNetscapePluginEventHandlerCarbon.mm
219     mac/Plugins/WebNetscapePluginEventHandlerCocoa.mm
220     mac/Plugins/WebNetscapePluginPackage.mm
221     mac/Plugins/WebNetscapePluginStream.mm
222     mac/Plugins/WebNetscapePluginView.mm
223     mac/Plugins/WebPluginContainerCheck.mm
224     mac/Plugins/WebPluginController.mm
225     mac/Plugins/WebPluginDatabase.mm
226     mac/Plugins/WebPluginPackage.mm
227     mac/Plugins/WebPluginRequest.m
228     mac/Plugins/npapi.mm
229
230     mac/Plugins/Hosted/HostedNetscapePluginStream.mm
231     mac/Plugins/Hosted/NetscapePluginHostManager.mm
232     mac/Plugins/Hosted/NetscapePluginHostProxy.mm
233     mac/Plugins/Hosted/NetscapePluginInstanceProxy.mm
234     mac/Plugins/Hosted/ProxyInstance.mm
235     mac/Plugins/Hosted/ProxyRuntimeObject.mm
236     mac/Plugins/Hosted/WebHostedNetscapePluginView.mm
237     mac/Plugins/Hosted/WebKitPluginAgent.defs
238     mac/Plugins/Hosted/WebKitPluginAgentReply.defs
239     mac/Plugins/Hosted/WebKitPluginClient.defs
240     mac/Plugins/Hosted/WebKitPluginHost.defs
241     mac/Plugins/Hosted/WebKitPluginHostTypes.defs
242     mac/Plugins/Hosted/WebTextInputWindowController.m
243
244     mac/Storage/WebDatabaseManager.mm
245     mac/Storage/WebDatabaseManagerClient.mm
246     mac/Storage/WebDatabaseProvider.mm
247     mac/Storage/WebDatabaseQuotaManager.mm
248     mac/Storage/WebStorageManager.mm
249     mac/Storage/WebStorageTrackerClient.mm
250
251     mac/WebCoreSupport/CorrectionPanel.mm
252     mac/WebCoreSupport/PopupMenuMac.mm
253     mac/WebCoreSupport/SearchPopupMenuMac.mm
254     mac/WebCoreSupport/WebAlternativeTextClient.mm
255     mac/WebCoreSupport/WebApplicationCache.mm
256     mac/WebCoreSupport/WebApplicationCacheQuotaManager.mm
257     mac/WebCoreSupport/WebChromeClient.mm
258     mac/WebCoreSupport/WebContextMenuClient.mm
259     mac/WebCoreSupport/WebDeviceOrientationClient.mm
260     mac/WebCoreSupport/WebDragClient.mm
261     mac/WebCoreSupport/WebEditorClient.mm
262     mac/WebCoreSupport/WebFrameLoaderClient.mm
263     mac/WebCoreSupport/WebFrameNetworkingContext.mm
264     mac/WebCoreSupport/WebGeolocationClient.mm
265     mac/WebCoreSupport/WebIconDatabaseClient.mm
266     mac/WebCoreSupport/WebInspectorClient.mm
267     mac/WebCoreSupport/WebJavaScriptTextInputPanel.m
268     mac/WebCoreSupport/WebKitFullScreenListener.mm
269     mac/WebCoreSupport/WebNotificationClient.mm
270     mac/WebCoreSupport/WebOpenPanelResultListener.mm
271     mac/WebCoreSupport/WebPlatformStrategies.mm
272     mac/WebCoreSupport/WebPluginInfoProvider.mm
273     mac/WebCoreSupport/WebProgressTrackerClient.mm
274     mac/WebCoreSupport/WebSecurityOrigin.mm
275     mac/WebCoreSupport/WebSelectionServiceController.mm
276     mac/WebCoreSupport/WebSystemInterface.mm
277     mac/WebCoreSupport/WebUserMediaClient.mm
278     mac/WebCoreSupport/WebValidationMessageClient.mm
279     mac/WebCoreSupport/WebVisitedLinkStore.mm
280
281     mac/WebInspector/WebInspector.mm
282     mac/WebInspector/WebInspectorFrontend.mm
283     mac/WebInspector/WebNodeHighlight.mm
284     mac/WebInspector/WebNodeHighlightView.mm
285     mac/WebInspector/WebNodeHighlighter.mm
286
287     mac/WebView/WebArchive.mm
288     mac/WebView/WebClipView.mm
289     mac/WebView/WebDashboardRegion.mm
290     mac/WebView/WebDataSource.mm
291     mac/WebView/WebDelegateImplementationCaching.mm
292     mac/WebView/WebDeviceOrientation.mm
293     mac/WebView/WebDeviceOrientationProviderMock.mm
294     mac/WebView/WebDocumentLoaderMac.mm
295     mac/WebView/WebDynamicScrollBarsView.mm
296     mac/WebView/WebFormDelegate.m
297     mac/WebView/WebFrame.mm
298     mac/WebView/WebFrameView.mm
299     mac/WebView/WebFullScreenController.mm
300     mac/WebView/WebGeolocationPosition.mm
301     mac/WebView/WebHTMLRepresentation.mm
302     mac/WebView/WebHTMLView.mm
303     mac/WebView/WebImmediateActionController.mm
304     mac/WebView/WebIndicateLayer.mm
305     mac/WebView/WebJSPDFDoc.mm
306     mac/WebView/WebNavigationData.mm
307     mac/WebView/WebNotification.mm
308     mac/WebView/WebPDFDocumentExtras.mm
309     mac/WebView/WebPDFRepresentation.mm
310     mac/WebView/WebPDFView.mm
311     mac/WebView/WebPolicyDelegate.mm
312     mac/WebView/WebPreferences.mm
313     mac/WebView/WebResource.mm
314     mac/WebView/WebScriptDebugDelegate.mm
315     mac/WebView/WebScriptDebugger.mm
316     mac/WebView/WebScriptWorld.mm
317     mac/WebView/WebTextCompletionController.mm
318     mac/WebView/WebTextIterator.mm
319     mac/WebView/WebView.mm
320     mac/WebView/WebViewData.mm
321 )
322
323 set(WebKit_LIBRARY_TYPE SHARED)
324
325 set(WebKitLegacy_FORWARDING_HEADERS_DIRECTORIES
326     mac/DOM
327     mac/DefaultDelegates
328     mac/History
329     mac/Misc
330     mac/Panels
331     mac/Plugins
332     mac/WebCoreSupport
333     mac/WebInspector
334     mac/WebView
335 )
336
337 set(WebKitLegacy_FORWARDING_HEADERS_FILES
338     mac/DOM/WebDOMOperations.h
339
340     mac/History/WebHistory.h
341     mac/History/WebHistoryItem.h
342
343     mac/Misc/WebNSURLExtras.h
344
345     mac/Panels/WebPanelAuthenticationHandler.h
346
347     mac/Plugins/WebBasePluginPackage.h
348
349     mac/WebCoreSupport/WebKeyGenerator.h
350
351     mac/WebInspector/WebInspector.h
352
353     mac/WebView/WebFrame.h
354     mac/WebView/WebView.h
355
356     ${WEBCORE_DIR}/plugins/npfunctions.h
357 )
358
359 add_definitions("-include WebKitPrefix.h")
360
361 set(C99_FILES
362     ${WEBKIT_DIR}/mac/Carbon/CarbonUtils.m
363     ${WEBKIT_DIR}/mac/Carbon/CarbonWindowContentView.m
364     ${WEBKIT_DIR}/mac/Carbon/CarbonWindowFrame.m
365     ${WEBKIT_DIR}/mac/Carbon/HIViewAdapter.m
366
367     mac/DefaultDelegates/WebDefaultEditingDelegate.m
368     mac/DefaultDelegates/WebDefaultPolicyDelegate.m
369     mac/DefaultDelegates/WebDefaultUIDelegate.m
370
371     mac/Misc/WebKitErrors.m
372     mac/Misc/WebKitLogging.m
373     mac/Misc/WebKitStatistics.m
374     mac/Misc/WebKitSystemBits.m
375     mac/Misc/WebKitVersionChecks.m
376     mac/Misc/WebNSArrayExtras.m
377     mac/Misc/WebNSControlExtras.m
378     mac/Misc/WebNSDataExtras.m
379     mac/Misc/WebNSDictionaryExtras.m
380     mac/Misc/WebNSEventExtras.m
381     mac/Misc/WebNSImageExtras.m
382     mac/Misc/WebNSPrintOperationExtras.m
383     mac/Misc/WebNSURLRequestExtras.m
384     mac/Misc/WebNSViewExtras.m
385     mac/Misc/WebNSWindowExtras.m
386
387     mac/Panels/WebAuthenticationPanel.m
388     mac/Panels/WebPanelAuthenticationHandler.m
389
390     mac/Plugins/WebPluginRequest.m
391     mac/Plugins/WebPluginsPrivate.m
392
393     mac/Plugins/Hosted/WebTextInputWindowController.m
394
395     mac/WebCoreSupport/WebJavaScriptTextInputPanel.m
396
397     mac/WebView/WebFormDelegate.m
398 )
399
400 foreach (_file ${WebKit_SOURCES})
401     list(FIND C99_FILES ${_file} _c99_index)
402     if (${_c99_index} EQUAL -1)
403         set_source_files_properties(${_file} PROPERTIES COMPILE_FLAGS "-ObjC++ -std=c++14")
404     else ()
405         set_source_files_properties(${_file} PROPERTIES COMPILE_FLAGS -std=c99)
406     endif ()
407 endforeach ()
408
409 file(COPY
410     mac/Plugins/Hosted/WebKitPluginAgent.defs
411     mac/Plugins/Hosted/WebKitPluginAgentReply.defs
412     mac/Plugins/Hosted/WebKitPluginClient.defs
413     mac/Plugins/Hosted/WebKitPluginHost.defs
414     mac/Plugins/Hosted/WebKitPluginHostTypes.defs
415     mac/Plugins/Hosted/WebKitPluginHostTypes.h
416 DESTINATION ${DERIVED_SOURCES_WEBKITLEGACY_DIR})
417
418 add_custom_command(
419     OUTPUT
420         ${DERIVED_SOURCES_WEBKITLEGACY_DIR}/WebKitPluginAgentReplyServer.c
421         ${DERIVED_SOURCES_WEBKITLEGACY_DIR}/WebKitPluginAgentReplyUser.c
422         ${DERIVED_SOURCES_WEBKITLEGACY_DIR}/WebKitPluginAgentServer.c
423         ${DERIVED_SOURCES_WEBKITLEGACY_DIR}/WebKitPluginAgentUser.c
424         ${DERIVED_SOURCES_WEBKITLEGACY_DIR}/WebKitPluginHostServer.c
425         ${DERIVED_SOURCES_WEBKITLEGACY_DIR}/WebKitPluginHostUser.c
426     MAIN_DEPENDENCY mac/Plugins/Hosted/WebKitPluginAgent.defs
427     WORKING_DIRECTORY ${DERIVED_SOURCES_WEBKITLEGACY_DIR}
428     COMMAND mig -I.. WebKitPluginAgent.defs WebKitPluginAgentReply.defs WebKitPluginHost.defs
429     VERBATIM)
430 add_custom_command(
431     OUTPUT
432         ${DERIVED_SOURCES_WEBKITLEGACY_DIR}/WebKitPluginClientServer.c
433         ${DERIVED_SOURCES_WEBKITLEGACY_DIR}/WebKitPluginClientUser.c
434     MAIN_DEPENDENCY mac/Plugins/Hosted/WebKitPluginAgent.defs
435     WORKING_DIRECTORY ${DERIVED_SOURCES_WEBKITLEGACY_DIR}
436     COMMAND mig -I.. -sheader WebKitPluginClientServer.h WebKitPluginClient.defs
437     VERBATIM)
438 list(APPEND WebKit_SOURCES
439     ${DERIVED_SOURCES_WEBKITLEGACY_DIR}/WebKitPluginAgentUser.c
440     ${DERIVED_SOURCES_WEBKITLEGACY_DIR}/WebKitPluginClientServer.c
441     ${DERIVED_SOURCES_WEBKITLEGACY_DIR}/WebKitPluginHostUser.c
442 )
443
444 WEBKIT_CREATE_FORWARDING_HEADERS(WebKitLegacy DIRECTORIES ${WebKitLegacy_FORWARDING_HEADERS_DIRECTORIES} FILES ${WebKitLegacy_FORWARDING_HEADERS_FILES})
445 WEBKIT_CREATE_FORWARDING_HEADERS(WebKit DIRECTORIES ${DERIVED_SOURCES_DIR}/ForwardingHeaders/WebKitLegacy)
446
447 # FIXME: Forwarding headers should be copies of actual headers.
448 file(GLOB ObjCHeaders ${WEBCORE_DIR}/plugins/*.h)
449 list(APPEND ObjCHeaders
450     WebKitAvailability.h
451     WebScriptObject.h
452 )
453 foreach (_file ${ObjCHeaders})
454     get_filename_component(_name ${_file} NAME)
455     if (NOT EXISTS ${DERIVED_SOURCES_DIR}/ForwardingHeaders/WebKitLegacy/${_name})
456         file(WRITE ${DERIVED_SOURCES_DIR}/ForwardingHeaders/WebKitLegacy/${_name} "#import <WebCore/${_name}>")
457     endif ()
458 endforeach ()
459
460 set(WebKit_OUTPUT_NAME WebKitLegacy)
461
462 set(CMAKE_SHARED_LINKER_FLAGS ${CMAKE_SHARED_LINKER_FLAGS} "-compatibility_version 1 -current_version ${WEBKIT_MAC_VERSION}")