Unreviewed, rolling out r200232.
[WebKit-https.git] / Source / WebCore / DerivedSources.make
1 # Copyright (C) 2006-2008, 2012, 2014-2015 Apple Inc. All rights reserved.
2 # Copyright (C) 2006 Samuel Weinig <sam.weinig@gmail.com>
3 # Copyright (C) 2009 Cameron McCormack <cam@mcc.id.au>
4 #
5 # Redistribution and use in source and binary forms, with or without
6 # modification, are permitted provided that the following conditions
7 # are met:
8 #
9 # 1.  Redistributions of source code must retain the above copyright
10 #     notice, this list of conditions and the following disclaimer.
11 # 2.  Redistributions in binary form must reproduce the above copyright
12 #     notice, this list of conditions and the following disclaimer in the
13 #     documentation and/or other materials provided with the distribution.
14 # 3.  Neither the name of Apple Inc. ("Apple") nor the names of
15 #     its contributors may be used to endorse or promote products derived
16 #     from this software without specific prior written permission.
17 #
18 # THIS SOFTWARE IS PROVIDED BY APPLE AND ITS CONTRIBUTORS "AS IS" AND ANY
19 # EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
20 # WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
21 # DISCLAIMED. IN NO EVENT SHALL APPLE OR ITS CONTRIBUTORS BE LIABLE FOR ANY
22 # DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
23 # (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
24 # LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
25 # ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
26 # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
27 # THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
28
29 VPATH = \
30     $(WebCore) \
31     $(WebCore)/Modules/airplay \
32     $(WebCore)/Modules/encryptedmedia \
33     $(WebCore)/Modules/fetch \
34     $(WebCore)/Modules/gamepad \
35     $(WebCore)/Modules/geolocation \
36     $(WebCore)/Modules/indexeddb \
37     $(WebCore)/Modules/indieui \
38     $(WebCore)/Modules/mediacontrols \
39     $(WebCore)/Modules/mediasession \
40     $(WebCore)/Modules/mediasource \
41     $(WebCore)/Modules/mediastream \
42     $(WebCore)/Modules/notifications \
43     $(WebCore)/Modules/plugins \
44     $(WebCore)/Modules/quota \
45     $(WebCore)/Modules/speech \
46     $(WebCore)/Modules/streams \
47     $(WebCore)/Modules/webaudio \
48     $(WebCore)/Modules/webdatabase \
49     $(WebCore)/Modules/websockets \
50     $(WebCore)/animation \
51     $(WebCore)/bindings/generic \
52     $(WebCore)/bindings/js \
53     $(WebCore)/bindings/objc \
54     $(WebCore)/crypto \
55     $(WebCore)/css \
56     $(WebCore)/dom \
57     $(WebCore)/editing \
58     $(WebCore)/fetch \
59     $(WebCore)/fileapi \
60     $(WebCore)/html \
61     $(WebCore)/html/canvas \
62     $(WebCore)/html/shadow \
63     $(WebCore)/html/track \
64     $(WebCore)/inspector \
65     $(WebCore)/loader/appcache \
66     $(WebCore)/page \
67     $(WebCore)/platform/network \
68     $(WebCore)/plugins \
69     $(WebCore)/storage \
70     $(WebCore)/xml \
71     $(WebCore)/workers \
72     $(WebCore)/svg \
73     $(WebCore)/testing \
74     $(WebCore)/websockets \
75 #
76
77 NON_SVG_BINDING_IDLS = \
78     $(WebCore)/Modules/airplay/WebKitPlaybackTargetAvailabilityEvent.idl \
79     $(WebCore)/Modules/encryptedmedia/MediaKeyMessageEvent.idl \
80     $(WebCore)/Modules/encryptedmedia/MediaKeyNeededEvent.idl \
81     $(WebCore)/Modules/encryptedmedia/MediaKeySession.idl \
82     $(WebCore)/Modules/encryptedmedia/MediaKeys.idl \
83     $(WebCore)/Modules/fetch/DOMWindowFetch.idl \
84     $(WebCore)/Modules/fetch/FetchBody.idl \
85     $(WebCore)/Modules/fetch/FetchHeaders.idl \
86     $(WebCore)/Modules/fetch/FetchRequest.idl \
87     $(WebCore)/Modules/fetch/FetchResponse.idl \
88     $(WebCore)/Modules/fetch/WorkerGlobalScopeFetch.idl \
89     $(WebCore)/Modules/gamepad/Gamepad.idl \
90     $(WebCore)/Modules/gamepad/GamepadButton.idl \
91     $(WebCore)/Modules/gamepad/GamepadEvent.idl \
92     $(WebCore)/Modules/gamepad/NavigatorGamepad.idl \
93     $(WebCore)/Modules/geolocation/Coordinates.idl \
94     $(WebCore)/Modules/geolocation/Geolocation.idl \
95     $(WebCore)/Modules/geolocation/Geoposition.idl \
96     $(WebCore)/Modules/geolocation/NavigatorGeolocation.idl \
97     $(WebCore)/Modules/geolocation/PositionCallback.idl \
98     $(WebCore)/Modules/geolocation/PositionError.idl \
99     $(WebCore)/Modules/geolocation/PositionErrorCallback.idl \
100     $(WebCore)/Modules/indexeddb/DOMWindowIndexedDatabase.idl \
101     $(WebCore)/Modules/indexeddb/IDBCursor.idl \
102     $(WebCore)/Modules/indexeddb/IDBCursorWithValue.idl \
103     $(WebCore)/Modules/indexeddb/IDBDatabase.idl \
104     $(WebCore)/Modules/indexeddb/IDBFactory.idl \
105     $(WebCore)/Modules/indexeddb/IDBIndex.idl \
106     $(WebCore)/Modules/indexeddb/IDBKeyRange.idl \
107     $(WebCore)/Modules/indexeddb/IDBObjectStore.idl \
108     $(WebCore)/Modules/indexeddb/IDBOpenDBRequest.idl \
109     $(WebCore)/Modules/indexeddb/IDBRequest.idl \
110     $(WebCore)/Modules/indexeddb/IDBTransaction.idl \
111     $(WebCore)/Modules/indexeddb/IDBVersionChangeEvent.idl \
112     $(WebCore)/Modules/indexeddb/WorkerGlobalScopeIndexedDatabase.idl \
113     $(WebCore)/Modules/indieui/UIRequestEvent.idl \
114     $(WebCore)/Modules/mediacontrols/MediaControlsHost.idl \
115     $(WebCore)/Modules/mediasession/HTMLMediaElementMediaSession.idl \
116     $(WebCore)/Modules/mediasession/MediaRemoteControls.idl \
117     $(WebCore)/Modules/mediasession/MediaSession.idl \
118         $(WebCore)/Modules/mediasource/DOMURLMediaSource.idl \
119         $(WebCore)/Modules/mediasource/AudioTrackMediaSource.idl \
120         $(WebCore)/Modules/mediasource/MediaSource.idl \
121         $(WebCore)/Modules/mediasource/SourceBuffer.idl \
122         $(WebCore)/Modules/mediasource/SourceBufferList.idl \
123     $(WebCore)/Modules/mediasource/SourceBuffer.idl \
124     $(WebCore)/Modules/mediasource/SourceBufferList.idl \
125         $(WebCore)/Modules/mediasource/TextTrackMediaSource.idl \
126         $(WebCore)/Modules/mediasource/VideoTrackMediaSource.idl \
127         $(WebCore)/Modules/mediasource/VideoPlaybackQuality.idl \
128         $(WebCore)/Modules/mediastream/DOMURLMediaStream.idl \
129     $(WebCore)/Modules/mediastream/HTMLMediaElementMediaStream.idl \
130     $(WebCore)/Modules/mediastream/MediaDeviceInfo.idl \
131     $(WebCore)/Modules/mediastream/MediaDevices.idl \
132         $(WebCore)/Modules/mediastream/MediaStream.idl \
133     $(WebCore)/Modules/mediastream/MediaStreamEvent.idl \
134     $(WebCore)/Modules/mediastream/MediaStreamTrack.idl \
135     $(WebCore)/Modules/mediastream/MediaStreamTrackEvent.idl \
136     $(WebCore)/Modules/mediastream/MediaStreamTrackSourcesCallback.idl \
137     $(WebCore)/Modules/mediastream/MediaTrackConstraint.idl \
138     $(WebCore)/Modules/mediastream/MediaTrackConstraints.idl \
139     $(WebCore)/Modules/mediastream/MediaTrackConstraintSet.idl \
140     $(WebCore)/Modules/mediastream/MediaTrackSupportedConstraints.idl \
141     $(WebCore)/Modules/mediastream/NavigatorMediaDevices.idl \
142     $(WebCore)/Modules/mediastream/NavigatorUserMedia.idl \
143     $(WebCore)/Modules/mediastream/NavigatorUserMediaError.idl \
144     $(WebCore)/Modules/mediastream/RTCConfiguration.idl \
145     $(WebCore)/Modules/mediastream/RTCDTMFSender.idl \
146     $(WebCore)/Modules/mediastream/RTCDTMFToneChangeEvent.idl \
147     $(WebCore)/Modules/mediastream/RTCDataChannel.idl \
148     $(WebCore)/Modules/mediastream/RTCDataChannelEvent.idl \
149     $(WebCore)/Modules/mediastream/RTCIceCandidate.idl \
150     $(WebCore)/Modules/mediastream/RTCIceCandidateEvent.idl \
151     $(WebCore)/Modules/mediastream/RTCIceServer.idl \
152     $(WebCore)/Modules/mediastream/RTCPeerConnection.idl \
153     $(WebCore)/Modules/mediastream/RTCRtpReceiver.idl \
154     $(WebCore)/Modules/mediastream/RTCRtpSender.idl \
155     $(WebCore)/Modules/mediastream/RTCSessionDescription.idl \
156     $(WebCore)/Modules/mediastream/RTCStatsReport.idl \
157     $(WebCore)/Modules/mediastream/RTCStatsResponse.idl \
158     $(WebCore)/Modules/mediastream/RTCTrackEvent.idl \
159     $(WebCore)/Modules/mediastream/SourceInfo.idl \
160     $(WebCore)/Modules/notifications/DOMWindowNotifications.idl \
161     $(WebCore)/Modules/notifications/Notification.idl \
162     $(WebCore)/Modules/notifications/NotificationCenter.idl \
163     $(WebCore)/Modules/notifications/NotificationPermissionCallback.idl \
164     $(WebCore)/Modules/notifications/WorkerGlobalScopeNotifications.idl \
165     $(WebCore)/Modules/plugins/QuickTimePluginReplacement.idl \
166     $(WebCore)/Modules/quota/DOMWindowQuota.idl \
167     $(WebCore)/Modules/quota/NavigatorStorageQuota.idl \
168     $(WebCore)/Modules/quota/StorageInfo.idl \
169     $(WebCore)/Modules/quota/StorageErrorCallback.idl \
170     $(WebCore)/Modules/quota/StorageQuota.idl \
171     $(WebCore)/Modules/quota/StorageQuotaCallback.idl \
172     $(WebCore)/Modules/quota/StorageUsageCallback.idl \
173     $(WebCore)/Modules/quota/WorkerNavigatorStorageQuota.idl \
174     $(WebCore)/Modules/speech/DOMWindowSpeechSynthesis.idl \
175     $(WebCore)/Modules/speech/SpeechSynthesis.idl \
176     $(WebCore)/Modules/speech/SpeechSynthesisEvent.idl \
177     $(WebCore)/Modules/speech/SpeechSynthesisUtterance.idl \
178     $(WebCore)/Modules/speech/SpeechSynthesisVoice.idl \
179     $(WebCore)/Modules/streams/ByteLengthQueuingStrategy.idl \
180     $(WebCore)/Modules/streams/CountQueuingStrategy.idl \
181     $(WebCore)/Modules/streams/ReadableStream.idl \
182     $(WebCore)/Modules/streams/ReadableStreamController.idl \
183     $(WebCore)/Modules/streams/ReadableStreamReader.idl \
184     $(WebCore)/Modules/streams/ReadableStreamSource.idl \
185     $(WebCore)/Modules/streams/WritableStream.idl \
186     $(WebCore)/Modules/webaudio/AudioBuffer.idl \
187     $(WebCore)/Modules/webaudio/AudioBufferCallback.idl \
188     $(WebCore)/Modules/webaudio/AudioBufferSourceNode.idl \
189     $(WebCore)/Modules/webaudio/ChannelMergerNode.idl \
190     $(WebCore)/Modules/webaudio/ChannelSplitterNode.idl \
191     $(WebCore)/Modules/webaudio/AudioContext.idl \
192     $(WebCore)/Modules/webaudio/AudioDestinationNode.idl \
193     $(WebCore)/Modules/webaudio/GainNode.idl \
194     $(WebCore)/Modules/webaudio/AudioListener.idl \
195     $(WebCore)/Modules/webaudio/AudioNode.idl \
196     $(WebCore)/Modules/webaudio/PannerNode.idl \
197     $(WebCore)/Modules/webaudio/AudioParam.idl \
198     $(WebCore)/Modules/webaudio/AudioProcessingEvent.idl \
199     $(WebCore)/Modules/webaudio/BiquadFilterNode.idl \
200     $(WebCore)/Modules/webaudio/ConvolverNode.idl \
201     $(WebCore)/Modules/webaudio/DelayNode.idl \
202     $(WebCore)/Modules/webaudio/DynamicsCompressorNode.idl \
203     $(WebCore)/Modules/webaudio/ScriptProcessorNode.idl \
204     $(WebCore)/Modules/webaudio/MediaElementAudioSourceNode.idl \
205     $(WebCore)/Modules/webaudio/MediaStreamAudioDestinationNode.idl \
206     $(WebCore)/Modules/webaudio/MediaStreamAudioSourceNode.idl \
207     $(WebCore)/Modules/webaudio/OscillatorNode.idl \
208     $(WebCore)/Modules/webaudio/OfflineAudioContext.idl \
209     $(WebCore)/Modules/webaudio/OfflineAudioCompletionEvent.idl \
210     $(WebCore)/Modules/webaudio/AnalyserNode.idl \
211     $(WebCore)/Modules/webaudio/WaveShaperNode.idl \
212     $(WebCore)/Modules/webaudio/PeriodicWave.idl \
213     $(WebCore)/Modules/webdatabase/DOMWindowWebDatabase.idl \
214     $(WebCore)/Modules/webdatabase/Database.idl \
215     $(WebCore)/Modules/webdatabase/DatabaseCallback.idl \
216     $(WebCore)/Modules/webdatabase/SQLError.idl \
217     $(WebCore)/Modules/webdatabase/SQLException.idl \
218     $(WebCore)/Modules/webdatabase/SQLResultSet.idl \
219     $(WebCore)/Modules/webdatabase/SQLResultSetRowList.idl \
220     $(WebCore)/Modules/webdatabase/SQLStatementCallback.idl \
221     $(WebCore)/Modules/webdatabase/SQLStatementErrorCallback.idl \
222     $(WebCore)/Modules/webdatabase/SQLTransaction.idl \
223     $(WebCore)/Modules/webdatabase/SQLTransactionCallback.idl \
224     $(WebCore)/Modules/webdatabase/SQLTransactionErrorCallback.idl \
225     $(WebCore)/Modules/websockets/CloseEvent.idl \
226     $(WebCore)/Modules/websockets/WebSocket.idl \
227     $(WebCore)/animation/AnimationTimeline.idl \
228     $(WebCore)/animation/DocumentAnimation.idl \
229     $(WebCore)/animation/DocumentTimeline.idl \
230     $(WebCore)/crypto/CryptoKey.idl \
231     $(WebCore)/crypto/CryptoKeyPair.idl \
232     $(WebCore)/crypto/SubtleCrypto.idl \
233     $(WebCore)/css/CSSCharsetRule.idl \
234     $(WebCore)/css/CSSFontFaceLoadEvent.idl \
235     $(WebCore)/css/CSSFontFaceRule.idl \
236     $(WebCore)/css/CSSImportRule.idl \
237     $(WebCore)/css/CSSMediaRule.idl \
238     $(WebCore)/css/CSSPageRule.idl \
239     $(WebCore)/css/CSSPrimitiveValue.idl \
240     $(WebCore)/css/CSSRule.idl \
241     $(WebCore)/css/CSSRuleList.idl \
242     $(WebCore)/css/CSSStyleDeclaration.idl \
243     $(WebCore)/css/CSSStyleRule.idl \
244     $(WebCore)/css/CSSStyleSheet.idl \
245     $(WebCore)/css/CSSSupportsRule.idl \
246     $(WebCore)/css/CSSUnknownRule.idl \
247     $(WebCore)/css/CSSValue.idl \
248     $(WebCore)/css/CSSValueList.idl \
249     $(WebCore)/css/Counter.idl \
250     $(WebCore)/css/DOMCSSNamespace.idl \
251     $(WebCore)/css/FontFace.idl \
252     $(WebCore)/css/FontFaceSet.idl \
253     $(WebCore)/css/MediaList.idl \
254     $(WebCore)/css/MediaQueryList.idl \
255     $(WebCore)/css/MediaQueryListListener.idl \
256     $(WebCore)/css/RGBColor.idl \
257     $(WebCore)/css/Rect.idl \
258     $(WebCore)/css/StyleMedia.idl \
259     $(WebCore)/css/StyleSheet.idl \
260     $(WebCore)/css/StyleSheetList.idl \
261     $(WebCore)/css/WebKitCSSFilterValue.idl \
262     $(WebCore)/css/CSSKeyframeRule.idl \
263     $(WebCore)/css/CSSKeyframesRule.idl \
264     $(WebCore)/css/WebKitCSSMatrix.idl \
265     $(WebCore)/css/WebKitCSSRegionRule.idl \
266     $(WebCore)/css/WebKitCSSTransformValue.idl \
267     $(WebCore)/css/WebKitCSSViewportRule.idl \
268     $(WebCore)/dom/AnimationEvent.idl \
269     $(WebCore)/dom/Attr.idl \
270     $(WebCore)/dom/AutocompleteErrorEvent.idl \
271     $(WebCore)/dom/BeforeLoadEvent.idl \
272     $(WebCore)/dom/BeforeUnloadEvent.idl \
273     $(WebCore)/dom/CDATASection.idl \
274     $(WebCore)/dom/CharacterData.idl \
275     $(WebCore)/dom/ChildNode.idl \
276     $(WebCore)/dom/ClientRect.idl \
277     $(WebCore)/dom/ClientRectList.idl \
278     $(WebCore)/dom/Comment.idl \
279     $(WebCore)/dom/CompositionEvent.idl \
280     $(WebCore)/dom/CustomEvent.idl \
281     $(WebCore)/dom/DOMCoreException.idl \
282     $(WebCore)/dom/DOMError.idl \
283     $(WebCore)/dom/DOMImplementation.idl \
284     $(WebCore)/dom/DOMStringList.idl \
285     $(WebCore)/dom/DOMStringMap.idl \
286     $(WebCore)/dom/DataTransfer.idl \
287     $(WebCore)/dom/DataTransferItem.idl \
288     $(WebCore)/dom/DataTransferItemList.idl \
289     $(WebCore)/dom/DeviceMotionEvent.idl \
290     $(WebCore)/dom/DeviceOrientationEvent.idl \
291     $(WebCore)/dom/Document.idl \
292     $(WebCore)/dom/DocumentFragment.idl \
293     $(WebCore)/dom/DocumentType.idl \
294     $(WebCore)/dom/Element.idl \
295     $(WebCore)/dom/Entity.idl \
296     $(WebCore)/dom/EntityReference.idl \
297     $(WebCore)/dom/ErrorEvent.idl \
298     $(WebCore)/dom/Event.idl \
299     $(WebCore)/dom/EventListener.idl \
300     $(WebCore)/dom/EventTarget.idl \
301     $(WebCore)/dom/FocusEvent.idl \
302     $(WebCore)/dom/GlobalEventHandlers.idl \
303     $(WebCore)/dom/HashChangeEvent.idl \
304     $(WebCore)/dom/KeyboardEvent.idl \
305     $(WebCore)/dom/MessageChannel.idl \
306     $(WebCore)/dom/MessageEvent.idl \
307     $(WebCore)/dom/MessagePort.idl \
308     $(WebCore)/dom/MouseEvent.idl \
309     $(WebCore)/dom/MutationEvent.idl \
310     $(WebCore)/dom/MutationObserver.idl \
311     $(WebCore)/dom/MutationRecord.idl \
312     $(WebCore)/dom/DOMNamedFlowCollection.idl \
313     $(WebCore)/dom/NamedNodeMap.idl \
314     $(WebCore)/dom/Node.idl \
315     $(WebCore)/dom/NodeFilter.idl \
316     $(WebCore)/dom/NodeIterator.idl \
317     $(WebCore)/dom/NodeList.idl \
318     $(WebCore)/dom/NonElementParentNode.idl \
319     $(WebCore)/dom/NonDocumentTypeChildNode.idl \
320     $(WebCore)/dom/OverflowEvent.idl \
321     $(WebCore)/dom/PageTransitionEvent.idl \
322     $(WebCore)/dom/ParentNode.idl \
323     $(WebCore)/dom/PopStateEvent.idl \
324     $(WebCore)/dom/ProcessingInstruction.idl \
325     $(WebCore)/dom/ProgressEvent.idl \
326     $(WebCore)/dom/ProgressEvent.idl \
327     $(WebCore)/dom/Range.idl \
328     $(WebCore)/dom/RequestAnimationFrameCallback.idl \
329     $(WebCore)/dom/SecurityPolicyViolationEvent.idl \
330     $(WebCore)/dom/ShadowRoot.idl \
331     $(WebCore)/dom/StringCallback.idl \
332     $(WebCore)/dom/Text.idl \
333     $(WebCore)/dom/TextEvent.idl \
334     $(WebCore)/dom/TransitionEvent.idl \
335     $(WebCore)/dom/TreeWalker.idl \
336     $(WebCore)/dom/UIEvent.idl \
337     $(WebCore)/dom/WebKitAnimationEvent.idl \
338     $(WebCore)/dom/WebKitNamedFlow.idl \
339     $(WebCore)/dom/WebKitTransitionEvent.idl \
340     $(WebCore)/dom/WheelEvent.idl \
341     $(WebCore)/dom/XMLDocument.idl \
342     $(WebCore)/fileapi/Blob.idl \
343     $(WebCore)/fileapi/File.idl \
344     $(WebCore)/fileapi/FileError.idl \
345     $(WebCore)/fileapi/FileException.idl \
346     $(WebCore)/fileapi/FileList.idl \
347     $(WebCore)/fileapi/FileReader.idl \
348     $(WebCore)/fileapi/FileReaderSync.idl \
349     $(WebCore)/html/DOMFormData.idl \
350     $(WebCore)/html/DOMSettableTokenList.idl \
351     $(WebCore)/html/DOMTokenList.idl \
352     $(WebCore)/html/DOMURL.idl \
353     $(WebCore)/html/HTMLAllCollection.idl \
354     $(WebCore)/html/HTMLAnchorElement.idl \
355     $(WebCore)/html/HTMLAppletElement.idl \
356     $(WebCore)/html/HTMLAreaElement.idl \
357     $(WebCore)/html/HTMLAttachmentElement.idl \
358     $(WebCore)/html/HTMLAudioElement.idl \
359     $(WebCore)/html/HTMLBRElement.idl \
360     $(WebCore)/html/HTMLBaseElement.idl \
361     $(WebCore)/html/HTMLBaseFontElement.idl \
362     $(WebCore)/html/HTMLBodyElement.idl \
363     $(WebCore)/html/HTMLButtonElement.idl \
364     $(WebCore)/html/HTMLCanvasElement.idl \
365     $(WebCore)/html/HTMLCollection.idl \
366     $(WebCore)/html/HTMLDListElement.idl \
367     $(WebCore)/html/HTMLDataElement.idl \
368     $(WebCore)/html/HTMLDataListElement.idl \
369     $(WebCore)/html/HTMLDetailsElement.idl \
370     $(WebCore)/html/HTMLDirectoryElement.idl \
371     $(WebCore)/html/HTMLDivElement.idl \
372     $(WebCore)/html/HTMLDocument.idl \
373     $(WebCore)/html/HTMLElement.idl \
374     $(WebCore)/html/HTMLEmbedElement.idl \
375     $(WebCore)/html/HTMLFieldSetElement.idl \
376     $(WebCore)/html/HTMLFontElement.idl \
377     $(WebCore)/html/HTMLFormControlsCollection.idl \
378     $(WebCore)/html/HTMLFormElement.idl \
379     $(WebCore)/html/HTMLFrameElement.idl \
380     $(WebCore)/html/HTMLFrameSetElement.idl \
381     $(WebCore)/html/HTMLHRElement.idl \
382     $(WebCore)/html/HTMLHeadElement.idl \
383     $(WebCore)/html/HTMLHeadingElement.idl \
384     $(WebCore)/html/HTMLHtmlElement.idl \
385     $(WebCore)/html/HTMLHyperlinkElementUtils.idl \
386     $(WebCore)/html/HTMLIFrameElement.idl \
387     $(WebCore)/html/HTMLImageElement.idl \
388     $(WebCore)/html/HTMLInputElement.idl \
389     $(WebCore)/html/HTMLKeygenElement.idl \
390     $(WebCore)/html/HTMLLIElement.idl \
391     $(WebCore)/html/HTMLLabelElement.idl \
392     $(WebCore)/html/HTMLLegendElement.idl \
393     $(WebCore)/html/HTMLLinkElement.idl \
394     $(WebCore)/html/HTMLMapElement.idl \
395     $(WebCore)/html/HTMLMarqueeElement.idl \
396     $(WebCore)/html/HTMLMediaElement.idl \
397     $(WebCore)/html/HTMLMenuElement.idl \
398     $(WebCore)/html/HTMLMetaElement.idl \
399     $(WebCore)/html/HTMLMeterElement.idl \
400     $(WebCore)/html/HTMLModElement.idl \
401     $(WebCore)/html/HTMLOListElement.idl \
402     $(WebCore)/html/HTMLObjectElement.idl \
403     $(WebCore)/html/HTMLOptGroupElement.idl \
404     $(WebCore)/html/HTMLOptionElement.idl \
405     $(WebCore)/html/HTMLOptionsCollection.idl \
406     $(WebCore)/html/HTMLOutputElement.idl \
407     $(WebCore)/html/HTMLParagraphElement.idl \
408     $(WebCore)/html/HTMLParamElement.idl \
409         $(WebCore)/html/HTMLPictureElement.idl \
410     $(WebCore)/html/HTMLPreElement.idl \
411     $(WebCore)/html/HTMLProgressElement.idl \
412     $(WebCore)/html/HTMLQuoteElement.idl \
413     $(WebCore)/html/HTMLScriptElement.idl \
414     $(WebCore)/html/HTMLSelectElement.idl \
415     $(WebCore)/html/HTMLSlotElement.idl \
416     $(WebCore)/html/HTMLSourceElement.idl \
417     $(WebCore)/html/HTMLSpanElement.idl \
418     $(WebCore)/html/HTMLStyleElement.idl \
419     $(WebCore)/html/HTMLTableCaptionElement.idl \
420     $(WebCore)/html/HTMLTableCellElement.idl \
421     $(WebCore)/html/HTMLTableColElement.idl \
422     $(WebCore)/html/HTMLTableDataCellElement.idl \
423     $(WebCore)/html/HTMLTableElement.idl \
424     $(WebCore)/html/HTMLTableHeaderCellElement.idl \
425     $(WebCore)/html/HTMLTableRowElement.idl \
426     $(WebCore)/html/HTMLTableSectionElement.idl \
427     $(WebCore)/html/HTMLTemplateElement.idl \
428     $(WebCore)/html/HTMLTextAreaElement.idl \
429     $(WebCore)/html/HTMLTimeElement.idl \
430     $(WebCore)/html/HTMLTitleElement.idl \
431     $(WebCore)/html/HTMLTrackElement.idl \
432     $(WebCore)/html/HTMLUListElement.idl \
433     $(WebCore)/html/HTMLUnknownElement.idl \
434     $(WebCore)/html/HTMLVideoElement.idl \
435     $(WebCore)/html/ImageData.idl \
436     $(WebCore)/html/MediaController.idl \
437     $(WebCore)/html/MediaError.idl \
438     $(WebCore)/html/MediaKeyError.idl \
439     $(WebCore)/html/MediaKeyEvent.idl \
440     $(WebCore)/html/RadioNodeList.idl \
441     $(WebCore)/html/TextMetrics.idl \
442     $(WebCore)/html/TimeRanges.idl \
443     $(WebCore)/html/URLUtils.idl \
444     $(WebCore)/html/ValidityState.idl \
445     $(WebCore)/html/VoidCallback.idl \
446     $(WebCore)/html/canvas/ANGLEInstancedArrays.idl \
447     $(WebCore)/html/canvas/CanvasGradient.idl \
448     $(WebCore)/html/canvas/CanvasPattern.idl \
449     $(WebCore)/html/canvas/CanvasProxy.idl \
450     $(WebCore)/html/canvas/CanvasRenderingContext.idl \
451     $(WebCore)/html/canvas/CanvasRenderingContext2D.idl \
452     $(WebCore)/html/canvas/DOMPath.idl \
453     $(WebCore)/html/canvas/EXTShaderTextureLOD.idl \
454     $(WebCore)/html/canvas/EXTTextureFilterAnisotropic.idl \
455     $(WebCore)/html/canvas/EXTsRGB.idl \
456     $(WebCore)/html/canvas/EXTBlendMinMax.idl \
457     $(WebCore)/html/canvas/EXTFragDepth.idl \
458     $(WebCore)/html/canvas/OESElementIndexUint.idl \
459     $(WebCore)/html/canvas/OESStandardDerivatives.idl \
460     $(WebCore)/html/canvas/OESTextureFloat.idl \
461     $(WebCore)/html/canvas/OESTextureFloatLinear.idl \
462     $(WebCore)/html/canvas/OESTextureHalfFloat.idl \
463     $(WebCore)/html/canvas/OESTextureHalfFloatLinear.idl \
464     $(WebCore)/html/canvas/OESVertexArrayObject.idl \
465     $(WebCore)/html/canvas/WebGLActiveInfo.idl \
466     $(WebCore)/html/canvas/WebGLBuffer.idl \
467     $(WebCore)/html/canvas/WebGLCompressedTextureATC.idl \
468     $(WebCore)/html/canvas/WebGLCompressedTexturePVRTC.idl \
469     $(WebCore)/html/canvas/WebGLCompressedTextureS3TC.idl \
470     $(WebCore)/html/canvas/WebGLContextAttributes.idl \
471     $(WebCore)/html/canvas/WebGLContextEvent.idl \
472     $(WebCore)/html/canvas/WebGLDebugRendererInfo.idl \
473     $(WebCore)/html/canvas/WebGLDebugShaders.idl \
474     $(WebCore)/html/canvas/WebGLDepthTexture.idl \
475     $(WebCore)/html/canvas/WebGLDrawBuffers.idl \
476     $(WebCore)/html/canvas/WebGLFramebuffer.idl \
477     $(WebCore)/html/canvas/WebGLLoseContext.idl \
478     $(WebCore)/html/canvas/WebGLProgram.idl \
479     $(WebCore)/html/canvas/WebGLQuery.idl \
480     $(WebCore)/html/canvas/WebGLRenderbuffer.idl \
481     $(WebCore)/html/canvas/WebGLRenderingContextBase.idl \
482     $(WebCore)/html/canvas/WebGLRenderingContext.idl \
483     $(WebCore)/html/canvas/WebGL2RenderingContext.idl \
484     $(WebCore)/html/canvas/WebGLSampler.idl \
485     $(WebCore)/html/canvas/WebGLShader.idl \
486     $(WebCore)/html/canvas/WebGLShaderPrecisionFormat.idl \
487     $(WebCore)/html/canvas/WebGLSync.idl \
488     $(WebCore)/html/canvas/WebGLTexture.idl \
489     $(WebCore)/html/canvas/WebGLTransformFeedback.idl \
490     $(WebCore)/html/canvas/WebGLUniformLocation.idl \
491     $(WebCore)/html/canvas/WebGLVertexArrayObject.idl \
492     $(WebCore)/html/canvas/WebGLVertexArrayObjectOES.idl \
493     $(WebCore)/html/track/AudioTrack.idl \
494     $(WebCore)/html/track/AudioTrackList.idl \
495     $(WebCore)/html/track/DataCue.idl \
496     $(WebCore)/html/track/TextTrack.idl \
497     $(WebCore)/html/track/TextTrackCue.idl \
498     $(WebCore)/html/track/TextTrackCueList.idl \
499     $(WebCore)/html/track/TextTrackList.idl \
500     $(WebCore)/html/track/VTTRegion.idl \
501     $(WebCore)/html/track/VTTRegionList.idl \
502     $(WebCore)/html/track/TrackEvent.idl \
503     $(WebCore)/html/track/VideoTrack.idl \
504     $(WebCore)/html/track/VideoTrackList.idl \
505     $(WebCore)/html/track/VTTCue.idl \
506     $(WebCore)/inspector/CommandLineAPIHost.idl \
507     $(WebCore)/inspector/InspectorFrontendHost.idl \
508     $(WebCore)/inspector/ScriptProfile.idl \
509     $(WebCore)/inspector/ScriptProfileNode.idl \
510     $(WebCore)/loader/appcache/DOMApplicationCache.idl \
511     $(WebCore)/page/AbstractView.idl \
512     $(WebCore)/page/BarProp.idl \
513     $(WebCore)/page/Crypto.idl \
514     $(WebCore)/page/DOMSelection.idl \
515     $(WebCore)/page/DOMWindow.idl \
516     $(WebCore)/page/EventSource.idl \
517     $(WebCore)/page/History.idl \
518     $(WebCore)/page/Location.idl \
519     $(WebCore)/page/Navigator.idl \
520     $(WebCore)/page/Performance.idl \
521     $(WebCore)/page/PerformanceNavigation.idl \
522     $(WebCore)/page/PerformanceTiming.idl \
523     $(WebCore)/page/Screen.idl \
524     $(WebCore)/page/WebKitPoint.idl \
525     $(WebCore)/page/WebKitNamespace.idl \
526     $(WebCore)/page/UserMessageHandlersNamespace.idl \
527     $(WebCore)/page/UserMessageHandler.idl \
528     $(WebCore)/page/WindowBase64.idl \
529     $(WebCore)/page/WindowEventHandlers.idl \
530     $(WebCore)/page/WindowTimers.idl \
531     $(WebCore)/page/WorkerNavigator.idl \
532     $(WebCore)/plugins/DOMMimeType.idl \
533     $(WebCore)/plugins/DOMMimeTypeArray.idl \
534     $(WebCore)/plugins/DOMPlugin.idl \
535     $(WebCore)/plugins/DOMPluginArray.idl \
536     $(WebCore)/storage/Storage.idl \
537     $(WebCore)/storage/StorageEvent.idl \
538     $(WebCore)/testing/Internals.idl \
539     $(WebCore)/testing/InternalSettings.idl \
540     $(WebCore)/testing/MallocStatistics.idl \
541     $(WebCore)/testing/MemoryInfo.idl \
542     $(WebCore)/testing/MockContentFilterSettings.idl \
543         $(WebCore)/testing/MockPageOverlay.idl \
544     $(WebCore)/testing/TypeConversions.idl \
545     $(WebCore)/workers/AbstractWorker.idl \
546     $(WebCore)/workers/DedicatedWorkerGlobalScope.idl \
547     $(WebCore)/workers/Worker.idl \
548     $(WebCore)/workers/WorkerGlobalScope.idl \
549     $(WebCore)/workers/WorkerLocation.idl \
550     $(WebCore)/xml/DOMParser.idl \
551     $(WebCore)/xml/XMLHttpRequest.idl \
552     $(WebCore)/xml/XMLHttpRequestEventTarget.idl \
553     $(WebCore)/xml/XMLHttpRequestProgressEvent.idl \
554     $(WebCore)/xml/XMLHttpRequestUpload.idl \
555     $(WebCore)/xml/XMLSerializer.idl \
556     $(WebCore)/xml/XPathEvaluator.idl \
557     $(WebCore)/xml/XPathException.idl \
558     $(WebCore)/xml/XPathExpression.idl \
559     $(WebCore)/xml/XPathNSResolver.idl \
560     $(WebCore)/xml/XPathResult.idl \
561     $(WebCore)/xml/XSLTProcessor.idl \
562     InternalSettingsGenerated.idl
563 #
564
565 SVG_BINDING_IDLS = \
566     $(WebCore)/svg/SVGAElement.idl \
567     $(WebCore)/svg/SVGAltGlyphDefElement.idl \
568     $(WebCore)/svg/SVGAltGlyphElement.idl \
569     $(WebCore)/svg/SVGAltGlyphItemElement.idl \
570     $(WebCore)/svg/SVGAngle.idl \
571     $(WebCore)/svg/SVGAnimateColorElement.idl \
572     $(WebCore)/svg/SVGAnimateElement.idl \
573     $(WebCore)/svg/SVGAnimateMotionElement.idl \
574     $(WebCore)/svg/SVGAnimateTransformElement.idl \
575     $(WebCore)/svg/SVGAnimatedAngle.idl \
576     $(WebCore)/svg/SVGAnimatedBoolean.idl \
577     $(WebCore)/svg/SVGAnimatedEnumeration.idl \
578     $(WebCore)/svg/SVGAnimatedInteger.idl \
579     $(WebCore)/svg/SVGAnimatedLength.idl \
580     $(WebCore)/svg/SVGAnimatedLengthList.idl \
581     $(WebCore)/svg/SVGAnimatedNumber.idl \
582     $(WebCore)/svg/SVGAnimatedNumberList.idl \
583     $(WebCore)/svg/SVGAnimatedPreserveAspectRatio.idl \
584     $(WebCore)/svg/SVGAnimatedRect.idl \
585     $(WebCore)/svg/SVGAnimatedString.idl \
586     $(WebCore)/svg/SVGAnimatedTransformList.idl \
587     $(WebCore)/svg/SVGAnimationElement.idl \
588     $(WebCore)/svg/SVGCircleElement.idl \
589     $(WebCore)/svg/SVGClipPathElement.idl \
590     $(WebCore)/svg/SVGColor.idl \
591     $(WebCore)/svg/SVGComponentTransferFunctionElement.idl \
592     $(WebCore)/svg/SVGCursorElement.idl \
593     $(WebCore)/svg/SVGDefsElement.idl \
594     $(WebCore)/svg/SVGDescElement.idl \
595     $(WebCore)/svg/SVGDocument.idl \
596     $(WebCore)/svg/SVGElement.idl \
597     $(WebCore)/svg/SVGEllipseElement.idl \
598     $(WebCore)/svg/SVGException.idl \
599     $(WebCore)/svg/SVGExternalResourcesRequired.idl \
600     $(WebCore)/svg/SVGFEBlendElement.idl \
601     $(WebCore)/svg/SVGFEColorMatrixElement.idl \
602     $(WebCore)/svg/SVGFEComponentTransferElement.idl \
603     $(WebCore)/svg/SVGFECompositeElement.idl \
604     $(WebCore)/svg/SVGFEConvolveMatrixElement.idl \
605     $(WebCore)/svg/SVGFEDiffuseLightingElement.idl \
606     $(WebCore)/svg/SVGFEDisplacementMapElement.idl \
607     $(WebCore)/svg/SVGFEDistantLightElement.idl \
608     $(WebCore)/svg/SVGFEDropShadowElement.idl \
609     $(WebCore)/svg/SVGFEFloodElement.idl \
610     $(WebCore)/svg/SVGFEFuncAElement.idl \
611     $(WebCore)/svg/SVGFEFuncBElement.idl \
612     $(WebCore)/svg/SVGFEFuncGElement.idl \
613     $(WebCore)/svg/SVGFEFuncRElement.idl \
614     $(WebCore)/svg/SVGFEGaussianBlurElement.idl \
615     $(WebCore)/svg/SVGFEImageElement.idl \
616     $(WebCore)/svg/SVGFEMergeElement.idl \
617     $(WebCore)/svg/SVGFEMergeNodeElement.idl \
618     $(WebCore)/svg/SVGFEMorphologyElement.idl \
619     $(WebCore)/svg/SVGFEOffsetElement.idl \
620     $(WebCore)/svg/SVGFEPointLightElement.idl \
621     $(WebCore)/svg/SVGFESpecularLightingElement.idl \
622     $(WebCore)/svg/SVGFESpotLightElement.idl \
623     $(WebCore)/svg/SVGFETileElement.idl \
624     $(WebCore)/svg/SVGFETurbulenceElement.idl \
625     $(WebCore)/svg/SVGFilterElement.idl \
626     $(WebCore)/svg/SVGFilterPrimitiveStandardAttributes.idl \
627     $(WebCore)/svg/SVGFitToViewBox.idl \
628     $(WebCore)/svg/SVGFontElement.idl \
629     $(WebCore)/svg/SVGFontFaceElement.idl \
630     $(WebCore)/svg/SVGFontFaceFormatElement.idl \
631     $(WebCore)/svg/SVGFontFaceNameElement.idl \
632     $(WebCore)/svg/SVGFontFaceSrcElement.idl \
633     $(WebCore)/svg/SVGFontFaceUriElement.idl \
634     $(WebCore)/svg/SVGForeignObjectElement.idl \
635     $(WebCore)/svg/SVGGElement.idl \
636     $(WebCore)/svg/SVGGlyphElement.idl \
637     $(WebCore)/svg/SVGGlyphRefElement.idl \
638     $(WebCore)/svg/SVGGradientElement.idl \
639     $(WebCore)/svg/SVGGraphicsElement.idl \
640     $(WebCore)/svg/SVGHKernElement.idl \
641     $(WebCore)/svg/SVGImageElement.idl \
642     $(WebCore)/svg/SVGLength.idl \
643     $(WebCore)/svg/SVGLengthList.idl \
644     $(WebCore)/svg/SVGLineElement.idl \
645     $(WebCore)/svg/SVGLinearGradientElement.idl \
646     $(WebCore)/svg/SVGMPathElement.idl \
647     $(WebCore)/svg/SVGMarkerElement.idl \
648     $(WebCore)/svg/SVGMaskElement.idl \
649     $(WebCore)/svg/SVGMatrix.idl \
650     $(WebCore)/svg/SVGMetadataElement.idl \
651     $(WebCore)/svg/SVGMissingGlyphElement.idl \
652     $(WebCore)/svg/SVGNumber.idl \
653     $(WebCore)/svg/SVGNumberList.idl \
654     $(WebCore)/svg/SVGPaint.idl \
655     $(WebCore)/svg/SVGPathElement.idl \
656     $(WebCore)/svg/SVGPathSeg.idl \
657     $(WebCore)/svg/SVGPathSegArcAbs.idl \
658     $(WebCore)/svg/SVGPathSegArcRel.idl \
659     $(WebCore)/svg/SVGPathSegClosePath.idl \
660     $(WebCore)/svg/SVGPathSegCurvetoCubicAbs.idl \
661     $(WebCore)/svg/SVGPathSegCurvetoCubicRel.idl \
662     $(WebCore)/svg/SVGPathSegCurvetoCubicSmoothAbs.idl \
663     $(WebCore)/svg/SVGPathSegCurvetoCubicSmoothRel.idl \
664     $(WebCore)/svg/SVGPathSegCurvetoQuadraticAbs.idl \
665     $(WebCore)/svg/SVGPathSegCurvetoQuadraticRel.idl \
666     $(WebCore)/svg/SVGPathSegCurvetoQuadraticSmoothAbs.idl \
667     $(WebCore)/svg/SVGPathSegCurvetoQuadraticSmoothRel.idl \
668     $(WebCore)/svg/SVGPathSegLinetoAbs.idl \
669     $(WebCore)/svg/SVGPathSegLinetoHorizontalAbs.idl \
670     $(WebCore)/svg/SVGPathSegLinetoHorizontalRel.idl \
671     $(WebCore)/svg/SVGPathSegLinetoRel.idl \
672     $(WebCore)/svg/SVGPathSegLinetoVerticalAbs.idl \
673     $(WebCore)/svg/SVGPathSegLinetoVerticalRel.idl \
674     $(WebCore)/svg/SVGPathSegList.idl \
675     $(WebCore)/svg/SVGPathSegMovetoAbs.idl \
676     $(WebCore)/svg/SVGPathSegMovetoRel.idl \
677     $(WebCore)/svg/SVGPatternElement.idl \
678     $(WebCore)/svg/SVGPoint.idl \
679     $(WebCore)/svg/SVGPointList.idl \
680     $(WebCore)/svg/SVGPolygonElement.idl \
681     $(WebCore)/svg/SVGPolylineElement.idl \
682     $(WebCore)/svg/SVGPreserveAspectRatio.idl \
683     $(WebCore)/svg/SVGRadialGradientElement.idl \
684     $(WebCore)/svg/SVGRect.idl \
685     $(WebCore)/svg/SVGRectElement.idl \
686     $(WebCore)/svg/SVGRenderingIntent.idl \
687     $(WebCore)/svg/SVGSVGElement.idl \
688     $(WebCore)/svg/SVGScriptElement.idl \
689     $(WebCore)/svg/SVGSetElement.idl \
690     $(WebCore)/svg/SVGStopElement.idl \
691     $(WebCore)/svg/SVGStringList.idl \
692     $(WebCore)/svg/SVGStyleElement.idl \
693     $(WebCore)/svg/SVGSwitchElement.idl \
694     $(WebCore)/svg/SVGSymbolElement.idl \
695     $(WebCore)/svg/SVGTRefElement.idl \
696     $(WebCore)/svg/SVGTSpanElement.idl \
697     $(WebCore)/svg/SVGTests.idl \
698     $(WebCore)/svg/SVGTextContentElement.idl \
699     $(WebCore)/svg/SVGTextElement.idl \
700     $(WebCore)/svg/SVGTextPathElement.idl \
701     $(WebCore)/svg/SVGTextPositioningElement.idl \
702     $(WebCore)/svg/SVGTitleElement.idl \
703     $(WebCore)/svg/SVGTransform.idl \
704     $(WebCore)/svg/SVGTransformList.idl \
705     $(WebCore)/svg/SVGURIReference.idl \
706     $(WebCore)/svg/SVGUnitTypes.idl \
707     $(WebCore)/svg/SVGUseElement.idl \
708     $(WebCore)/svg/SVGVKernElement.idl \
709     $(WebCore)/svg/SVGViewElement.idl \
710     $(WebCore)/svg/SVGViewSpec.idl \
711     $(WebCore)/svg/SVGZoomAndPan.idl \
712     $(WebCore)/svg/SVGZoomEvent.idl
713 #
714
715 PYTHON = python
716 PERL = perl
717
718 ifeq ($(OS),Windows_NT)
719     DELETE = cmd //C del
720 else
721     DELETE = rm -f
722 endif
723 # --------
724
725 ifeq ($(OS),MACOS)
726
727 FRAMEWORK_FLAGS = $(shell echo $(BUILT_PRODUCTS_DIR) $(FRAMEWORK_SEARCH_PATHS) | perl -e 'print "-F " . join(" -F ", split(" ", <>));')
728 HEADER_FLAGS = $(shell echo $(BUILT_PRODUCTS_DIR) $(HEADER_SEARCH_PATHS) | perl -e 'print "-I" . join(" -I", split(" ", <>));')
729 TEXT_PREPROCESSOR_FLAGS=-E -P -x c -traditional
730
731 ifneq ($(SDKROOT),)
732         SDK_FLAGS=-isysroot $(SDKROOT)
733 endif
734
735 ifeq ($(shell $(CC) -std=gnu++11 -x c++ -E -P -dM $(SDK_FLAGS) $(FRAMEWORK_FLAGS) $(HEADER_FLAGS) -include "wtf/Platform.h" /dev/null | grep ' WTF_PLATFORM_IOS ' | cut -d' ' -f3), 1)
736     WTF_PLATFORM_IOS = 1
737 else
738     WTF_PLATFORM_IOS = 0
739 endif
740
741 ifeq ($(shell $(CC) -std=gnu++11 -x c++ -E -P -dM $(SDK_FLAGS) $(FRAMEWORK_FLAGS) $(HEADER_FLAGS) -include "wtf/Platform.h" /dev/null | grep USE_APPLE_INTERNAL_SDK | cut -d' ' -f3), 1)
742     USE_APPLE_INTERNAL_SDK = 1
743 else
744     USE_APPLE_INTERNAL_SDK = 0
745 endif
746
747 ifeq ($(shell $(CC) -std=gnu++11 -x c++ -E -P -dM $(SDK_FLAGS) $(FRAMEWORK_FLAGS) $(HEADER_FLAGS) -include "wtf/Platform.h" /dev/null | grep ENABLE_ORIENTATION_EVENTS | cut -d' ' -f3), 1)
748     ENABLE_ORIENTATION_EVENTS = 1
749 endif
750
751 ifeq ($(PLATFORM_FEATURE_DEFINES),)
752 ifeq ($(OS), Windows_NT)
753 PLATFORM_FEATURE_DEFINES = $(WEBKIT_LIBRARIES)/tools/vsprops/FeatureDefines.props
754 else
755 PLATFORM_FEATURE_DEFINES = Configurations/FeatureDefines.xcconfig
756 endif
757 endif
758
759 ADDITIONAL_BINDING_IDLS =
760 ifeq ($(findstring ENABLE_MAC_GESTURE_EVENTS,$(FEATURE_DEFINES)), ENABLE_MAC_GESTURE_EVENTS)
761 ADDITIONAL_BINDING_IDLS += GestureEvent.idl
762 endif
763
764 ifeq ($(findstring ENABLE_IOS_GESTURE_EVENTS,$(FEATURE_DEFINES)), ENABLE_IOS_GESTURE_EVENTS)
765 ADDITIONAL_BINDING_IDLS += GestureEvent.idl
766 endif
767
768 ifeq ($(WTF_PLATFORM_IOS), 1)
769 ifeq ($(findstring ENABLE_IOS_TOUCH_EVENTS,$(FEATURE_DEFINES)), ENABLE_IOS_TOUCH_EVENTS)
770 ADDITIONAL_BINDING_IDLS += \
771     Touch.idl \
772     TouchEvent.idl \
773     TouchList.idl
774 endif
775 endif # IOS
776
777 vpath %.in $(WEBKITADDITIONS_HEADER_SEARCH_PATHS)
778
779 ADDITIONAL_EVENT_NAMES =
780 ADDITIONAL_EVENT_TARGET_FACTORY =
781
782 -include WebCoreDerivedSourcesAdditions.make
783
784 NON_SVG_BINDING_IDLS += $(ADDITIONAL_BINDING_IDLS)
785
786 all : $(ADDITIONAL_BINDING_IDLS:%.idl=JS%.h)
787
788 vpath %.idl $(BUILT_PRODUCTS_DIR)/usr/local/include $(SDKROOT)/usr/local/include
789
790 $(ADDITIONAL_BINDING_IDLS) : % : WebKitAdditions/%
791         cp $< .
792
793 endif # MACOS
794
795 ifneq ($(WTF_PLATFORM_IOS), 1)
796 NON_SVG_BINDING_IDLS += \
797     $(WebCore)/dom/Touch.idl \
798     $(WebCore)/dom/TouchEvent.idl \
799     $(WebCore)/dom/TouchList.idl
800 endif
801
802 .PHONY : all
803
804 BINDING_IDLS = $(NON_SVG_BINDING_IDLS) $(SVG_BINDING_IDLS)
805
806 JS_DOM_CLASSES=$(basename $(notdir $(BINDING_IDLS)))
807
808 JS_DOM_HEADERS=$(filter-out JSEventListener.h, $(JS_DOM_CLASSES:%=JS%.h))
809
810 WEB_DOM_HEADERS :=
811
812 all : \
813     $(SUPPLEMENTAL_DEPENDENCY_FILE) \
814     $(WINDOW_CONSTRUCTORS_FILE) \
815     $(WORKERGLOBALSCOPE_CONSTRUCTORS_FILE) \
816     $(JS_DOM_HEADERS) \
817     $(WEB_DOM_HEADERS) \
818     \
819     CSSGrammar.cpp \
820     CSSPropertyNames.cpp \
821     CSSPropertyNames.h \
822     CSSValueKeywords.cpp \
823     CSSValueKeywords.h \
824     ColorData.cpp \
825     EventInterfaces.h \
826     EventTargetInterfaces.h \
827     ExceptionCodeDescription.cpp \
828     HTMLElementFactory.cpp \
829     HTMLElementFactory.h \
830     HTMLElementTypeHelpers.h \
831     HTMLEntityTable.cpp \
832     HTMLNames.cpp \
833     HTMLNames.h \
834     HTTPHeaderNames.h \
835     JSHTMLElementWrapperFactory.cpp \
836     JSHTMLElementWrapperFactory.h \
837     JSMathMLElementWrapperFactory.cpp \
838     JSMathMLElementWrapperFactory.h \
839     JSSVGElementWrapperFactory.cpp \
840     JSSVGElementWrapperFactory.h \
841     PlugInsResources.h \
842     SVGElementFactory.cpp \
843     SVGElementFactory.h \
844     SVGElementTypeHelpers.h \
845     SVGNames.cpp \
846     SVGNames.h \
847     SelectorPseudoClassAndCompatibilityElementMap.cpp \
848     SelectorPseudoElementTypeMap.cpp \
849     StyleBuilder.cpp \
850     StylePropertyShorthandFunctions.cpp \
851     StylePropertyShorthandFunctions.h \
852     UserAgentStyleSheets.h \
853     WebKitFontFamilyNames.cpp \
854     WebKitFontFamilyNames.h \
855     XLinkNames.cpp \
856     XMLNSNames.cpp \
857     XMLNames.cpp \
858     MathMLElementFactory.cpp \
859     MathMLElementFactory.h \
860     MathMLElementTypeHelpers.h \
861     MathMLNames.cpp \
862     MathMLNames.h \
863     XPathGrammar.cpp \
864 #
865
866 # --------
867
868 ADDITIONAL_IDL_DEFINES :=
869
870 ifndef ENABLE_ORIENTATION_EVENTS
871     ENABLE_ORIENTATION_EVENTS = 0
872 endif
873
874 ifeq ($(ENABLE_ORIENTATION_EVENTS), 1)
875     ADDITIONAL_IDL_DEFINES := $(ADDITIONAL_IDL_DEFINES) ENABLE_ORIENTATION_EVENTS
876 endif
877
878 ifeq ($(USE_APPLE_INTERNAL_SDK), 1)
879     ADDITIONAL_IDL_DEFINES := $(ADDITIONAL_IDL_DEFINES) USE_APPLE_INTERNAL_SDK
880 endif
881
882 # --------
883
884 # CSS property names and value keywords
885
886 WEBCORE_CSS_PROPERTY_NAMES := $(WebCore)/css/CSSPropertyNames.in
887 WEBCORE_CSS_VALUE_KEYWORDS := $(WebCore)/css/CSSValueKeywords.in
888 WEBCORE_CSS_VALUE_KEYWORDS := $(WEBCORE_CSS_VALUE_KEYWORDS) $(WebCore)/css/SVGCSSValueKeywords.in
889
890 CSSPropertyNames.h CSSPropertyNames.cpp StyleBuilder.cpp StylePropertyShorthandFunctions.h StylePropertyShorthandFunctions.cpp : makeprop.intermediate
891 .INTERMEDIATE : makeprop.intermediate
892 makeprop.intermediate : $(WEBCORE_CSS_PROPERTY_NAMES) css/makeprop.pl bindings/scripts/preprocessor.pm $(PLATFORM_FEATURE_DEFINES)
893         $(PERL) -pe '' $(WEBCORE_CSS_PROPERTY_NAMES) > CSSPropertyNames.in
894         $(PERL) -I$(WebCore)/bindings/scripts "$(WebCore)/css/makeprop.pl" --defines "$(FEATURE_DEFINES)"
895
896 CSSValueKeywords.h CSSValueKeywords.cpp : makevalues.intermediate
897 .INTERMEDIATE : makevalues.intermediate
898 makevalues.intermediate : $(WEBCORE_CSS_VALUE_KEYWORDS) css/makevalues.pl bindings/scripts/preprocessor.pm $(PLATFORM_FEATURE_DEFINES)
899         $(PERL) -pe '' $(WEBCORE_CSS_VALUE_KEYWORDS) > CSSValueKeywords.in
900         $(PERL) -I$(WebCore)/bindings/scripts "$(WebCore)/css/makevalues.pl" --defines "$(FEATURE_DEFINES)"
901
902 # --------
903
904 # CSS Selector pseudo type name to value map.
905
906 SelectorPseudoClassAndCompatibilityElementMap.cpp : $(WebCore)/css/makeSelectorPseudoClassAndCompatibilityElementMap.py $(WebCore)/css/SelectorPseudoClassAndCompatibilityElementMap.in
907         $(PYTHON) "$(WebCore)/css/makeSelectorPseudoClassAndCompatibilityElementMap.py" $(WebCore)/css/SelectorPseudoClassAndCompatibilityElementMap.in gperf "$(FEATURE_DEFINES)"
908
909 SelectorPseudoElementTypeMap.cpp : $(WebCore)/css/makeSelectorPseudoElementsMap.py $(WebCore)/css/SelectorPseudoElementTypeMap.in
910         $(PYTHON) "$(WebCore)/css/makeSelectorPseudoElementsMap.py" $(WebCore)/css/SelectorPseudoElementTypeMap.in gperf "$(FEATURE_DEFINES)"
911
912 # --------
913
914 # XMLViewer CSS
915
916 all : XMLViewerCSS.h
917
918 XMLViewerCSS.h : xml/XMLViewer.css
919         $(PYTHON) $(JavaScriptCore_SCRIPTS_DIR)/cssmin.py <"$(WebCore)/xml/XMLViewer.css" > ./XMLViewer.min.css
920         $(PERL) $(JavaScriptCore_SCRIPTS_DIR)/xxd.pl XMLViewer_css ./XMLViewer.min.css XMLViewerCSS.h
921         $(DELETE) XMLViewer.min.css
922
923 # --------
924
925 # XMLViewer JS
926
927 all : XMLViewerJS.h
928
929 XMLViewerJS.h : xml/XMLViewer.js
930         $(PYTHON) $(JavaScriptCore_SCRIPTS_DIR)/jsmin.py <"$(WebCore)/xml/XMLViewer.js" > ./XMLViewer.min.js
931         $(PERL) $(JavaScriptCore_SCRIPTS_DIR)/xxd.pl XMLViewer_js ./XMLViewer.min.js XMLViewerJS.h
932         $(DELETE) XMLViewer.min.js
933
934 # --------
935
936 # HTML entity names
937
938 HTMLEntityTable.cpp : html/parser/HTMLEntityNames.in $(WebCore)/html/parser/create-html-entity-table
939         $(PYTHON) $(WebCore)/html/parser/create-html-entity-table -o HTMLEntityTable.cpp $(WebCore)/html/parser/HTMLEntityNames.in
940
941 # --------
942
943 # HTTP header names
944
945 HTTPHeaderNames.h : platform/network/HTTPHeaderNames.in $(WebCore)/platform/network/create-http-header-name-table
946         $(PYTHON) $(WebCore)/platform/network/create-http-header-name-table $(WebCore)/platform/network/HTTPHeaderNames.in gperf
947
948 # --------
949
950 # color names
951
952 ColorData.cpp : platform/ColorData.gperf $(WebCore)/make-hash-tools.pl
953         $(PERL) $(WebCore)/make-hash-tools.pl . $(WebCore)/platform/ColorData.gperf
954
955 # --------
956
957 # Path to bison
958
959 ifeq ($(OS),MACOS)
960 BISON=$(shell xcrun -find bison)
961 else
962 BISON=bison
963 endif
964
965 # --------
966
967 # CSS grammar
968 CSSGrammar.cpp : css/CSSGrammar.y.in $(PLATFORM_FEATURE_DEFINES)
969         $(PERL) -I $(WebCore)/bindings/scripts $(WebCore)/css/makegrammar.pl --extraDefines "$(FEATURE_DEFINES)" --outputDir . --bison "$(BISON)" --symbolsPrefix cssyy $<
970
971 # --------
972
973 # XPath grammar
974 XPathGrammar.cpp : xml/XPathGrammar.y $(PROJECT_FILE)
975         $(PERL) $(WebCore)/css/makegrammar.pl --outputDir . --bison "$(BISON)" --symbolsPrefix xpathyy $<
976
977 # --------
978
979 # user agent style sheets
980
981 USER_AGENT_STYLE_SHEETS = $(WebCore)/css/html.css $(WebCore)/css/quirks.css $(WebCore)/css/plugIns.css
982 USER_AGENT_STYLE_SHEETS := $(USER_AGENT_STYLE_SHEETS) $(WebCore)/css/svg.css
983
984 ifeq ($(findstring ENABLE_MATHML,$(FEATURE_DEFINES)), ENABLE_MATHML)
985     USER_AGENT_STYLE_SHEETS := $(USER_AGENT_STYLE_SHEETS) $(WebCore)/css/mathml.css
986 endif
987
988 ifeq ($(findstring ENABLE_VIDEO,$(FEATURE_DEFINES)), ENABLE_VIDEO)
989     USER_AGENT_STYLE_SHEETS := $(USER_AGENT_STYLE_SHEETS) $(WebCore)/css/mediaControls.css
990 endif
991
992 ifeq ($(findstring ENABLE_FULLSCREEN_API,$(FEATURE_DEFINES)), ENABLE_FULLSCREEN_API)
993     USER_AGENT_STYLE_SHEETS := $(USER_AGENT_STYLE_SHEETS) $(WebCore)/css/fullscreen.css
994 endif
995
996 ifeq ($(findstring ENABLE_SERVICE_CONTROLS,$(FEATURE_DEFINES)), ENABLE_SERVICE_CONTROLS)
997         USER_AGENT_STYLE_SHEETS := $(USER_AGENT_STYLE_SHEETS) $(WebCore)/html/shadow/mac/imageControlsMac.css
998 endif
999
1000 ifeq ($(OS),MACOS)
1001         USER_AGENT_STYLE_SHEETS := $(USER_AGENT_STYLE_SHEETS) $(WebCore)/Modules/plugins/QuickTimePluginReplacement.css
1002 endif
1003
1004 ifeq ($(OS), Windows_NT)
1005     USER_AGENT_STYLE_SHEETS := $(USER_AGENT_STYLE_SHEETS) $(WebCore)/css/themeWin.css $(WebCore)/css/themeWinQuirks.css
1006 endif
1007
1008 UserAgentStyleSheets.h : css/make-css-file-arrays.pl bindings/scripts/preprocessor.pm $(USER_AGENT_STYLE_SHEETS) $(PLATFORM_FEATURE_DEFINES)
1009         $(PERL) -I$(WebCore)/bindings/scripts $< --defines "$(FEATURE_DEFINES)" $@ UserAgentStyleSheetsData.cpp $(USER_AGENT_STYLE_SHEETS)
1010
1011 # --------
1012
1013 # user agent scripts
1014
1015 USER_AGENT_SCRIPTS = 
1016
1017 ifeq ($(OS),MACOS)
1018         USER_AGENT_SCRIPTS := $(USER_AGENT_SCRIPTS) $(WebCore)/Modules/plugins/QuickTimePluginReplacement.js
1019 endif
1020
1021 ifdef USER_AGENT_SCRIPTS
1022 all : UserAgentScripts.h
1023
1024 UserAgentScripts.h : Scripts/make-js-file-arrays.py $(USER_AGENT_SCRIPTS)
1025         PYTHONPATH=$(JavaScriptCore_SCRIPTS_DIR) $(PYTHON) $< $@ UserAgentScriptsData.cpp $(USER_AGENT_SCRIPTS)
1026 endif
1027
1028 # --------
1029
1030 # plugIns resources
1031
1032 PLUG_INS_RESOURCES = $(WebCore)/Resources/plugIns.js
1033
1034 PlugInsResources.h : css/make-css-file-arrays.pl bindings/scripts/preprocessor.pm $(PLUG_INS_RESOURCES) $(PLATFORM_FEATURE_DEFINES)
1035         $(PERL) -I$(WebCore)/bindings/scripts $< --defines "$(FEATURE_DEFINES)" $@ PlugInsResourcesData.cpp $(PLUG_INS_RESOURCES)
1036
1037 # --------
1038
1039 WebKitFontFamilyNames.cpp WebKitFontFamilyNames.h: WebKitFontFamilyMakeNames.intermediate
1040 .INTERMEDIATE : WebKitFontFamilyMakeNames.intermediate
1041 WebKitFontFamilyMakeNames.intermediate : dom/make_names.pl bindings/scripts/Hasher.pm bindings/scripts/StaticString.pm css/WebKitFontFamilyNames.in
1042         $(PERL) -I $(WebCore)/bindings/scripts $< --fonts $(WebCore)/css/WebKitFontFamilyNames.in
1043
1044 # HTML tag and attribute names
1045
1046 ifeq ($(findstring ENABLE_DATALIST_ELEMENT,$(FEATURE_DEFINES)), ENABLE_DATALIST_ELEMENT)
1047     HTML_FLAGS := $(HTML_FLAGS) ENABLE_DATALIST_ELEMENT=1
1048 endif
1049
1050 ifeq ($(findstring ENABLE_DETAILS_ELEMENT,$(FEATURE_DEFINES)), ENABLE_DETAILS_ELEMENT)
1051     HTML_FLAGS := $(HTML_FLAGS) ENABLE_DETAILS_ELEMENT=1
1052 endif
1053
1054 ifeq ($(findstring ENABLE_ENCRYPTED_MEDIA_V2,$(FEATURE_DEFINES)), ENABLE_ENCRYPTED_MEDIA_V2)
1055         HTML_FLAGS := $(HTML_FLAGS) ENABLE_ENCRYPTED_MEDIA_V2=1
1056 endif
1057
1058 ifeq ($(findstring ENABLE_METER_ELEMENT,$(FEATURE_DEFINES)), ENABLE_METER_ELEMENT)
1059     HTML_FLAGS := $(HTML_FLAGS) ENABLE_METER_ELEMENT=1
1060 endif
1061
1062 ifeq ($(findstring ENABLE_VIDEO,$(FEATURE_DEFINES)), ENABLE_VIDEO)
1063     HTML_FLAGS := $(HTML_FLAGS) ENABLE_VIDEO=1
1064 endif
1065
1066 ifeq ($(findstring ENABLE_VIDEO_TRACK,$(FEATURE_DEFINES)), ENABLE_VIDEO_TRACK)
1067     HTML_FLAGS := $(HTML_FLAGS) ENABLE_VIDEO_TRACK=0
1068 endif
1069
1070 ifeq ($(findstring ENABLE_DATACUE_VALUE,$(FEATURE_DEFINES)), ENABLE_DATACUE_VALUE)
1071         HTML_FLAGS := $(HTML_FLAGS) ENABLE_DATACUE_VALUE=0
1072 endif
1073
1074 ifeq ($(findstring ENABLE_ENCRYPTED_MEDIA,$(FEATURE_DEFINES)), ENABLE_ENCRYPTED_MEDIA)
1075     HTML_FLAGS := $(HTML_FLAGS) ENABLE_ENCRYPTED_MEDIA=1
1076 endif
1077
1078 ifeq ($(findstring ENABLE_MEDIA_STREAM,$(FEATURE_DEFINES)), ENABLE_MEDIA_STREAM)
1079     HTML_FLAGS := $(HTML_FLAGS) ENABLE_MEDIA_STREAM=1
1080 endif
1081
1082 ifeq ($(findstring ENABLE_SHADOW_DOM,$(FEATURE_DEFINES)), ENABLE_SHADOW_DOM)
1083     HTML_FLAGS := $(HTML_FLAGS) ENABLE_SHADOW_DOM=1
1084 endif
1085
1086 JSHTMLElementWrapperFactory.cpp JSHTMLElementWrapperFactory.h HTMLElementFactory.cpp HTMLElementFactory.h HTMLElementTypeHelpers.h HTMLNames.cpp HTMLNames.h : htmlMakeNames.intermediate
1087 .INTERMEDIATE : htmlMakeNames.intermediate
1088
1089 ifdef HTML_FLAGS
1090
1091 htmlMakeNames.intermediate : dom/make_names.pl bindings/scripts/Hasher.pm bindings/scripts/StaticString.pm html/HTMLTagNames.in html/HTMLAttributeNames.in
1092         $(PERL) -I $(WebCore)/bindings/scripts $< --tags $(WebCore)/html/HTMLTagNames.in --attrs $(WebCore)/html/HTMLAttributeNames.in --factory --wrapperFactory --extraDefines "$(HTML_FLAGS)"
1093
1094 else
1095
1096 htmlMakeNames.intermediate : dom/make_names.pl bindings/scripts/Hasher.pm bindings/scripts/StaticString.pm html/HTMLTagNames.in html/HTMLAttributeNames.in
1097         $(PERL) -I $(WebCore)/bindings/scripts $< --tags $(WebCore)/html/HTMLTagNames.in --attrs $(WebCore)/html/HTMLAttributeNames.in --factory --wrapperFactory
1098
1099 endif
1100
1101 XMLNSNames.cpp : dom/make_names.pl bindings/scripts/Hasher.pm bindings/scripts/StaticString.pm xml/xmlnsattrs.in
1102         $(PERL) -I $(WebCore)/bindings/scripts $< --attrs $(WebCore)/xml/xmlnsattrs.in
1103
1104 XMLNames.cpp : dom/make_names.pl bindings/scripts/Hasher.pm bindings/scripts/StaticString.pm xml/xmlattrs.in
1105         $(PERL) -I $(WebCore)/bindings/scripts $< --attrs $(WebCore)/xml/xmlattrs.in
1106
1107 # --------
1108
1109 # SVG tag and attribute names, and element factory
1110
1111 ifeq ($(findstring ENABLE_SVG_FONTS,$(FEATURE_DEFINES)), ENABLE_SVG_FONTS)
1112     SVG_FLAGS := $(SVG_FLAGS) ENABLE_SVG_FONTS=1
1113 endif
1114
1115 # SVG tag and attribute names (need to pass an extra flag if svg experimental features are enabled)
1116
1117 JSSVGElementWrapperFactory.cpp JSSVGElementWrapperFactory.h SVGElementFactory.cpp SVGElementFactory.h SVGElementTypeHelpers.h SVGNames.cpp SVGNames.h : svgMakeNames.intermediate
1118 .INTERMEDIATE : svgMakeNames.intermediate
1119
1120 ifdef SVG_FLAGS
1121 svgMakeNames.intermediate : dom/make_names.pl bindings/scripts/Hasher.pm bindings/scripts/StaticString.pm svg/svgtags.in svg/svgattrs.in
1122         $(PERL) -I $(WebCore)/bindings/scripts $< --tags $(WebCore)/svg/svgtags.in --attrs $(WebCore)/svg/svgattrs.in --extraDefines "$(SVG_FLAGS)" --factory --wrapperFactory
1123 else
1124
1125 svgMakeNames.intermediate : dom/make_names.pl bindings/scripts/Hasher.pm bindings/scripts/StaticString.pm svg/svgtags.in svg/svgattrs.in
1126         $(PERL) -I $(WebCore)/bindings/scripts $< --tags $(WebCore)/svg/svgtags.in --attrs $(WebCore)/svg/svgattrs.in --factory --wrapperFactory
1127
1128 endif
1129
1130 XLinkNames.cpp : dom/make_names.pl bindings/scripts/Hasher.pm bindings/scripts/StaticString.pm svg/xlinkattrs.in
1131         $(PERL) -I $(WebCore)/bindings/scripts $< --attrs $(WebCore)/svg/xlinkattrs.in
1132
1133 # --------
1134
1135 # Register event constructors and targets
1136
1137 EVENT_NAMES = EventNames.in $(ADDITIONAL_EVENT_NAMES)
1138
1139 EventFactory.cpp EventHeaders.h EventInterfaces.h : EventFactory.intermediate
1140 .INTERMEDIATE : EventFactory.intermediate
1141 EventFactory.intermediate : dom/make_event_factory.pl $(EVENT_NAMES)
1142         $(PERL) -I $(WebCore)/bindings/scripts $< $(addprefix --input , $(filter-out $(WebCore)/dom/make_event_factory.pl, $^))
1143
1144 EVENT_TARGET_FACTORY = EventTargetFactory.in $(ADDITIONAL_EVENT_TARGET_FACTORY)
1145
1146 EventTargetHeaders.h EventTargetInterfaces.h : EventTargetFactory.intermediate
1147 .INTERMEDIATE : EventTargetFactory.intermediate
1148 EventTargetFactory.intermediate : dom/make_event_factory.pl $(EVENT_TARGET_FACTORY)
1149         $(PERL) -I $(WebCore)/bindings/scripts $< $(addprefix --input , $(filter-out $(WebCore)/dom/make_event_factory.pl, $^))
1150
1151 ExceptionCodeDescription.cpp ExceptionCodeDescription.h ExceptionHeaders.h ExceptionInterfaces.h : MakeDOMExceptions.intermediate
1152 .INTERMEDIATE : MakeDOMExceptions.intermediate
1153 MakeDOMExceptions.intermediate : dom/make_dom_exceptions.pl dom/DOMExceptions.in
1154         $(PERL) -I $(WebCore)/bindings/scripts $< --input $(WebCore)/dom/DOMExceptions.in
1155
1156 # --------
1157
1158 # MathML tag and attribute names, and element factory
1159
1160 JSMathMLElementWrapperFactory.cpp JSMathMLElementWrapperFactory.h MathMLElementFactory.cpp MathMLElementFactory.h MathMLElementTypeHelpers.h MathMLNames.cpp MathMLNames.h : mathmlMakeNames.intermediate
1161 .INTERMEDIATE : mathmlMakeNames.intermediate
1162 mathmlMakeNames.intermediate : dom/make_names.pl bindings/scripts/Hasher.pm bindings/scripts/StaticString.pm mathml/mathtags.in mathml/mathattrs.in
1163         $(PERL) -I $(WebCore)/bindings/scripts $< --tags $(WebCore)/mathml/mathtags.in --attrs $(WebCore)/mathml/mathattrs.in --factory --wrapperFactory
1164
1165 # --------
1166
1167 # Internal Settings
1168
1169 InternalSettingsGenerated.idl InternalSettingsGenerated.cpp InternalSettingsGenerated.h SettingsMacros.h : MakeSettings.intermediate
1170 .INTERMEDIATE : MakeSettings.intermediate
1171 MakeSettings.intermediate : page/make_settings.pl page/Settings.in
1172         $(PERL) -I $(WebCore)/bindings/scripts $< --input $(WebCore)/page/Settings.in
1173
1174 # --------
1175
1176 # Common generator things
1177
1178 GENERATE_SCRIPTS = \
1179     bindings/scripts/CodeGenerator.pm \
1180     bindings/scripts/IDLParser.pm \
1181     bindings/scripts/generate-bindings.pl \
1182     bindings/scripts/preprocessor.pm
1183
1184 PREPROCESS_IDLS_SCRIPTS = \
1185     bindings/scripts/preprocess-idls.pl
1186
1187 generator_script = $(PERL) $(addprefix -I $(WebCore)/, $(sort $(dir $(1)))) $(WebCore)/bindings/scripts/generate-bindings.pl
1188
1189 preprocess_idls_script = $(PERL) $(addprefix -I $(WebCore)/, $(sort $(dir $(1)))) $(WebCore)/bindings/scripts/preprocess-idls.pl
1190
1191 # JS bindings generator
1192
1193 IDL_INCLUDES = \
1194     $(WebCore)/Modules \
1195     $(WebCore)/animation \
1196     $(WebCore)/css \
1197     $(WebCore)/dom \
1198     $(WebCore)/fileapi \
1199     $(WebCore)/html \
1200     $(WebCore)/html/canvas \
1201     $(WebCore)/html/shadow \
1202     $(WebCore)/html/track \
1203     $(WebCore)/inspector \
1204     $(WebCore)/loader/appcache \
1205     $(WebCore)/page \
1206     $(WebCore)/plugins \
1207     $(WebCore)/storage \
1208     $(WebCore)/svg \
1209     $(WebCore)/workers \
1210     $(WebCore)/xml
1211
1212 IDL_COMMON_ARGS = $(IDL_INCLUDES:%=--include %) --write-dependencies --outputDir .
1213
1214 JS_BINDINGS_SCRIPTS = $(GENERATE_SCRIPTS) bindings/scripts/CodeGeneratorJS.pm
1215
1216 SUPPLEMENTAL_DEPENDENCY_FILE = ./SupplementalDependencies.txt
1217 SUPPLEMENTAL_MAKEFILE_DEPS = ./SupplementalDependencies.dep
1218 WINDOW_CONSTRUCTORS_FILE = ./DOMWindowConstructors.idl
1219 WORKERGLOBALSCOPE_CONSTRUCTORS_FILE = ./WorkerGlobalScopeConstructors.idl
1220 DEDICATEDWORKERGLOBALSCOPE_CONSTRUCTORS_FILE = ./DedicatedWorkerGlobalScopeConstructors.idl
1221 IDL_FILES_TMP = ./idl_files.tmp
1222 IDL_ATTRIBUTES_FILE = $(WebCore)/bindings/scripts/IDLAttributes.txt
1223
1224 # The following lines get a newline character stored in a variable.
1225 # See <http://stackoverflow.com/questions/7039811/how-do-i-process-extremely-long-lists-of-files-in-a-make-recipe>.
1226 define NL
1227
1228
1229 endef
1230
1231 $(SUPPLEMENTAL_MAKEFILE_DEPS) : $(PREPROCESS_IDLS_SCRIPTS) $(BINDING_IDLS) $(PLATFORM_FEATURE_DEFINES) DerivedSources.make
1232         $(foreach f,$(BINDING_IDLS),@echo $(f)>>$(IDL_FILES_TMP)$(NL))
1233         $(call preprocess_idls_script, $(PREPROCESS_IDLS_SCRIPTS)) --defines "$(FEATURE_DEFINES) $(ADDITIONAL_IDL_DEFINES) LANGUAGE_JAVASCRIPT" --idlFilesList $(IDL_FILES_TMP) --supplementalDependencyFile $(SUPPLEMENTAL_DEPENDENCY_FILE) --windowConstructorsFile $(WINDOW_CONSTRUCTORS_FILE) --workerGlobalScopeConstructorsFile $(WORKERGLOBALSCOPE_CONSTRUCTORS_FILE) --dedicatedWorkerGlobalScopeConstructorsFile $(DEDICATEDWORKERGLOBALSCOPE_CONSTRUCTORS_FILE) --supplementalMakefileDeps $@
1234         $(DELETE) $(IDL_FILES_TMP)
1235
1236 JS%.h : %.idl $(JS_BINDINGS_SCRIPTS) $(IDL_ATTRIBUTES_FILE) $(WINDOW_CONSTRUCTORS_FILE) $(WORKERGLOBALSCOPE_CONSTRUCTORS_FILE) $(PLATFORM_FEATURE_DEFINES)
1237         $(call generator_script, $(JS_BINDINGS_SCRIPTS)) $(IDL_COMMON_ARGS) --defines "$(FEATURE_DEFINES) $(ADDITIONAL_IDL_DEFINES) LANGUAGE_JAVASCRIPT" --generator JS --idlAttributesFile $(IDL_ATTRIBUTES_FILE) --supplementalDependencyFile $(SUPPLEMENTAL_DEPENDENCY_FILE) $<
1238
1239 -include $(SUPPLEMENTAL_MAKEFILE_DEPS)
1240
1241 # Inspector interfaces
1242
1243 all : InspectorOverlayPage.h
1244
1245 InspectorOverlayPage.h : InspectorOverlayPage.html InspectorOverlayPage.css InspectorOverlayPage.js
1246         $(PYTHON) $(JavaScriptCore_SCRIPTS_DIR)/inline-and-minify-stylesheets-and-scripts.py $(WebCore)/inspector/InspectorOverlayPage.html ./InspectorOverlayPage.combined.html
1247         $(PERL) $(JavaScriptCore_SCRIPTS_DIR)/xxd.pl InspectorOverlayPage_html ./InspectorOverlayPage.combined.html InspectorOverlayPage.h
1248         $(DELETE) InspectorOverlayPage.combined.html
1249
1250 all : CommandLineAPIModuleSource.h
1251
1252 CommandLineAPIModuleSource.h : CommandLineAPIModuleSource.js
1253         echo "//# sourceURL=__WebInspectorCommandLineAPIModuleSource__" > ./CommandLineAPIModuleSource.min.js
1254         $(PYTHON) $(JavaScriptCore_SCRIPTS_DIR)/jsmin.py <$(WebCore)/inspector/CommandLineAPIModuleSource.js >> ./CommandLineAPIModuleSource.min.js
1255         $(PERL) $(JavaScriptCore_SCRIPTS_DIR)/xxd.pl CommandLineAPIModuleSource_js ./CommandLineAPIModuleSource.min.js CommandLineAPIModuleSource.h
1256         $(DELETE) CommandLineAPIModuleSource.min.js
1257
1258 # Web Replay inputs generator
1259
1260 INPUT_GENERATOR_SCRIPTS = \
1261     $(JavaScriptCore_SCRIPTS_DIR)/CodeGeneratorReplayInputs.py \
1262     $(JavaScriptCore_SCRIPTS_DIR)/CodeGeneratorReplayInputsTemplates.py \
1263 #
1264
1265 INPUT_GENERATOR_SPECIFICATIONS = \
1266         $(WebCore)/replay/WebInputs.json \
1267         $(JavaScriptCore_SCRIPTS_DIR)/JSInputs.json \
1268 #
1269
1270 all : WebReplayInputs.h
1271
1272 WebReplayInputs.h : $(INPUT_GENERATOR_SPECIFICATIONS) $(INPUT_GENERATOR_SCRIPTS)
1273         $(PYTHON) $(JavaScriptCore_SCRIPTS_DIR)/CodeGeneratorReplayInputs.py --outputDir . --framework WebCore $(INPUT_GENERATOR_SPECIFICATIONS)
1274
1275 -include $(JS_DOM_HEADERS:.h=.dep)
1276
1277 # WebCore JS Builtins
1278
1279 WebCore_BUILTINS_SOURCES = \
1280     $(WebCore)/Modules/fetch/FetchHeaders.js \
1281     $(WebCore)/Modules/fetch/FetchResponse.js \
1282     $(WebCore)/Modules/mediastream/MediaDevices.js \
1283     $(WebCore)/Modules/mediastream/NavigatorUserMedia.js \
1284     $(WebCore)/Modules/mediastream/RTCPeerConnection.js \
1285     $(WebCore)/Modules/mediastream/RTCPeerConnectionInternals.js \
1286     $(WebCore)/Modules/streams/ByteLengthQueuingStrategy.js \
1287     $(WebCore)/Modules/streams/CountQueuingStrategy.js \
1288     $(WebCore)/Modules/streams/ReadableStream.js \
1289     $(WebCore)/Modules/streams/ReadableStreamController.js \
1290     $(WebCore)/Modules/streams/ReadableStreamInternals.js \
1291     $(WebCore)/Modules/streams/ReadableStreamReader.js \
1292     $(WebCore)/Modules/streams/StreamInternals.js \
1293     $(WebCore)/Modules/streams/WritableStream.js \
1294     $(WebCore)/Modules/streams/WritableStreamInternals.js \
1295 #
1296
1297 BUILTINS_GENERATOR_SCRIPTS = \
1298     $(JavaScriptCore_SCRIPTS_DIR)/builtins.py \
1299     $(JavaScriptCore_SCRIPTS_DIR)/builtins_generator.py \
1300     $(JavaScriptCore_SCRIPTS_DIR)/builtins_model.py \
1301     $(JavaScriptCore_SCRIPTS_DIR)/builtins_templates.py \
1302     $(JavaScriptCore_SCRIPTS_DIR)/builtins_generate_combined_header.py \
1303     $(JavaScriptCore_SCRIPTS_DIR)/builtins_generate_combined_implementation.py \
1304     $(JavaScriptCore_SCRIPTS_DIR)/builtins_generate_separate_header.py \
1305     $(JavaScriptCore_SCRIPTS_DIR)/builtins_generate_separate_implementation.py \
1306     $(JavaScriptCore_SCRIPTS_DIR)/generate-js-builtins.py \
1307     $(JavaScriptCore_SCRIPTS_DIR)/lazywriter.py \
1308 #
1309
1310 # Adding/removing scripts should trigger regeneration, but changing which builtins are
1311 # generated should not affect other builtins when not passing '--combined' to the generator.
1312
1313 .PHONY: force
1314 WebCore_BUILTINS_DEPENDENCIES_LIST : $(JavaScriptCore_SCRIPTS_DIR)/UpdateContents.py force
1315         $(PYTHON) $(JavaScriptCore_SCRIPTS_DIR)/UpdateContents.py '$(BUILTINS_GENERATOR_SCRIPTS)' $@
1316
1317 %Builtins.h: %.js $(BUILTINS_GENERATOR_SCRIPTS) WebCore_BUILTINS_DEPENDENCIES_LIST
1318         $(PYTHON) $(JavaScriptCore_SCRIPTS_DIR)/generate-js-builtins.py --output-directory . --framework WebCore $<
1319
1320 all : $(notdir $(WebCore_BUILTINS_SOURCES:%.js=%Builtins.h))
1321
1322 # ------------------------
1323
1324 # Mac-specific rules
1325
1326 ifeq ($(OS),MACOS)
1327
1328 OBJC_DOM_CLASSES=$(basename $(notdir $(NON_SVG_BINDING_IDLS)))
1329
1330 OBJC_DOM_HEADERS=$(filter-out DOMDOMWindow.h DOMDOMMimeType.h DOMDOMPlugin.h,$(OBJC_DOM_CLASSES:%=DOM%.h))
1331
1332 all : $(OBJC_DOM_HEADERS)
1333
1334 all : CharsetData.cpp
1335
1336 # --------
1337
1338 # character set name table
1339
1340 ifeq ($(WTF_PLATFORM_IOS),1)
1341 ENCODINGS_FILENAME := ios-encodings.txt
1342 else
1343 ENCODINGS_FILENAME := mac-encodings.txt
1344 endif # WTF_PLATFORM_IOS
1345
1346 CharsetData.cpp : platform/text/mac/make-charset-table.pl platform/text/mac/character-sets.txt platform/text/mac/$(ENCODINGS_FILENAME)
1347         $(PERL) $^ kTextEncoding > $@
1348
1349 # --------
1350
1351 # Objective-C bindings
1352
1353 DOM_BINDINGS_SCRIPTS = $(GENERATE_BINDING_SCRIPTS) bindings/scripts/CodeGeneratorObjC.pm
1354 DOM%.h : %.idl $(DOM_BINDINGS_SCRIPTS) bindings/objc/PublicDOMInterfaces.h $(PLATFORM_FEATURE_DEFINES)
1355         $(call generator_script, $(DOM_BINDINGS_SCRIPTS)) $(IDL_COMMON_ARGS) --defines "$(FEATURE_DEFINES) $(ADDITIONAL_IDL_DEFINES) LANGUAGE_OBJECTIVE_C" --generator ObjC --supplementalDependencyFile $(SUPPLEMENTAL_DEPENDENCY_FILE) $<
1356
1357 -include $(OBJC_DOM_HEADERS:.h=.dep)
1358
1359 # --------
1360
1361 endif # MACOS
1362
1363 # ------------------------
1364
1365 # Header detection
1366
1367 ifeq ($(OS),Windows_NT)
1368
1369 all : WebCoreHeaderDetection.h
1370
1371 WebCoreHeaderDetection.h : $(WebCore)/AVFoundationSupport.py DerivedSources.make
1372         $(PYTHON) $(WebCore)/AVFoundationSupport.py $(WEBKIT_LIBRARIES) > $@
1373
1374 endif # Windows_NT
1375