DerivedSources.make 22.9 KB
Newer Older
darin's avatar
darin committed
1
# Copyright (C) 2006, 2007 Apple Inc. All rights reserved.
weinig's avatar
weinig committed
2
# Copyright (C) 2006 Samuel Weinig <sam.weinig@gmail.com> 
darin's avatar
darin committed
3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
# are met:
#
# 1.  Redistributions of source code must retain the above copyright
#     notice, this list of conditions and the following disclaimer. 
# 2.  Redistributions in binary form must reproduce the above copyright
#     notice, this list of conditions and the following disclaimer in the
#     documentation and/or other materials provided with the distribution. 
# 3.  Neither the name of Apple Computer, Inc. ("Apple") nor the names of
#     its contributors may be used to endorse or promote products derived
#     from this software without specific prior written permission. 
#
# THIS SOFTWARE IS PROVIDED BY APPLE AND ITS CONTRIBUTORS "AS IS" AND ANY
# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
# WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
# DISCLAIMED. IN NO EVENT SHALL APPLE OR ITS CONTRIBUTORS BE LIABLE FOR ANY
# DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
# (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
# LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
# ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
# THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

VPATH = \
    $(WebCore) \
    $(WebCore)/bindings/js \
weinig's avatar
weinig committed
31
    $(WebCore)/bindings/objc \
darin's avatar
darin committed
32 33 34
    $(WebCore)/css \
    $(WebCore)/dom \
    $(WebCore)/html \
ggaren's avatar
ggaren committed
35
    $(WebCore)/page \
beidson's avatar
beidson committed
36
    $(WebCore)/storage \
37
    $(WebCore)/xml \
38
    $(WebCore)/ksvg2/svg \
weinig's avatar
weinig committed
39
    $(WebCore)/ksvg2/events \
darin's avatar
darin committed
40 41 42
#

.PHONY : all
43 44

ifeq ($(OS),MACOS)
darin's avatar
darin committed
45
all : \
darin's avatar
darin committed
46
    CharsetData.cpp \
weinig's avatar
weinig committed
47
    DOMAbstractView.h \
weinig's avatar
weinig committed
48 49
    DOMAttr.h \
    DOMCDATASection.h \
weinig's avatar
weinig committed
50 51 52 53 54
    DOMCSSCharsetRule.h \
    DOMCSSFontFaceRule.h \
    DOMCSSImportRule.h \
    DOMCSSMediaRule.h \
    DOMCSSPageRule.h \
weinig's avatar
weinig committed
55
    DOMCSSPrimitiveValue.h \
weinig's avatar
weinig committed
56 57 58 59
    DOMCSSRule.h \
    DOMCSSRuleList.h \
    DOMCSSStyleDeclaration.h \
    DOMCSSStyleRule.h \
weinig's avatar
weinig committed
60
    DOMCSSStyleSheet.h \
weinig's avatar
weinig committed
61 62 63
    DOMCSSUnknownRule.h \
    DOMCSSValue.h \
    DOMCSSValueList.h \
weinig's avatar
weinig committed
64 65
    DOMCharacterData.h \
    DOMComment.h \
weinig's avatar
weinig committed
66
    DOMCounter.h \
weinig's avatar
weinig committed
67 68 69 70 71 72 73
    DOMDOMImplementation.h \
    DOMDocument.h \
    DOMDocumentFragment.h \
    DOMDocumentType.h \
    DOMElement.h \
    DOMEntity.h \
    DOMEntityReference.h \
weinig's avatar
weinig committed
74
    DOMEvent.h \
weinig's avatar
weinig committed
75
    DOMEventListener.h \
weinig's avatar
weinig committed
76
    DOMEventTarget.h \
thatcher's avatar
thatcher committed
77
    DOMHTMLAnchorElement.h \
weinig's avatar
weinig committed
78
    DOMHTMLAppletElement.h \
thatcher's avatar
thatcher committed
79
    DOMHTMLAreaElement.h \
weinig's avatar
weinig committed
80
    DOMHTMLBRElement.h \
weinig's avatar
weinig committed
81
    DOMHTMLBaseElement.h \
thatcher's avatar
thatcher committed
82
    DOMHTMLBaseFontElement.h \
weinig's avatar
weinig committed
83
    DOMHTMLBodyElement.h \
weinig's avatar
weinig committed
84
    DOMHTMLButtonElement.h \
darin's avatar
darin committed
85
    DOMHTMLCanvasElement.h \
weinig's avatar
weinig committed
86
    DOMHTMLCollection.h \
weinig's avatar
weinig committed
87 88 89
    DOMHTMLDListElement.h \
    DOMHTMLDirectoryElement.h \
    DOMHTMLDivElement.h \
weinig's avatar
weinig committed
90
    DOMHTMLDocument.h \
weinig's avatar
weinig committed
91
    DOMHTMLElement.h \
weinig's avatar
weinig committed
92
    DOMHTMLEmbedElement.h \
weinig's avatar
weinig committed
93
    DOMHTMLFieldSetElement.h \
thatcher's avatar
thatcher committed
94
    DOMHTMLFontElement.h \
weinig's avatar
weinig committed
95
    DOMHTMLFormElement.h \
thatcher's avatar
thatcher committed
96 97 98
    DOMHTMLFrameElement.h \
    DOMHTMLFrameSetElement.h \
    DOMHTMLHRElement.h \
weinig's avatar
weinig committed
99
    DOMHTMLHeadElement.h \
weinig's avatar
weinig committed
100
    DOMHTMLHeadingElement.h \
weinig's avatar
weinig committed
101
    DOMHTMLHtmlElement.h \
thatcher's avatar
thatcher committed
102 103
    DOMHTMLIFrameElement.h \
    DOMHTMLImageElement.h \
weinig's avatar
weinig committed
104
    DOMHTMLInputElement.h \
weinig's avatar
weinig committed
105
    DOMHTMLIsIndexElement.h \
weinig's avatar
weinig committed
106 107 108
    DOMHTMLLIElement.h \
    DOMHTMLLabelElement.h \
    DOMHTMLLegendElement.h \
weinig's avatar
weinig committed
109
    DOMHTMLLinkElement.h \
thatcher's avatar
thatcher committed
110
    DOMHTMLMapElement.h \
weinig's avatar
weinig committed
111
    DOMHTMLMarqueeElement.h \
weinig's avatar
weinig committed
112
    DOMHTMLMenuElement.h \
weinig's avatar
weinig committed
113
    DOMHTMLMetaElement.h \
thatcher's avatar
thatcher committed
114
    DOMHTMLModElement.h \
weinig's avatar
weinig committed
115
    DOMHTMLOListElement.h \
thatcher's avatar
thatcher committed
116
    DOMHTMLObjectElement.h \
weinig's avatar
weinig committed
117
    DOMHTMLOptGroupElement.h \
weinig's avatar
weinig committed
118
    DOMHTMLOptionElement.h \
weinig's avatar
weinig committed
119
    DOMHTMLOptionsCollection.h \
weinig's avatar
weinig committed
120
    DOMHTMLParagraphElement.h \
thatcher's avatar
thatcher committed
121
    DOMHTMLParamElement.h \
weinig's avatar
weinig committed
122 123
    DOMHTMLPreElement.h \
    DOMHTMLQuoteElement.h \
thatcher's avatar
thatcher committed
124
    DOMHTMLScriptElement.h \
weinig's avatar
weinig committed
125
    DOMHTMLSelectElement.h \
weinig's avatar
weinig committed
126
    DOMHTMLStyleElement.h \
thatcher's avatar
thatcher committed
127 128 129 130 131 132
    DOMHTMLTableCaptionElement.h \
    DOMHTMLTableCellElement.h \
    DOMHTMLTableColElement.h \
    DOMHTMLTableElement.h \
    DOMHTMLTableRowElement.h \
    DOMHTMLTableSectionElement.h \
weinig's avatar
weinig committed
133
    DOMHTMLTextAreaElement.h \
weinig's avatar
weinig committed
134
    DOMHTMLTitleElement.h \
weinig's avatar
weinig committed
135
    DOMHTMLUListElement.h \
weinig's avatar
weinig committed
136
    DOMKeyboardEvent.h \
weinig's avatar
weinig committed
137
    DOMMediaList.h \
weinig's avatar
weinig committed
138 139
    DOMMouseEvent.h \
    DOMMutationEvent.h \
weinig's avatar
weinig committed
140
    DOMNamedNodeMap.h \
weinig's avatar
weinig committed
141
    DOMNode.h \
weinig's avatar
weinig committed
142
    DOMNodeFilter.h \
weinig's avatar
weinig committed
143
    DOMNodeIterator.h \
weinig's avatar
weinig committed
144 145
    DOMNodeList.h \
    DOMNotation.h \
weinig's avatar
weinig committed
146
    DOMOverflowEvent.h \
weinig's avatar
weinig committed
147
    DOMProcessingInstruction.h \
weinig's avatar
weinig committed
148 149
    DOMRGBColor.h \
    DOMRange.h \
weinig's avatar
weinig committed
150
    DOMRect.h \
weinig's avatar
weinig committed
151
    DOMSVGAElement.h \
weinig's avatar
weinig committed
152
    DOMSVGAngle.h \
weinig's avatar
weinig committed
153 154 155
    DOMSVGAnimateColorElement.h \
    DOMSVGAnimateElement.h \
    DOMSVGAnimateTransformElement.h \
weinig's avatar
weinig committed
156 157 158 159 160 161 162
    DOMSVGAnimatedAngle.h \
    DOMSVGAnimatedBoolean.h \
    DOMSVGAnimatedEnumeration.h \
    DOMSVGAnimatedInteger.h \
    DOMSVGAnimatedLength.h \
    DOMSVGAnimatedLengthList.h \
    DOMSVGAnimatedNumber.h \
weinig's avatar
weinig committed
163
    DOMSVGAnimatedNumberList.h \
weinig's avatar
weinig committed
164 165 166
    DOMSVGAnimatedPathData.h \
    DOMSVGAnimatedPoints.h \
    DOMSVGAnimatedPreserveAspectRatio.h \
weinig's avatar
weinig committed
167
    DOMSVGAnimatedRect.h \
weinig's avatar
weinig committed
168 169
    DOMSVGAnimatedString.h \
    DOMSVGAnimatedTransformList.h \
weinig's avatar
weinig committed
170 171 172 173
    DOMSVGAnimationElement.h \
    DOMSVGCircleElement.h \
    DOMSVGClipPathElement.h \
    DOMSVGColor.h \
weinig's avatar
weinig committed
174
    DOMSVGComponentTransferFunctionElement.h \
weinig's avatar
weinig committed
175
    DOMSVGCursorElement.h \
176
    DOMSVGDefinitionSrcElement.h \
weinig's avatar
weinig committed
177 178 179
    DOMSVGDefsElement.h \
    DOMSVGDescElement.h \
    DOMSVGDocument.h \
weinig's avatar
weinig committed
180
    DOMSVGElement.h \
zimmermann's avatar
zimmermann committed
181 182
    DOMSVGElementInstance.h \
    DOMSVGElementInstanceList.h \
weinig's avatar
weinig committed
183
    DOMSVGEllipseElement.h \
weinig's avatar
weinig committed
184
    DOMSVGExternalResourcesRequired.h \
weinig's avatar
weinig committed
185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206
    DOMSVGFEBlendElement.h \
    DOMSVGFEColorMatrixElement.h \
    DOMSVGFEComponentTransferElement.h \
    DOMSVGFECompositeElement.h \
    DOMSVGFEDiffuseLightingElement.h \
    DOMSVGFEDisplacementMapElement.h \
    DOMSVGFEDistantLightElement.h \
    DOMSVGFEFloodElement.h \
    DOMSVGFEFuncAElement.h \
    DOMSVGFEFuncBElement.h \
    DOMSVGFEFuncGElement.h \
    DOMSVGFEFuncRElement.h \
    DOMSVGFEGaussianBlurElement.h \
    DOMSVGFEImageElement.h \
    DOMSVGFEMergeElement.h \
    DOMSVGFEMergeNodeElement.h \
    DOMSVGFEOffsetElement.h \
    DOMSVGFEPointLightElement.h \
    DOMSVGFESpecularLightingElement.h \
    DOMSVGFESpotLightElement.h \
    DOMSVGFETileElement.h \
    DOMSVGFETurbulenceElement.h \
207 208 209 210 211
    DOMSVGFontFaceElement.h \
    DOMSVGFontFaceFormatElement.h \
    DOMSVGFontFaceNameElement.h \
    DOMSVGFontFaceSrcElement.h \
    DOMSVGFontFaceUriElement.h \
weinig's avatar
weinig committed
212
    DOMSVGFilterElement.h \
weinig's avatar
weinig committed
213
    DOMSVGFilterPrimitiveStandardAttributes.h \
weinig's avatar
weinig committed
214 215 216 217 218
    DOMSVGFitToViewBox.h \
    DOMSVGForeignObjectElement.h \
    DOMSVGGElement.h \
    DOMSVGGradientElement.h \
    DOMSVGImageElement.h \
weinig's avatar
weinig committed
219
    DOMSVGLangSpace.h \
weinig's avatar
weinig committed
220 221
    DOMSVGLength.h \
    DOMSVGLengthList.h \
weinig's avatar
weinig committed
222 223
    DOMSVGLineElement.h \
    DOMSVGLinearGradientElement.h \
weinig's avatar
weinig committed
224
    DOMSVGLocatable.h \
weinig's avatar
weinig committed
225 226
    DOMSVGMarkerElement.h \
    DOMSVGMaskElement.h \
weinig's avatar
weinig committed
227
    DOMSVGMatrix.h \
weinig's avatar
weinig committed
228
    DOMSVGMetadataElement.h \
weinig's avatar
weinig committed
229
    DOMSVGNumber.h \
weinig's avatar
weinig committed
230
    DOMSVGNumberList.h \
weinig's avatar
weinig committed
231
    DOMSVGPaint.h \
weinig's avatar
weinig committed
232
    DOMSVGPathElement.h \
weinig's avatar
weinig committed
233
    DOMSVGPathSeg.h \
weinig's avatar
weinig committed
234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250
    DOMSVGPathSegArcAbs.h \
    DOMSVGPathSegArcRel.h \
    DOMSVGPathSegClosePath.h \
    DOMSVGPathSegCurvetoCubicAbs.h \
    DOMSVGPathSegCurvetoCubicRel.h \
    DOMSVGPathSegCurvetoCubicSmoothAbs.h \
    DOMSVGPathSegCurvetoCubicSmoothRel.h \
    DOMSVGPathSegCurvetoQuadraticAbs.h \
    DOMSVGPathSegCurvetoQuadraticRel.h \
    DOMSVGPathSegCurvetoQuadraticSmoothAbs.h \
    DOMSVGPathSegCurvetoQuadraticSmoothRel.h \
    DOMSVGPathSegLinetoAbs.h \
    DOMSVGPathSegLinetoHorizontalAbs.h \
    DOMSVGPathSegLinetoHorizontalRel.h \
    DOMSVGPathSegLinetoRel.h \
    DOMSVGPathSegLinetoVerticalAbs.h \
    DOMSVGPathSegLinetoVerticalRel.h \
weinig's avatar
weinig committed
251
    DOMSVGPathSegList.h \
weinig's avatar
weinig committed
252 253
    DOMSVGPathSegMovetoAbs.h \
    DOMSVGPathSegMovetoRel.h \
weinig's avatar
weinig committed
254
    DOMSVGPatternElement.h \
weinig's avatar
weinig committed
255
    DOMSVGPoint.h \
weinig's avatar
weinig committed
256 257 258
    DOMSVGPointList.h \
    DOMSVGPolygonElement.h \
    DOMSVGPolylineElement.h \
weinig's avatar
weinig committed
259
    DOMSVGPreserveAspectRatio.h \
weinig's avatar
weinig committed
260
    DOMSVGRadialGradientElement.h \
weinig's avatar
weinig committed
261
    DOMSVGRect.h \
weinig's avatar
weinig committed
262
    DOMSVGRectElement.h \
weinig's avatar
weinig committed
263
    DOMSVGRenderingIntent.h \
weinig's avatar
weinig committed
264
    DOMSVGSVGElement.h \
weinig's avatar
weinig committed
265 266 267
    DOMSVGScriptElement.h \
    DOMSVGSetElement.h \
    DOMSVGStopElement.h \
weinig's avatar
weinig committed
268 269 270
    DOMSVGStringList.h \
    DOMSVGStylable.h \
    DOMSVGStyleElement.h \
weinig's avatar
weinig committed
271 272 273 274
    DOMSVGSwitchElement.h \
    DOMSVGSymbolElement.h \
    DOMSVGTRefElement.h \
    DOMSVGTSpanElement.h \
weinig's avatar
weinig committed
275
    DOMSVGTests.h \
weinig's avatar
weinig committed
276 277
    DOMSVGTextContentElement.h \
    DOMSVGTextElement.h \
oliver's avatar
oliver committed
278
    DOMSVGTextPathElement.h \
weinig's avatar
weinig committed
279 280
    DOMSVGTextPositioningElement.h \
    DOMSVGTitleElement.h \
weinig's avatar
weinig committed
281 282
    DOMSVGTransform.h \
    DOMSVGTransformList.h \
weinig's avatar
weinig committed
283
    DOMSVGTransformable.h \
weinig's avatar
weinig committed
284
    DOMSVGURIReference.h \
weinig's avatar
weinig committed
285 286 287 288 289
    DOMSVGUnitTypes.h \
    DOMSVGUseElement.h \
    DOMSVGViewElement.h \
    DOMSVGZoomAndPan.h \
    DOMSVGZoomEvent.h \
weinig's avatar
weinig committed
290 291
    DOMStyleSheet.h \
    DOMStyleSheetList.h \
weinig's avatar
weinig committed
292
    DOMText.h \
darin's avatar
darin committed
293
    DOMTextEvent.h \
weinig's avatar
weinig committed
294
    DOMTreeWalker.h \
weinig's avatar
weinig committed
295
    DOMUIEvent.h \
weinig's avatar
weinig committed
296 297 298 299
    DOMWheelEvent.h \
    DOMXPathExpression.h \
    DOMXPathNSResolver.h \
    DOMXPathResult.h
300 301 302 303 304 305 306 307
endif

all : \
    CSSGrammar.cpp \
    CSSPropertyNames.h \
    CSSValueKeywords.h \
    ColorData.c \
    DocTypeStrings.cpp \
darin's avatar
darin committed
308 309
    HTMLEntityNames.c \
    JSAttr.h \
weinig's avatar
weinig committed
310
    JSBarInfo.h \
darin's avatar
darin committed
311
    JSCDATASection.h \
weinig's avatar
weinig committed
312 313 314 315 316
    JSCSSCharsetRule.h \
    JSCSSFontFaceRule.h \
    JSCSSImportRule.h \
    JSCSSMediaRule.h \
    JSCSSPageRule.h \
ggaren's avatar
ggaren committed
317 318
    JSCSSPrimitiveValue.h \
    JSCSSRule.h \
319
    JSCSSRuleList.h \
weinig's avatar
weinig committed
320
    JSCSSStyleRule.h \
weinig's avatar
weinig committed
321
    JSCSSStyleSheet.h \
ggaren's avatar
ggaren committed
322
    JSCSSValue.h \
323
    JSCSSValueList.h \
darin's avatar
darin committed
324 325 326 327
    JSCanvasGradient.h \
    JSCanvasPattern.h \
    JSCanvasRenderingContext2D.h \
    JSCharacterData.h \
darin's avatar
darin committed
328
    JSComment.h \
weinig's avatar
weinig committed
329
    JSConsole.h \
ggaren's avatar
ggaren committed
330
    JSCounter.h \
ggaren's avatar
ggaren committed
331
    JSCSSStyleDeclaration.h \
beidson's avatar
beidson committed
332
    JSDatabase.h \
weinig's avatar
weinig committed
333
    JSDOMExceptionConstructor.lut.h \
darin's avatar
darin committed
334
    JSDOMImplementation.h \
335
    JSDOMParser.h \
weinig's avatar
weinig committed
336
    JSDOMSelection.h \
ggaren's avatar
ggaren committed
337
    JSDOMWindow.h \
mjs's avatar
mjs committed
338
    JSDocument.h \
andersca's avatar
andersca committed
339
    JSDocumentFragment.h \
darin's avatar
darin committed
340 341 342
    JSDocumentType.h \
    JSElement.h \
    JSEntity.h \
darin's avatar
darin committed
343
    JSEntityReference.h \
weinig's avatar
weinig committed
344 345
    JSEvent.h \
    JSEventTargetNode.lut.h \
346 347 348
    JSHTMLAppletElement.h \
    JSHTMLAnchorElement.h \
    JSHTMLAreaElement.h \
antti's avatar
antti committed
349
    JSHTMLAudioElement.h \
350
    JSHTMLBaseElement.h \
351 352 353 354 355
    JSHTMLBaseFontElement.h \
    JSHTMLBlockquoteElement.h \
    JSHTMLBodyElement.h \
    JSHTMLBRElement.h \
    JSHTMLButtonElement.h \
darin's avatar
darin committed
356
    JSHTMLCanvasElement.h \
weinig's avatar
weinig committed
357
    JSHTMLCollection.h \
weinig's avatar
weinig committed
358
    JSHTMLDListElement.h \
359 360
    JSHTMLDirectoryElement.h \
    JSHTMLDivElement.h \
361
    JSHTMLDocument.h \
andersca's avatar
andersca committed
362
    JSHTMLElement.h \
weinig's avatar
weinig committed
363
    JSHTMLEmbedElement.h \
364
    JSHTMLFieldSetElement.h \
ddkilzer's avatar
ddkilzer committed
365 366
    JSHTMLFontElement.h \
    JSHTMLFormElement.h \
weinig's avatar
weinig committed
367
    JSHTMLFrameElement.h \
weinig's avatar
weinig committed
368
    JSHTMLFrameSetElement.h \
weinig's avatar
weinig committed
369
    JSHTMLHRElement.h \
370
    JSHTMLHeadElement.h \
371 372
    JSHTMLHeadingElement.h \
    JSHTMLHtmlElement.h \
weinig's avatar
weinig committed
373 374
    JSHTMLIFrameElement.h \
    JSHTMLImageElement.h \
375 376
    JSHTMLInputElement.h \
    JSHTMLInputElementBaseTable.cpp \
weinig's avatar
weinig committed
377 378
    JSHTMLIsIndexElement.h \
    JSHTMLLIElement.h \
379 380
    JSHTMLLabelElement.h \
    JSHTMLLegendElement.h \
381
    JSHTMLLinkElement.h \
382
    JSHTMLMapElement.h \
weinig's avatar
weinig committed
383
    JSHTMLMarqueeElement.h \
antti's avatar
antti committed
384
    JSHTMLMediaElement.h \
weinig's avatar
weinig committed
385
    JSHTMLMenuElement.h \
386
    JSHTMLMetaElement.h \
387 388
    JSHTMLModElement.h \
    JSHTMLOListElement.h \
weinig's avatar
weinig committed
389
    JSHTMLOptGroupElement.h \
weinig's avatar
weinig committed
390
    JSHTMLObjectElement.h \
weinig's avatar
weinig committed
391 392
    JSHTMLOptionElement.h \
    JSHTMLOptionsCollection.h \
393 394 395
    JSHTMLParagraphElement.h \
    JSHTMLParamElement.h \
    JSHTMLPreElement.h \
weinig's avatar
weinig committed
396
    JSHTMLQuoteElement.h \
397
    JSHTMLScriptElement.h \
ap's avatar
ap committed
398
    JSHTMLSelectElement.h \
antti's avatar
antti committed
399
    JSHTMLSourceElement.h \
400
    JSHTMLStyleElement.h \
weinig's avatar
weinig committed
401 402 403 404 405 406
    JSHTMLTableCaptionElement.h \
    JSHTMLTableCellElement.h \
    JSHTMLTableColElement.h \
    JSHTMLTableElement.h \
    JSHTMLTableRowElement.h \
    JSHTMLTableSectionElement.h \
407
    JSHTMLTextAreaElement.h \
408
    JSHTMLTitleElement.h \
409
    JSHTMLUListElement.h \
antti's avatar
antti committed
410
    JSHTMLVideoElement.h \
weinig's avatar
weinig committed
411
    JSHistory.h \
darin's avatar
darin committed
412
    JSKeyboardEvent.h \
antti's avatar
antti committed
413
    JSMediaError.h \
weinig's avatar
weinig committed
414
    JSMediaList.h \
darin's avatar
darin committed
415 416
    JSMouseEvent.h \
    JSMutationEvent.h \
weinig's avatar
weinig committed
417
    JSNamedNodeMap.h \
ggaren's avatar
ggaren committed
418
    JSNode.h \
ggaren's avatar
ggaren committed
419
    JSNodeFilter.h \
420
    JSNodeIterator.h \
weinig's avatar
weinig committed
421
    JSNodeList.h \
darin's avatar
darin committed
422
    JSNotation.h \
423
    JSOverflowEvent.h \
darin's avatar
darin committed
424
    JSProcessingInstruction.h \
antti's avatar
antti committed
425
    JSProgressEvent.h \
darin's avatar
darin committed
426
    JSRange.h \
kmccullo's avatar
kmccullo committed
427
    JSRangeException.h \
weinig's avatar
weinig committed
428
    JSRect.h \
andersca's avatar
andersca committed
429
    JSSQLError.h \
beidson's avatar
beidson committed
430 431
    JSSQLResultSet.h \
    JSSQLResultSetRowList.h \
andersca's avatar
andersca committed
432
    JSSQLTransaction.h \
433
    JSSVGAElement.h \
434
    JSSVGAngle.h \
435
    JSSVGAnimatedAngle.h \
436 437 438
    JSSVGAnimateColorElement.h \
    JSSVGAnimateElement.h \
    JSSVGAnimateTransformElement.h \
439 440 441
    JSSVGAnimatedBoolean.h \
    JSSVGAnimatedEnumeration.h \
    JSSVGAnimatedInteger.h \
442
    JSSVGAnimatedLength.h \
443
    JSSVGAnimatedLengthList.h \
444
    JSSVGAnimatedNumber.h \
445
    JSSVGAnimatedNumberList.h \
446 447 448
    JSSVGAnimatedPreserveAspectRatio.h \
    JSSVGAnimatedRect.h \
    JSSVGAnimatedString.h \
449 450
    JSSVGAnimatedTransformList.h \
    JSSVGAnimationElement.h \
451
    JSSVGColor.h \
452 453 454 455 456
    JSSVGCircleElement.h \
    JSSVGClipPathElement.h \
    JSSVGComponentTransferFunctionElement.h \
    JSSVGCursorElement.h \
    JSSVGDefsElement.h \
457
    JSSVGDefinitionSrcElement.h \
458
    JSSVGDescElement.h \
459
    JSSVGDocument.h \
oliver's avatar
oliver committed
460
    JSSVGException.h \
461 462
    JSSVGLength.h \
    JSSVGMatrix.h \
rwlbuis's avatar
rwlbuis committed
463
    JSSVGMetadataElement.h \
464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484
    JSSVGPathElement.h \
    JSSVGPathSeg.h \
    JSSVGPathSegArcAbs.h \
    JSSVGPathSegArcRel.h \
    JSSVGPathSegClosePath.h \
    JSSVGPathSegCurvetoCubicAbs.h \
    JSSVGPathSegCurvetoCubicRel.h \
    JSSVGPathSegCurvetoCubicSmoothAbs.h \
    JSSVGPathSegCurvetoCubicSmoothRel.h \
    JSSVGPathSegCurvetoQuadraticAbs.h \
    JSSVGPathSegCurvetoQuadraticRel.h \
    JSSVGPathSegCurvetoQuadraticSmoothAbs.h \
    JSSVGPathSegCurvetoQuadraticSmoothRel.h \
    JSSVGPathSegLinetoAbs.h \
    JSSVGPathSegLinetoHorizontalAbs.h \
    JSSVGPathSegLinetoHorizontalRel.h \
    JSSVGPathSegLinetoRel.h \
    JSSVGPathSegLinetoVerticalAbs.h \
    JSSVGPathSegLinetoVerticalRel.h \
    JSSVGPathSegMovetoAbs.h \
    JSSVGPathSegMovetoRel.h \
zimmermann's avatar
zimmermann committed
485
    JSSVGNumber.h \
486 487 488 489
    JSSVGNumberList.h \
    JSSVGPaint.h \
    JSSVGPathSegList.h \
    JSSVGPatternElement.h \
zimmermann's avatar
zimmermann committed
490
    JSSVGPoint.h \
491 492 493 494
    JSSVGPointList.h \
    JSSVGPolygonElement.h \
    JSSVGPolylineElement.h \
    JSSVGRadialGradientElement.h \
zimmermann's avatar
zimmermann committed
495
    JSSVGRect.h \
496 497 498 499 500 501 502 503 504 505 506 507 508
    JSSVGRectElement.h \
    JSSVGRenderingIntent.h \
    JSSVGSetElement.h \
    JSSVGScriptElement.h \
    JSSVGStyleElement.h \
    JSSVGSwitchElement.h \
    JSSVGStopElement.h \
    JSSVGStringList.h \
    JSSVGSymbolElement.h \
    JSSVGTRefElement.h \
    JSSVGTSpanElement.h \
    JSSVGTextElement.h \
    JSSVGTextContentElement.h \
oliver's avatar
oliver committed
509
    JSSVGTextPathElement.h \
510 511 512 513 514 515 516
    JSSVGTextPositioningElement.h \
    JSSVGTitleElement.h \
    JSSVGTransform.h \
    JSSVGTransformList.h \
    JSSVGUnitTypes.h \
    JSSVGUseElement.h \
    JSSVGViewElement.h \
517
    JSSVGPreserveAspectRatio.h \
518
    JSSVGElement.h \
zimmermann's avatar
zimmermann committed
519 520
    JSSVGElementInstance.h \
    JSSVGElementInstanceList.h \
521
    JSSVGSVGElement.h \
522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545
    JSSVGEllipseElement.h \
    JSSVGFEBlendElement.h \
    JSSVGFEColorMatrixElement.h \
    JSSVGFEComponentTransferElement.h \
    JSSVGFECompositeElement.h \
    JSSVGFEDiffuseLightingElement.h \
    JSSVGFEDisplacementMapElement.h \
    JSSVGFEDistantLightElement.h \
    JSSVGFEFloodElement.h \
    JSSVGFEFuncAElement.h \
    JSSVGFEFuncBElement.h \
    JSSVGFEFuncGElement.h \
    JSSVGFEFuncRElement.h \
    JSSVGFEGaussianBlurElement.h \
    JSSVGFEImageElement.h \
    JSSVGFEMergeElement.h \
    JSSVGFEMergeNodeElement.h \
    JSSVGFEOffsetElement.h \
    JSSVGFEPointLightElement.h \
    JSSVGFESpecularLightingElement.h \
    JSSVGFESpotLightElement.h \
    JSSVGFETileElement.h \
    JSSVGFETurbulenceElement.h \
    JSSVGFilterElement.h \
546 547 548 549 550
    JSSVGFontFaceElement.h \
    JSSVGFontFaceFormatElement.h \
    JSSVGFontFaceNameElement.h \
    JSSVGFontFaceSrcElement.h \
    JSSVGFontFaceUriElement.h \
551
    JSSVGForeignObjectElement.h \
552 553 554 555 556 557 558 559 560
    JSSVGGElement.h \
    JSSVGGradientElement.h \
    JSSVGImageElement.h \
    JSSVGLength.h \
    JSSVGLengthList.h \
    JSSVGLineElement.h \
    JSSVGLinearGradientElement.h \
    JSSVGMaskElement.h \
    JSSVGMarkerElement.h \
561
    JSSVGTransform.h \
weinig's avatar
weinig committed
562 563
    JSSVGZoomEvent.h \
    JSScreen.h \
weinig's avatar
weinig committed
564
    JSStyleSheet.h \
565
    JSStyleSheetList.h \
darin's avatar
darin committed
566
    JSText.h \
darin's avatar
darin committed
567
    JSTextEvent.h \
antti's avatar
antti committed
568
    JSTimeRanges.h \
569
    JSTreeWalker.h \
darin's avatar
darin committed
570
    JSUIEvent.h \
antti's avatar
antti committed
571
    JSVoidCallback.h \
572 573 574 575
    JSXPathEvaluator.h \
    JSXPathExpression.h \
    JSXPathNSResolver.h \
    JSXPathResult.h \
darin's avatar
darin committed
576 577
    JSWheelEvent.h \
    JSXMLHttpRequest.lut.h \
578
    JSXMLSerializer.h \
darin's avatar
darin committed
579
    JSXSLTProcessor.lut.h \
ddkilzer's avatar
ddkilzer committed
580
    SVGElementFactory.cpp \
darin's avatar
darin committed
581
    SVGNames.cpp \
eseidel's avatar
eseidel committed
582
    HTMLNames.cpp \
darin's avatar
darin committed
583 584
    UserAgentStyleSheets.h \
    XLinkNames.cpp \
585
    XMLNames.cpp \
586
    XPathGrammar.cpp \
darin's avatar
darin committed
587 588 589 590 591
    kjs_css.lut.h \
    kjs_events.lut.h \
    kjs_navigator.lut.h \
    kjs_window.lut.h \
    tokenizer.cpp \
592
    WebCore.exp \
darin's avatar
darin committed
593 594 595 596
#

# CSS property names and value keywords

597 598
ifeq ($(findstring ENABLE_SVG,$(FEATURE_DEFINES)), ENABLE_SVG)

599 600 601 602
CSSPropertyNames.h : css/CSSPropertyNames.in ksvg2/css/SVGCSSPropertyNames.in
	if sort $< $(WebCore)/ksvg2/css/SVGCSSPropertyNames.in | uniq -d | grep -E '^[^#]'; then echo 'Duplicate value!'; exit 1; fi
	cat $< $(WebCore)/ksvg2/css/SVGCSSPropertyNames.in > CSSPropertyNames.in
	perl "$(WebCore)/css/makeprop.pl"
603

604
CSSValueKeywords.h : css/CSSValueKeywords.in ksvg2/css/SVGCSSValueKeywords.in
605
	# Lower case all the values, as CSS values are case-insensitive
606
	perl -ne 'print lc' $(WebCore)/ksvg2/css/SVGCSSValueKeywords.in > SVGCSSValueKeywords.in
607 608
	if sort $< SVGCSSValueKeywords.in | uniq -d | grep -E '^[^#]'; then echo 'Duplicate value!'; exit 1; fi
	cat $< SVGCSSValueKeywords.in > CSSValueKeywords.in
609
	perl "$(WebCore)/css/makevalues.pl"
610 611 612

else

bdash's avatar
bdash committed
613
CSSPropertyNames.h : css/CSSPropertyNames.in css/makeprop.pl
614
	cp $< CSSPropertyNames.in
615
	perl "$(WebCore)/css/makeprop.pl"
616

617
CSSValueKeywords.h : css/CSSValueKeywords.in css/makevalues.pl
618
	cp $< CSSValueKeywords.in
619
	perl "$(WebCore)/css/makevalues.pl"
620 621 622

endif 

darin's avatar
darin committed
623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644

# DOCTYPE strings

DocTypeStrings.cpp : html/DocTypeStrings.gperf
	gperf -CEot -L ANSI-C -k "*" -N findDoctypeEntry -F ,PubIDInfo::eAlmostStandards,PubIDInfo::eAlmostStandards $< > $@

# HTML entity names

HTMLEntityNames.c : html/HTMLEntityNames.gperf
	gperf -a -L ANSI-C -C -G -c -o -t -k '*' -N findEntity -D -s 2 $< > $@

# color names

ColorData.c : platform/ColorData.gperf
	gperf -CDEot -L ANSI-C -k '*' -N findColor -D -s 2 $< > $@

# CSS tokenizer

tokenizer.cpp : css/tokenizer.flex css/maketokenizer
	flex -t $< | perl $(WebCore)/css/maketokenizer > $@

# CSS grammar
harrison's avatar
harrison committed
645
# NOTE: older versions of bison do not inject an inclusion guard, so we do it
darin's avatar
darin committed
646 647 648 649 650

CSSGrammar.cpp : css/CSSGrammar.y
	bison -d -p cssyy $< -o $@
	touch CSSGrammar.cpp.h
	touch CSSGrammar.hpp
darin's avatar
darin committed
651 652
	echo '#ifndef CSSGrammar_h' > CSSGrammar.h
	echo '#define CSSGrammar_h' >> CSSGrammar.h
harrison's avatar
harrison committed
653 654
	cat CSSGrammar.cpp.h CSSGrammar.hpp >> CSSGrammar.h
	echo '#endif' >> CSSGrammar.h
darin's avatar
darin committed
655 656
	rm -f CSSGrammar.cpp.h CSSGrammar.hpp

657
# XPath grammar
harrison's avatar
harrison committed
658
# NOTE: older versions of bison do not inject an inclusion guard, so we do it
darin's avatar
darin committed
659

660
XPathGrammar.cpp : xml/XPathGrammar.y $(PROJECT_FILE)
661 662 663
	bison -d -p xpathyy $< -o $@
	touch XPathGrammar.cpp.h
	touch XPathGrammar.hpp
darin's avatar
darin committed
664 665
	echo '#ifndef XPathGrammar_h' > XPathGrammar.h
	echo '#define XPathGrammar_h' >> XPathGrammar.h
harrison's avatar
harrison committed
666 667
	cat XPathGrammar.cpp.h XPathGrammar.hpp >> XPathGrammar.h
	echo '#endif' >> XPathGrammar.h
668 669
	rm -f XPathGrammar.cpp.h XPathGrammar.hpp

darin's avatar
darin committed
670 671
# user agent style sheets

672
USER_AGENT_STYLE_SHEETS = $(WebCore)/css/html4.css $(WebCore)/css/quirks.css $(WebCore)/css/view-source.css $(WebCore)/css/svg.css 
darin's avatar
darin committed
673
UserAgentStyleSheets.h : css/make-css-file-arrays.pl $(USER_AGENT_STYLE_SHEETS)
674
	perl $< $@ UserAgentStyleSheetsData.cpp $(USER_AGENT_STYLE_SHEETS)
darin's avatar
darin committed
675 676 677

# character set name table

678
CharsetData.cpp : platform/text/mac/make-charset-table.pl platform/text/mac/character-sets.txt platform/text/mac/mac-encodings.txt
darin's avatar
darin committed
679
	perl $^ kTextEncoding > $@
darin's avatar
darin committed
680 681 682 683 684 685 686 687

# lookup tables for old-style JavaScript bindings

%.lut.h: %.cpp $(CREATE_HASH_TABLE)
	$(CREATE_HASH_TABLE) $< > $@
%Table.cpp: %.cpp $(CREATE_HASH_TABLE)
	$(CREATE_HASH_TABLE) $< > $@

eseidel's avatar
eseidel committed
688 689 690
# HTML tag and attribute names

HTMLNames.cpp : ksvg2/scripts/make_names.pl html/HTMLTagNames.in html/HTMLAttributeNames.in
691
	perl $< --tags $(WebCore)/html/HTMLTagNames.in --attrs $(WebCore)/html/HTMLAttributeNames.in \
eseidel's avatar
eseidel committed
692 693
            --namespace HTML --namespacePrefix xhtml --cppNamespace WebCore --namespaceURI "http://www.w3.org/1999/xhtml" --attrsNullNamespace --output .

zimmermann's avatar
zimmermann committed
694 695 696 697
XMLNames.cpp : ksvg2/scripts/make_names.pl xml/xmlattrs.in
	perl $< --attrs $(WebCore)/xml/xmlattrs.in \
            --namespace XML --cppNamespace WebCore --namespaceURI "http://www.w3.org/XML/1998/namespace" --output .

mjs's avatar
mjs committed
698
ifeq ($(findstring ENABLE_SVG,$(FEATURE_DEFINES)), ENABLE_SVG)
darin's avatar
darin committed
699

zimmermann's avatar
zimmermann committed
700 701 702 703 704 705
ifeq ($(findstring ENABLE_SVG_EXPERIMENTAL_FEATURES,$(FEATURE_DEFINES)), ENABLE_SVG_EXPERIMENTAL_FEATURES)
# SVG tag and attribute names (need to pass an extra flag if svg experimental features are enabled)
SVGElementFactory.cpp SVGNames.cpp : ksvg2/scripts/make_names.pl ksvg2/svg/svgtags.in ksvg2/svg/svgattrs.in
	perl $< --tags $(WebCore)/ksvg2/svg/svgtags.in --attrs $(WebCore)/ksvg2/svg/svgattrs.in --extraDefines "ENABLE_SVG_EXPERIMENTAL_FEATURES=1" \
            --namespace SVG --cppNamespace WebCore --namespaceURI "http://www.w3.org/2000/svg" --factory --attrsNullNamespace --output .
else
706
# SVG tag and attribute names
ddkilzer's avatar
ddkilzer committed
707
SVGElementFactory.cpp SVGNames.cpp : ksvg2/scripts/make_names.pl ksvg2/svg/svgtags.in ksvg2/svg/svgattrs.in
708
	perl $< --tags $(WebCore)/ksvg2/svg/svgtags.in --attrs $(WebCore)/ksvg2/svg/svgattrs.in \
darin's avatar
darin committed
709
            --namespace SVG --cppNamespace WebCore --namespaceURI "http://www.w3.org/2000/svg" --factory --attrsNullNamespace --output .
zimmermann's avatar
zimmermann committed
710
endif
darin's avatar
darin committed
711

712
XLinkNames.cpp : ksvg2/scripts/make_names.pl ksvg2/misc/xlinkattrs.in
713
	perl $< --attrs $(WebCore)/ksvg2/misc/xlinkattrs.in \
darin's avatar
darin committed
714
            --namespace XLink --cppNamespace WebCore --namespaceURI "http://www.w3.org/1999/xlink" --output .
thatcher's avatar
thatcher committed
715

716 717 718
# Add SVG Symbols to the WebCore exported symbols file

WebCore.exp : WebCore.base.exp WebCore.SVG.exp
darin@apple.com's avatar
darin@apple.com committed
719
	cat $^ > $@
720

721 722
else

ddkilzer's avatar
ddkilzer committed
723
SVGElementFactory.cpp :
darin@apple.com's avatar
darin@apple.com committed
724
	echo > $@
ddkilzer's avatar
ddkilzer committed
725

726
SVGNames.cpp :
darin@apple.com's avatar
darin@apple.com committed
727
	echo > $@
728 729

XLinkNames.cpp :
darin@apple.com's avatar
darin@apple.com committed
730
	echo > $@
731

732
WebCore.exp : WebCore.base.exp
darin@apple.com's avatar
darin@apple.com committed
733
	cat $^ > $@
734

735 736
endif

weinig's avatar
weinig committed
737 738 739 740 741 742 743 744 745 746
# new-style Objective-C bindings

OBJC_BINDINGS_SCRIPTS = \
    bindings/scripts/CodeGenerator.pm \
    bindings/scripts/CodeGeneratorObjC.pm \
    bindings/scripts/IDLParser.pm \
    bindings/scripts/IDLStructure.pm \
    bindings/scripts/generate-bindings.pl \
#

747
DOM%.h : %.idl $(OBJC_BINDINGS_SCRIPTS) bindings/objc/PublicDOMInterfaces.h
weinig's avatar
weinig committed
748
	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 ksvg2/svg --include ksvg2/events --outputdir . $<
weinig's avatar
weinig committed
749

darin's avatar
darin committed
750 751 752
# new-style JavaScript bindings

JS_BINDINGS_SCRIPTS = \
753 754 755 756 757
    bindings/scripts/CodeGenerator.pm \
    bindings/scripts/CodeGeneratorJS.pm \
    bindings/scripts/IDLParser.pm \
    bindings/scripts/IDLStructure.pm \
    bindings/scripts/generate-bindings.pl \
darin's avatar
darin committed
758 759 760
#

JS%.h : %.idl $(JS_BINDINGS_SCRIPTS)
weinig's avatar
weinig committed
761
	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 ksvg2/svg --include ksvg2/events --outputdir . $<