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/generic \
32 $(WebCore)/bindings/js \
33 $(WebCore)/bindings/objc \
38 $(WebCore)/html/canvas \
39 $(WebCore)/inspector \
40 $(WebCore)/loader/appcache \
41 $(WebCore)/notifications \
51 $(WebCore)/websockets \
62 AudioBufferSourceNode \
64 AudioChannelSplitter \
66 AudioDestinationNode \
73 AudioProcessingEvent \
96 CanvasRenderingContext \
97 CanvasRenderingContext2D \
111 DOMApplicationCache \
123 DOMSettableTokenList \
137 DedicatedWorkerContext \
140 DeviceOrientationEvent \
144 DirectoryReaderSync \
148 DynamicsCompressorNode \
190 HTMLBaseFontElement \
196 HTMLDataListElement \
198 HTMLDirectoryElement \
203 HTMLFieldSetElement \
207 HTMLFrameSetElement \
230 HTMLOptGroupElement \
232 HTMLOptionsCollection \
234 HTMLParagraphElement \
237 HTMLProgressElement \
244 HTMLTableCaptionElement \
245 HTMLTableCellElement \
246 HTMLTableColElement \
248 HTMLTableRowElement \
249 HTMLTableSectionElement \
250 HTMLTextAreaElement \
257 HighPass2FilterNode \
263 IDBDatabaseException \
273 InspectorFrontendHost \
278 JavaScriptAudioNode \
283 MediaElementAudioSourceNode \
287 MediaQueryListListener \
292 MediaStreamTrackList \
303 NavigatorUserMediaError \
304 NavigatorUserMediaErrorCallback \
305 NavigatorUserMediaSuccessCallback \
313 OESStandardDerivatives \
315 OESVertexArrayObject \
316 OfflineAudioCompletionEvent \
317 OperationNotAllowedException \
319 PageTransitionEvent \
322 PerformanceNavigation \
327 PositionErrorCallback \
328 ProcessingInstruction \
333 RealtimeAnalyserNode \
335 RequestAnimationFrameCallback \
339 SQLResultSetRowList \
340 SQLStatementCallback \
341 SQLStatementErrorCallback \
343 SQLTransactionCallback \
344 SQLTransactionErrorCallback \
346 SQLTransactionSyncCallback \
348 SVGAltGlyphDefElement \
350 SVGAltGlyphItemElement \
352 SVGAnimateColorElement \
354 SVGAnimateMotionElement \
355 SVGAnimateTransformElement \
358 SVGAnimatedEnumeration \
361 SVGAnimatedLengthList \
363 SVGAnimatedNumberList \
364 SVGAnimatedPreserveAspectRatio \
367 SVGAnimatedTransformList \
368 SVGAnimationElement \
372 SVGComponentTransferFunctionElement \
379 SVGElementInstanceList \
382 SVGExternalResourcesRequired \
384 SVGFEColorMatrixElement \
385 SVGFEComponentTransferElement \
386 SVGFECompositeElement \
387 SVGFEConvolveMatrixElement \
388 SVGFEDiffuseLightingElement \
389 SVGFEDisplacementMapElement \
390 SVGFEDistantLightElement \
391 SVGFEDropShadowElement \
397 SVGFEGaussianBlurElement \
400 SVGFEMergeNodeElement \
401 SVGFEMorphologyElement \
403 SVGFEPointLightElement \
404 SVGFESpecularLightingElement \
405 SVGFESpotLightElement \
407 SVGFETurbulenceElement \
409 SVGFilterPrimitiveStandardAttributes \
413 SVGFontFaceFormatElement \
414 SVGFontFaceNameElement \
415 SVGFontFaceSrcElement \
416 SVGFontFaceUriElement \
417 SVGForeignObjectElement \
428 SVGLinearGradientElement \
435 SVGMissingGlyphElement \
443 SVGPathSegClosePath \
444 SVGPathSegCurvetoCubicAbs \
445 SVGPathSegCurvetoCubicRel \
446 SVGPathSegCurvetoCubicSmoothAbs \
447 SVGPathSegCurvetoCubicSmoothRel \
448 SVGPathSegCurvetoQuadraticAbs \
449 SVGPathSegCurvetoQuadraticRel \
450 SVGPathSegCurvetoQuadraticSmoothAbs \
451 SVGPathSegCurvetoQuadraticSmoothRel \
452 SVGPathSegLinetoAbs \
453 SVGPathSegLinetoHorizontalAbs \
454 SVGPathSegLinetoHorizontalRel \
455 SVGPathSegLinetoRel \
456 SVGPathSegLinetoVerticalAbs \
457 SVGPathSegLinetoVerticalRel \
459 SVGPathSegMovetoAbs \
460 SVGPathSegMovetoRel \
466 SVGPreserveAspectRatio \
467 SVGRadialGradientElement \
483 SVGTextContentElement \
486 SVGTextPositioningElement \
502 SharedWorkerContext \
506 SpeechInputResultList \
510 StorageInfoErrorCallback \
511 StorageInfoQuotaCallback \
512 StorageInfoUsageCallback \
534 WebGLContextAttributes \
539 WebGLRenderingContext \
542 WebGLUniformLocation \
543 WebGLVertexArrayObjectOES \
545 WebKitAnimationEvent \
546 WebKitAnimationList \
548 WebKitCSSKeyframeRule \
549 WebKitCSSKeyframesRule \
551 WebKitCSSTransformValue \
555 WebKitTransitionEvent \
563 XMLHttpRequestException \
564 XMLHttpRequestProgressEvent \
565 XMLHttpRequestUpload \
577 JS_DOM_HEADERS=$(filter-out JSMediaQueryListListener.h JSEventListener.h JSEventTarget.h,$(DOM_CLASSES:%=JS%.h))
580 ifeq ($(findstring BUILDING_WX,$(FEATURE_DEFINES)), BUILDING_WX)
581 WEB_DOM_HEADERS := $(filter-out WebDOMXSLTProcessor.h WebDOMEventTarget.h,$(DOM_CLASSES:%=WebDOM%.h))
588 JSJavaScriptCallFrame.h \
594 HTMLElementFactory.cpp \
595 HTMLEntityTable.cpp \
597 JSSVGElementWrapperFactory.cpp \
598 SVGElementFactory.cpp \
600 UserAgentStyleSheets.h \
601 WebKitFontFamilyNames.cpp \
602 WebKitFontFamilyNames.h \
606 MathMLElementFactory.cpp \
614 ADDITIONAL_IDL_DEFINES :=
618 FRAMEWORK_FLAGS = $(shell echo $(BUILT_PRODUCTS_DIR) $(FRAMEWORK_SEARCH_PATHS) | perl -e 'print "-F " . join(" -F ", split(" ", <>));')
620 ifeq ($(shell gcc -E -P -dM $(FRAMEWORK_FLAGS) WebCore/ForwardingHeaders/wtf/Platform.h | grep ENABLE_DASHBOARD_SUPPORT | cut -d' ' -f3), 1)
621 ENABLE_DASHBOARD_SUPPORT = 1
623 ENABLE_DASHBOARD_SUPPORT = 0
626 ifeq ($(shell gcc -E -P -dM $(FRAMEWORK_FLAGS) WebCore/ForwardingHeaders/wtf/Platform.h | grep ENABLE_ORIENTATION_EVENTS | cut -d' ' -f3), 1)
627 ENABLE_ORIENTATION_EVENTS = 1
629 ENABLE_ORIENTATION_EVENTS = 0
634 ifndef ENABLE_DASHBOARD_SUPPORT
635 ENABLE_DASHBOARD_SUPPORT = 0
638 ifndef ENABLE_ORIENTATION_EVENTS
639 ENABLE_ORIENTATION_EVENTS = 0
644 ifeq ($(ENABLE_ORIENTATION_EVENTS), 1)
645 ADDITIONAL_IDL_DEFINES := $(ADDITIONAL_IDL_DEFINES) ENABLE_ORIENTATION_EVENTS
650 # CSS property names and value keywords
652 WEBCORE_CSS_PROPERTY_NAMES := $(WebCore)/css/CSSPropertyNames.in
653 WEBCORE_CSS_VALUE_KEYWORDS := $(WebCore)/css/CSSValueKeywords.in
655 ifeq ($(findstring ENABLE_SVG,$(FEATURE_DEFINES)), ENABLE_SVG)
656 WEBCORE_CSS_PROPERTY_NAMES := $(WEBCORE_CSS_PROPERTY_NAMES) $(WebCore)/css/SVGCSSPropertyNames.in
657 WEBCORE_CSS_VALUE_KEYWORDS := $(WEBCORE_CSS_VALUE_KEYWORDS) $(WebCore)/css/SVGCSSValueKeywords.in
660 ifeq ($(ENABLE_DASHBOARD_SUPPORT), 1)
661 WEBCORE_CSS_PROPERTY_NAMES := $(WEBCORE_CSS_PROPERTY_NAMES) $(WebCore)/css/DashboardSupportCSSPropertyNames.in
664 CSSPropertyNames.h : $(WEBCORE_CSS_PROPERTY_NAMES) css/makeprop.pl
665 cat $(WEBCORE_CSS_PROPERTY_NAMES) > CSSPropertyNames.in
666 perl -I$(WebCore)/bindings/scripts "$(WebCore)/css/makeprop.pl" --defines "$(FEATURE_DEFINES)"
668 CSSValueKeywords.h : $(WEBCORE_CSS_VALUE_KEYWORDS) css/makevalues.pl
669 cat $(WEBCORE_CSS_VALUE_KEYWORDS) > CSSValueKeywords.in
670 perl -I$(WebCore)/bindings/scripts "$(WebCore)/css/makevalues.pl" --defines "$(FEATURE_DEFINES)"
678 XMLViewerCSS.h : xml/XMLViewer.css
679 perl $(WebCore)/inspector/xxd.pl XMLViewer_css $(WebCore)/xml/XMLViewer.css XMLViewerCSS.h
687 XMLViewerJS.h : xml/XMLViewer.js
688 perl $(WebCore)/inspector/xxd.pl XMLViewer_js $(WebCore)/xml/XMLViewer.js XMLViewerJS.h
694 HTMLEntityTable.cpp : html/parser/HTMLEntityNames.in $(WebCore)/html/parser/create-html-entity-table
695 python $(WebCore)/html/parser/create-html-entity-table -o HTMLEntityTable.cpp $(WebCore)/html/parser/HTMLEntityNames.in
701 ColorData.cpp : platform/ColorData.gperf $(WebCore)/make-hash-tools.pl
702 perl $(WebCore)/make-hash-tools.pl . $(WebCore)/platform/ColorData.gperf
708 tokenizer.cpp : css/tokenizer.flex css/maketokenizer
709 flex -t $< | perl $(WebCore)/css/maketokenizer > $@
714 # NOTE: Older versions of bison do not inject an inclusion guard, so we add one.
716 CSSGrammar.cpp : css/CSSGrammar.y
717 bison -d -p cssyy $< -o $@
718 touch CSSGrammar.cpp.h
720 echo '#ifndef CSSGrammar_h' > CSSGrammar.h
721 echo '#define CSSGrammar_h' >> CSSGrammar.h
722 cat CSSGrammar.cpp.h CSSGrammar.hpp >> CSSGrammar.h
723 echo '#endif' >> CSSGrammar.h
724 rm -f CSSGrammar.cpp.h CSSGrammar.hpp
729 # NOTE: Older versions of bison do not inject an inclusion guard, so we add one.
731 XPathGrammar.cpp : xml/XPathGrammar.y $(PROJECT_FILE)
732 bison -d -p xpathyy $< -o $@
733 touch XPathGrammar.cpp.h
734 touch XPathGrammar.hpp
735 echo '#ifndef XPathGrammar_h' > XPathGrammar.h
736 echo '#define XPathGrammar_h' >> XPathGrammar.h
737 cat XPathGrammar.cpp.h XPathGrammar.hpp >> XPathGrammar.h
738 echo '#endif' >> XPathGrammar.h
739 rm -f XPathGrammar.cpp.h XPathGrammar.hpp
743 # user agent style sheets
745 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
747 ifeq ($(findstring ENABLE_SVG,$(FEATURE_DEFINES)), ENABLE_SVG)
748 USER_AGENT_STYLE_SHEETS := $(USER_AGENT_STYLE_SHEETS) $(WebCore)/css/svg.css
751 ifeq ($(findstring ENABLE_MATHML,$(FEATURE_DEFINES)), ENABLE_MATHML)
752 USER_AGENT_STYLE_SHEETS := $(USER_AGENT_STYLE_SHEETS) $(WebCore)/css/mathml.css
755 ifeq ($(findstring ENABLE_VIDEO,$(FEATURE_DEFINES)), ENABLE_VIDEO)
756 USER_AGENT_STYLE_SHEETS := $(USER_AGENT_STYLE_SHEETS) $(WebCore)/css/mediaControls.css
757 USER_AGENT_STYLE_SHEETS := $(USER_AGENT_STYLE_SHEETS) $(WebCore)/css/mediaControlsQuickTime.css
760 ifeq ($(findstring ENABLE_FULLSCREEN_API,$(FEATURE_DEFINES)), ENABLE_FULLSCREEN_API)
761 USER_AGENT_STYLE_SHEETS := $(USER_AGENT_STYLE_SHEETS) $(WebCore)/css/fullscreen.css $(WebCore)/css/fullscreenQuickTime.css
764 UserAgentStyleSheets.h : css/make-css-file-arrays.pl bindings/scripts/preprocessor.pm $(USER_AGENT_STYLE_SHEETS)
765 perl -I$(WebCore)/bindings/scripts $< --defines "$(FEATURE_DEFINES)" $@ UserAgentStyleSheetsData.cpp $(USER_AGENT_STYLE_SHEETS)
769 WebKitFontFamilyNames.cpp WebKitFontFamilyNames.h : dom/make_names.pl css/WebKitFontFamilyNames.in
770 perl -I $(WebCore)/bindings/scripts $< --fonts $(WebCore)/css/WebKitFontFamilyNames.in
772 # HTML tag and attribute names
774 ifeq ($(findstring ENABLE_DATALIST,$(FEATURE_DEFINES)), ENABLE_DATALIST)
775 HTML_FLAGS := $(HTML_FLAGS) ENABLE_DATALIST=1
778 ifeq ($(findstring ENABLE_DETAILS,$(FEATURE_DEFINES)), ENABLE_DETAILS)
779 HTML_FLAGS := $(HTML_FLAGS) ENABLE_DETAILS=1
782 ifeq ($(findstring ENABLE_METER_TAG,$(FEATURE_DEFINES)), ENABLE_METER_TAG)
783 HTML_FLAGS := $(HTML_FLAGS) ENABLE_METER_TAG=1
786 ifeq ($(findstring ENABLE_PROGRESS_TAG,$(FEATURE_DEFINES)), ENABLE_PROGRESS_TAG)
787 HTML_FLAGS := $(HTML_FLAGS) ENABLE_PROGRESS_TAG=1
790 ifeq ($(findstring ENABLE_VIDEO,$(FEATURE_DEFINES)), ENABLE_VIDEO)
791 HTML_FLAGS := $(HTML_FLAGS) ENABLE_VIDEO=1
794 ifeq ($(findstring ENABLE_VIDEO_TRACK,$(FEATURE_DEFINES)), ENABLE_VIDEO_TRACK)
795 HTML_FLAGS := $(HTML_FLAGS) ENABLE_VIDEO_TRACK=0
800 HTMLElementFactory.cpp HTMLNames.cpp : dom/make_names.pl html/HTMLTagNames.in html/HTMLAttributeNames.in
801 perl -I $(WebCore)/bindings/scripts $< --tags $(WebCore)/html/HTMLTagNames.in --attrs $(WebCore)/html/HTMLAttributeNames.in --factory --wrapperFactory --extraDefines "$(HTML_FLAGS)"
805 HTMLElementFactory.cpp HTMLNames.cpp : dom/make_names.pl html/HTMLTagNames.in html/HTMLAttributeNames.in
806 perl -I $(WebCore)/bindings/scripts $< --tags $(WebCore)/html/HTMLTagNames.in --attrs $(WebCore)/html/HTMLAttributeNames.in --factory --wrapperFactory
810 JSHTMLElementWrapperFactory.cpp : HTMLNames.cpp
812 XMLNSNames.cpp : dom/make_names.pl xml/xmlnsattrs.in
813 perl -I $(WebCore)/bindings/scripts $< --attrs $(WebCore)/xml/xmlnsattrs.in
815 XMLNames.cpp : dom/make_names.pl xml/xmlattrs.in
816 perl -I $(WebCore)/bindings/scripts $< --attrs $(WebCore)/xml/xmlattrs.in
820 # SVG tag and attribute names, and element factory
822 ifeq ($(findstring ENABLE_SVG_FONTS,$(FEATURE_DEFINES)), ENABLE_SVG_FONTS)
823 SVG_FLAGS := $(SVG_FLAGS) ENABLE_SVG_FONTS=1
826 ifeq ($(findstring ENABLE_FILTERS,$(FEATURE_DEFINES)), ENABLE_FILTERS)
827 SVG_FLAGS := $(SVG_FLAGS) ENABLE_FILTERS=1
830 ifeq ($(findstring ENABLE_SVG_AS_IMAGE,$(FEATURE_DEFINES)), ENABLE_SVG_AS_IMAGE)
831 SVG_FLAGS := $(SVG_FLAGS) ENABLE_SVG_AS_IMAGE=1
834 ifeq ($(findstring ENABLE_SVG_ANIMATION,$(FEATURE_DEFINES)), ENABLE_SVG_ANIMATION)
835 SVG_FLAGS := $(SVG_FLAGS) ENABLE_SVG_ANIMATION=1
838 # SVG tag and attribute names (need to pass an extra flag if svg experimental features are enabled)
842 SVGElementFactory.cpp SVGNames.cpp : dom/make_names.pl svg/svgtags.in svg/svgattrs.in
843 perl -I $(WebCore)/bindings/scripts $< --tags $(WebCore)/svg/svgtags.in --attrs $(WebCore)/svg/svgattrs.in --extraDefines "$(SVG_FLAGS)" --factory --wrapperFactory
846 SVGElementFactory.cpp SVGNames.cpp : dom/make_names.pl svg/svgtags.in svg/svgattrs.in
847 perl -I $(WebCore)/bindings/scripts $< --tags $(WebCore)/svg/svgtags.in --attrs $(WebCore)/svg/svgattrs.in --factory --wrapperFactory
851 JSSVGElementWrapperFactory.cpp : SVGNames.cpp
853 XLinkNames.cpp : dom/make_names.pl svg/xlinkattrs.in
854 perl -I $(WebCore)/bindings/scripts $< --attrs $(WebCore)/svg/xlinkattrs.in
858 # MathML tag and attribute names, and element factory
860 MathMLElementFactory.cpp MathMLNames.cpp : dom/make_names.pl mathml/mathtags.in mathml/mathattrs.in
861 perl -I $(WebCore)/bindings/scripts $< --tags $(WebCore)/mathml/mathtags.in --attrs $(WebCore)/mathml/mathattrs.in --factory --wrapperFactory
865 # Common generator things
868 bindings/scripts/CodeGenerator.pm \
869 bindings/scripts/IDLParser.pm \
870 bindings/scripts/IDLStructure.pm \
871 bindings/scripts/generate-bindings.pl \
872 bindings/scripts/preprocessor.pm
874 generator_script = perl $(addprefix -I $(WebCore)/, $(sort $(dir $(1)))) $(WebCore)/bindings/scripts/generate-bindings.pl
876 # JS bindings generator
885 $(WebCore)/notifications \
889 IDL_COMMON_ARGS = $(IDL_INCLUDES:%=--include %) --write-dependencies --outputDir .
891 JS_BINDINGS_SCRIPTS = $(GENERATE_SCRIPTS) bindings/scripts/CodeGeneratorJS.pm
893 JS%.h : %.idl $(JS_BINDINGS_SCRIPTS)
894 $(call generator_script, $(JS_BINDINGS_SCRIPTS)) $(IDL_COMMON_ARGS) --defines "$(FEATURE_DEFINES) $(ADDITIONAL_IDL_DEFINES) LANGUAGE_JAVASCRIPT" --generator JS $<
896 # Inspector interfaces generator
898 Inspector.idl : Inspector.json inspector/generate-inspector-idl
899 python $(WebCore)/inspector/generate-inspector-idl -o Inspector.idl $(WebCore)/inspector/Inspector.json
901 all : InspectorFrontend.h
903 INSPECTOR_GENERATOR_SCRIPTS = $(GENERATE_SCRIPTS) inspector/CodeGeneratorInspector.pm
905 InspectorFrontend.h : Inspector.idl $(INSPECTOR_GENERATOR_SCRIPTS)
906 $(call generator_script, $(INSPECTOR_GENERATOR_SCRIPTS)) --outputDir . --defines "$(FEATURE_DEFINES) LANGUAGE_JAVASCRIPT" --generator Inspector $<
908 all : InjectedScriptSource.h
910 InjectedScriptSource.h : InjectedScriptSource.js
911 perl $(WebCore)/inspector/xxd.pl InjectedScriptSource_js $(WebCore)/inspector/InjectedScriptSource.js InjectedScriptSource.h
913 -include $(JS_DOM_HEADERS:.h=.dep)
915 ifeq ($(findstring BUILDING_WX,$(FEATURE_DEFINES)), BUILDING_WX)
916 CPP_BINDINGS_SCRIPTS = $(GENERATE_SCRIPTS) bindings/scripts/CodeGeneratorCPP.pm
918 WebDOM%.h : %.idl $(CPP_BINDINGS_SCRIPTS)
919 $(call generator_script, $(CPP_BINDINGS_SCRIPTS)) $(IDL_COMMON_ARGS) --defines "$(FEATURE_DEFINES) $(ADDITIONAL_IDL_DEFINES) LANGUAGE_CPP" --generator CPP $<
922 # ------------------------
928 OBJC_DOM_HEADERS=$(filter-out DOMDOMWindow.h DOMDOMMimeType.h DOMDOMPlugin.h,$(DOM_CLASSES:%=DOM%.h))
930 all : $(OBJC_DOM_HEADERS)
932 all : CharsetData.cpp
936 # character set name table
938 CharsetData.cpp : platform/text/mac/make-charset-table.pl platform/text/mac/character-sets.txt platform/text/mac/mac-encodings.txt
939 perl $^ kTextEncoding > $@
943 ifneq ($(ACTION),installhdrs)
945 all : WebCore.exp WebCore.LP64.exp
947 WebCore.exp : $(BUILT_PRODUCTS_DIR)/WebCoreExportFileGenerator
950 # Switch NSRect, NSSize and NSPoint with their CG counterparts for the 64-bit exports file.
951 WebCore.LP64.exp : WebCore.exp
952 cat $^ | sed -e s/7_NSRect/6CGRect/ -e s/7_NSSize/6CGSize/ -e s/8_NSPoint/7CGPoint/ > $@
958 # Objective-C bindings
960 DOM_BINDINGS_SCRIPTS = $(GENERATE_BINDING_SCRIPTS) bindings/scripts/CodeGeneratorObjC.pm
961 DOM%.h : %.idl $(DOM_BINDINGS_SCRIPTS) bindings/objc/PublicDOMInterfaces.h
962 $(call generator_script, $(DOM_BINDINGS_SCRIPTS)) $(IDL_COMMON_ARGS) --defines "$(FEATURE_DEFINES) $(ADDITIONAL_IDL_DEFINES) LANGUAGE_OBJECTIVE_C" --generator ObjC $<
964 -include $(OBJC_DOM_HEADERS:.h=.dep)
970 # ------------------------
974 ifeq ($(OS),Windows_NT)
976 all : WebCoreHeaderDetection.h
978 WebCoreHeaderDetection.h : DerivedSources.make
979 if [ -f "$(WEBKITLIBRARIESDIR)/include/AVFoundationCF/AVCFBase.h" ]; then echo "#define HAVE_AVCF 1" > $@; else echo > $@; fi