1 # Copyright (C) 2006, 2007, 2008 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>
5 # Redistribution and use in source and binary forms, with or without
6 # modification, are permitted provided that the following conditions
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 Computer, 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.
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.
31 $(WebCore
)/bindings
/js \
32 $(WebCore
)/bindings
/objc \
36 $(WebCore
)/html
/canvas \
37 $(WebCore
)/inspector \
38 $(WebCore
)/loader
/appcache \
39 $(WebCore
)/notifications \
47 $(WebCore
)/websockets \
72 CSSVariablesDeclaration \
85 CanvasRenderingContext \
86 CanvasRenderingContext2D \
87 WebGLRenderingContext \
91 WebGLUniformLocation \
92 WebGLUnsignedByteArray \
93 WebGLUnsignedIntArray \
94 WebGLUnsignedShortArray \
106 DedicatedWorkerContext \
107 DOMApplicationCache \
138 HTMLBaseFontElement \
139 HTMLBlockquoteElement \
144 HTMLDataGridElement \
145 HTMLDataGridCellElement \
146 HTMLDataGridColElement \
147 HTMLDataGridRowElement \
148 HTMLDataListElement \
150 HTMLDirectoryElement \
155 HTMLFieldSetElement \
159 HTMLFrameSetElement \
180 HTMLOptGroupElement \
182 HTMLOptionsCollection \
183 HTMLParagraphElement \
191 HTMLTableCaptionElement \
192 HTMLTableCellElement \
193 HTMLTableColElement \
195 HTMLTableRowElement \
196 HTMLTableSectionElement \
197 HTMLTextAreaElement \
205 InspectorFrontendHost \
228 PageTransitionEvent \
233 ProcessingInstruction \
240 SharedWorkerContext \
243 SQLResultSetRowList \
250 SVGAnimateColorElement \
252 SVGAnimateTransformElement \
255 SVGAnimatedEnumeration \
258 SVGAnimatedLengthList \
260 SVGAnimatedNumberList \
261 SVGAnimatedPathData \
263 SVGAnimatedPreserveAspectRatio \
266 SVGAnimatedTransformList \
267 SVGAnimationElement \
271 SVGComponentTransferFunctionElement \
278 SVGElementInstanceList \
281 SVGExternalResourcesRequired \
283 SVGFEColorMatrixElement \
284 SVGFEComponentTransferElement \
285 SVGFECompositeElement \
286 SVGFEDiffuseLightingElement \
287 SVGFEDisplacementMapElement \
288 SVGFEDistantLightElement \
294 SVGFEGaussianBlurElement \
297 SVGFEMergeNodeElement \
298 SVGFEMorphologyElement \
300 SVGFEPointLightElement \
301 SVGFESpecularLightingElement \
302 SVGFESpotLightElement \
304 SVGFETurbulenceElement \
306 SVGFilterPrimitiveStandardAttributes \
310 SVGFontFaceFormatElement \
311 SVGFontFaceNameElement \
312 SVGFontFaceSrcElement \
313 SVGFontFaceUriElement \
314 SVGForeignObjectElement \
324 SVGLinearGradientElement \
330 SVGMissingGlyphElement \
338 SVGPathSegClosePath \
339 SVGPathSegCurvetoCubicAbs \
340 SVGPathSegCurvetoCubicRel \
341 SVGPathSegCurvetoCubicSmoothAbs \
342 SVGPathSegCurvetoCubicSmoothRel \
343 SVGPathSegCurvetoQuadraticAbs \
344 SVGPathSegCurvetoQuadraticRel \
345 SVGPathSegCurvetoQuadraticSmoothAbs \
346 SVGPathSegCurvetoQuadraticSmoothRel \
347 SVGPathSegLinetoAbs \
348 SVGPathSegLinetoHorizontalAbs \
349 SVGPathSegLinetoHorizontalRel \
350 SVGPathSegLinetoRel \
351 SVGPathSegLinetoVerticalAbs \
352 SVGPathSegLinetoVerticalRel \
354 SVGPathSegMovetoAbs \
355 SVGPathSegMovetoRel \
361 SVGPreserveAspectRatio \
362 SVGRadialGradientElement \
378 SVGTextContentElement \
381 SVGTextPositioningElement \
402 WebKitAnimationEvent \
403 WebKitCSSKeyframeRule \
404 WebKitCSSKeyframesRule \
406 WebKitCSSTransformValue \
408 WebKitTransitionEvent \
416 XMLHttpRequestException \
417 XMLHttpRequestProgressEvent \
418 XMLHttpRequestUpload \
430 JS_DOM_HEADERS
=$(filter-out JSEventListener.h JSEventTarget.h
,$(DOM_CLASSES
:%=JS
%.h
))
435 JSJavaScriptCallFrame.h \
442 HTMLElementFactory.
cpp \
445 WMLElementFactory.
cpp \
447 JSSVGElementWrapperFactory.
cpp \
448 SVGElementFactory.
cpp \
450 UserAgentStyleSheets.h \
453 MathMLElementFactory.
cpp \
461 ADDITIONAL_IDL_DEFINES
:=
465 FRAMEWORK_FLAGS
= $(shell echo
$(BUILT_PRODUCTS_DIR
) $(FRAMEWORK_SEARCH_PATHS
) | perl
-e
'print "-F " . join(" -F ", split(" ", <>));')
467 ifeq ($(shell gcc
-E
-P
-dM
$(FRAMEWORK_FLAGS
) WebCore
/ForwardingHeaders
/wtf
/Platform.h | grep ENABLE_DASHBOARD_SUPPORT | cut
-d
' ' -f3
), 1)
468 ENABLE_DASHBOARD_SUPPORT
= 1
470 ENABLE_DASHBOARD_SUPPORT
= 0
473 ifeq ($(shell gcc
-E
-P
-dM
$(FRAMEWORK_FLAGS
) WebCore
/ForwardingHeaders
/wtf
/Platform.h | grep ENABLE_ORIENTATION_EVENTS | cut
-d
' ' -f3
), 1)
474 ENABLE_ORIENTATION_EVENTS
= 1
476 ENABLE_ORIENTATION_EVENTS
= 0
481 ifndef ENABLE_DASHBOARD_SUPPORT
482 ENABLE_DASHBOARD_SUPPORT
= 0
485 ifndef ENABLE_ORIENTATION_EVENTS
486 ENABLE_ORIENTATION_EVENTS
= 0
491 ifeq ($(ENABLE_ORIENTATION_EVENTS
), 1)
492 ADDITIONAL_IDL_DEFINES
:= $(ADDITIONAL_IDL_DEFINES
) ENABLE_ORIENTATION_EVENTS
497 # CSS property names and value keywords
499 WEBCORE_CSS_PROPERTY_NAMES
:= $(WebCore
)/css
/CSSPropertyNames.in
500 WEBCORE_CSS_VALUE_KEYWORDS
:= $(WebCore
)/css
/CSSValueKeywords.in
502 ifeq ($(findstring ENABLE_SVG
,$(FEATURE_DEFINES
)), ENABLE_SVG
)
503 WEBCORE_CSS_PROPERTY_NAMES
:= $(WEBCORE_CSS_PROPERTY_NAMES
) $(WebCore
)/css
/SVGCSSPropertyNames.in
504 WEBCORE_CSS_VALUE_KEYWORDS
:= $(WEBCORE_CSS_VALUE_KEYWORDS
) $(WebCore
)/css
/SVGCSSValueKeywords.in
507 ifeq ($(ENABLE_DASHBOARD_SUPPORT
), 1)
508 WEBCORE_CSS_PROPERTY_NAMES
:= $(WEBCORE_CSS_PROPERTY_NAMES
) $(WebCore
)/css
/DashboardSupportCSSPropertyNames.in
511 # The grep commands below reject output containing anything other than:
512 # 1. Lines beginning with '#'
513 # 2. Lines containing only whitespace
514 # These two types of lines will be ignored by make{prop,values}.pl.
515 CSSPropertyNames.h
: $(WEBCORE_CSS_PROPERTY_NAMES
) css
/makeprop.pl
516 if
sort $(WEBCORE_CSS_PROPERTY_NAMES
) | uniq
-d | grep
-E
-v
'(^#)|(^[[:space:]]*$$)'; then echo
'Duplicate value!'; exit
1; fi
517 cat
$(WEBCORE_CSS_PROPERTY_NAMES
) > CSSPropertyNames.in
518 perl
"$(WebCore)/css/makeprop.pl"
520 CSSValueKeywords.h
: $(WEBCORE_CSS_VALUE_KEYWORDS
) css
/makevalues.pl
521 # Lower case all the values, as CSS values are case-insensitive
522 perl
-ne
'print lc' $(WEBCORE_CSS_VALUE_KEYWORDS
) > CSSValueKeywords.in
523 if
sort CSSValueKeywords.in | uniq
-d | grep
-E
-v
'(^#)|(^[[:space:]]*$$)'; then echo
'Duplicate value!'; exit
1; fi
524 perl
"$(WebCore)/css/makevalues.pl"
530 DocTypeStrings.
cpp : html
/DocTypeStrings.gperf
531 gperf
-CEot
-L ANSI-C
-k
"*" -N findDoctypeEntry
-F
,PubIDInfo
::eAlmostStandards
,PubIDInfo
::eAlmostStandards
$< > $@
537 HTMLEntityNames.c
: html
/HTMLEntityNames.gperf
538 gperf
-a
-L ANSI-C
-C
-G
-c
-o
-t
-k
'*' -N findEntity
-D
-s
2 $< > $@
544 ColorData.c
: platform
/ColorData.gperf
545 gperf
-CDEot
-L ANSI-C
-k
'*' -N findColor
-D
-s
2 $< > $@
551 tokenizer.
cpp : css
/tokenizer.flex css
/maketokenizer
552 flex
-t
$< | perl
$(WebCore
)/css
/maketokenizer
> $@
557 # NOTE: Older versions of bison do not inject an inclusion guard, so we add one.
559 CSSGrammar.
cpp : css
/CSSGrammar.y
560 bison
-d
-p cssyy
$< -o
$@
561 touch CSSGrammar.
cpp.h
563 echo
'#ifndef CSSGrammar_h' > CSSGrammar.h
564 echo
'#define CSSGrammar_h' >> CSSGrammar.h
565 cat CSSGrammar.
cpp.h CSSGrammar.hpp
>> CSSGrammar.h
566 echo
'#endif' >> CSSGrammar.h
567 rm -f CSSGrammar.
cpp.h CSSGrammar.hpp
572 # NOTE: Older versions of bison do not inject an inclusion guard, so we add one.
574 XPathGrammar.
cpp : xml
/XPathGrammar.y
$(PROJECT_FILE
)
575 bison
-d
-p xpathyy
$< -o
$@
576 touch XPathGrammar.
cpp.h
577 touch XPathGrammar.hpp
578 echo
'#ifndef XPathGrammar_h' > XPathGrammar.h
579 echo
'#define XPathGrammar_h' >> XPathGrammar.h
580 cat XPathGrammar.
cpp.h XPathGrammar.hpp
>> XPathGrammar.h
581 echo
'#endif' >> XPathGrammar.h
582 rm -f XPathGrammar.
cpp.h XPathGrammar.hpp
586 # user agent style sheets
588 USER_AGENT_STYLE_SHEETS
= $(WebCore
)/css
/html.css
$(WebCore
)/css
/quirks.css
$(WebCore
)/css
/view-source.css
$(WebCore
)/css
/themeWin.css
$(WebCore
)/css
/themeWinQuirks.css
590 ifeq ($(findstring ENABLE_SVG
,$(FEATURE_DEFINES
)), ENABLE_SVG
)
591 USER_AGENT_STYLE_SHEETS
:= $(USER_AGENT_STYLE_SHEETS
) $(WebCore
)/css
/svg.css
594 ifeq ($(findstring ENABLE_WML
,$(FEATURE_DEFINES
)), ENABLE_WML
)
595 USER_AGENT_STYLE_SHEETS
:= $(USER_AGENT_STYLE_SHEETS
) $(WebCore
)/css
/wml.css
598 ifeq ($(findstring ENABLE_MATHML
,$(FEATURE_DEFINES
)), ENABLE_MATHML
)
599 USER_AGENT_STYLE_SHEETS
:= $(USER_AGENT_STYLE_SHEETS
) $(WebCore
)/css
/mathml.css
602 ifeq ($(findstring ENABLE_VIDEO
,$(FEATURE_DEFINES
)), ENABLE_VIDEO
)
603 USER_AGENT_STYLE_SHEETS
:= $(USER_AGENT_STYLE_SHEETS
) $(WebCore
)/css
/mediaControls.css
605 USER_AGENT_STYLE_SHEETS
:= $(USER_AGENT_STYLE_SHEETS
) $(WebCore
)/css
/mediaControlsQuickTime.css
609 UserAgentStyleSheets.h
: css
/make-css-file-arrays.pl
$(USER_AGENT_STYLE_SHEETS
)
610 perl
$< $@ UserAgentStyleSheetsData.
cpp $(USER_AGENT_STYLE_SHEETS
)
614 # HTML tag and attribute names
616 ifeq ($(findstring ENABLE_DATALIST
,$(FEATURE_DEFINES
)), ENABLE_DATALIST
)
617 HTML_FLAGS
:= $(HTML_FLAGS
) ENABLE_DATALIST
=1
620 ifeq ($(findstring ENABLE_VIDEO
,$(FEATURE_DEFINES
)), ENABLE_VIDEO
)
621 HTML_FLAGS
:= $(HTML_FLAGS
) ENABLE_VIDEO
=1
626 HTMLElementFactory.
cpp HTMLNames.
cpp : dom
/make_names.pl html
/HTMLTagNames.in html
/HTMLAttributeNames.in
627 perl
-I
$(WebCore
)/bindings
/scripts
$< --tags $(WebCore
)/html
/HTMLTagNames.in
--attrs
$(WebCore
)/html
/HTMLAttributeNames.in
--factory
--wrapperFactory
--extraDefines
"$(HTML_FLAGS)"
631 HTMLElementFactory.
cpp HTMLNames.
cpp : dom
/make_names.pl html
/HTMLTagNames.in html
/HTMLAttributeNames.in
632 perl
-I
$(WebCore
)/bindings
/scripts
$< --tags $(WebCore
)/html
/HTMLTagNames.in
--attrs
$(WebCore
)/html
/HTMLAttributeNames.in
--factory
--wrapperFactory
636 JSHTMLElementWrapperFactory.
cpp : HTMLNames.
cpp
638 XMLNames.
cpp : dom
/make_names.pl xml
/xmlattrs.in
639 perl
-I
$(WebCore
)/bindings
/scripts
$< --attrs
$(WebCore
)/xml
/xmlattrs.in
643 # SVG tag and attribute names, and element factory
645 ifeq ($(findstring ENABLE_SVG
,$(FEATURE_DEFINES
)), ENABLE_SVG
)
647 ifeq ($(findstring ENABLE_SVG_DOM_OBJC_BINDINGS
,$(FEATURE_DEFINES
)), ENABLE_SVG_DOM_OBJC_BINDINGS
)
648 WEBCORE_EXPORT_DEPENDENCIES
:= $(WEBCORE_EXPORT_DEPENDENCIES
) WebCore.SVG.exp
651 ifeq ($(findstring ENABLE_SVG_USE
,$(FEATURE_DEFINES
)), ENABLE_SVG_USE
)
652 SVG_FLAGS
:= $(SVG_FLAGS
) ENABLE_SVG_USE
=1
655 ifeq ($(findstring ENABLE_SVG_FONTS
,$(FEATURE_DEFINES
)), ENABLE_SVG_FONTS
)
656 SVG_FLAGS
:= $(SVG_FLAGS
) ENABLE_SVG_FONTS
=1
659 ifeq ($(findstring ENABLE_FILTERS
,$(FEATURE_DEFINES
)), ENABLE_FILTERS
)
660 SVG_FLAGS
:= $(SVG_FLAGS
) ENABLE_FILTERS
=1
661 ifeq ($(findstring ENABLE_SVG_DOM_OBJC_BINDINGS
,$(FEATURE_DEFINES
)), ENABLE_SVG_DOM_OBJC_BINDINGS
)
662 WEBCORE_EXPORT_DEPENDENCIES
:= $(WEBCORE_EXPORT_DEPENDENCIES
) WebCore.SVG.Filters.exp
666 ifeq ($(findstring ENABLE_SVG_AS_IMAGE
,$(FEATURE_DEFINES
)), ENABLE_SVG_AS_IMAGE
)
667 SVG_FLAGS
:= $(SVG_FLAGS
) ENABLE_SVG_AS_IMAGE
=1
670 ifeq ($(findstring ENABLE_SVG_ANIMATION
,$(FEATURE_DEFINES
)), ENABLE_SVG_ANIMATION
)
671 SVG_FLAGS
:= $(SVG_FLAGS
) ENABLE_SVG_ANIMATION
=1
672 ifeq ($(findstring ENABLE_SVG_DOM_OBJC_BINDINGS
,$(FEATURE_DEFINES
)), ENABLE_SVG_DOM_OBJC_BINDINGS
)
673 WEBCORE_EXPORT_DEPENDENCIES
:= $(WEBCORE_EXPORT_DEPENDENCIES
) WebCore.SVG.Animation.exp
677 ifeq ($(findstring ENABLE_SVG_FOREIGN_OBJECT
,$(FEATURE_DEFINES
)), ENABLE_SVG_FOREIGN_OBJECT
)
678 SVG_FLAGS
:= $(SVG_FLAGS
) ENABLE_SVG_FOREIGN_OBJECT
=1
679 ifeq ($(findstring ENABLE_SVG_DOM_OBJC_BINDINGS
,$(FEATURE_DEFINES
)), ENABLE_SVG_DOM_OBJC_BINDINGS
)
680 WEBCORE_EXPORT_DEPENDENCIES
:= $(WEBCORE_EXPORT_DEPENDENCIES
) WebCore.SVG.ForeignObject.exp
684 # SVG tag and attribute names (need to pass an extra flag if svg experimental features are enabled)
688 SVGElementFactory.
cpp SVGNames.
cpp : dom
/make_names.pl svg
/svgtags.in svg
/svgattrs.in
689 perl
-I
$(WebCore
)/bindings
/scripts
$< --tags $(WebCore
)/svg
/svgtags.in
--attrs
$(WebCore
)/svg
/svgattrs.in
--extraDefines
"$(SVG_FLAGS)" --factory
--wrapperFactory
692 SVGElementFactory.
cpp SVGNames.
cpp : dom
/make_names.pl svg
/svgtags.in svg
/svgattrs.in
693 perl
-I
$(WebCore
)/bindings
/scripts
$< --tags $(WebCore
)/svg
/svgtags.in
--attrs
$(WebCore
)/svg
/svgattrs.in
--factory
--wrapperFactory
697 JSSVGElementWrapperFactory.
cpp : SVGNames.
cpp
699 XLinkNames.
cpp : dom
/make_names.pl svg
/xlinkattrs.in
700 perl
-I
$(WebCore
)/bindings
/scripts
$< --attrs
$(WebCore
)/svg
/xlinkattrs.in
704 SVGElementFactory.
cpp :
713 # This file is autogenerated by make_names.pl when SVG is enabled.
715 JSSVGElementWrapperFactory.
cpp :
722 # WML tag and attribute names, and element factory
724 ifeq ($(findstring ENABLE_WML
,$(FEATURE_DEFINES
)), ENABLE_WML
)
726 WMLElementFactory.
cpp WMLNames.
cpp : dom
/make_names.pl wml
/WMLTagNames.in wml
/WMLAttributeNames.in
727 perl
-I
$(WebCore
)/bindings
/scripts
$< --tags $(WebCore
)/wml
/WMLTagNames.in
--attrs
$(WebCore
)/wml
/WMLAttributeNames.in
--factory
--wrapperFactory
731 WMLElementFactory.
cpp :
741 # MathML tag and attribute names, and element factory
743 ifeq ($(findstring ENABLE_MATHML
,$(FEATURE_DEFINES
)), ENABLE_MATHML
)
745 MathMLElementFactory.
cpp MathMLNames.
cpp : dom
/make_names.pl mathml
/mathtags.in
746 perl
-I
$(WebCore
)/bindings
/scripts
$< --tags $(WebCore
)/mathml
/mathtags.in
--factory
--wrapperFactory
750 MathMLElementFactory.
cpp :
762 # JavaScript bindings
764 GENERATE_BINDINGS
= perl
-I
$(WebCore
)/bindings
/scripts
$(WebCore
)/bindings
/scripts
/generate-bindings.pl \
765 --include dom
--include html
--include css
--include page
--include notifications
--include xml
--include svg
--write-dependencies
--outputDir .
767 GENERATE_BINDINGS_SCRIPTS
= \
768 bindings
/scripts
/CodeGenerator.pm \
769 bindings
/scripts
/IDLParser.pm \
770 bindings
/scripts
/IDLStructure.pm \
771 bindings
/scripts
/generate-bindings.pl \
774 JS
%.h
: %.idl
$(GENERATE_BINDINGS_SCRIPTS
) bindings
/scripts
/CodeGeneratorJS.pm
775 $(GENERATE_BINDINGS
) --defines
"$(FEATURE_DEFINES) $(ADDITIONAL_IDL_DEFINES) LANGUAGE_JAVASCRIPT" --generator JS
$<
777 -include $(JS_DOM_HEADERS
:.h
=.dep
)
779 # ------------------------
785 OBJC_DOM_HEADERS
=$(filter-out DOMDOMWindow.h DOMMimeType.h DOMPlugin.h
,$(DOM_CLASSES
:%=DOM
%.h
))
787 all : $(OBJC_DOM_HEADERS
)
789 all : CharsetData.
cpp WebCore.exp WebCore.LP64.exp
793 # character set name table
795 CharsetData.
cpp : platform
/text
/mac
/make-charset-table.pl platform
/text
/mac
/character-sets.txt platform
/text
/mac
/mac-encodings.txt
796 perl
$^ kTextEncoding
> $@
802 ifeq ($(shell gcc
-E
-P
-dM
$(FRAMEWORK_FLAGS
) WebCore
/ForwardingHeaders
/wtf
/Platform.h | grep ENABLE_MAC_JAVA_BRIDGE | cut
-d
' ' -f3
), 1)
803 WEBCORE_EXPORT_DEPENDENCIES
:= $(WEBCORE_EXPORT_DEPENDENCIES
) WebCore.JNI.exp
806 ifeq ($(shell gcc
-E
-P
-dM
$(FRAMEWORK_FLAGS
) WebCore
/ForwardingHeaders
/wtf
/Platform.h | grep ENABLE_NETSCAPE_PLUGIN_API | cut
-d
' ' -f3
), 1)
807 WEBCORE_EXPORT_DEPENDENCIES
:= $(WEBCORE_EXPORT_DEPENDENCIES
) WebCore.NPAPI.exp
810 # FIXME: WTF_USE_PLUGIN_HOST_PROCESS is only true when building for x86_64, but we shouldn't have to know about that here.
811 ifeq ($(findstring x86_64
,$(ARCHS
)) $(findstring x86_64
,$(VALID_ARCHS
)), x86_64 x86_64
)
812 ifeq ($(shell gcc
-arch x86_64
-E
-P
-dM
$(FRAMEWORK_FLAGS
) WebCore
/ForwardingHeaders
/wtf
/Platform.h | grep WTF_USE_PLUGIN_HOST_PROCESS | cut
-d
' ' -f3
), 1)
813 WEBCORE_EXPORT_DEPENDENCIES
:= $(WEBCORE_EXPORT_DEPENDENCIES
) WebCore.PluginHostProcess.exp
817 ifeq ($(findstring ENABLE_3D_RENDERING
,$(FEATURE_DEFINES
)), ENABLE_3D_RENDERING
)
818 WEBCORE_EXPORT_DEPENDENCIES
:= $(WEBCORE_EXPORT_DEPENDENCIES
) WebCore
.3DRendering.exp
821 ifeq ($(shell gcc
-E
-P
-dM
$(FRAMEWORK_FLAGS
) WebCore
/ForwardingHeaders
/wtf
/Platform.h | grep ENABLE_CONTEXT_MENUS | cut
-d
' ' -f3
), 1)
822 WEBCORE_EXPORT_DEPENDENCIES
:= $(WEBCORE_EXPORT_DEPENDENCIES
) WebCore.ContextMenus.exp
825 ifeq ($(ENABLE_DASHBOARD_SUPPORT
), 1)
826 WEBCORE_EXPORT_DEPENDENCIES
:= $(WEBCORE_EXPORT_DEPENDENCIES
) WebCore.DashboardSupport.exp
829 ifeq ($(shell gcc
-E
-P
-dM
$(FRAMEWORK_FLAGS
) WebCore
/ForwardingHeaders
/wtf
/Platform.h | grep ENABLE_DRAG_SUPPORT | cut
-d
' ' -f3
), 1)
830 WEBCORE_EXPORT_DEPENDENCIES
:= $(WEBCORE_EXPORT_DEPENDENCIES
) WebCore.DragSupport.exp
833 ifeq ($(shell gcc
-E
-P
-dM
$(FRAMEWORK_FLAGS
) WebCore
/ForwardingHeaders
/wtf
/Platform.h | grep ENABLE_INSPECTOR | cut
-d
' ' -f3
), 1)
834 WEBCORE_EXPORT_DEPENDENCIES
:= $(WEBCORE_EXPORT_DEPENDENCIES
) WebCore.Inspector.exp
837 ifeq ($(ENABLE_ORIENTATION_EVENTS
), 1)
838 WEBCORE_EXPORT_DEPENDENCIES
:= $(WEBCORE_EXPORT_DEPENDENCIES
) WebCore.OrientationEvents.exp
841 ifeq ($(findstring 10.4,$(MACOSX_DEPLOYMENT_TARGET
)), 10.4)
842 WEBCORE_EXPORT_DEPENDENCIES
:= $(WEBCORE_EXPORT_DEPENDENCIES
) WebCore.Tiger.exp
845 ifeq ($(findstring ENABLE_PLUGIN_PROXY_FOR_VIDEO
,$(FEATURE_DEFINES
)), ENABLE_PLUGIN_PROXY_FOR_VIDEO
)
846 WEBCORE_EXPORT_DEPENDENCIES
:= $(WEBCORE_EXPORT_DEPENDENCIES
) WebCore.VideoProxy.exp
849 ifeq ($(findstring ENABLE_VIDEO
,$(FEATURE_DEFINES
)), ENABLE_VIDEO
)
850 WEBCORE_EXPORT_DEPENDENCIES
:= $(WEBCORE_EXPORT_DEPENDENCIES
) WebCore.Video.exp
853 WebCore.exp
: WebCore.base.exp
$(WEBCORE_EXPORT_DEPENDENCIES
)
856 # Switch NSRect, NSSize and NSPoint with their CG counterparts for 64-bit.
857 WebCore.LP64.exp
: WebCore.exp
858 cat
$^ | sed
-e s
/7_NSRect
/6CGRect
/ -e s
/7_NSSize
/6CGSize
/ -e s
/8_NSPoint
/7CGPoint
/ > $@
862 # Objective-C bindings
864 DOM
%.h
: %.idl
$(GENERATE_BINDINGS_SCRIPTS
) bindings
/scripts
/CodeGeneratorObjC.pm bindings
/objc
/PublicDOMInterfaces.h
865 $(GENERATE_BINDINGS
) --defines
"$(FEATURE_DEFINES) $(ADDITIONAL_IDL_DEFINES) LANGUAGE_OBJECTIVE_C" --generator ObjC
$<
867 -include $(OBJC_DOM_HEADERS
:.h
=.dep
)
873 # ------------------------