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 \
73 CSSVariablesDeclaration \
79 WebGLContextAttributes \
87 CanvasRenderingContext \
88 CanvasRenderingContext2D \
89 WebGLRenderingContext \
93 WebGLUniformLocation \
94 WebGLUnsignedByteArray \
95 WebGLUnsignedIntArray \
96 WebGLUnsignedShortArray \
108 DedicatedWorkerContext \
109 DOMApplicationCache \
140 HTMLBaseFontElement \
141 HTMLBlockquoteElement \
146 HTMLDataGridElement \
147 HTMLDataGridCellElement \
148 HTMLDataGridColElement \
149 HTMLDataGridRowElement \
150 HTMLDataListElement \
152 HTMLDirectoryElement \
157 HTMLFieldSetElement \
161 HTMLFrameSetElement \
182 HTMLOptGroupElement \
184 HTMLOptionsCollection \
185 HTMLParagraphElement \
193 HTMLTableCaptionElement \
194 HTMLTableCellElement \
195 HTMLTableColElement \
197 HTMLTableRowElement \
198 HTMLTableSectionElement \
199 HTMLTextAreaElement \
207 InspectorFrontendHost \
230 PageTransitionEvent \
235 ProcessingInstruction \
242 SharedWorkerContext \
245 SQLResultSetRowList \
252 SVGAnimateColorElement \
254 SVGAnimateTransformElement \
257 SVGAnimatedEnumeration \
260 SVGAnimatedLengthList \
262 SVGAnimatedNumberList \
263 SVGAnimatedPathData \
265 SVGAnimatedPreserveAspectRatio \
268 SVGAnimatedTransformList \
269 SVGAnimationElement \
273 SVGComponentTransferFunctionElement \
280 SVGElementInstanceList \
283 SVGExternalResourcesRequired \
285 SVGFEColorMatrixElement \
286 SVGFEComponentTransferElement \
287 SVGFECompositeElement \
288 SVGFEDiffuseLightingElement \
289 SVGFEDisplacementMapElement \
290 SVGFEDistantLightElement \
296 SVGFEGaussianBlurElement \
299 SVGFEMergeNodeElement \
300 SVGFEMorphologyElement \
302 SVGFEPointLightElement \
303 SVGFESpecularLightingElement \
304 SVGFESpotLightElement \
306 SVGFETurbulenceElement \
308 SVGFilterPrimitiveStandardAttributes \
312 SVGFontFaceFormatElement \
313 SVGFontFaceNameElement \
314 SVGFontFaceSrcElement \
315 SVGFontFaceUriElement \
316 SVGForeignObjectElement \
326 SVGLinearGradientElement \
332 SVGMissingGlyphElement \
340 SVGPathSegClosePath \
341 SVGPathSegCurvetoCubicAbs \
342 SVGPathSegCurvetoCubicRel \
343 SVGPathSegCurvetoCubicSmoothAbs \
344 SVGPathSegCurvetoCubicSmoothRel \
345 SVGPathSegCurvetoQuadraticAbs \
346 SVGPathSegCurvetoQuadraticRel \
347 SVGPathSegCurvetoQuadraticSmoothAbs \
348 SVGPathSegCurvetoQuadraticSmoothRel \
349 SVGPathSegLinetoAbs \
350 SVGPathSegLinetoHorizontalAbs \
351 SVGPathSegLinetoHorizontalRel \
352 SVGPathSegLinetoRel \
353 SVGPathSegLinetoVerticalAbs \
354 SVGPathSegLinetoVerticalRel \
356 SVGPathSegMovetoAbs \
357 SVGPathSegMovetoRel \
363 SVGPreserveAspectRatio \
364 SVGRadialGradientElement \
380 SVGTextContentElement \
383 SVGTextPositioningElement \
404 WebKitAnimationEvent \
405 WebKitCSSKeyframeRule \
406 WebKitCSSKeyframesRule \
408 WebKitCSSTransformValue \
410 WebKitTransitionEvent \
418 XMLHttpRequestException \
419 XMLHttpRequestProgressEvent \
420 XMLHttpRequestUpload \
432 JS_DOM_HEADERS=$(filter-out JSEventListener.h JSEventTarget.h,$(DOM_CLASSES:%=JS%.h))
437 JSJavaScriptCallFrame.h \
444 HTMLElementFactory.cpp \
447 WMLElementFactory.cpp \
449 JSSVGElementWrapperFactory.cpp \
450 SVGElementFactory.cpp \
452 UserAgentStyleSheets.h \
456 MathMLElementFactory.cpp \
464 ADDITIONAL_IDL_DEFINES :=
468 FRAMEWORK_FLAGS = $(shell echo $(BUILT_PRODUCTS_DIR) $(FRAMEWORK_SEARCH_PATHS) | perl -e 'print "-F " . join(" -F ", split(" ", <>));')
470 ifeq ($(shell gcc -E -P -dM $(FRAMEWORK_FLAGS) WebCore/ForwardingHeaders/wtf/Platform.h | grep ENABLE_DASHBOARD_SUPPORT | cut -d' ' -f3), 1)
471 ENABLE_DASHBOARD_SUPPORT = 1
473 ENABLE_DASHBOARD_SUPPORT = 0
476 ifeq ($(shell gcc -E -P -dM $(FRAMEWORK_FLAGS) WebCore/ForwardingHeaders/wtf/Platform.h | grep ENABLE_ORIENTATION_EVENTS | cut -d' ' -f3), 1)
477 ENABLE_ORIENTATION_EVENTS = 1
479 ENABLE_ORIENTATION_EVENTS = 0
484 ifndef ENABLE_DASHBOARD_SUPPORT
485 ENABLE_DASHBOARD_SUPPORT = 0
488 ifndef ENABLE_ORIENTATION_EVENTS
489 ENABLE_ORIENTATION_EVENTS = 0
494 ifeq ($(ENABLE_ORIENTATION_EVENTS), 1)
495 ADDITIONAL_IDL_DEFINES := $(ADDITIONAL_IDL_DEFINES) ENABLE_ORIENTATION_EVENTS
500 # CSS property names and value keywords
502 WEBCORE_CSS_PROPERTY_NAMES := $(WebCore)/css/CSSPropertyNames.in
503 WEBCORE_CSS_VALUE_KEYWORDS := $(WebCore)/css/CSSValueKeywords.in
505 ifeq ($(findstring ENABLE_SVG,$(FEATURE_DEFINES)), ENABLE_SVG)
506 WEBCORE_CSS_PROPERTY_NAMES := $(WEBCORE_CSS_PROPERTY_NAMES) $(WebCore)/css/SVGCSSPropertyNames.in
507 WEBCORE_CSS_VALUE_KEYWORDS := $(WEBCORE_CSS_VALUE_KEYWORDS) $(WebCore)/css/SVGCSSValueKeywords.in
510 ifeq ($(ENABLE_DASHBOARD_SUPPORT), 1)
511 WEBCORE_CSS_PROPERTY_NAMES := $(WEBCORE_CSS_PROPERTY_NAMES) $(WebCore)/css/DashboardSupportCSSPropertyNames.in
514 # The grep commands below reject output containing anything other than:
515 # 1. Lines beginning with '#'
516 # 2. Lines containing only whitespace
517 # These two types of lines will be ignored by make{prop,values}.pl.
518 CSSPropertyNames.h : $(WEBCORE_CSS_PROPERTY_NAMES) css/makeprop.pl
519 if sort $(WEBCORE_CSS_PROPERTY_NAMES) | uniq -d | grep -E -v '(^#)|(^[[:space:]]*$$)'; then echo 'Duplicate value!'; exit 1; fi
520 cat $(WEBCORE_CSS_PROPERTY_NAMES) > CSSPropertyNames.in
521 perl "$(WebCore)/css/makeprop.pl"
523 CSSValueKeywords.h : $(WEBCORE_CSS_VALUE_KEYWORDS) css/makevalues.pl
524 # Lower case all the values, as CSS values are case-insensitive
525 perl -ne 'print lc' $(WEBCORE_CSS_VALUE_KEYWORDS) > CSSValueKeywords.in
526 if sort CSSValueKeywords.in | uniq -d | grep -E -v '(^#)|(^[[:space:]]*$$)'; then echo 'Duplicate value!'; exit 1; fi
527 perl "$(WebCore)/css/makevalues.pl"
533 DocTypeStrings.cpp : html/DocTypeStrings.gperf
534 gperf -CEot -L ANSI-C -k "*" -N findDoctypeEntry -F ,PubIDInfo::eAlmostStandards,PubIDInfo::eAlmostStandards $< > $@
540 HTMLEntityNames.c : html/HTMLEntityNames.gperf
541 gperf -a -L ANSI-C -C -G -c -o -t -k '*' -N findEntity -D -s 2 $< > $@
547 ColorData.c : platform/ColorData.gperf
548 gperf -CDEot -L ANSI-C -k '*' -N findColor -D -s 2 $< > $@
554 tokenizer.cpp : css/tokenizer.flex css/maketokenizer
555 flex -t $< | perl $(WebCore)/css/maketokenizer > $@
560 # NOTE: Older versions of bison do not inject an inclusion guard, so we add one.
562 CSSGrammar.cpp : css/CSSGrammar.y
563 bison -d -p cssyy $< -o $@
564 touch CSSGrammar.cpp.h
566 echo '#ifndef CSSGrammar_h' > CSSGrammar.h
567 echo '#define CSSGrammar_h' >> CSSGrammar.h
568 cat CSSGrammar.cpp.h CSSGrammar.hpp >> CSSGrammar.h
569 echo '#endif' >> CSSGrammar.h
570 rm -f CSSGrammar.cpp.h CSSGrammar.hpp
575 # NOTE: Older versions of bison do not inject an inclusion guard, so we add one.
577 XPathGrammar.cpp : xml/XPathGrammar.y $(PROJECT_FILE)
578 bison -d -p xpathyy $< -o $@
579 touch XPathGrammar.cpp.h
580 touch XPathGrammar.hpp
581 echo '#ifndef XPathGrammar_h' > XPathGrammar.h
582 echo '#define XPathGrammar_h' >> XPathGrammar.h
583 cat XPathGrammar.cpp.h XPathGrammar.hpp >> XPathGrammar.h
584 echo '#endif' >> XPathGrammar.h
585 rm -f XPathGrammar.cpp.h XPathGrammar.hpp
589 # user agent style sheets
591 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
593 ifeq ($(findstring ENABLE_SVG,$(FEATURE_DEFINES)), ENABLE_SVG)
594 USER_AGENT_STYLE_SHEETS := $(USER_AGENT_STYLE_SHEETS) $(WebCore)/css/svg.css
597 ifeq ($(findstring ENABLE_WML,$(FEATURE_DEFINES)), ENABLE_WML)
598 USER_AGENT_STYLE_SHEETS := $(USER_AGENT_STYLE_SHEETS) $(WebCore)/css/wml.css
601 ifeq ($(findstring ENABLE_MATHML,$(FEATURE_DEFINES)), ENABLE_MATHML)
602 USER_AGENT_STYLE_SHEETS := $(USER_AGENT_STYLE_SHEETS) $(WebCore)/css/mathml.css
605 ifeq ($(findstring ENABLE_VIDEO,$(FEATURE_DEFINES)), ENABLE_VIDEO)
606 USER_AGENT_STYLE_SHEETS := $(USER_AGENT_STYLE_SHEETS) $(WebCore)/css/mediaControls.css
608 USER_AGENT_STYLE_SHEETS := $(USER_AGENT_STYLE_SHEETS) $(WebCore)/css/mediaControlsQuickTime.css
612 UserAgentStyleSheets.h : css/make-css-file-arrays.pl $(USER_AGENT_STYLE_SHEETS)
613 perl $< $@ UserAgentStyleSheetsData.cpp $(USER_AGENT_STYLE_SHEETS)
617 # HTML tag and attribute names
619 ifeq ($(findstring ENABLE_DATALIST,$(FEATURE_DEFINES)), ENABLE_DATALIST)
620 HTML_FLAGS := $(HTML_FLAGS) ENABLE_DATALIST=1
623 ifeq ($(findstring ENABLE_VIDEO,$(FEATURE_DEFINES)), ENABLE_VIDEO)
624 HTML_FLAGS := $(HTML_FLAGS) ENABLE_VIDEO=1
627 ifeq ($(findstring ENABLE_RUBY,$(FEATURE_DEFINES)), ENABLE_RUBY)
628 HTML_FLAGS := $(HTML_FLAGS) ENABLE_RUBY=1
633 HTMLElementFactory.cpp HTMLNames.cpp : dom/make_names.pl html/HTMLTagNames.in html/HTMLAttributeNames.in
634 perl -I $(WebCore)/bindings/scripts $< --tags $(WebCore)/html/HTMLTagNames.in --attrs $(WebCore)/html/HTMLAttributeNames.in --factory --wrapperFactory --extraDefines "$(HTML_FLAGS)"
638 HTMLElementFactory.cpp HTMLNames.cpp : dom/make_names.pl html/HTMLTagNames.in html/HTMLAttributeNames.in
639 perl -I $(WebCore)/bindings/scripts $< --tags $(WebCore)/html/HTMLTagNames.in --attrs $(WebCore)/html/HTMLAttributeNames.in --factory --wrapperFactory
643 JSHTMLElementWrapperFactory.cpp : HTMLNames.cpp
645 XMLNSNames.cpp : dom/make_names.pl xml/xmlnsattrs.in
646 perl -I $(WebCore)/bindings/scripts $< --attrs $(WebCore)/xml/xmlnsattrs.in
648 XMLNames.cpp : dom/make_names.pl xml/xmlattrs.in
649 perl -I $(WebCore)/bindings/scripts $< --attrs $(WebCore)/xml/xmlattrs.in
653 # SVG tag and attribute names, and element factory
655 ifeq ($(findstring ENABLE_SVG,$(FEATURE_DEFINES)), ENABLE_SVG)
657 ifeq ($(findstring ENABLE_SVG_DOM_OBJC_BINDINGS,$(FEATURE_DEFINES)), ENABLE_SVG_DOM_OBJC_BINDINGS)
658 WEBCORE_EXPORT_DEPENDENCIES := $(WEBCORE_EXPORT_DEPENDENCIES) WebCore.SVG.exp
661 ifeq ($(findstring ENABLE_SVG_USE,$(FEATURE_DEFINES)), ENABLE_SVG_USE)
662 SVG_FLAGS := $(SVG_FLAGS) ENABLE_SVG_USE=1
665 ifeq ($(findstring ENABLE_SVG_FONTS,$(FEATURE_DEFINES)), ENABLE_SVG_FONTS)
666 SVG_FLAGS := $(SVG_FLAGS) ENABLE_SVG_FONTS=1
669 ifeq ($(findstring ENABLE_FILTERS,$(FEATURE_DEFINES)), ENABLE_FILTERS)
670 SVG_FLAGS := $(SVG_FLAGS) ENABLE_FILTERS=1
671 ifeq ($(findstring ENABLE_SVG_DOM_OBJC_BINDINGS,$(FEATURE_DEFINES)), ENABLE_SVG_DOM_OBJC_BINDINGS)
672 WEBCORE_EXPORT_DEPENDENCIES := $(WEBCORE_EXPORT_DEPENDENCIES) WebCore.SVG.Filters.exp
676 ifeq ($(findstring ENABLE_SVG_AS_IMAGE,$(FEATURE_DEFINES)), ENABLE_SVG_AS_IMAGE)
677 SVG_FLAGS := $(SVG_FLAGS) ENABLE_SVG_AS_IMAGE=1
680 ifeq ($(findstring ENABLE_SVG_ANIMATION,$(FEATURE_DEFINES)), ENABLE_SVG_ANIMATION)
681 SVG_FLAGS := $(SVG_FLAGS) ENABLE_SVG_ANIMATION=1
682 ifeq ($(findstring ENABLE_SVG_DOM_OBJC_BINDINGS,$(FEATURE_DEFINES)), ENABLE_SVG_DOM_OBJC_BINDINGS)
683 WEBCORE_EXPORT_DEPENDENCIES := $(WEBCORE_EXPORT_DEPENDENCIES) WebCore.SVG.Animation.exp
687 ifeq ($(findstring ENABLE_SVG_FOREIGN_OBJECT,$(FEATURE_DEFINES)), ENABLE_SVG_FOREIGN_OBJECT)
688 SVG_FLAGS := $(SVG_FLAGS) ENABLE_SVG_FOREIGN_OBJECT=1
689 ifeq ($(findstring ENABLE_SVG_DOM_OBJC_BINDINGS,$(FEATURE_DEFINES)), ENABLE_SVG_DOM_OBJC_BINDINGS)
690 WEBCORE_EXPORT_DEPENDENCIES := $(WEBCORE_EXPORT_DEPENDENCIES) WebCore.SVG.ForeignObject.exp
694 # SVG tag and attribute names (need to pass an extra flag if svg experimental features are enabled)
698 SVGElementFactory.cpp SVGNames.cpp : dom/make_names.pl svg/svgtags.in svg/svgattrs.in
699 perl -I $(WebCore)/bindings/scripts $< --tags $(WebCore)/svg/svgtags.in --attrs $(WebCore)/svg/svgattrs.in --extraDefines "$(SVG_FLAGS)" --factory --wrapperFactory
702 SVGElementFactory.cpp SVGNames.cpp : dom/make_names.pl svg/svgtags.in svg/svgattrs.in
703 perl -I $(WebCore)/bindings/scripts $< --tags $(WebCore)/svg/svgtags.in --attrs $(WebCore)/svg/svgattrs.in --factory --wrapperFactory
707 JSSVGElementWrapperFactory.cpp : SVGNames.cpp
709 XLinkNames.cpp : dom/make_names.pl svg/xlinkattrs.in
710 perl -I $(WebCore)/bindings/scripts $< --attrs $(WebCore)/svg/xlinkattrs.in
714 SVGElementFactory.cpp :
723 # This file is autogenerated by make_names.pl when SVG is enabled.
725 JSSVGElementWrapperFactory.cpp :
732 # WML tag and attribute names, and element factory
734 ifeq ($(findstring ENABLE_WML,$(FEATURE_DEFINES)), ENABLE_WML)
736 WMLElementFactory.cpp WMLNames.cpp : dom/make_names.pl wml/WMLTagNames.in wml/WMLAttributeNames.in
737 perl -I $(WebCore)/bindings/scripts $< --tags $(WebCore)/wml/WMLTagNames.in --attrs $(WebCore)/wml/WMLAttributeNames.in --factory --wrapperFactory
741 WMLElementFactory.cpp :
751 # MathML tag and attribute names, and element factory
753 ifeq ($(findstring ENABLE_MATHML,$(FEATURE_DEFINES)), ENABLE_MATHML)
755 MathMLElementFactory.cpp MathMLNames.cpp : dom/make_names.pl mathml/mathtags.in mathml/mathattrs.in
756 perl -I $(WebCore)/bindings/scripts $< --tags $(WebCore)/mathml/mathtags.in --attrs $(WebCore)/mathml/mathattrs.in --factory --wrapperFactory
760 MathMLElementFactory.cpp :
772 # JavaScript bindings
774 GENERATE_BINDINGS = perl -I $(WebCore)/bindings/scripts $(WebCore)/bindings/scripts/generate-bindings.pl \
775 --include dom --include html --include css --include page --include notifications --include xml --include svg --write-dependencies --outputDir .
777 GENERATE_BINDINGS_SCRIPTS = \
778 bindings/scripts/CodeGenerator.pm \
779 bindings/scripts/IDLParser.pm \
780 bindings/scripts/IDLStructure.pm \
781 bindings/scripts/generate-bindings.pl \
784 JS%.h : %.idl $(GENERATE_BINDINGS_SCRIPTS) bindings/scripts/CodeGeneratorJS.pm
785 $(GENERATE_BINDINGS) --defines "$(FEATURE_DEFINES) $(ADDITIONAL_IDL_DEFINES) LANGUAGE_JAVASCRIPT" --generator JS $<
787 -include $(JS_DOM_HEADERS:.h=.dep)
789 # ------------------------
795 OBJC_DOM_HEADERS=$(filter-out DOMDOMWindow.h DOMMimeType.h DOMPlugin.h,$(DOM_CLASSES:%=DOM%.h))
797 all : $(OBJC_DOM_HEADERS)
799 all : CharsetData.cpp WebCore.exp WebCore.LP64.exp
803 # character set name table
805 CharsetData.cpp : platform/text/mac/make-charset-table.pl platform/text/mac/character-sets.txt platform/text/mac/mac-encodings.txt
806 perl $^ kTextEncoding > $@
812 ifeq ($(shell gcc -E -P -dM $(FRAMEWORK_FLAGS) WebCore/ForwardingHeaders/wtf/Platform.h | grep ENABLE_MAC_JAVA_BRIDGE | cut -d' ' -f3), 1)
813 WEBCORE_EXPORT_DEPENDENCIES := $(WEBCORE_EXPORT_DEPENDENCIES) WebCore.JNI.exp
816 ifeq ($(shell gcc -E -P -dM $(FRAMEWORK_FLAGS) WebCore/ForwardingHeaders/wtf/Platform.h | grep ENABLE_NETSCAPE_PLUGIN_API | cut -d' ' -f3), 1)
817 WEBCORE_EXPORT_DEPENDENCIES := $(WEBCORE_EXPORT_DEPENDENCIES) WebCore.NPAPI.exp
820 # FIXME: WTF_USE_PLUGIN_HOST_PROCESS is only true when building for x86_64, but we shouldn't have to know about that here.
821 ifeq ($(findstring x86_64,$(ARCHS)) $(findstring x86_64,$(VALID_ARCHS)), x86_64 x86_64)
822 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)
823 WEBCORE_EXPORT_DEPENDENCIES := $(WEBCORE_EXPORT_DEPENDENCIES) WebCore.PluginHostProcess.exp
827 ifeq ($(findstring ENABLE_3D_RENDERING,$(FEATURE_DEFINES)), ENABLE_3D_RENDERING)
828 WEBCORE_EXPORT_DEPENDENCIES := $(WEBCORE_EXPORT_DEPENDENCIES) WebCore.3DRendering.exp
831 ifeq ($(shell gcc -E -P -dM $(FRAMEWORK_FLAGS) WebCore/ForwardingHeaders/wtf/Platform.h | grep ENABLE_CONTEXT_MENUS | cut -d' ' -f3), 1)
832 WEBCORE_EXPORT_DEPENDENCIES := $(WEBCORE_EXPORT_DEPENDENCIES) WebCore.ContextMenus.exp
835 ifeq ($(ENABLE_DASHBOARD_SUPPORT), 1)
836 WEBCORE_EXPORT_DEPENDENCIES := $(WEBCORE_EXPORT_DEPENDENCIES) WebCore.DashboardSupport.exp
839 ifeq ($(shell gcc -E -P -dM $(FRAMEWORK_FLAGS) WebCore/ForwardingHeaders/wtf/Platform.h | grep ENABLE_DRAG_SUPPORT | cut -d' ' -f3), 1)
840 WEBCORE_EXPORT_DEPENDENCIES := $(WEBCORE_EXPORT_DEPENDENCIES) WebCore.DragSupport.exp
843 ifeq ($(shell gcc -E -P -dM $(FRAMEWORK_FLAGS) WebCore/ForwardingHeaders/wtf/Platform.h | grep ENABLE_INSPECTOR | cut -d' ' -f3), 1)
844 WEBCORE_EXPORT_DEPENDENCIES := $(WEBCORE_EXPORT_DEPENDENCIES) WebCore.Inspector.exp
847 ifeq ($(ENABLE_ORIENTATION_EVENTS), 1)
848 WEBCORE_EXPORT_DEPENDENCIES := $(WEBCORE_EXPORT_DEPENDENCIES) WebCore.OrientationEvents.exp
851 ifeq ($(findstring 10.4,$(MACOSX_DEPLOYMENT_TARGET)), 10.4)
852 WEBCORE_EXPORT_DEPENDENCIES := $(WEBCORE_EXPORT_DEPENDENCIES) WebCore.Tiger.exp
855 ifeq ($(findstring ENABLE_PLUGIN_PROXY_FOR_VIDEO,$(FEATURE_DEFINES)), ENABLE_PLUGIN_PROXY_FOR_VIDEO)
856 WEBCORE_EXPORT_DEPENDENCIES := $(WEBCORE_EXPORT_DEPENDENCIES) WebCore.VideoProxy.exp
859 ifeq ($(findstring ENABLE_VIDEO,$(FEATURE_DEFINES)), ENABLE_VIDEO)
860 WEBCORE_EXPORT_DEPENDENCIES := $(WEBCORE_EXPORT_DEPENDENCIES) WebCore.Video.exp
864 ifeq ($(findstring ENABLE_CLIENT_BASED_GEOLOCATION,$(FEATURE_DEFINES)), ENABLE_CLIENT_BASED_GEOLOCATION)
865 WEBCORE_EXPORT_DEPENDENCIES := $(WEBCORE_EXPORT_DEPENDENCIES) WebCore.ClientBasedGeolocation.exp
868 WebCore.exp : WebCore.base.exp $(WEBCORE_EXPORT_DEPENDENCIES)
871 # Switch NSRect, NSSize and NSPoint with their CG counterparts for 64-bit.
872 WebCore.LP64.exp : WebCore.exp
873 cat $^ | sed -e s/7_NSRect/6CGRect/ -e s/7_NSSize/6CGSize/ -e s/8_NSPoint/7CGPoint/ > $@
877 # Objective-C bindings
879 DOM%.h : %.idl $(GENERATE_BINDINGS_SCRIPTS) bindings/scripts/CodeGeneratorObjC.pm bindings/objc/PublicDOMInterfaces.h
880 $(GENERATE_BINDINGS) --defines "$(FEATURE_DEFINES) $(ADDITIONAL_IDL_DEFINES) LANGUAGE_OBJECTIVE_C" --generator ObjC $<
882 -include $(OBJC_DOM_HEADERS:.h=.dep)
888 # ------------------------