• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright (C) 2006, 2007 Apple Inc. All rights reserved.
2# Copyright (C) 2006 Samuel Weinig <sam.weinig@gmail.com>
3#
4# Redistribution and use in source and binary forms, with or without
5# modification, are permitted provided that the following conditions
6# are met:
7#
8# 1.  Redistributions of source code must retain the above copyright
9#     notice, this list of conditions and the following disclaimer.
10# 2.  Redistributions in binary form must reproduce the above copyright
11#     notice, this list of conditions and the following disclaimer in the
12#     documentation and/or other materials provided with the distribution.
13# 3.  Neither the name of Apple Computer, Inc. ("Apple") nor the names of
14#     its contributors may be used to endorse or promote products derived
15#     from this software without specific prior written permission.
16#
17# THIS SOFTWARE IS PROVIDED BY APPLE AND ITS CONTRIBUTORS "AS IS" AND ANY
18# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
19# WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
20# DISCLAIMED. IN NO EVENT SHALL APPLE OR ITS CONTRIBUTORS BE LIABLE FOR ANY
21# DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
22# (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
23# LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
24# ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
25# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
26# THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
27
28VPATH = \
29    $(PORTROOT)/bindings/v8 \
30    $(WebCore) \
31    $(WebCore)/bindings/js \
32    $(WebCore)/bindings/v8 \
33    $(WebCore)/bindings/objc \
34    $(WebCore)/css \
35    $(WebCore)/dom \
36    $(WebCore)/html \
37    $(WebCore)/inspector \
38    $(WebCore)/page \
39    $(WebCore)/plugins \
40    $(WebCore)/storage \
41    $(WebCore)/xml \
42    $(WebCore)/workers \
43    $(WebCore)/svg \
44#
45
46.PHONY : all
47
48ifeq ($(OS),MACOS)
49all : \
50    CharsetData.cpp
51endif
52
53# Not needed because we don't want obj-c bindings generated
54#   DOMAbstractView.h\
55    DOMAttr.h \
56    DOMCDATASection.h \
57    DOMCSSCharsetRule.h \
58    DOMCSSFontFaceRule.h \
59    DOMCSSImportRule.h \
60    DOMCSSMediaRule.h \
61    DOMCSSPageRule.h \
62    DOMCSSPrimitiveValue.h \
63    DOMCSSRule.h \
64    DOMCSSRuleList.h \
65    DOMCSSStyleDeclaration.h \
66    DOMCSSStyleRule.h \
67    DOMCSSStyleSheet.h \
68    DOMCSSUnknownRule.h \
69    DOMCSSValue.h \
70    DOMCSSValueList.h \
71    DOMCharacterData.h \
72    DOMComment.h \
73    DOMCounter.h \
74    DOMDOMImplementation.h \
75    DOMDocument.h \
76    DOMDocumentFragment.h \
77    DOMDocumentType.h \
78    DOMElement.h \
79    DOMEntity.h \
80    DOMEntityReference.h \
81    DOMEvent.h \
82    DOMEventListener.h \
83    DOMEventTarget.h \
84    DOMHTMLAnchorElement.h \
85    DOMHTMLAppletElement.h \
86    DOMHTMLAreaElement.h \
87    DOMHTMLBRElement.h \
88    DOMHTMLBaseElement.h \
89    DOMHTMLBaseFontElement.h \
90    DOMHTMLBodyElement.h \
91    DOMHTMLButtonElement.h \
92    DOMHTMLCanvasElement.h \
93    DOMHTMLCollection.h \
94    DOMHTMLDListElement.h \
95    DOMHTMLDirectoryElement.h \
96    DOMHTMLDivElement.h \
97    DOMHTMLDocument.h \
98    DOMHTMLElement.h \
99    DOMHTMLEmbedElement.h \
100    DOMHTMLFieldSetElement.h \
101    DOMHTMLFontElement.h \
102    DOMHTMLFormElement.h \
103    DOMHTMLFrameElement.h \
104    DOMHTMLFrameSetElement.h \
105    DOMHTMLHRElement.h \
106    DOMHTMLHeadElement.h \
107    DOMHTMLHeadingElement.h \
108    DOMHTMLHtmlElement.h \
109    DOMHTMLIFrameElement.h \
110    DOMHTMLImageElement.h \
111    DOMHTMLInputElement.h \
112    DOMHTMLIsIndexElement.h \
113    DOMHTMLLIElement.h \
114    DOMHTMLLabelElement.h \
115    DOMHTMLLegendElement.h \
116    DOMHTMLLinkElement.h \
117    DOMHTMLMapElement.h \
118    DOMHTMLMarqueeElement.h \
119    DOMHTMLMenuElement.h \
120    DOMHTMLMetaElement.h \
121    DOMHTMLModElement.h \
122    DOMHTMLOListElement.h \
123    DOMHTMLObjectElement.h \
124    DOMHTMLOptGroupElement.h \
125    DOMHTMLOptionElement.h \
126    DOMHTMLOptionsCollection.h \
127    DOMHTMLParagraphElement.h \
128    DOMHTMLParamElement.h \
129    DOMHTMLPreElement.h \
130    DOMHTMLQuoteElement.h \
131    DOMHTMLScriptElement.h \
132    DOMHTMLSelectElement.h \
133    DOMHTMLStyleElement.h \
134    DOMHTMLTableCaptionElement.h \
135    DOMHTMLTableCellElement.h \
136    DOMHTMLTableColElement.h \
137    DOMHTMLTableElement.h \
138    DOMHTMLTableRowElement.h \
139    DOMHTMLTableSectionElement.h \
140    DOMHTMLTextAreaElement.h \
141    DOMHTMLTitleElement.h \
142    DOMHTMLUListElement.h \
143    DOMKeyboardEvent.h \
144    DOMMessageEvent.h \
145    DOMMediaList.h \
146    DOMMouseEvent.h \
147    DOMMutationEvent.h \
148    DOMNamedNodeMap.h \
149    DOMNode.h \
150    DOMNodeFilter.h \
151    DOMNodeIterator.h \
152    DOMNodeList.h \
153    DOMNotation.h \
154    DOMOverflowEvent.h \
155    DOMProcessingInstruction.h \
156    DOMRGBColor.h \
157    DOMRange.h \
158    DOMRect.h \
159    DOMSVGAElement.h \
160    DOMSVGAngle.h \
161    DOMSVGAnimateColorElement.h \
162    DOMSVGAnimateElement.h \
163    DOMSVGAnimateTransformElement.h \
164    DOMSVGAnimatedAngle.h \
165    DOMSVGAnimatedBoolean.h \
166    DOMSVGAnimatedEnumeration.h \
167    DOMSVGAnimatedInteger.h \
168    DOMSVGAnimatedLength.h \
169    DOMSVGAnimatedLengthList.h \
170    DOMSVGAnimatedNumber.h \
171    DOMSVGAnimatedNumberList.h \
172    DOMSVGAnimatedPathData.h \
173    DOMSVGAnimatedPoints.h \
174    DOMSVGAnimatedPreserveAspectRatio.h \
175    DOMSVGAnimatedRect.h \
176    DOMSVGAnimatedString.h \
177    DOMSVGAnimatedTransformList.h \
178    DOMSVGAnimationElement.h \
179    DOMSVGCircleElement.h \
180    DOMSVGClipPathElement.h \
181    DOMSVGColor.h \
182    DOMSVGComponentTransferFunctionElement.h \
183    DOMSVGCursorElement.h \
184    DOMSVGDefinitionSrcElement.h \
185    DOMSVGDefsElement.h \
186    DOMSVGDescElement.h \
187    DOMSVGDocument.h \
188    DOMSVGElement.h \
189    DOMSVGElementInstance.h \
190    DOMSVGElementInstanceList.h \
191    DOMSVGEllipseElement.h \
192    DOMSVGExternalResourcesRequired.h \
193    DOMSVGFEBlendElement.h \
194    DOMSVGFEColorMatrixElement.h \
195    DOMSVGFEComponentTransferElement.h \
196    DOMSVGFECompositeElement.h \
197    DOMSVGFEDiffuseLightingElement.h \
198    DOMSVGFEDisplacementMapElement.h \
199    DOMSVGFEDistantLightElement.h \
200    DOMSVGFEFloodElement.h \
201    DOMSVGFEFuncAElement.h \
202    DOMSVGFEFuncBElement.h \
203    DOMSVGFEFuncGElement.h \
204    DOMSVGFEFuncRElement.h \
205    DOMSVGFEGaussianBlurElement.h \
206    DOMSVGFEImageElement.h \
207    DOMSVGFEMergeElement.h \
208    DOMSVGFEMergeNodeElement.h \
209    DOMSVGFEOffsetElement.h \
210    DOMSVGFEPointLightElement.h \
211    DOMSVGFESpecularLightingElement.h \
212    DOMSVGFESpotLightElement.h \
213    DOMSVGFETileElement.h \
214    DOMSVGFETurbulenceElement.h \
215    DOMSVGFontElement.h \
216    DOMSVGFontFaceElement.h \
217    DOMSVGFontFaceFormatElement.h \
218    DOMSVGFontFaceNameElement.h \
219    DOMSVGFontFaceSrcElement.h \
220    DOMSVGFontFaceUriElement.h \
221    DOMSVGFilterElement.h \
222    DOMSVGFilterPrimitiveStandardAttributes.h \
223    DOMSVGFitToViewBox.h \
224    DOMSVGForeignObjectElement.h \
225    DOMSVGGElement.h \
226    DOMSVGGlyphElement.h \
227    DOMSVGGradientElement.h \
228    DOMSVGImageElement.h \
229    DOMSVGLangSpace.h \
230    DOMSVGLength.h \
231    DOMSVGLengthList.h \
232    DOMSVGLineElement.h \
233    DOMSVGLinearGradientElement.h \
234    DOMSVGLocatable.h \
235    DOMSVGMarkerElement.h \
236    DOMSVGMaskElement.h \
237    DOMSVGMatrix.h \
238    DOMSVGMetadataElement.h \
239    DOMSVGMissingGlyphElement.h \
240    DOMSVGNumber.h \
241    DOMSVGNumberList.h \
242    DOMSVGPaint.h \
243    DOMSVGPathElement.h \
244    DOMSVGPathSeg.h \
245    DOMSVGPathSegArcAbs.h \
246    DOMSVGPathSegArcRel.h \
247    DOMSVGPathSegClosePath.h \
248    DOMSVGPathSegCurvetoCubicAbs.h \
249    DOMSVGPathSegCurvetoCubicRel.h \
250    DOMSVGPathSegCurvetoCubicSmoothAbs.h \
251    DOMSVGPathSegCurvetoCubicSmoothRel.h \
252    DOMSVGPathSegCurvetoQuadraticAbs.h \
253    DOMSVGPathSegCurvetoQuadraticRel.h \
254    DOMSVGPathSegCurvetoQuadraticSmoothAbs.h \
255    DOMSVGPathSegCurvetoQuadraticSmoothRel.h \
256    DOMSVGPathSegLinetoAbs.h \
257    DOMSVGPathSegLinetoHorizontalAbs.h \
258    DOMSVGPathSegLinetoHorizontalRel.h \
259    DOMSVGPathSegLinetoRel.h \
260    DOMSVGPathSegLinetoVerticalAbs.h \
261    DOMSVGPathSegLinetoVerticalRel.h \
262    DOMSVGPathSegList.h \
263    DOMSVGPathSegMovetoAbs.h \
264    DOMSVGPathSegMovetoRel.h \
265    DOMSVGPatternElement.h \
266    DOMSVGPoint.h \
267    DOMSVGPointList.h \
268    DOMSVGPolygonElement.h \
269    DOMSVGPolylineElement.h \
270    DOMSVGPreserveAspectRatio.h \
271    DOMSVGRadialGradientElement.h \
272    DOMSVGRect.h \
273    DOMSVGRectElement.h \
274    DOMSVGRenderingIntent.h \
275    DOMSVGSVGElement.h \
276    DOMSVGScriptElement.h \
277    DOMSVGSetElement.h \
278    DOMSVGStopElement.h \
279    DOMSVGStringList.h \
280    DOMSVGStylable.h \
281    DOMSVGStyleElement.h \
282    DOMSVGSwitchElement.h \
283    DOMSVGSymbolElement.h \
284    DOMSVGTRefElement.h \
285    DOMSVGTSpanElement.h \
286    DOMSVGTests.h \
287    DOMSVGTextContentElement.h \
288    DOMSVGTextElement.h \
289    DOMSVGTextPathElement.h \
290    DOMSVGTextPositioningElement.h \
291    DOMSVGTitleElement.h \
292    DOMSVGTransform.h \
293    DOMSVGTransformList.h \
294    DOMSVGTransformable.h \
295    DOMSVGURIReference.h \
296    DOMSVGUnitTypes.h \
297    DOMSVGUseElement.h \
298    DOMSVGViewElement.h \
299    DOMSVGZoomAndPan.h \
300    DOMSVGZoomEvent.h \
301    DOMStyleSheet.h \
302    DOMStyleSheetList.h \
303    DOMText.h \
304    DOMTextEvent.h \
305    DOMTreeWalker.h \
306    DOMUIEvent.h \
307    DOMWheelEvent.h \
308    DOMXPathExpression.h \
309    DOMXPathNSResolver.h \
310    DOMXPathResult.h \
311endif
312
313# Not needed for V8\
314all : \
315    CSSGrammar.cpp \
316    CSSPropertyNames.h \
317    CSSValueKeywords.h \
318    ColorData.c \
319    DocTypeStrings.cpp \
320    HTMLEntityNames.c \
321    JSAttr.h \
322    JSBarInfo.h \
323    JSCDATASection.h \
324    JSCSSCharsetRule.h \
325    JSCSSFontFaceRule.h \
326    JSCSSImportRule.h \
327    JSCSSMediaRule.h \
328    JSCSSPageRule.h \
329    JSCSSPrimitiveValue.h \
330    JSCSSRule.h \
331    JSCSSRuleList.h \
332    JSCSSStyleRule.h \
333    JSCSSStyleSheet.h \
334    JSCSSValue.h \
335    JSCSSValueList.h \
336    JSCanvasGradient.h \
337    JSCanvasPattern.h \
338    JSCanvasRenderingContext2D.h \
339    JSCharacterData.h \
340    JSComment.h \
341    JSConsole.h \
342    JSCounter.h \
343    JSCSSStyleDeclaration.h \
344    JSDOMCoreException.h \
345    JSDOMImplementation.h \
346    JSDOMParser.h \
347    JSDOMSelection.h \
348    JSDOMWindow.h \
349    JSDatabase.h \
350    JSDocument.h \
351    JSDocumentFragment.h \
352    JSDocumentType.h \
353    JSElement.h \
354    JSEntity.h \
355    JSEntityReference.h \
356    JSEvent.h \
357    JSEventException.h \
358    JSEventTargetBase.lut.h \
359    JSHTMLAnchorElement.h \
360    JSHTMLAppletElement.h \
361    JSHTMLAreaElement.h \
362    JSHTMLAudioElement.h \
363    JSHTMLBaseElement.h \
364    JSHTMLBaseFontElement.h \
365    JSHTMLBlockquoteElement.h \
366    JSHTMLBodyElement.h \
367    JSHTMLBRElement.h \
368    JSHTMLButtonElement.h \
369    JSHTMLCanvasElement.h \
370    JSHTMLCollection.h \
371    JSHTMLDListElement.h \
372    JSHTMLDirectoryElement.h \
373    JSHTMLDivElement.h \
374    JSHTMLDocument.h \
375    JSHTMLElement.h \
376    JSHTMLEmbedElement.h \
377    JSHTMLFieldSetElement.h \
378    JSHTMLFontElement.h \
379    JSHTMLFormElement.h \
380    JSHTMLFrameElement.h \
381    JSHTMLFrameSetElement.h \
382    JSHTMLHRElement.h \
383    JSHTMLHeadElement.h \
384    JSHTMLHeadingElement.h \
385    JSHTMLHtmlElement.h \
386    JSHTMLIFrameElement.h \
387    JSHTMLImageElement.h \
388    JSHTMLInputElement.h \
389    JSHTMLInputElementBaseTable.cpp \
390    JSHTMLIsIndexElement.h \
391    JSHTMLLIElement.h \
392    JSHTMLLabelElement.h \
393    JSHTMLLegendElement.h \
394    JSHTMLLinkElement.h \
395    JSHTMLMapElement.h \
396    JSHTMLMarqueeElement.h \
397    JSHTMLMediaElement.h \
398    JSHTMLMenuElement.h \
399    JSHTMLMetaElement.h \
400    JSHTMLModElement.h \
401    JSHTMLOListElement.h \
402    JSHTMLOptGroupElement.h \
403    JSHTMLObjectElement.h \
404    JSHTMLOptionElement.h \
405    JSHTMLOptionsCollection.h \
406    JSHTMLParagraphElement.h \
407    JSHTMLParamElement.h \
408    JSHTMLPreElement.h \
409    JSHTMLQuoteElement.h \
410    JSHTMLScriptElement.h \
411    JSHTMLSelectElement.h \
412    JSHTMLSourceElement.h \
413    JSHTMLStyleElement.h \
414    JSHTMLTableCaptionElement.h \
415    JSHTMLTableCellElement.h \
416    JSHTMLTableColElement.h \
417    JSHTMLTableElement.h \
418    JSHTMLTableRowElement.h \
419    JSHTMLTableSectionElement.h \
420    JSHTMLTextAreaElement.h \
421    JSHTMLTitleElement.h \
422    JSHTMLUListElement.h \
423    JSHTMLVideoElement.h \
424    JSHistory.h \
425    JSKeyboardEvent.h \
426    JSLocation.lut.h \
427    JSMediaError.h \
428    JSMediaList.h \
429    JSMessageEvent.h \
430    JSMouseEvent.h \
431    JSMutationEvent.h \
432    JSNamedNodeMap.h \
433    JSNode.h \
434    JSNodeFilter.h \
435    JSNodeIterator.h \
436    JSNodeList.h \
437    JSNotation.h \
438    JSOverflowEvent.h \
439    JSProcessingInstruction.h \
440    JSProgressEvent.h \
441    JSRange.h \
442    JSRangeException.h \
443    JSRect.h \
444    JSSQLError.h \
445    JSSQLResultSet.h \
446    JSSQLResultSetRowList.h \
447    JSSQLTransaction.h \
448    JSSVGAElement.h \
449    JSSVGAngle.h \
450    JSSVGAnimatedAngle.h \
451    JSSVGAnimateColorElement.h \
452    JSSVGAnimateElement.h \
453    JSSVGAnimateTransformElement.h \
454    JSSVGAnimatedBoolean.h \
455    JSSVGAnimatedEnumeration.h \
456    JSSVGAnimatedInteger.h \
457    JSSVGAnimatedLength.h \
458    JSSVGAnimatedLengthList.h \
459    JSSVGAnimatedNumber.h \
460    JSSVGAnimatedNumberList.h \
461    JSSVGAnimatedPreserveAspectRatio.h \
462    JSSVGAnimatedRect.h \
463    JSSVGAnimatedString.h \
464    JSSVGAnimatedTransformList.h \
465    JSSVGAnimationElement.h \
466    JSSVGColor.h \
467    JSSVGCircleElement.h \
468    JSSVGClipPathElement.h \
469    JSSVGComponentTransferFunctionElement.h \
470    JSSVGCursorElement.h \
471    JSSVGDefsElement.h \
472    JSSVGDefinitionSrcElement.h \
473    JSSVGDescElement.h \
474    JSSVGDocument.h \
475    JSSVGException.h \
476    JSSVGLength.h \
477    JSSVGMatrix.h \
478    JSSVGMetadataElement.h \
479    JSSVGPathElement.h \
480    JSSVGPathSeg.h \
481    JSSVGPathSegArcAbs.h \
482    JSSVGPathSegArcRel.h \
483    JSSVGPathSegClosePath.h \
484    JSSVGPathSegCurvetoCubicAbs.h \
485    JSSVGPathSegCurvetoCubicRel.h \
486    JSSVGPathSegCurvetoCubicSmoothAbs.h \
487    JSSVGPathSegCurvetoCubicSmoothRel.h \
488    JSSVGPathSegCurvetoQuadraticAbs.h \
489    JSSVGPathSegCurvetoQuadraticRel.h \
490    JSSVGPathSegCurvetoQuadraticSmoothAbs.h \
491    JSSVGPathSegCurvetoQuadraticSmoothRel.h \
492    JSSVGPathSegLinetoAbs.h \
493    JSSVGPathSegLinetoHorizontalAbs.h \
494    JSSVGPathSegLinetoHorizontalRel.h \
495    JSSVGPathSegLinetoRel.h \
496    JSSVGPathSegLinetoVerticalAbs.h \
497    JSSVGPathSegLinetoVerticalRel.h \
498    JSSVGPathSegMovetoAbs.h \
499    JSSVGPathSegMovetoRel.h \
500    JSSVGNumber.h \
501    JSSVGNumberList.h \
502    JSSVGPaint.h \
503    JSSVGPathSegList.h \
504    JSSVGPatternElement.h \
505    JSSVGPoint.h \
506    JSSVGPointList.h \
507    JSSVGPolygonElement.h \
508    JSSVGPolylineElement.h \
509    JSSVGRadialGradientElement.h \
510    JSSVGRect.h \
511    JSSVGRectElement.h \
512    JSSVGRenderingIntent.h \
513    JSSVGSetElement.h \
514    JSSVGScriptElement.h \
515    JSSVGStyleElement.h \
516    JSSVGSwitchElement.h \
517    JSSVGStopElement.h \
518    JSSVGStringList.h \
519    JSSVGSymbolElement.h \
520    JSSVGTRefElement.h \
521    JSSVGTSpanElement.h \
522    JSSVGTextElement.h \
523    JSSVGTextContentElement.h \
524    JSSVGTextPathElement.h \
525    JSSVGTextPositioningElement.h \
526    JSSVGTitleElement.h \
527    JSSVGTransform.h \
528    JSSVGTransformList.h \
529    JSSVGUnitTypes.h \
530    JSSVGUseElement.h \
531    JSSVGViewElement.h \
532    JSSVGPreserveAspectRatio.h \
533    JSSVGElement.h \
534    JSSVGElementInstance.h \
535    JSSVGElementInstanceList.h \
536    JSSVGSVGElement.h \
537    JSSVGEllipseElement.h \
538    JSSVGFEBlendElement.h \
539    JSSVGFEColorMatrixElement.h \
540    JSSVGFEComponentTransferElement.h \
541    JSSVGFECompositeElement.h \
542    JSSVGFEDiffuseLightingElement.h \
543    JSSVGFEDisplacementMapElement.h \
544    JSSVGFEDistantLightElement.h \
545    JSSVGFEFloodElement.h \
546    JSSVGFEFuncAElement.h \
547    JSSVGFEFuncBElement.h \
548    JSSVGFEFuncGElement.h \
549    JSSVGFEFuncRElement.h \
550    JSSVGFEGaussianBlurElement.h \
551    JSSVGFEImageElement.h \
552    JSSVGFEMergeElement.h \
553    JSSVGFEMergeNodeElement.h \
554    JSSVGFEOffsetElement.h \
555    JSSVGFEPointLightElement.h \
556    JSSVGFESpecularLightingElement.h \
557    JSSVGFESpotLightElement.h \
558    JSSVGFETileElement.h \
559    JSSVGFETurbulenceElement.h \
560    JSSVGFilterElement.h \
561    JSSVGFontElement.h \
562    JSSVGFontFaceElement.h \
563    JSSVGFontFaceFormatElement.h \
564    JSSVGFontFaceNameElement.h \
565    JSSVGFontFaceSrcElement.h \
566    JSSVGFontFaceUriElement.h \
567    JSSVGForeignObjectElement.h \
568    JSSVGGElement.h \
569    JSSVGGlyphElement.h \
570    JSSVGGradientElement.h \
571    JSSVGImageElement.h \
572    JSSVGLength.h \
573    JSSVGLengthList.h \
574    JSSVGLineElement.h \
575    JSSVGLinearGradientElement.h \
576    JSSVGMaskElement.h \
577    JSSVGMarkerElement.h \
578    JSSVGMissingGlyphElement.h \
579    JSSVGTransform.h \
580    JSSVGZoomEvent.h \
581    JSScreen.h \
582    JSStyleSheet.h \
583    JSStyleSheetList.h \
584    JSText.h \
585    JSTextEvent.h \
586    JSTimeRanges.h \
587    JSTreeWalker.h \
588    JSUIEvent.h \
589    JSVoidCallback.h \
590    JSWheelEvent.h \
591    JSXMLHttpRequest.lut.h \
592    JSXMLHttpRequestException.h \
593    JSXMLSerializer.h \
594    JSXPathEvaluator.h \
595    JSXPathException.h \
596    JSXPathExpression.h \
597    JSXPathNSResolver.h \
598    JSXPathResult.h \
599    JSXSLTProcessor.lut.h \
600    SVGElementFactory.cpp \
601    SVGNames.cpp \
602    HTMLNames.cpp \
603    UserAgentStyleSheets.h \
604    XLinkNames.cpp \
605    XMLNames.cpp \
606    XPathGrammar.cpp \
607    kjs_css.lut.h \
608    kjs_events.lut.h \
609    kjs_navigator.lut.h \
610    kjs_window.lut.h \
611    tokenizer.cpp \
612    WebCore.exp \
613#
614
615all : \
616    CSSGrammar.cpp \
617    CSSPropertyNames.h \
618    CSSValueKeywords.h \
619    ColorData.c \
620    DocTypeStrings.cpp \
621    HTMLElementFactory.cpp \
622    HTMLEntityNames.c \
623    V8Attr.h \
624    V8BarInfo.h \
625    V8CanvasPixelArray.h \
626    V8ClientRect.h \
627    V8ClientRectList.h \
628    V8CDATASection.h \
629    V8CSSCharsetRule.h \
630    V8CSSFontFaceRule.h \
631    V8CSSImportRule.h \
632    V8CSSMediaRule.h \
633    V8CSSPageRule.h \
634    V8CSSPrimitiveValue.h \
635    V8CSSRule.h \
636    V8CSSRuleList.h \
637    V8CSSStyleRule.h \
638    V8CSSStyleSheet.h \
639    V8CSSValue.h \
640    V8CSSValueList.h \
641    V8CanvasGradient.h \
642    V8CanvasPattern.h \
643    V8CanvasRenderingContext2D.h \
644    V8CharacterData.h \
645    V8Comment.h \
646    V8Console.h \
647    V8Counter.h \
648    V8CSSStyleDeclaration.h \
649    V8CSSVariablesDeclaration.h \
650    V8CSSVariablesRule.h \
651    V8DOMCoreException.h \
652    V8DOMImplementation.h \
653    V8DOMParser.h \
654    V8DOMSelection.h \
655    V8DOMStringList.h \
656    V8DOMWindow.h \
657    V8Database.h \
658    V8Document.h \
659    V8DocumentFragment.h \
660    V8DocumentType.h \
661    V8Element.h \
662    V8Entity.h \
663    V8EntityReference.h \
664    V8Event.h \
665    V8EventException.h \
666    V8File.h \
667    V8FileList.h \
668    V8HTMLAnchorElement.h \
669    V8HTMLAppletElement.h \
670    V8HTMLAreaElement.h \
671    V8HTMLAudioElement.h \
672    V8HTMLBaseElement.h \
673    V8HTMLBaseFontElement.h \
674    V8HTMLBlockquoteElement.h \
675    V8HTMLBodyElement.h \
676    V8HTMLBRElement.h \
677    V8HTMLButtonElement.h \
678    V8HTMLCanvasElement.h \
679    V8HTMLCollection.h \
680    V8HTMLDListElement.h \
681    V8HTMLDirectoryElement.h \
682    V8HTMLDivElement.h \
683    V8HTMLDocument.h \
684    V8HTMLElement.h \
685    V8HTMLEmbedElement.h \
686    V8HTMLFieldSetElement.h \
687    V8HTMLFontElement.h \
688    V8HTMLFormElement.h \
689    V8HTMLFrameElement.h \
690    V8HTMLFrameSetElement.h \
691    V8HTMLHRElement.h \
692    V8HTMLHeadElement.h \
693    V8HTMLHeadingElement.h \
694    V8HTMLHtmlElement.h \
695    V8HTMLIFrameElement.h \
696    V8HTMLImageElement.h \
697    V8HTMLInputElement.h \
698    V8HTMLIsIndexElement.h \
699    V8HTMLLIElement.h \
700    V8HTMLLabelElement.h \
701    V8HTMLLegendElement.h \
702    V8HTMLLinkElement.h \
703    V8HTMLMapElement.h \
704    V8HTMLMarqueeElement.h \
705    V8HTMLMediaElement.h \
706    V8HTMLMenuElement.h \
707    V8HTMLMetaElement.h \
708    V8HTMLModElement.h \
709    V8HTMLOListElement.h \
710    V8HTMLOptGroupElement.h \
711    V8HTMLObjectElement.h \
712    V8HTMLOptionElement.h \
713    V8HTMLOptionsCollection.h \
714    V8HTMLParagraphElement.h \
715    V8HTMLParamElement.h \
716    V8HTMLPreElement.h \
717    V8HTMLQuoteElement.h \
718    V8HTMLScriptElement.h \
719    V8HTMLSelectElement.h \
720    V8HTMLSourceElement.h \
721    V8HTMLStyleElement.h \
722    V8HTMLTableCaptionElement.h \
723    V8HTMLTableCellElement.h \
724    V8HTMLTableColElement.h \
725    V8HTMLTableElement.h \
726    V8HTMLTableRowElement.h \
727    V8HTMLTableSectionElement.h \
728    V8HTMLTextAreaElement.h \
729    V8HTMLTitleElement.h \
730    V8HTMLUListElement.h \
731    V8HTMLVideoElement.h \
732    V8History.h \
733    V8ImageData.h \
734    V8KeyboardEvent.h \
735    V8MediaError.h \
736    V8MediaList.h \
737    V8MessageChannel.h \
738    V8MessageEvent.h \
739    V8MessagePort.h \
740    V8MouseEvent.h \
741    V8MutationEvent.h \
742    V8NamedNodeMap.h \
743    V8Node.h \
744    V8NodeFilter.h \
745    V8NodeIterator.h \
746    V8NodeList.h \
747    V8Notation.h \
748    V8OverflowEvent.h \
749    V8ProcessingInstruction.h \
750    V8ProgressEvent.h \
751    V8Range.h \
752    V8RangeException.h \
753    V8Rect.h \
754    V8SQLError.h \
755    V8SQLResultSet.h \
756    V8SQLResultSetRowList.h \
757    V8SQLTransaction.h \
758    V8SVGAElement.h \
759    V8SVGAltGlyphElement.h \
760    V8SVGAngle.h \
761    V8SVGAnimatedAngle.h \
762    V8SVGAnimateColorElement.h \
763    V8SVGAnimateElement.h \
764    V8SVGAnimateTransformElement.h \
765    V8SVGAnimatedBoolean.h \
766    V8SVGAnimatedEnumeration.h \
767    V8SVGAnimatedInteger.h \
768    V8SVGAnimatedLength.h \
769    V8SVGAnimatedLengthList.h \
770    V8SVGAnimatedNumber.h \
771    V8SVGAnimatedNumberList.h \
772    V8SVGAnimatedPreserveAspectRatio.h \
773    V8SVGAnimatedRect.h \
774    V8SVGAnimatedString.h \
775    V8SVGAnimatedTransformList.h \
776    V8SVGAnimationElement.h \
777    V8SVGColor.h \
778    V8SVGCircleElement.h \
779    V8SVGClipPathElement.h \
780    V8SVGComponentTransferFunctionElement.h \
781    V8SVGCursorElement.h \
782    V8SVGDefsElement.h \
783    V8SVGDefinitionSrcElement.h \
784    V8SVGDescElement.h \
785    V8SVGDocument.h \
786    V8SVGException.h \
787    V8SVGLength.h \
788    V8SVGMatrix.h \
789    V8SVGMetadataElement.h \
790    V8SVGPathElement.h \
791    V8SVGPathSeg.h \
792    V8SVGPathSegArcAbs.h \
793    V8SVGPathSegArcRel.h \
794    V8SVGPathSegClosePath.h \
795    V8SVGPathSegCurvetoCubicAbs.h \
796    V8SVGPathSegCurvetoCubicRel.h \
797    V8SVGPathSegCurvetoCubicSmoothAbs.h \
798    V8SVGPathSegCurvetoCubicSmoothRel.h \
799    V8SVGPathSegCurvetoQuadraticAbs.h \
800    V8SVGPathSegCurvetoQuadraticRel.h \
801    V8SVGPathSegCurvetoQuadraticSmoothAbs.h \
802    V8SVGPathSegCurvetoQuadraticSmoothRel.h \
803    V8SVGPathSegLinetoAbs.h \
804    V8SVGPathSegLinetoHorizontalAbs.h \
805    V8SVGPathSegLinetoHorizontalRel.h \
806    V8SVGPathSegLinetoRel.h \
807    V8SVGPathSegLinetoVerticalAbs.h \
808    V8SVGPathSegLinetoVerticalRel.h \
809    V8SVGPathSegMovetoAbs.h \
810    V8SVGPathSegMovetoRel.h \
811    V8SVGNumber.h \
812    V8SVGNumberList.h \
813    V8SVGPaint.h \
814    V8SVGPathSegList.h \
815    V8SVGPatternElement.h \
816    V8SVGPoint.h \
817    V8SVGPointList.h \
818    V8SVGPolygonElement.h \
819    V8SVGPolylineElement.h \
820    V8SVGRadialGradientElement.h \
821    V8SVGRect.h \
822    V8SVGRectElement.h \
823    V8SVGRenderingIntent.h \
824    V8SVGSetElement.h \
825    V8SVGScriptElement.h \
826    V8SVGStyleElement.h \
827    V8SVGSwitchElement.h \
828    V8SVGStopElement.h \
829    V8SVGStringList.h \
830    V8SVGSymbolElement.h \
831    V8SVGTRefElement.h \
832    V8SVGTSpanElement.h \
833    V8SVGTextElement.h \
834    V8SVGTextContentElement.h \
835    V8SVGTextPathElement.h \
836    V8SVGTextPositioningElement.h \
837    V8SVGTitleElement.h \
838    V8SVGTransform.h \
839    V8SVGTransformList.h \
840    V8SVGUnitTypes.h \
841    V8SVGUseElement.h \
842    V8SVGViewElement.h \
843    V8SVGPreserveAspectRatio.h \
844    V8SVGElement.h \
845    V8SVGElementInstance.h \
846    V8SVGElementInstanceList.h \
847    V8SVGSVGElement.h \
848    V8SVGEllipseElement.h \
849    V8SVGFEBlendElement.h \
850    V8SVGFEColorMatrixElement.h \
851    V8SVGFEComponentTransferElement.h \
852    V8SVGFECompositeElement.h \
853    V8SVGFEDiffuseLightingElement.h \
854    V8SVGFEDisplacementMapElement.h \
855    V8SVGFEDistantLightElement.h \
856    V8SVGFEFloodElement.h \
857    V8SVGFEFuncAElement.h \
858    V8SVGFEFuncBElement.h \
859    V8SVGFEFuncGElement.h \
860    V8SVGFEFuncRElement.h \
861    V8SVGFEGaussianBlurElement.h \
862    V8SVGFEImageElement.h \
863    V8SVGFEMergeElement.h \
864    V8SVGFEMergeNodeElement.h \
865    V8SVGFEOffsetElement.h \
866    V8SVGFEPointLightElement.h \
867    V8SVGFESpecularLightingElement.h \
868    V8SVGFESpotLightElement.h \
869    V8SVGFETileElement.h \
870    V8SVGFETurbulenceElement.h \
871    V8SVGFilterElement.h \
872    V8SVGFontElement.h \
873    V8SVGFontFaceElement.h \
874    V8SVGFontFaceFormatElement.h \
875    V8SVGFontFaceNameElement.h \
876    V8SVGFontFaceSrcElement.h \
877    V8SVGFontFaceUriElement.h \
878    V8SVGForeignObjectElement.h \
879    V8SVGGElement.h \
880    V8SVGGlyphElement.h \
881    V8SVGGradientElement.h \
882    V8SVGImageElement.h \
883    V8SVGLength.h \
884    V8SVGLengthList.h \
885    V8SVGLineElement.h \
886    V8SVGLinearGradientElement.h \
887    V8SVGMaskElement.h \
888    V8SVGMarkerElement.h \
889    V8SVGMissingGlyphElement.h \
890    V8SVGTransform.h \
891    V8SVGZoomEvent.h \
892    V8Screen.h \
893    V8StyleSheet.h \
894    V8StyleSheetList.h \
895    V8Text.h \
896    V8TextMetrics.h \
897    V8TextEvent.h \
898    V8TimeRanges.h \
899    V8TreeWalker.h \
900    V8UIEvent.h \
901    V8VoidCallback.h \
902    V8WebKitAnimationEvent.h \
903    V8WebKitCSSKeyframeRule.h \
904    V8WebKitCSSKeyframesRule.h \
905    V8WebKitCSSMatrix.h \
906    V8WebKitCSSTransformValue.h \
907    V8WebKitPoint.h \
908    V8WebKitTransitionEvent.h \
909    V8WheelEvent.h \
910    V8Worker.h \
911    V8WorkerContext.h \
912    V8WorkerLocation.h \
913    V8WorkerNavigator.h \
914    V8XMLHttpRequest.h \
915    V8XMLHttpRequestException.h \
916    V8XMLHttpRequestProgressEvent.h \
917    V8XMLHttpRequestUpload.h \
918    V8XMLSerializer.h \
919    V8XPathEvaluator.h \
920    V8XPathException.h \
921    V8XPathExpression.h \
922    V8XPathNSResolver.h \
923    V8XPathResult.h \
924    V8XSLTProcessor.h \
925    SVGElementFactory.cpp \
926    SVGNames.cpp \
927    HTMLNames.cpp \
928    UserAgentStyleSheets.h \
929    XLinkNames.cpp \
930    XMLNames.cpp \
931    XPathGrammar.cpp \
932    tokenizer.cpp \
933    V8Clipboard.h \
934    V8InspectorController.h \
935    V8Location.h \
936    V8Navigator.h \
937    V8MimeType.h \
938    V8MimeTypeArray.h \
939    V8Plugin.h \
940    V8PluginArray.h \
941    V8RGBColor.h \
942    V8SVGAnimatedPoints.h \
943    V8SVGURIReference.h \
944    V8UndetectableHTMLCollection.h \
945#
946
947# CSS property names and value keywords
948
949WEBCORE_CSS_PROPERTY_NAMES := $(WebCore)/css/CSSPropertyNames.in
950WEBCORE_CSS_VALUE_KEYWORDS := $(WebCore)/css/CSSValueKeywords.in
951
952ifeq ($(findstring ENABLE_SVG,$(FEATURE_DEFINES)), ENABLE_SVG)
953    WEBCORE_CSS_PROPERTY_NAMES := $(WEBCORE_CSS_PROPERTY_NAMES) $(WebCore)/css/SVGCSSPropertyNames.in
954    WEBCORE_CSS_VALUE_KEYWORDS := $(WEBCORE_CSS_VALUE_KEYWORDS) $(WebCore)/css/SVGCSSValueKeywords.in
955endif
956
957# Chromium does not support this.
958#ifeq ($(ENABLE_DASHBOARD_SUPPORT), 1)
959#    WEBCORE_CSS_PROPERTY_NAMES := $(WEBCORE_CSS_PROPERTY_NAMES) $(WebCore)/css/DashboardSupportCSSPropertyNames.in
960#endif
961
962CSSPropertyNames.h : $(WEBCORE_CSS_PROPERTY_NAMES) css/makeprop.pl
963	if dos2unix $(WEBCORE_CSS_PROPERTY_NAMES) | sort | uniq -d | grep -E '^[^#]'; then echo 'Duplicate value!'; exit 1; fi
964	cat $(WEBCORE_CSS_PROPERTY_NAMES) > CSSPropertyNames.in
965	perl "$(WebCore)/css/makeprop.pl"
966
967CSSValueKeywords.h : $(WEBCORE_CSS_VALUE_KEYWORDS) css/makevalues.pl
968	# Lower case all the values, as CSS values are case-insensitive
969	perl -ne 'print lc' $(WEBCORE_CSS_VALUE_KEYWORDS) > CSSValueKeywords.in
970	if dos2unix CSSValueKeywords.in | sort | uniq -d | grep -E '^[^#]'; then echo 'Duplicate value!'; exit 1; fi
971	perl "$(WebCore)/css/makevalues.pl"
972
973# DOCTYPE strings
974
975DocTypeStrings.cpp : html/DocTypeStrings.gperf
976	gperf -CEot -L ANSI-C -k "*" -N findDoctypeEntry -F ,PubIDInfo::eAlmostStandards,PubIDInfo::eAlmostStandards $< > $@
977
978# HTML entity names
979
980HTMLEntityNames.c : html/HTMLEntityNames.gperf
981	gperf -a -L ANSI-C -C -G -c -o -t -k '*' -N findEntity -D -s 2 $< > $@
982
983# color names
984
985ColorData.c : platform/ColorData.gperf
986	gperf -CDEot -L ANSI-C -k '*' -N findColor -D -s 2 $< > $@
987
988# CSS tokenizer
989
990tokenizer.cpp : css/tokenizer.flex css/maketokenizer
991	flex -t $< | perl $(WebCore)/css/maketokenizer > $@
992
993# CSS grammar
994# NOTE: older versions of bison do not inject an inclusion guard, so we do it
995
996CSSGrammar.cpp : css/CSSGrammar.y
997	bison -d -p cssyy $< -o $@
998	touch CSSGrammar.cpp.h
999	touch CSSGrammar.hpp
1000	echo '#ifndef CSSGrammar_h' > CSSGrammar.h
1001	echo '#define CSSGrammar_h' >> CSSGrammar.h
1002	cat CSSGrammar.cpp.h CSSGrammar.hpp >> CSSGrammar.h
1003	echo '#endif' >> CSSGrammar.h
1004	rm -f CSSGrammar.cpp.h CSSGrammar.hpp
1005
1006# XPath grammar
1007# NOTE: older versions of bison do not inject an inclusion guard, so we do it
1008
1009XPathGrammar.cpp : xml/XPathGrammar.y $(PROJECT_FILE)
1010	bison -d -p xpathyy $< -o $@
1011	touch XPathGrammar.cpp.h
1012	touch XPathGrammar.hpp
1013	echo '#ifndef XPathGrammar_h' > XPathGrammar.h
1014	echo '#define XPathGrammar_h' >> XPathGrammar.h
1015	cat XPathGrammar.cpp.h XPathGrammar.hpp >> XPathGrammar.h
1016	echo '#endif' >> XPathGrammar.h
1017	rm -f XPathGrammar.cpp.h XPathGrammar.hpp
1018
1019# user agent style sheets
1020
1021USER_AGENT_STYLE_SHEETS = $(WebCore)/css/html4.css $(WebCore)/css/quirks.css $(WebCore)/css/view-source.css $(WebCore)/css/themeWin.css $(WebCore)/css/themeWinQuirks.css
1022
1023ifeq ($(findstring ENABLE_SVG,$(FEATURE_DEFINES)), ENABLE_SVG)
1024    USER_AGENT_STYLE_SHEETS := $(USER_AGENT_STYLE_SHEETS) $(WebCore)/css/svg.css
1025endif
1026
1027ifeq ($(findstring ENABLE_WML,$(FEATURE_DEFINES)), ENABLE_WML)
1028    USER_AGENT_STYLE_SHEETS := $(USER_AGENT_STYLE_SHEETS) $(WebCore)/css/wml.css
1029endif
1030
1031ifeq ($(findstring ENABLE_VIDEO,$(FEATURE_DEFINES)), ENABLE_VIDEO)
1032    USER_AGENT_STYLE_SHEETS := $(USER_AGENT_STYLE_SHEETS) $(WebCore)/css/mediaControls.css
1033endif
1034
1035UserAgentStyleSheets.h : css/make-css-file-arrays.pl $(USER_AGENT_STYLE_SHEETS)
1036	perl $< $@ UserAgentStyleSheetsData.cpp $(USER_AGENT_STYLE_SHEETS)
1037
1038# character set name table
1039
1040CharsetData.cpp : platform/text/mac/make-charset-table.pl platform/text/mac/character-sets.txt $(ENCODINGS_FILE)
1041	perl $^ $(ENCODINGS_PREFIX) > $@
1042
1043# lookup tables for old-style JavaScript bindings
1044
1045%.lut.h: %.cpp $(CREATE_HASH_TABLE)
1046	$(CREATE_HASH_TABLE) $< > $@
1047%Table.cpp: %.cpp $(CREATE_HASH_TABLE)
1048	$(CREATE_HASH_TABLE) $< > $@
1049
1050# --------
1051
1052# HTML tag and attribute names
1053
1054ifeq ($(findstring ENABLE_VIDEO,$(FEATURE_DEFINES)), ENABLE_VIDEO)
1055    HTML_FLAGS := $(HTML_FLAGS) ENABLE_VIDEO=1
1056endif
1057
1058ifdef HTML_FLAGS
1059
1060HTMLElementFactory.cpp HTMLNames.cpp : dom/make_names.pl html/HTMLTagNames.in html/HTMLAttributeNames.in
1061	perl -I $(WebCore)/bindings/scripts $< --tags $(WebCore)/html/HTMLTagNames.in --attrs $(WebCore)/html/HTMLAttributeNames.in --factory --wrapperFactory --extraDefines "$(HTML_FLAGS)"
1062
1063else
1064
1065HTMLElementFactory.cpp HTMLNames.cpp : dom/make_names.pl html/HTMLTagNames.in html/HTMLAttributeNames.in
1066	perl -I $(WebCore)/bindings/scripts $< --tags $(WebCore)/html/HTMLTagNames.in --attrs $(WebCore)/html/HTMLAttributeNames.in --factory --wrapperFactory
1067
1068endif
1069
1070XMLNames.cpp : dom/make_names.pl xml/xmlattrs.in
1071	perl -I $(WebCore)/bindings/scripts $< --attrs $(WebCore)/xml/xmlattrs.in
1072
1073# --------
1074
1075ifeq ($(findstring ENABLE_SVG,$(FEATURE_DEFINES)), ENABLE_SVG)
1076
1077WEBCORE_EXPORT_DEPENDENCIES := $(WEBCORE_EXPORT_DEPENDENCIES) WebCore.SVG.exp
1078
1079ifeq ($(findstring ENABLE_SVG_USE,$(FEATURE_DEFINES)), ENABLE_SVG_USE)
1080    SVG_FLAGS := $(SVG_FLAGS) ENABLE_SVG_USE=1
1081endif
1082
1083ifeq ($(findstring ENABLE_SVG_FONTS,$(FEATURE_DEFINES)), ENABLE_SVG_FONTS)
1084    SVG_FLAGS := $(SVG_FLAGS) ENABLE_SVG_FONTS=1
1085endif
1086
1087ifeq ($(findstring ENABLE_SVG_FILTERS,$(FEATURE_DEFINES)), ENABLE_SVG_FILTERS)
1088    SVG_FLAGS := $(SVG_FLAGS) ENABLE_SVG_FILTERS=1
1089    WEBCORE_EXPORT_DEPENDENCIES := $(WEBCORE_EXPORT_DEPENDENCIES) WebCore.SVG.Filters.exp
1090endif
1091
1092ifeq ($(findstring ENABLE_SVG_AS_IMAGE,$(FEATURE_DEFINES)), ENABLE_SVG_AS_IMAGE)
1093    SVG_FLAGS := $(SVG_FLAGS) ENABLE_SVG_AS_IMAGE=1
1094endif
1095
1096ifeq ($(findstring ENABLE_SVG_ANIMATION,$(FEATURE_DEFINES)), ENABLE_SVG_ANIMATION)
1097    SVG_FLAGS := $(SVG_FLAGS) ENABLE_SVG_ANIMATION=1
1098    WEBCORE_EXPORT_DEPENDENCIES := $(WEBCORE_EXPORT_DEPENDENCIES) WebCore.SVG.Animation.exp
1099endif
1100
1101ifeq ($(findstring ENABLE_SVG_FOREIGN_OBJECT,$(FEATURE_DEFINES)), ENABLE_SVG_FOREIGN_OBJECT)
1102    SVG_FLAGS := $(SVG_FLAGS) ENABLE_SVG_FOREIGN_OBJECT=1
1103    WEBCORE_EXPORT_DEPENDENCIES := $(WEBCORE_EXPORT_DEPENDENCIES) WebCore.SVG.ForeignObject.exp
1104endif
1105
1106# SVG tag and attribute names (need to pass an extra flag if svg experimental features are enabled)
1107
1108ifdef SVG_FLAGS
1109
1110SVGElementFactory.cpp SVGNames.cpp : dom/make_names.pl svg/svgtags.in svg/svgattrs.in
1111	perl -I $(WebCore)/bindings/scripts $< --tags $(WebCore)/svg/svgtags.in --attrs $(WebCore)/svg/svgattrs.in --extraDefines "$(SVG_FLAGS)" --factory --wrapperFactory
1112else
1113
1114SVGElementFactory.cpp SVGNames.cpp : dom/make_names.pl svg/svgtags.in svg/svgattrs.in
1115	perl -I $(WebCore)/bindings/scripts $< --tags $(WebCore)/svg/svgtags.in --attrs $(WebCore)/svg/svgattrs.in --factory --wrapperFactory
1116
1117endif
1118
1119JSSVGElementWrapperFactory.cpp : SVGNames.cpp
1120
1121XLinkNames.cpp : dom/make_names.pl svg/xlinkattrs.in
1122	perl -I $(WebCore)/bindings/scripts $< --attrs $(WebCore)/svg/xlinkattrs.in
1123
1124else
1125
1126SVGElementFactory.cpp :
1127	echo > $@
1128
1129SVGNames.cpp :
1130	echo > $@
1131
1132XLinkNames.cpp :
1133	echo > $@
1134
1135# This file is autogenerated by make_names.pl when SVG is enabled.
1136
1137JSSVGElementWrapperFactory.cpp :
1138	echo > $@
1139
1140endif
1141
1142# new-style Objective-C bindings
1143
1144OBJC_BINDINGS_SCRIPTS = \
1145    bindings/scripts/CodeGenerator.pm \
1146    bindings/scripts/CodeGeneratorObjC.pm \
1147    bindings/scripts/IDLParser.pm \
1148    bindings/scripts/IDLStructure.pm \
1149    bindings/scripts/generate-bindings.pl \
1150#
1151
1152DOM%.h : %.idl $(OBJC_BINDINGS_SCRIPTS) $(PUBLICDOMINTERFACES)
1153	perl -I $(WebCore)/bindings/scripts $(WebCore)/bindings/scripts/generate-bindings.pl --defines "$(FEATURE_DEFINES) LANGUAGE_OBJECTIVE_C" --generator ObjC --include dom --include html --include css --include page --include xml --include svg --include bindings/js  --include plugins --outputdir . $<
1154
1155# new-style JavaScript bindings
1156
1157JS_BINDINGS_SCRIPTS = \
1158    bindings/scripts/CodeGenerator.pm \
1159    bindings/scripts/CodeGeneratorJS.pm \
1160    bindings/scripts/IDLParser.pm \
1161    bindings/scripts/IDLStructure.pm \
1162    bindings/scripts/generate-bindings.pl \
1163#
1164
1165JS%.h : %.idl $(JS_BINDINGS_SCRIPTS)
1166	perl -I $(WebCore)/bindings/scripts $(WebCore)/bindings/scripts/generate-bindings.pl --defines "$(FEATURE_DEFINES) LANGUAGE_JAVASCRIPT" --generator JS --include dom --include html --include css --include page --include xml --include svg --include bindings/js --include plugins --outputdir . $<
1167
1168# new-style V8 bindings
1169
1170V8_SCRIPTS = \
1171    $(PORTROOT)/bindings/scripts/CodeGenerator.pm \
1172    $(PORTROOT)/bindings/scripts/CodeGeneratorV8.pm \
1173    $(PORTROOT)/bindings/scripts/IDLParser.pm \
1174    $(WebCore)/bindings/scripts/IDLStructure.pm \
1175    $(PORTROOT)/bindings/scripts/generate-bindings.pl \
1176#
1177
1178# Sometimes script silently fails (Cygwin problem?),
1179# use a bounded loop to retry if so, but not do so forever.
1180V8%.h : %.idl $(V8_SCRIPTS)
1181	rm -f $@; \
1182	for i in 1 2 3 4 5 6 7 8 9 10; do \
1183	  if test -e $@; then break; fi; \
1184	  perl -w -I $(PORTROOT)/bindings/scripts -I $(WebCore)/bindings/scripts $(PORTROOT)/bindings/scripts/generate-bindings.pl --defines "$(FEATURE_DEFINES) LANGUAGE_JAVASCRIPT V8_BINDING" --generator V8 --include svg --include dom --include html --include css --include page --include xml --include plugins --outputdir . $< ; \
1185	done
1186