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 \
50 $(WebCore)/websockets \
58 AudioBufferSourceNode \
59 AudioChannelSplitter \
62 AudioDestinationNode \
69 AudioProcessingEvent \
76 OfflineAudioCompletionEvent \
77 RealtimeAnalyserNode \
104 WebGLContextAttributes \
112 CanvasRenderingContext \
113 CanvasRenderingContext2D \
114 WebGLRenderingContext \
118 WebGLUniformLocation \
137 DedicatedWorkerContext \
138 DOMApplicationCache \
152 DOMSettableTokenList \
162 DeviceOrientationEvent \
166 DirectoryReaderSync \
212 HTMLBaseFontElement \
213 HTMLBlockquoteElement \
218 HTMLDataGridElement \
219 HTMLDataGridCellElement \
220 HTMLDataGridColElement \
221 HTMLDataGridRowElement \
222 HTMLDataListElement \
225 HTMLDirectoryElement \
230 HTMLFieldSetElement \
234 HTMLFrameSetElement \
257 HTMLOptGroupElement \
259 HTMLOptionsCollection \
261 HTMLParagraphElement \
264 HTMLProgressElement \
270 HTMLTableCaptionElement \
271 HTMLTableCellElement \
272 HTMLTableColElement \
274 HTMLTableRowElement \
275 HTMLTableSectionElement \
276 HTMLTextAreaElement \
284 IDBDatabaseException \
295 InspectorFrontendHost \
301 MediaQueryListListener \
312 NavigatorUserMediaError \
313 NavigatorUserMediaErrorCallback \
314 NavigatorUserMediaSuccessCallback \
322 OESStandardDerivatives \
324 OESVertexArrayObject \
325 WebGLVertexArrayObjectOES \
327 PageTransitionEvent \
329 PerformanceNavigation \
333 ProcessingInstruction \
340 SharedWorkerContext \
345 SpeechInputResultList \
349 SQLResultSetRowList \
350 SQLStatementCallback \
351 SQLStatementErrorCallback \
353 SQLTransactionCallback \
354 SQLTransactionErrorCallback \
356 SQLTransactionSyncCallback \
363 SVGAnimateColorElement \
365 SVGAnimateTransformElement \
368 SVGAnimatedEnumeration \
371 SVGAnimatedLengthList \
373 SVGAnimatedNumberList \
374 SVGAnimatedPreserveAspectRatio \
377 SVGAnimatedTransformList \
378 SVGAnimationElement \
382 SVGComponentTransferFunctionElement \
389 SVGElementInstanceList \
392 SVGExternalResourcesRequired \
394 SVGFEColorMatrixElement \
395 SVGFEComponentTransferElement \
396 SVGFECompositeElement \
397 SVGFEConvolveMatrixElement \
398 SVGFEDiffuseLightingElement \
399 SVGFEDisplacementMapElement \
400 SVGFEDistantLightElement \
406 SVGFEGaussianBlurElement \
409 SVGFEMergeNodeElement \
410 SVGFEMorphologyElement \
412 SVGFEPointLightElement \
413 SVGFESpecularLightingElement \
414 SVGFESpotLightElement \
416 SVGFETurbulenceElement \
418 SVGFilterPrimitiveStandardAttributes \
422 SVGFontFaceFormatElement \
423 SVGFontFaceNameElement \
424 SVGFontFaceSrcElement \
425 SVGFontFaceUriElement \
426 SVGForeignObjectElement \
436 SVGLinearGradientElement \
442 SVGMissingGlyphElement \
450 SVGPathSegClosePath \
451 SVGPathSegCurvetoCubicAbs \
452 SVGPathSegCurvetoCubicRel \
453 SVGPathSegCurvetoCubicSmoothAbs \
454 SVGPathSegCurvetoCubicSmoothRel \
455 SVGPathSegCurvetoQuadraticAbs \
456 SVGPathSegCurvetoQuadraticRel \
457 SVGPathSegCurvetoQuadraticSmoothAbs \
458 SVGPathSegCurvetoQuadraticSmoothRel \
459 SVGPathSegLinetoAbs \
460 SVGPathSegLinetoHorizontalAbs \
461 SVGPathSegLinetoHorizontalRel \
462 SVGPathSegLinetoRel \
463 SVGPathSegLinetoVerticalAbs \
464 SVGPathSegLinetoVerticalRel \
466 SVGPathSegMovetoAbs \
467 SVGPathSegMovetoRel \
473 SVGPreserveAspectRatio \
474 SVGRadialGradientElement \
490 SVGTextContentElement \
493 SVGTextPositioningElement \
521 WebKitAnimationEvent \
522 WebKitAnimationList \
523 WebKitCSSKeyframeRule \
524 WebKitCSSKeyframesRule \
526 WebKitCSSTransformValue \
529 WebKitTransitionEvent \
537 XMLHttpRequestException \
538 XMLHttpRequestProgressEvent \
539 XMLHttpRequestUpload \
551 JS_DOM_HEADERS=$(filter-out JSMediaQueryListListener.h JSEventListener.h JSEventTarget.h,$(DOM_CLASSES:%=JS%.h))
554 ifeq ($(findstring BUILDING_WX,$(FEATURE_DEFINES)), BUILDING_WX)
555 WEB_DOM_HEADERS := $(filter-out WebDOMXSLTProcessor.h WebDOMEventTarget.h,$(DOM_CLASSES:%=WebDOM%.h))
562 JSJavaScriptCallFrame.h \
569 HTMLElementFactory.cpp \
570 HTMLEntityTable.cpp \
572 WMLElementFactory.cpp \
574 JSSVGElementWrapperFactory.cpp \
575 SVGElementFactory.cpp \
577 UserAgentStyleSheets.h \
581 MathMLElementFactory.cpp \
589 ADDITIONAL_IDL_DEFINES :=
593 FRAMEWORK_FLAGS = $(shell echo $(BUILT_PRODUCTS_DIR) $(FRAMEWORK_SEARCH_PATHS) | perl -e 'print "-F " . join(" -F ", split(" ", <>));')
595 ifeq ($(shell gcc -E -P -dM $(FRAMEWORK_FLAGS) WebCore/ForwardingHeaders/wtf/Platform.h | grep ENABLE_DASHBOARD_SUPPORT | cut -d' ' -f3), 1)
596 ENABLE_DASHBOARD_SUPPORT = 1
598 ENABLE_DASHBOARD_SUPPORT = 0
601 ifeq ($(shell gcc -E -P -dM $(FRAMEWORK_FLAGS) WebCore/ForwardingHeaders/wtf/Platform.h | grep ENABLE_ORIENTATION_EVENTS | cut -d' ' -f3), 1)
602 ENABLE_ORIENTATION_EVENTS = 1
604 ENABLE_ORIENTATION_EVENTS = 0
609 ifndef ENABLE_DASHBOARD_SUPPORT
610 ENABLE_DASHBOARD_SUPPORT = 0
613 ifndef ENABLE_ORIENTATION_EVENTS
614 ENABLE_ORIENTATION_EVENTS = 0
619 ifeq ($(ENABLE_ORIENTATION_EVENTS), 1)
620 ADDITIONAL_IDL_DEFINES := $(ADDITIONAL_IDL_DEFINES) ENABLE_ORIENTATION_EVENTS
625 # CSS property names and value keywords
627 WEBCORE_CSS_PROPERTY_NAMES := $(WebCore)/css/CSSPropertyNames.in
628 WEBCORE_CSS_VALUE_KEYWORDS := $(WebCore)/css/CSSValueKeywords.in
630 ifeq ($(findstring ENABLE_SVG,$(FEATURE_DEFINES)), ENABLE_SVG)
631 WEBCORE_CSS_PROPERTY_NAMES := $(WEBCORE_CSS_PROPERTY_NAMES) $(WebCore)/css/SVGCSSPropertyNames.in
632 WEBCORE_CSS_VALUE_KEYWORDS := $(WEBCORE_CSS_VALUE_KEYWORDS) $(WebCore)/css/SVGCSSValueKeywords.in
635 ifeq ($(ENABLE_DASHBOARD_SUPPORT), 1)
636 WEBCORE_CSS_PROPERTY_NAMES := $(WEBCORE_CSS_PROPERTY_NAMES) $(WebCore)/css/DashboardSupportCSSPropertyNames.in
639 # The grep commands below reject output containing anything other than:
640 # 1. Lines beginning with '#'
641 # 2. Lines containing only whitespace
642 # These two types of lines will be ignored by make{prop,values}.pl.
643 CSSPropertyNames.h : $(WEBCORE_CSS_PROPERTY_NAMES) css/makeprop.pl
644 if sort $(WEBCORE_CSS_PROPERTY_NAMES) | uniq -d | grep -E -v '(^#)|(^[[:space:]]*$$)'; then echo 'Duplicate value!'; exit 1; fi
645 cat $(WEBCORE_CSS_PROPERTY_NAMES) > CSSPropertyNames.in
646 perl "$(WebCore)/css/makeprop.pl"
648 CSSValueKeywords.h : $(WEBCORE_CSS_VALUE_KEYWORDS) css/makevalues.pl
649 # Lower case all the values, as CSS values are case-insensitive
650 perl -ne 'print lc' $(WEBCORE_CSS_VALUE_KEYWORDS) > CSSValueKeywords.in
651 if sort CSSValueKeywords.in | uniq -d | grep -E -v '(^#)|(^[[:space:]]*$$)'; then echo 'Duplicate value!'; exit 1; fi
652 perl "$(WebCore)/css/makevalues.pl"
658 DocTypeStrings.cpp : html/DocTypeStrings.gperf $(WebCore)/make-hash-tools.pl
659 perl $(WebCore)/make-hash-tools.pl . $(WebCore)/html/DocTypeStrings.gperf
667 XMLViewerCSS.h : xml/XMLViewer.css
668 perl $(WebCore)/inspector/xxd.pl XMLViewer_css $(WebCore)/xml/XMLViewer.css XMLViewerCSS.h
676 XMLViewerJS.h : xml/XMLViewer.js
677 perl $(WebCore)/inspector/xxd.pl XMLViewer_js $(WebCore)/xml/XMLViewer.js XMLViewerJS.h
683 HTMLEntityTable.cpp : html/parser/HTMLEntityNames.in $(WebCore)/html/parser/create-html-entity-table
684 python $(WebCore)/html/parser/create-html-entity-table -o HTMLEntityTable.cpp $(WebCore)/html/parser/HTMLEntityNames.in
690 ColorData.cpp : platform/ColorData.gperf $(WebCore)/make-hash-tools.pl
691 perl $(WebCore)/make-hash-tools.pl . $(WebCore)/platform/ColorData.gperf
697 tokenizer.cpp : css/tokenizer.flex css/maketokenizer
698 flex -t $< | perl $(WebCore)/css/maketokenizer > $@
703 # NOTE: Older versions of bison do not inject an inclusion guard, so we add one.
705 CSSGrammar.cpp : css/CSSGrammar.y
706 bison -d -p cssyy $< -o $@
707 touch CSSGrammar.cpp.h
709 echo '#ifndef CSSGrammar_h' > CSSGrammar.h
710 echo '#define CSSGrammar_h' >> CSSGrammar.h
711 cat CSSGrammar.cpp.h CSSGrammar.hpp >> CSSGrammar.h
712 echo '#endif' >> CSSGrammar.h
713 rm -f CSSGrammar.cpp.h CSSGrammar.hpp
718 # NOTE: Older versions of bison do not inject an inclusion guard, so we add one.
720 XPathGrammar.cpp : xml/XPathGrammar.y $(PROJECT_FILE)
721 bison -d -p xpathyy $< -o $@
722 touch XPathGrammar.cpp.h
723 touch XPathGrammar.hpp
724 echo '#ifndef XPathGrammar_h' > XPathGrammar.h
725 echo '#define XPathGrammar_h' >> XPathGrammar.h
726 cat XPathGrammar.cpp.h XPathGrammar.hpp >> XPathGrammar.h
727 echo '#endif' >> XPathGrammar.h
728 rm -f XPathGrammar.cpp.h XPathGrammar.hpp
732 # user agent style sheets
734 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
736 ifeq ($(findstring ENABLE_SVG,$(FEATURE_DEFINES)), ENABLE_SVG)
737 USER_AGENT_STYLE_SHEETS := $(USER_AGENT_STYLE_SHEETS) $(WebCore)/css/svg.css
740 ifeq ($(findstring ENABLE_WML,$(FEATURE_DEFINES)), ENABLE_WML)
741 USER_AGENT_STYLE_SHEETS := $(USER_AGENT_STYLE_SHEETS) $(WebCore)/css/wml.css
744 ifeq ($(findstring ENABLE_MATHML,$(FEATURE_DEFINES)), ENABLE_MATHML)
745 USER_AGENT_STYLE_SHEETS := $(USER_AGENT_STYLE_SHEETS) $(WebCore)/css/mathml.css
748 ifeq ($(findstring ENABLE_VIDEO,$(FEATURE_DEFINES)), ENABLE_VIDEO)
749 USER_AGENT_STYLE_SHEETS := $(USER_AGENT_STYLE_SHEETS) $(WebCore)/css/mediaControls.css
750 USER_AGENT_STYLE_SHEETS := $(USER_AGENT_STYLE_SHEETS) $(WebCore)/css/mediaControlsQuickTime.css
753 ifeq ($(findstring ENABLE_FULLSCREEN_API,$(FEATURE_DEFINES)), ENABLE_FULLSCREEN_API)
754 USER_AGENT_STYLE_SHEETS := $(USER_AGENT_STYLE_SHEETS) $(WebCore)/css/fullscreen.css $(WebCore)/css/fullscreenQuickTime.css
757 UserAgentStyleSheets.h : css/make-css-file-arrays.pl $(USER_AGENT_STYLE_SHEETS)
758 perl $< $@ UserAgentStyleSheetsData.cpp $(USER_AGENT_STYLE_SHEETS)
762 # HTML tag and attribute names
764 ifeq ($(findstring ENABLE_DATALIST,$(FEATURE_DEFINES)), ENABLE_DATALIST)
765 HTML_FLAGS := $(HTML_FLAGS) ENABLE_DATALIST=1
768 ifeq ($(findstring ENABLE_METER_TAG,$(FEATURE_DEFINES)), ENABLE_METER_TAG)
769 HTML_FLAGS := $(HTML_FLAGS) ENABLE_METER_TAG=1
772 ifeq ($(findstring ENABLE_PROGRESS_TAG,$(FEATURE_DEFINES)), ENABLE_PROGRESS_TAG)
773 HTML_FLAGS := $(HTML_FLAGS) ENABLE_PROGRESS_TAG=1
776 ifeq ($(findstring ENABLE_VIDEO,$(FEATURE_DEFINES)), ENABLE_VIDEO)
777 HTML_FLAGS := $(HTML_FLAGS) ENABLE_VIDEO=1
780 ifeq ($(findstring ENABLE_TRACK,$(FEATURE_DEFINES)), ENABLE_TRACK)
781 HTML_FLAGS := $(HTML_FLAGS) ENABLE_TRACK=0
786 HTMLElementFactory.cpp HTMLNames.cpp : dom/make_names.pl html/HTMLTagNames.in html/HTMLAttributeNames.in
787 perl -I $(WebCore)/bindings/scripts $< --tags $(WebCore)/html/HTMLTagNames.in --attrs $(WebCore)/html/HTMLAttributeNames.in --factory --wrapperFactory --extraDefines "$(HTML_FLAGS)"
791 HTMLElementFactory.cpp HTMLNames.cpp : dom/make_names.pl html/HTMLTagNames.in html/HTMLAttributeNames.in
792 perl -I $(WebCore)/bindings/scripts $< --tags $(WebCore)/html/HTMLTagNames.in --attrs $(WebCore)/html/HTMLAttributeNames.in --factory --wrapperFactory
796 JSHTMLElementWrapperFactory.cpp : HTMLNames.cpp
798 XMLNSNames.cpp : dom/make_names.pl xml/xmlnsattrs.in
799 perl -I $(WebCore)/bindings/scripts $< --attrs $(WebCore)/xml/xmlnsattrs.in
801 XMLNames.cpp : dom/make_names.pl xml/xmlattrs.in
802 perl -I $(WebCore)/bindings/scripts $< --attrs $(WebCore)/xml/xmlattrs.in
806 # SVG tag and attribute names, and element factory
808 ifeq ($(findstring ENABLE_SVG_USE,$(FEATURE_DEFINES)), ENABLE_SVG_USE)
809 SVG_FLAGS := $(SVG_FLAGS) ENABLE_SVG_USE=1
812 ifeq ($(findstring ENABLE_SVG_FONTS,$(FEATURE_DEFINES)), ENABLE_SVG_FONTS)
813 SVG_FLAGS := $(SVG_FLAGS) ENABLE_SVG_FONTS=1
816 ifeq ($(findstring ENABLE_FILTERS,$(FEATURE_DEFINES)), ENABLE_FILTERS)
817 SVG_FLAGS := $(SVG_FLAGS) ENABLE_FILTERS=1
820 ifeq ($(findstring ENABLE_SVG_AS_IMAGE,$(FEATURE_DEFINES)), ENABLE_SVG_AS_IMAGE)
821 SVG_FLAGS := $(SVG_FLAGS) ENABLE_SVG_AS_IMAGE=1
824 ifeq ($(findstring ENABLE_SVG_ANIMATION,$(FEATURE_DEFINES)), ENABLE_SVG_ANIMATION)
825 SVG_FLAGS := $(SVG_FLAGS) ENABLE_SVG_ANIMATION=1
828 ifeq ($(findstring ENABLE_SVG_FOREIGN_OBJECT,$(FEATURE_DEFINES)), ENABLE_SVG_FOREIGN_OBJECT)
829 SVG_FLAGS := $(SVG_FLAGS) ENABLE_SVG_FOREIGN_OBJECT=1
832 # SVG tag and attribute names (need to pass an extra flag if svg experimental features are enabled)
836 SVGElementFactory.cpp SVGNames.cpp : dom/make_names.pl svg/svgtags.in svg/svgattrs.in
837 perl -I $(WebCore)/bindings/scripts $< --tags $(WebCore)/svg/svgtags.in --attrs $(WebCore)/svg/svgattrs.in --extraDefines "$(SVG_FLAGS)" --factory --wrapperFactory
840 SVGElementFactory.cpp SVGNames.cpp : dom/make_names.pl svg/svgtags.in svg/svgattrs.in
841 perl -I $(WebCore)/bindings/scripts $< --tags $(WebCore)/svg/svgtags.in --attrs $(WebCore)/svg/svgattrs.in --factory --wrapperFactory
845 JSSVGElementWrapperFactory.cpp : SVGNames.cpp
847 XLinkNames.cpp : dom/make_names.pl svg/xlinkattrs.in
848 perl -I $(WebCore)/bindings/scripts $< --attrs $(WebCore)/svg/xlinkattrs.in
852 # WML tag and attribute names, and element factory
854 ifeq ($(findstring ENABLE_WML,$(FEATURE_DEFINES)), ENABLE_WML)
856 WMLElementFactory.cpp WMLNames.cpp : dom/make_names.pl wml/WMLTagNames.in wml/WMLAttributeNames.in
857 perl -I $(WebCore)/bindings/scripts $< --tags $(WebCore)/wml/WMLTagNames.in --attrs $(WebCore)/wml/WMLAttributeNames.in --factory --wrapperFactory
861 WMLElementFactory.cpp :
871 # MathML tag and attribute names, and element factory
873 MathMLElementFactory.cpp MathMLNames.cpp : dom/make_names.pl mathml/mathtags.in mathml/mathattrs.in
874 perl -I $(WebCore)/bindings/scripts $< --tags $(WebCore)/mathml/mathtags.in --attrs $(WebCore)/mathml/mathattrs.in --factory --wrapperFactory
878 # Common generator things
881 bindings/scripts/CodeGenerator.pm \
882 bindings/scripts/IDLParser.pm \
883 bindings/scripts/IDLStructure.pm \
884 bindings/scripts/generate-bindings.pl
886 generator_script = perl $(addprefix -I $(WebCore)/, $(sort $(dir $(1)))) $(WebCore)/bindings/scripts/generate-bindings.pl
888 # JS bindings generator
896 $(WebCore)/notifications \
900 IDL_COMMON_ARGS = $(IDL_INCLUDES:%=--include %) --write-dependencies --outputDir .
902 JS_BINDINGS_SCRIPTS = $(GENERATE_SCRIPTS) bindings/scripts/CodeGeneratorJS.pm
904 JS%.h : %.idl $(JS_BINDINGS_SCRIPTS)
905 $(call generator_script, $(JS_BINDINGS_SCRIPTS)) $(IDL_COMMON_ARGS) --defines "$(FEATURE_DEFINES) $(ADDITIONAL_IDL_DEFINES) LANGUAGE_JAVASCRIPT" --generator JS $<
907 # Inspector interfaces generator
909 Inspector.idl : Inspector.json inspector/generate-inspector-idl
910 python $(WebCore)/inspector/generate-inspector-idl -o Inspector.idl $(WebCore)/inspector/Inspector.json
912 all : InspectorFrontend.h
914 INSPECTOR_GENERATOR_SCRIPTS = $(GENERATE_SCRIPTS) inspector/CodeGeneratorInspector.pm
916 InspectorFrontend.h : Inspector.idl $(INSPECTOR_GENERATOR_SCRIPTS)
917 $(call generator_script, $(INSPECTOR_GENERATOR_SCRIPTS)) --outputDir . --defines "$(FEATURE_DEFINES) LANGUAGE_JAVASCRIPT" --generator Inspector $<
919 all : InjectedScriptSource.h
921 InjectedScriptSource.h : InjectedScriptSource.js
922 perl $(WebCore)/inspector/xxd.pl InjectedScriptSource_js $(WebCore)/inspector/InjectedScriptSource.js InjectedScriptSource.h
924 -include $(JS_DOM_HEADERS:.h=.dep)
926 ifeq ($(findstring BUILDING_WX,$(FEATURE_DEFINES)), BUILDING_WX)
927 CPP_BINDINGS_SCRIPTS = $(GENERATE_SCRIPTS) bindings/scripts/CodeGeneratorCPP.pm
929 WebDOM%.h : %.idl $(CPP_BINDINGS_SCRIPTS)
930 $(call generator_script, $(CPP_BINDINGS_SCRIPTS)) $(IDL_COMMON_ARGS) --defines "$(FEATURE_DEFINES) $(ADDITIONAL_IDL_DEFINES) LANGUAGE_CPP" --generator CPP $<
933 # ------------------------
939 OBJC_DOM_HEADERS=$(filter-out DOMDOMWindow.h DOMDOMMimeType.h DOMDOMPlugin.h,$(DOM_CLASSES:%=DOM%.h))
941 all : $(OBJC_DOM_HEADERS)
943 all : CharsetData.cpp
947 # character set name table
949 CharsetData.cpp : platform/text/mac/make-charset-table.pl platform/text/mac/character-sets.txt platform/text/mac/mac-encodings.txt
950 perl $^ kTextEncoding > $@
954 ifneq ($(ACTION),installhdrs)
956 all : WebCore.exp WebCore.LP64.exp
958 WebCore.exp : $(BUILT_PRODUCTS_DIR)/WebCoreExportFileGenerator
961 # Switch NSRect, NSSize and NSPoint with their CG counterparts for the 64-bit exports file.
962 WebCore.LP64.exp : WebCore.exp
963 cat $^ | sed -e s/7_NSRect/6CGRect/ -e s/7_NSSize/6CGSize/ -e s/8_NSPoint/7CGPoint/ > $@
969 # Objective-C bindings
971 DOM_BINDINGS_SCRIPTS = $(GENERATE_BINDING_SCRIPTS) bindings/scripts/CodeGeneratorObjC.pm
972 DOM%.h : %.idl $(DOM_BINDINGS_SCRIPTS) bindings/objc/PublicDOMInterfaces.h
973 $(call generator_script, $(DOM_BINDINGS_SCRIPTS)) $(IDL_COMMON_ARGS) --defines "$(FEATURE_DEFINES) $(ADDITIONAL_IDL_DEFINES) LANGUAGE_OBJECTIVE_C" --generator ObjC $<
975 -include $(OBJC_DOM_HEADERS:.h=.dep)