Web Inspector: Move InspectorDebuggerAgent into JavaScriptCore
[WebKit-https.git] / Source / WebCore / GNUmakefile.am
1 include $(srcdir)/Source/WebCore/GNUmakefile.list.am
2
3 WEBCORE_CSS_PROPERTY_NAMES := $(WebCore)/css/CSSPropertyNames.in
4 WEBCORE_CSS_VALUE_KEYWORDS := $(WebCore)/css/CSSValueKeywords.in
5
6 webcore_cppflags += \
7         -I$(srcdir)/Source/ThirdParty/ANGLE/src \
8         -I$(srcdir)/Source/ThirdParty/ANGLE/include \
9         -I$(srcdir)/Source/ThirdParty/ANGLE/include/GLSLANG \
10         -I$(srcdir)/Source/ThirdParty/ANGLE/include/KHR \
11         -I$(srcdir)/Source/WebCore \
12         -I$(srcdir)/Source/WebCore/Modules/battery \
13         -I$(srcdir)/Source/WebCore/Modules/gamepad \
14         -I$(srcdir)/Source/WebCore/Modules/geolocation \
15         -I$(srcdir)/Source/WebCore/Modules/indexeddb \
16         -I$(srcdir)/Source/WebCore/Modules/indexeddb/leveldb \
17         -I$(srcdir)/Source/WebCore/Modules/indieui \
18         -I$(srcdir)/Source/WebCore/Modules/mediasource \
19         -I$(srcdir)/Source/WebCore/Modules/mediastream \
20         -I$(srcdir)/Source/WebCore/Modules/navigatorcontentutils \
21         -I$(srcdir)/Source/WebCore/Modules/notifications \
22         -I$(srcdir)/Source/WebCore/Modules/plugins \
23         -I$(srcdir)/Source/WebCore/Modules/proximity \
24         -I$(srcdir)/Source/WebCore/Modules/quota \
25         -I$(srcdir)/Source/WebCore/Modules/webaudio \
26         -I$(srcdir)/Source/WebCore/Modules/webdatabase \
27         -I$(srcdir)/Source/WebCore/Modules/websockets \
28         -I$(srcdir)/Source/WebCore/accessibility \
29         -I$(srcdir)/Source/WebCore/bindings \
30         -I$(srcdir)/Source/WebCore/bindings/generic \
31         -I$(srcdir)/Source/WebCore/bindings/js \
32         -I$(srcdir)/Source/WebCore/bridge \
33         -I$(srcdir)/Source/WebCore/bridge/c \
34         -I$(srcdir)/Source/WebCore/bridge/jsc \
35         -I$(srcdir)/Source/WebCore/crypto \
36         -I$(srcdir)/Source/WebCore/crypto/keys \
37         -I$(srcdir)/Source/WebCore/css \
38         -I$(srcdir)/Source/WebCore/cssjit \
39         -I$(srcdir)/Source/WebCore/dom \
40         -I$(srcdir)/Source/WebCore/dom/default \
41         -I$(srcdir)/Source/WebCore/editing \
42         -I$(srcdir)/Source/WebCore/fileapi \
43         -I$(srcdir)/Source/WebCore/history \
44         -I$(srcdir)/Source/WebCore/html \
45         -I$(srcdir)/Source/WebCore/html/canvas \
46         -I$(srcdir)/Source/WebCore/html/forms \
47         -I$(srcdir)/Source/WebCore/html/parser \
48         -I$(srcdir)/Source/WebCore/html/shadow \
49         -I$(srcdir)/Source/WebCore/html/track \
50         -I$(srcdir)/Source/WebCore/inspector \
51         -I$(srcdir)/Source/WebCore/loader \
52         -I$(srcdir)/Source/WebCore/loader/appcache \
53         -I$(srcdir)/Source/WebCore/loader/archive \
54         -I$(srcdir)/Source/WebCore/loader/archive/mhtml \
55         -I$(srcdir)/Source/WebCore/loader/cache \
56         -I$(srcdir)/Source/WebCore/loader/icon \
57         -I$(srcdir)/Source/WebCore/mathml \
58         -I$(srcdir)/Source/WebCore/page \
59         -I$(srcdir)/Source/WebCore/page/animation \
60         -I$(srcdir)/Source/WebCore/page/scrolling \
61         -I$(srcdir)/Source/WebCore/platform \
62         -I$(srcdir)/Source/WebCore/platform/animation \
63         -I$(srcdir)/Source/WebCore/platform/audio \
64         -I$(srcdir)/Source/WebCore/platform/graphics \
65         -I$(srcdir)/Source/WebCore/platform/graphics/cpu/arm \
66         -I$(srcdir)/Source/WebCore/platform/graphics/cpu/arm/filters/ \
67         -I$(srcdir)/Source/WebCore/platform/graphics/filters \
68         -I$(srcdir)/Source/WebCore/platform/graphics/filters/texmap \
69         -I$(srcdir)/Source/WebCore/platform/graphics/freetype \
70         -I$(srcdir)/Source/WebCore/platform/graphics/gpu \
71         -I$(srcdir)/Source/WebCore/platform/graphics/harfbuzz \
72         -I$(srcdir)/Source/WebCore/platform/graphics/harfbuzz/ng \
73         -I$(srcdir)/Source/WebCore/platform/graphics/opengl \
74         -I$(srcdir)/Source/WebCore/platform/graphics/opentype \
75         -I$(srcdir)/Source/WebCore/platform/graphics/transforms \
76         -I$(srcdir)/Source/WebCore/platform/image-decoders \
77         -I$(srcdir)/Source/WebCore/platform/image-decoders/bmp \
78         -I$(srcdir)/Source/WebCore/platform/image-decoders/gif \
79         -I$(srcdir)/Source/WebCore/platform/image-decoders/ico \
80         -I$(srcdir)/Source/WebCore/platform/image-decoders/jpeg \
81         -I$(srcdir)/Source/WebCore/platform/image-decoders/png \
82         -I$(srcdir)/Source/WebCore/platform/image-decoders/webp \
83         -I$(srcdir)/Source/WebCore/platform/leveldb \
84         -I$(srcdir)/Source/WebCore/platform/linux \
85         -I$(srcdir)/Source/WebCore/platform/mediastream \
86         -I$(srcdir)/Source/WebCore/platform/mediastream/gstreamer \
87         -I$(srcdir)/Source/WebCore/platform/mock \
88         -I$(srcdir)/Source/WebCore/platform/mock/mediasource \
89         -I$(srcdir)/Source/WebCore/platform/network \
90         -I$(srcdir)/Source/WebCore/platform/network/gtk \
91         -I$(srcdir)/Source/WebCore/platform/sql \
92         -I$(srcdir)/Source/WebCore/platform/text \
93         -I$(srcdir)/Source/WebCore/platform/text/icu \
94         -I$(srcdir)/Source/WebCore/platform/win \
95         -I$(srcdir)/Source/WebCore/plugins \
96         -I$(srcdir)/Source/WebCore/plugins/win \
97         -I$(srcdir)/Source/WebCore/rendering \
98         -I$(srcdir)/Source/WebCore/rendering/line \
99         -I$(srcdir)/Source/WebCore/rendering/mathml \
100         -I$(srcdir)/Source/WebCore/rendering/shapes \
101         -I$(srcdir)/Source/WebCore/rendering/style \
102         -I$(srcdir)/Source/WebCore/rendering/svg \
103         -I$(srcdir)/Source/WebCore/storage \
104         -I$(srcdir)/Source/WebCore/style \
105         -I$(srcdir)/Source/WebCore/svg \
106         -I$(srcdir)/Source/WebCore/svg/animation \
107         -I$(srcdir)/Source/WebCore/svg/graphics \
108         -I$(srcdir)/Source/WebCore/svg/graphics/filters \
109         -I$(srcdir)/Source/WebCore/svg/properties \
110         -I$(srcdir)/Source/WebCore/testing \
111         -I$(srcdir)/Source/WebCore/testing/js \
112         -I$(srcdir)/Source/WebCore/websockets \
113         -I$(srcdir)/Source/WebCore/workers \
114         -I$(srcdir)/Source/WebCore/xml \
115         -I$(srcdir)/Source/WebCore/xml/parser \
116         -I$(top_builddir)/WebCore/bindings/js \
117         -I$(top_builddir)/DerivedSources/WebCore \
118         -I$(top_builddir)/DerivedSources \
119         -I$(top_builddir)/DerivedSources/JavaScriptCore
120
121 webcoregtk_cppflags += \
122         -DWEBKITGTK_API_VERSION_STRING=\"@WEBKITGTK_API_VERSION@\" \
123         -I$(srcdir)/Source/WebCore/accessibility/atk \
124         -I$(srcdir)/Source/WebCore/loader/gtk \
125         -I$(srcdir)/Source/WebCore/page/gtk \
126         -I$(srcdir)/Source/WebCore/platform/cairo \
127         -I$(srcdir)/Source/WebCore/platform/audio/gstreamer \
128         -I$(srcdir)/Source/WebCore/platform/graphics/cairo \
129         -I$(srcdir)/Source/WebCore/platform/graphics/freetype \
130         -I$(srcdir)/Source/WebCore/platform/graphics/glx \
131         -I$(srcdir)/Source/WebCore/platform/graphics/harfbuzz \
132         -I$(srcdir)/Source/WebCore/platform/graphics/harfbuzz/ng \
133         -I$(srcdir)/Source/WebCore/platform/graphics/egl \
134         -I$(srcdir)/Source/WebCore/platform/graphics/gstreamer \
135         -I$(srcdir)/Source/WebCore/platform/graphics/gtk \
136         -I$(srcdir)/Source/WebCore/platform/gtk \
137         -I$(srcdir)/Source/WebCore/platform/mediastream/gstreamer \
138         -I$(srcdir)/Source/WebCore/platform/network/soup \
139         -I$(srcdir)/Source/WebCore/platform/text/enchant
140
141 # ---
142 # Windows plugin support
143 # ---
144 if TARGET_WIN32
145 webcoregtk_cppflags += \
146         -I$(srcdir)/Source/WebCore/platform/graphics/win
147 endif # END TARGET_WIN32
148
149 # XPath grammar
150 $(GENSOURCES_WEBCORE)/XPathGrammar.h: $(GENSOURCES_WEBCORE)/XPathGrammar.cpp
151 $(GENSOURCES_WEBCORE)/XPathGrammar.cpp: $(WebCore)/xml/XPathGrammar.y
152         $(AM_V_GEN)
153         $(AM_V_at)perl $(WebCore)/css/makegrammar.pl --outputDir $(GENSOURCES_WEBCORE) --bison "$(BISON)" --symbolsPrefix xpathyy $<
154
155 # MathML tag and attribute names, and element factory
156 DerivedSources/WebCore/MathMLElementFactory.h: DerivedSources/WebCore/MathMLElementFactory.cpp
157 DerivedSources/WebCore/MathMLNames.h: DerivedSources/WebCore/MathMLNames.cpp
158 DerivedSources/WebCore/MathMLElementFactory.cpp DerivedSources/WebCore/MathMLNames.cpp: $(WebCore)/dom/make_names.pl $(WebCore)/bindings/scripts/Hasher.pm $(WebCore)/bindings/scripts/StaticString.pm $(WebCore)/mathml/mathtags.in $(WebCore)/mathml/mathattrs.in
159         $(AM_V_GEN)$(PERL) -I$(WebCore)/bindings/scripts $< --tags $(WebCore)/mathml/mathtags.in --attrs $(WebCore)/mathml/mathattrs.in --factory --wrapperFactory --outputDir "$(GENSOURCES_WEBCORE)"
160
161 # ----
162 # SVG Support
163 #
164 # FIXME: allow a more fine-grained inclusion/generation of sources per SVG feature
165 # ----
166 if ENABLE_SVG
167 nodist_libWebCoreSVG_la_SOURCES = \
168         $(webcore_svg_built_sources)
169
170 libWebCoreSVG_la_SOURCES = \
171         $(webcore_svg_sources)
172
173 libWebCoreSVG_la_CXXFLAGS = \
174         -fvisibility-inlines-hidden \
175         $(global_cxxflags)
176
177 libWebCoreSVG_la_CFLAGS = \
178         -fvisibility=hidden \
179         $(global_cflags)
180
181 libWebCoreSVG_la_CPPFLAGS = \
182         -DBUILDING_WebCore \
183         -DBUILDING_WEBKIT \
184         $(global_cppflags) \
185         $(platform_cppflags) \
186         $(platformgtk_cppflags) \
187         $(webcore_cppflags) \
188         $(webcoregtk_cppflags) \
189         $(javascriptcore_cppflags) \
190         -fno-strict-aliasing \
191         $(CAIRO_CFLAGS) \
192         $(FREETYPE_CFLAGS) \
193         $(LIBSOUP_CFLAGS) \
194         $(UNICODE_CFLAGS)
195
196 WEBCORE_CSS_PROPERTY_NAMES += $(WebCore)/css/SVGCSSPropertyNames.in
197 WEBCORE_CSS_VALUE_KEYWORDS += $(WebCore)/css/SVGCSSValueKeywords.in
198
199 endif # END_ENABLE_SVG
200
201 # SVG tag and attribute names (need to pass an extra flag if svg experimental features are enabled)
202 DerivedSources/WebCore/SVGNames.cpp: DerivedSources/WebCore/SVGElementFactory.cpp
203 DerivedSources/WebCore/JSSVGElementWrapperFactory.cpp: DerivedSources/WebCore/SVGElementFactory.cpp
204 DerivedSources/WebCore/SVGElementFactory.cpp: $(WebCore)/dom/make_names.pl $(WebCore)/bindings/scripts/Hasher.pm $(WebCore)/bindings/scripts/StaticString.pm $(WebCore)/svg/svgtags.in $(WebCore)/svg/svgattrs.in
205         $(AM_V_GEN)$(PERL) -I$(WebCore)/bindings/scripts $< --tags $(WebCore)/svg/svgtags.in --attrs $(WebCore)/svg/svgattrs.in --extraDefines "$(feature_defines)" --factory --wrapperFactory --outputDir "$(GENSOURCES_WEBCORE)"
206
207 # end SVG Features
208
209 DerivedSources/WebCore/XLinkNames.h: DerivedSources/WebCore/XLinkNames.cpp
210 DerivedSources/WebCore/XLinkNames.cpp : $(WebCore)/dom/make_names.pl $(WebCore)/bindings/scripts/Hasher.pm $(WebCore)/bindings/scripts/StaticString.pm $(WebCore)/svg/xlinkattrs.in
211         $(AM_V_GEN)$(PERL) -I$(WebCore)/bindings/scripts $< --attrs $(WebCore)/svg/xlinkattrs.in --outputDir "$(GENSOURCES_WEBCORE)"
212
213 if USE_TEXTURE_MAPPER_GL
214 webcore_cppflags += \
215         -I$(srcdir)/Source/WebCore/platform/graphics/texmap
216 endif  # END USETEXTURE_MAPPER_GL
217
218 if ENABLE_INDEXED_DATABASE
219 webcore_cppflags += \
220         -DWTF_USE_LEVELDB=1 \
221         -I$(srcdir)/Source/ThirdParty/leveldb \
222         -I$(srcdir)/Source/ThirdParty/leveldb/include
223 platform_cppflags += \
224         -DWTF_USE_LEVELDB=1 \
225         -I$(srcdir)/Source/ThirdParty/leveldb \
226         -I$(srcdir)/Source/ThirdParty/leveldb/include
227 endif
228
229 $(WEBCORE_CSS_PROPERTY_NAMES): $(srcdir)/configure.ac $(srcdir)/Source/WebCore/GNUmakefile.am
230
231 $(WEBCORE_CSS_VALUE_KEYWORDS): $(srcdir)/configure.ac $(srcdir)/Source/WebCore/GNUmakefile.am
232
233 DerivedSources/WebCore/CSSPropertyNames.cpp: DerivedSources/WebCore/CSSPropertyNames.h
234 DerivedSources/WebCore/CSSPropertyNames.h: $(WEBCORE_CSS_PROPERTY_NAMES) $(WebCore)/css/makeprop.pl
235         $(AM_V_GEN)
236         $(AM_V_at)cat $(WEBCORE_CSS_PROPERTY_NAMES) > CSSPropertyNames.in
237         $(AM_V_at)$(PERL) -I$(WebCore)/bindings/scripts "$(WebCore)/css/makeprop.pl" --defines "$(feature_defines)"
238         $(AM_V_at)mv CSSPropertyNames* $(GENSOURCES_WEBCORE)
239
240 # Lower case all the values, as CSS values are case-insensitive
241 DerivedSources/WebCore/CSSValueKeywords.cpp: DerivedSources/WebCore/CSSValueKeywords.h
242 DerivedSources/WebCore/CSSValueKeywords.h: $(WEBCORE_CSS_VALUE_KEYWORDS) $(WebCore)/css/makevalues.pl
243         $(AM_V_GEN)
244         $(AM_V_at)cat $(WEBCORE_CSS_VALUE_KEYWORDS) > CSSValueKeywords.in
245         $(AM_V_at)$(PERL) -I$(WebCore)/bindings/scripts "$(WebCore)/css/makevalues.pl" --defines "$(feature_defines)"
246         $(AM_V_at)mv CSSValueKeywords* $(GENSOURCES_WEBCORE)
247
248 # XML Viewer CSS
249 DerivedSources/WebCore/XMLViewerCSS.h: $(WebCore)/xml/XMLViewer.css
250         $(AM_V_GEN)$(PYTHON) $(INSPECTOR_SCRIPTS_DIR)/cssmin.py <$(WebCore)/xml/XMLViewer.css > $(GENSOURCES_WEBCORE)/XMLViewer.min.css
251         $(AM_V_GEN)$(PERL) $(INSPECTOR_SCRIPTS_DIR)/xxd.pl XMLViewer_css $(GENSOURCES_WEBCORE)/XMLViewer.min.css $(GENSOURCES_WEBCORE)/XMLViewerCSS.h
252
253 # XML Viewer JS
254 DerivedSources/WebCore/XMLViewerJS.h: $(WebCore)/xml/XMLViewer.js
255         $(AM_V_GEN)$(PYTHON) $(INSPECTOR_SCRIPTS_DIR)/jsmin.py <$(WebCore)/xml/XMLViewer.js > $(GENSOURCES_WEBCORE)/XMLViewer.min.js
256         $(AM_V_GEN)$(PERL) $(INSPECTOR_SCRIPTS_DIR)/xxd.pl XMLViewer_js $(GENSOURCES_WEBCORE)/XMLViewer.min.js $(GENSOURCES_WEBCORE)/XMLViewerJS.h
257
258 # HTML entity names
259 DerivedSources/WebCore/HTMLEntityTable.cpp: $(WebCore)/html/parser/HTMLEntityNames.in $(WebCore)/html/parser/create-html-entity-table
260         $(AM_V_GEN)$(PYTHON) $(WebCore)/html/parser/create-html-entity-table -o $(GENSOURCES_WEBCORE)/HTMLEntityTable.cpp $(WebCore)/html/parser/HTMLEntityNames.in
261
262 # CSS grammar
263
264 DerivedSources/WebCore/CSSGrammar.h: $(GENSOURCES_WEBCORE)/CSSGrammar.cpp
265 DerivedSources/WebCore/CSSGrammar.cpp: $(WebCore)/css/CSSGrammar.y.in
266         $(AM_V_GEN)
267         $(AM_V_at)perl -I $(WebCore)/bindings/scripts $(WebCore)/css/makegrammar.pl --extraDefines "$(feature_defines)" --outputDir $(GENSOURCES_WEBCORE) --bison "$(BISON)" --symbolsPrefix cssyy $<
268
269 # user agent style sheets
270 USER_AGENT_STYLE_SHEETS = \
271         $(WebCore)/css/html.css \
272         $(WebCore)/css/mathml.css \
273         $(WebCore)/css/quirks.css \
274         $(WebCore)/css/view-source.css \
275         $(WebCore)/css/svg.css \
276         $(WebCore)/css/mediaControls.css \
277         $(WebCore)/css/mediaControlsGtk.css \
278         $(WebCore)/css/fullscreen.css \
279         $(WebCore)/css/plugIns.css
280
281 # plug-in resources
282 PLUG_INS_RESOURCES = \
283         $(WebCore)/Resources/plugIns.js
284
285 # new-style JavaScript bindings
286 SCRIPTS_FOR_GENERATE_BINDINGS = \
287         $(WebCore)/bindings/scripts/CodeGenerator.pm \
288         $(WebCore)/bindings/scripts/IDLParser.pm \
289         $(WebCore)/bindings/scripts/InFilesCompiler.pm \
290         $(WebCore)/bindings/scripts/InFilesParser.pm \
291         $(WebCore)/bindings/scripts/generate-bindings.pl \
292         $(WebCore)/bindings/scripts/preprocessor.pm
293
294 SCRIPTS_FOR_PREPROCESS_IDLS = \
295         $(WebCore)/bindings/scripts/preprocess-idls.pl
296
297 DerivedSources/WebCore/UserAgentStyleSheetsData.cpp: DerivedSources/WebCore/UserAgentStyleSheets.h
298 DerivedSources/WebCore/UserAgentStyleSheets.h: $(WebCore)/css/make-css-file-arrays.pl $(WebCore)/bindings/scripts/preprocessor.pm $(USER_AGENT_STYLE_SHEETS)
299         $(AM_V_GEN)$(PERL) -I$(WebCore)/bindings/scripts $<  --defines "$(feature_defines)" $@ DerivedSources/WebCore/UserAgentStyleSheetsData.cpp $(USER_AGENT_STYLE_SHEETS)
300
301 DerivedSources/WebCore/PlugInsResourcesData.cpp: DerivedSources/WebCore/PlugInsResources.h
302 DerivedSources/WebCore/PlugInsResources.h: $(WebCore)/css/make-css-file-arrays.pl $(WebCore)/bindings/scripts/preprocessor.pm $(PLUG_INS_RESOURCES)
303         $(AM_V_GEN)$(PERL) -I$(WebCore)/bindings/scripts $<  --defines "$(feature_defines)" $@ DerivedSources/WebCore/PlugInsResourcesData.cpp $(PLUG_INS_RESOURCES)
304
305
306 # HTML tag and attribute names
307 DerivedSources/WebCore/JSHTMLElementWrapperFactory.cpp: DerivedSources/WebCore/HTMLElementFactory.cpp
308 DerivedSources/WebCore/HTMLElementFactory.cpp: DerivedSources/WebCore/HTMLElementFactory.h
309 DerivedSources/WebCore/HTMLElementFactory.h: DerivedSources/WebCore/HTMLNames.cpp
310 DerivedSources/WebCore/HTMLElementTypeHelpers.h: DerivedSources/WebCore/HTMLNames.h
311 DerivedSources/WebCore/HTMLNames.cpp: DerivedSources/WebCore/HTMLNames.h
312 DerivedSources/WebCore/HTMLNames.h: $(WebCore)/dom/make_names.pl $(WebCore)/bindings/scripts/Hasher.pm $(WebCore)/bindings/scripts/StaticString.pm $(WebCore)/html/HTMLTagNames.in $(WebCore)/html/HTMLAttributeNames.in
313         $(AM_V_GEN)$(PERL) -I$(WebCore)/bindings/scripts $< --tags $(WebCore)/html/HTMLTagNames.in --attrs $(WebCore)/html/HTMLAttributeNames.in --extraDefines "$(feature_defines)" --factory --wrapperFactory --outputDir "$(GENSOURCES_WEBCORE)"
314
315
316 DerivedSources/WebCore/XMLNSNames.cpp DerivedSources/WebCore/XMLNSNames.h: $(WebCore)/dom/make_names.pl $(WebCore)/bindings/scripts/Hasher.pm $(WebCore)/bindings/scripts/StaticString.pm $(WebCore)/xml/xmlnsattrs.in
317         $(AM_V_GEN)$(PERL) -I$(WebCore)/bindings/scripts $< --attrs $(WebCore)/xml/xmlnsattrs.in --outputDir "$(GENSOURCES_WEBCORE)"
318
319 DerivedSources/WebCore/XMLNames.cpp DerivedSources/WebCore/XMLNames.h: $(WebCore)/dom/make_names.pl $(WebCore)/bindings/scripts/Hasher.pm $(WebCore)/bindings/scripts/StaticString.pm $(WebCore)/xml/xmlattrs.in
320         $(AM_V_GEN)$(PERL) -I$(WebCore)/bindings/scripts $< --attrs $(WebCore)/xml/xmlattrs.in --outputDir "$(GENSOURCES_WEBCORE)"
321
322 DerivedSources/WebCore/EventFactory.cpp DerivedSources/WebCore/EventHeaders.h DerivedSources/WebCore/EventInterfaces.h: $(WebCore)/dom/make_event_factory.pl $(WebCore)/dom/EventNames.in
323         $(AM_V_GEN)$(PERL) -I$(WebCore)/bindings/scripts $< --input $(WebCore)/dom/EventNames.in --outputDir "$(GENSOURCES_WEBCORE)"
324
325 DerivedSources/WebCore/EventTargetHeaders.h DerivedSources/WebCore/EventTargetInterfaces.h: $(WebCore)/dom/make_event_factory.pl $(WebCore)/dom/EventTargetFactory.in
326         $(AM_V_GEN)$(PERL) -I$(WebCore)/bindings/scripts $< --input $(WebCore)/dom/EventTargetFactory.in --outputDir "$(GENSOURCES_WEBCORE)"
327
328 DerivedSources/WebCore/ExceptionCodeDescription.cpp DerivedSources/WebCore/ExceptionCodeDescription.h DerivedSources/WebCore/ExceptionHeaders.h DerivedSources/WebCore/ExceptionInterfaces.h: $(WebCore)/dom/make_dom_exceptions.pl $(WebCore)/dom/DOMExceptions.in
329         $(AM_V_GEN)$(PERL) -I$(WebCore)/bindings/scripts $< --input $(WebCore)/dom/DOMExceptions.in --outputDir "$(GENSOURCES_WEBCORE)"
330
331 DerivedSources/WebCore/SettingsMacros.h DerivedSources/WebCore/InternalSettingsGenerated.idl DerivedSources/WebCore/InternalSettingsGenerated.cpp DerivedSources/WebCore/InternalSettingsGenerated.h: $(WebCore)/page/make_settings.pl $(WebCore)/page/Settings.in
332         $(AM_V_GEN)$(PERL) -I$(WebCore)/bindings/scripts $< --input $(WebCore)/page/Settings.in --outputDir "$(GENSOURCES_WEBCORE)"
333
334 dom_binding_idls += \
335   DerivedSources/WebCore/InternalSettingsGenerated.idl
336
337
338 WebCore_INSPECTOR_DOMAINS := \
339     $(WebCore)/inspector/protocol/ApplicationCache.json \
340     $(WebCore)/inspector/protocol/CSS.json \
341     $(WebCore)/inspector/protocol/Canvas.json \
342     $(WebCore)/inspector/protocol/Console.json \
343     $(WebCore)/inspector/protocol/DOM.json \
344     $(WebCore)/inspector/protocol/DOMDebugger.json \
345     $(WebCore)/inspector/protocol/DOMStorage.json \
346     $(WebCore)/inspector/protocol/Database.json \
347     $(WebCore)/inspector/protocol/HeapProfiler.json \
348     $(WebCore)/inspector/protocol/IndexedDB.json \
349     $(WebCore)/inspector/protocol/Input.json \
350     $(WebCore)/inspector/protocol/LayerTree.json \
351     $(WebCore)/inspector/protocol/Memory.json \
352     $(WebCore)/inspector/protocol/Network.json \
353     $(WebCore)/inspector/protocol/Page.json \
354     $(WebCore)/inspector/protocol/Profiler.json \
355     $(WebCore)/inspector/protocol/Timeline.json \
356     $(WebCore)/inspector/protocol/Worker.json
357
358 DerivedSources/WebCore/InspectorWeb.json: $(INSPECTOR_SCRIPTS_DIR)/generate-combined-inspector-json.py $(WebCore_INSPECTOR_DOMAINS)
359         $(AM_V_GEN)$(PYTHON) $(INSPECTOR_SCRIPTS_DIR)/generate-combined-inspector-json.py $(WebCore)/inspector/protocol > $(GENSOURCES_WEBCORE)/InspectorWeb.json
360
361 # All Web Inspector generated files are created with this one call to CodeGeneratorInspector.py
362 DerivedSources/WebCore/InspectorWebBackendDispatchers.cpp: $(GENSOURCES_WEBCORE)/InspectorWeb.json $(GENSOURCES_JAVASCRIPTCORE)/InspectorJS.json $(INSPECTOR_SCRIPTS_DIR)/CodeGeneratorInspector.py $(INSPECTOR_SCRIPTS_DIR)/CodeGeneratorInspectorStrings.py $(GENSOURCES_JAVASCRIPTCORE)/InspectorJSTypeBuilders.h
363         $(AM_V_GEN)$(PYTHON) $(INSPECTOR_SCRIPTS_DIR)/CodeGeneratorInspector.py $(GENSOURCES_WEBCORE)/InspectorWeb.json $(GENSOURCES_JAVASCRIPTCORE)/InspectorJS.json --output_h_dir $(GENSOURCES_WEBCORE) --output_cpp_dir $(GENSOURCES_WEBCORE) --output_js_dir $(GENSOURCES_WEBCORE) --output_type Web
364         $(AM_V_at)touch $@
365 DerivedSources/WebCore/InspectorWebTypeBuilders.h: DerivedSources/WebCore/InspectorWebTypeBuilders.cpp
366 DerivedSources/WebCore/InspectorWebTypeBuilders.cpp: DerivedSources/WebCore/InspectorWebFrontendDispatchers.h
367 DerivedSources/WebCore/InspectorWebFrontendDispatchers.h: DerivedSources/WebCore/InspectorWebFrontendDispatchers.cpp
368 DerivedSources/WebCore/InspectorWebFrontendDispatchers.cpp: DerivedSources/WebCore/InspectorWebBackendCommands.js
369 DerivedSources/WebCore/InspectorWebBackendCommands.js: DerivedSources/WebCore/InspectorWebBackendDispatchers.h
370 DerivedSources/WebCore/InspectorWebBackendDispatchers.h: DerivedSources/WebCore/InspectorWebBackendDispatchers.cpp
371
372 DerivedSources/WebCore/InspectorOverlayPage.h: $(WebCore)/inspector/InspectorOverlayPage.html $(WebCore)/inspector/InspectorOverlayPage.css $(WebCore)/inspector/InspectorOverlayPage.js
373         $(AM_V_GEN)$(PYTHON) $(INSPECTOR_SCRIPTS_DIR)/inline-and-minify-stylesheets-and-scripts.py $(WebCore)/inspector/InspectorOverlayPage.html $(GENSOURCES_WEBCORE)/InspectorOverlayPage.combined.html
374         $(AM_V_GEN)$(PERL) $(INSPECTOR_SCRIPTS_DIR)/xxd.pl InspectorOverlayPage_html $(GENSOURCES_WEBCORE)/InspectorOverlayPage.combined.html $(GENSOURCES_WEBCORE)/InspectorOverlayPage.h
375
376 DerivedSources/WebCore/CommandLineAPIModuleSource.h: $(WebCore)/inspector/CommandLineAPIModuleSource.js
377         $(AM_V_GEN)$(PYTHON) $(INSPECTOR_SCRIPTS_DIR)/jsmin.py <$(WebCore)/inspector/CommandLineAPIModuleSource.js > $(GENSOURCES_WEBCORE)/CommandLineAPIModuleSource.min.js
378         $(AM_V_GEN)$(PERL) $(INSPECTOR_SCRIPTS_DIR)/xxd.pl CommandLineAPIModuleSource_js $(GENSOURCES_WEBCORE)/CommandLineAPIModuleSource.min.js $(GENSOURCES_WEBCORE)/CommandLineAPIModuleSource.h
379
380 DerivedSources/WebCore/InjectedScriptCanvasModuleSource.h: $(WebCore)/inspector/InjectedScriptCanvasModuleSource.js
381         $(AM_V_GEN)$(PYTHON) $(INSPECTOR_SCRIPTS_DIR)/jsmin.py <$(WebCore)/inspector/InjectedScriptCanvasModuleSource.js > $(GENSOURCES_WEBCORE)/InjectedScriptCanvasModuleSource.min.js
382         $(AM_V_GEN)$(PERL) $(INSPECTOR_SCRIPTS_DIR)/xxd.pl InjectedScriptCanvasModuleSource_js $(GENSOURCES_WEBCORE)/InjectedScriptCanvasModuleSource.min.js $(GENSOURCES_WEBCORE)/InjectedScriptCanvasModuleSource.h
383
384 if ENABLE_WEB_AUDIO
385 # Installing HRTF database wav files
386 audiodir = ${datadir}/webkitgtk-@WEBKITGTK_API_VERSION@/resources/audio/
387 audio_DATA = $(WebCore)/platform/audio/resources/Composite.wav
388 dist_audio_DATA = $(audio_DATA)
389 endif  # END ENABLE_WEB_AUDIO
390
391 # ANGLE tokenizer & parser
392 DerivedSources/ANGLE/glslang.cpp: Source/ThirdParty/ANGLE/src/compiler/glslang.l DerivedSources/ANGLE/glslang_tab.cpp
393         $(AM_V_GEN)$(FLEX) --noline --nounistd --outfile="$@" "$<"
394
395 DerivedSources/ANGLE/glslang_tab.cpp: Source/ThirdParty/ANGLE/src/compiler/glslang.y
396         $(AM_V_GEN)$(BISON) --no-lines --defines="DerivedSources/ANGLE/glslang_tab.h" --skeleton=yacc.c --output="$@" $<
397 DerivedSources/ANGLE/glslang_tab.h: DerivedSources/ANGLE/glslang_tab.cpp
398
399 IDL_PATH := \
400     $(WebCore)/Modules/battery \
401     $(WebCore)/Modules/gamepad \
402     $(WebCore)/Modules/geolocation \
403     $(WebCore)/Modules/indexeddb \
404     $(WebCore)/Modules/mediasource \
405     $(WebCore)/Modules/mediastream \
406     $(WebCore)/Modules/notifications \
407     $(WebCore)/Modules/proximity \
408     $(WebCore)/Modules/quota \
409     $(WebCore)/Modules/webaudio \
410     $(WebCore)/Modules/webdatabase \
411     $(WebCore)/Modules/websockets \
412     $(WebCore)/bindings/js \
413     $(WebCore)/crypto \
414     $(WebCore)/css \
415     $(WebCore)/dom \
416     $(WebCore)/fileapi \
417     $(WebCore)/html \
418     $(WebCore)/html/canvas \
419     $(WebCore)/html/shadow \
420     $(WebCore)/html/track \
421     $(WebCore)/inspector \
422     $(WebCore)/loader/appcache \
423     $(WebCore)/page \
424     $(WebCore)/plugins \
425     $(WebCore)/storage \
426     $(WebCore)/svg \
427     $(WebCore)/testing \
428     $(WebCore)/workers \
429     $(WebCore)/xml
430
431 vpath %.idl $(IDL_PATH)
432
433 supplemental_dependency_file = $(top_builddir)/DerivedSources/WebCore/idl_supplemental_dependencies
434 window_constructors_file = $(top_builddir)/DerivedSources/WebCore/DOMWindowConstructors.idl
435 workerglobalscope_constructors_file = $(top_builddir)/DerivedSources/WebCore/WorkerGlobalScopeConstructors.idl
436 sharedworkerglobalscope_constructors_file = $(top_builddir)/DerivedSources/WebCore/SharedWorkerGlobalScopeConstructors.idl
437 dedicatedworkerglobalscope_constructors_file = $(top_builddir)/DerivedSources/WebCore/DedicatedWorkerGlobalScopeConstructors.idl
438 idl_files_list = $(top_builddir)/DerivedSources/WebCore/idl_files_list
439 idl_attributes_file = $(WebCore)/bindings/scripts/IDLAttributes.txt
440
441 .SECONDARY:
442 $(supplemental_dependency_file): $(SCRIPTS_FOR_PREPROCESS_IDLS) $(dom_binding_idls)
443         $(AM_V_GEN)
444         $(AM_V_at)true > $(idl_files_list)
445         $(AM_V_at)($(foreach idl, $(dom_binding_idls), echo $(idl) &&) true) >> $(idl_files_list)
446         $(AM_V_at)$(PERL) -I$(WebCore)/bindings/scripts $(WebCore)/bindings/scripts/preprocess-idls.pl --defines "LANGUAGE_JAVASCRIPT=1 $(feature_defines)" --idlFilesList $(idl_files_list) --windowConstructorsFile $(window_constructors_file) --workerGlobalScopeConstructorsFile $(workerglobalscope_constructors_file) --sharedWorkerGlobalScopeConstructorsFile $(sharedworkerglobalscope_constructors_file) --dedicatedWorkerGlobalScopeConstructorsFile $(dedicatedworkerglobalscope_constructors_file) --supplementalDependencyFile $@
447         $(AM_V_at)touch $@
448
449 .PHONY: $(window_constructors_file) $(workerglobalscope_constructors_file) $(sharedworkerglobalscope_constructors_file) $(dedicatedworkerglobalscope_constructors_file)
450
451 # This does not appear to work correctly with gnumake unless
452 # it includes an empty command list (the semicolon).
453 DerivedSources/WebCore/JS%.cpp: DerivedSources/WebCore/JS%.h;
454
455 .SECONDARY:
456 DerivedSources/WebCore/JS%.h: %.idl $(SCRIPTS_FOR_GENERATE_BINDINGS) $(WebCore)/bindings/scripts/CodeGeneratorJS.pm $(supplemental_dependency_file) $(idl_attributes_file)
457         $(AM_V_GEN)$(PERL) -I$(WebCore)/bindings/scripts $(WebCore)/bindings/scripts/generate-bindings.pl $(IDL_PATH:%=--include "%") --outputDir "$(GENSOURCES_WEBCORE)" --defines "LANGUAGE_JAVASCRIPT=1 $(feature_defines)" --generator JS --idlAttributesFile $(idl_attributes_file) --supplementalDependencyFile $(supplemental_dependency_file) $<
458
459 .SECONDARY:
460 DerivedSources/WebCore/JSInternalSettingsGenerated.h: DerivedSources/WebCore/InternalSettingsGenerated.idl $(SCRIPTS_FOR_GENERATE_BINDINGS) $(WebCore)/bindings/scripts/CodeGeneratorJS.pm $(supplemental_dependency_file) $(idl_attributes_file)
461         $(AM_V_GEN)$(PERL) -I$(WebCore)/bindings/scripts $(WebCore)/bindings/scripts/generate-bindings.pl $(IDL_PATH:%=--include "%") --outputDir "$(GENSOURCES_WEBCORE)" --defines "LANGUAGE_JAVASCRIPT=1 $(feature_defines)" --generator JS --idlAttributesFile $(idl_attributes_file) --supplementalDependencyFile $(supplemental_dependency_file) $<
462
463 # See https://bugs.webkit.org/show_bug.cgi?id=76388
464 # We need to introduce a manual dependency to prevent non-generated sources from
465 # trying to build before the generated ones. This can happen if the supplemental
466 # IDL generation takes a long time. The pipe represents an order-only dependency,
467 # which means that GNUmake will only try to build the dependencies first, but
468 # not rebuild all the targets if the dependencies change.
469 $(webkitgtk_sources) $(webkit2_sources) $(webkit2_plugin_process_sources) $(webcore_sources) $(webcoregtk_sources) $(platform_sources) $(platformgtk_sources) : | $(supplemental_dependency_file) $(window_constructors_file) $(workerglobalscope_constructors_file) $(sharedworkerglobalscope_constructors_file) $(dedictedworkerglobalscope_constructors_file) $(webcore_built_sources) $(platform_built_sources)
470
471 noinst_LTLIBRARIES += \
472         libWebCorePlatform.la \
473         libWebCoreModules.la \
474         libWebCore.la
475
476 if ENABLE_SVG
477 noinst_LTLIBRARIES += \
478         libWebCoreSVG.la
479 endif
480
481 # Artificial dependencies to try to force a relink of the WebCore libraries when their makefiles change.
482 webcore_lib_for_dep = libWebCore.la
483 $(webcore_lib_for_dep): $(srcdir)/Source/WebCore/GNUmakefile.am $(srcdir)/Source/WebCore/GNUmakefile.list.am $(srcdir)/Source/autotools/symbols.filter
484
485 webcoremodules_lib_for_dep = libWebCoreModules.la
486 $(webcoremodules_lib_for_dep): $(srcdir)/Source/WebCore/GNUmakefile.am $(srcdir)/Source/WebCore/GNUmakefile.list.am
487
488 webcoreplatform_lib_for_dep = libWebCorePlatform.la
489 $(webcoreplatform_lib_for_dep): $(srcdir)/Source/WebCore/GNUmakefile.am $(srcdir)/Source/WebCore/GNUmakefile.list.am
490
491 webcoresvg_lib_for_dep = libWebCoreSVG.la
492 $(webcoresvg_lib_for_dep): $(srcdir)/Source/WebCore/GNUmakefile.am $(srcdir)/Source/WebCore/GNUmakefile.list.am
493
494 nodist_EXTRA_libWebCore_la_SOURCES = \
495         $(webcore_built_nosources)
496
497 nodist_libWebCore_la_SOURCES = \
498         $(webcore_built_sources)
499
500 libWebCore_la_SOURCES = \
501         $(webcore_sources)
502
503 libWebCore_la_CXXFLAGS = \
504         -fvisibility-inlines-hidden \
505         $(global_cxxflags)
506
507 libWebCore_la_CFLAGS = \
508         -fvisibility=hidden \
509         $(global_cflags)
510
511 libWebCore_la_CPPFLAGS = \
512         -DBUILDING_WebCore \
513         -DBUILDING_WEBKIT \
514         $(global_cppflags) \
515         $(platform_cppflags) \
516         $(platformgtk_cppflags) \
517         $(webcore_cppflags) \
518         $(webcoregtk_cppflags) \
519         $(javascriptcore_cppflags) \
520         -fno-strict-aliasing \
521         $(CAIRO_CFLAGS) \
522         $(COVERAGE_CFLAGS) \
523         $(ENCHANT_CFLAGS) \
524         $(FREETYPE_CFLAGS) \
525         $(GAMEPAD_CFLAGS) \
526         $(GEOCLUE_CFLAGS) \
527         $(GLIB_CFLAGS) \
528         $(GSTREAMER_CFLAGS) \
529         $(LIBSECRET_CFLAGS) \
530         $(LIBSOUP_CFLAGS) \
531         $(LIBXML_CFLAGS) \
532         $(LIBXSLT_CFLAGS) \
533         $(PANGO_CFLAGS) \
534         $(SQLITE3_CFLAGS) \
535         $(UNICODE_CFLAGS) \
536         $(XRENDER_CFLAGS) \
537         $(XT_CFLAGS)
538
539 if TARGET_WIN32
540 # PluginPackageWin.cpp needs the symbols from version dll
541 libWebCore_la_LIBADD = -lversion
542 endif
543
544 libWebCoreModules_la_SOURCES = \
545         $(webcore_modules_sources)
546 libWebCoreModules_la_CXXFLAGS = $(libWebCore_la_CXXFLAGS)
547 libWebCoreModules_la_CFLAGS = $(libWebCore_la_CFLAGS)
548 libWebCoreModules_la_CPPFLAGS = $(libWebCore_la_CPPFLAGS)
549
550 libWebCorePlatform_la_SOURCES = \
551         $(webcore_platform_sources)
552 libWebCorePlatform_la_CXXFLAGS = \
553         -fvisibility-inlines-hidden \
554         $(global_cxxflags)
555 libWebCorePlatform_la_CFLAGS = \
556         -fvisibility=hidden \
557         $(global_cflags)
558 libWebCorePlatform_la_CPPFLAGS = \
559         -DBUILDING_WEBKIT \
560         $(global_cppflags) \
561         $(platform_cppflags) \
562         $(platformgtk_cppflags) \
563         $(webcore_cppflags) \
564         $(webcoregtk_cppflags) \
565         $(javascriptcore_cppflags) \
566         -fno-strict-aliasing \
567         $(CAIRO_CFLAGS) \
568         $(COVERAGE_CFLAGS) \
569         $(ENCHANT_CFLAGS) \
570         $(FREETYPE_CFLAGS) \
571         $(GAMEPAD_CFLAGS) \
572         $(GEOCLUE_CFLAGS) \
573         $(GLIB_CFLAGS) \
574         $(GSTREAMER_CFLAGS) \
575         $(LIBSECRET_CFLAGS) \
576         $(LIBSOUP_CFLAGS) \
577         $(LIBXML_CFLAGS) \
578         $(PANGO_CFLAGS) \
579         $(SQLITE3_CFLAGS) \
580         $(UNICODE_CFLAGS) \
581         $(XRENDER_CFLAGS) \
582         $(XT_CFLAGS)
583
584 # We have a different library with only the files that require GTK+. It allows us
585 # to build a common WebCore lib and two different gtk WebCore libs depending on
586 # the gtk version. In WeKit2 gtk2 is not supported, but the plugin process needs to
587 # be built using gtk2 because plugins like flash still use gtk2. For WebKit2, we build
588 # the common libWebCore and two libWebCoreGtk, one using gtk3 and the other one using gtk2.
589 noinst_LTLIBRARIES += \
590         libWebCoreGtk.la
591
592 libWebCoreGtk_la_SOURCES = \
593         $(webcoregtk_sources)
594
595 libWebCoreGtk_la_CXXFLAGS = \
596         -fvisibility-inlines-hidden \
597         $(global_cxxflags)
598
599 libWebCoreGtk_la_CFLAGS = \
600         -fvisibility=hidden \
601         $(global_cflags)
602
603 libWebCoreGtk_la_CPPFLAGS = \
604         -DBUILDING_WebCore \
605         -DBUILDING_WEBKIT \
606         $(global_cppflags) \
607         $(platform_cppflags) \
608         $(platformgtk_cppflags) \
609         $(webcore_cppflags) \
610         $(webcoregtk_cppflags) \
611         $(javascriptcore_cppflags) \
612         -fno-strict-aliasing \
613         $(CAIRO_CFLAGS) \
614         $(COVERAGE_CFLAGS) \
615         $(ENCHANT_CFLAGS) \
616         $(FREETYPE_CFLAGS) \
617         $(GAMEPAD_CFLAGS) \
618         $(GEOCLUE_CFLAGS) \
619         $(GLIB_CFLAGS) \
620         $(GSTREAMER_CFLAGS) \
621         $(GTK_CFLAGS) \
622         $(LIBSECRET_CFLAGS) \
623         $(LIBSOUP_CFLAGS) \
624         $(LIBXML_CFLAGS) \
625         $(SQLITE3_CFLAGS) \
626         $(UNICODE_CFLAGS) \
627         $(XCOMPOSITE_CFLAGS) \
628         $(XDAMAGE_CFLAGS) \
629         $(XRENDER_CFLAGS) \
630         $(XT_CFLAGS)
631
632 EXTRA_DIST += \
633         $(wildcard $(srcdir)/Source/WebCore/Modules/battery/*.idl) \
634         $(wildcard $(srcdir)/Source/WebCore/Modules/gamepad/*.idl) \
635         $(wildcard $(srcdir)/Source/WebCore/Modules/geolocation/*.idl) \
636         $(wildcard $(srcdir)/Source/WebCore/Modules/indexeddb/*.idl) \
637         $(wildcard $(srcdir)/Source/WebCore/Modules/mediasource/*.idl) \
638         $(wildcard $(srcdir)/Source/WebCore/Modules/mediastream/*.idl) \
639         $(wildcard $(srcdir)/Source/WebCore/Modules/navigatorcontentutils/*.idl) \
640         $(wildcard $(srcdir)/Source/WebCore/Modules/notifications/*.idl) \
641         $(wildcard $(srcdir)/Source/WebCore/Modules/proximity/*.idl) \
642         $(wildcard $(srcdir)/Source/WebCore/Modules/quota/*.idl) \
643         $(wildcard $(srcdir)/Source/WebCore/Modules/webaudio/*.idl) \
644         $(wildcard $(srcdir)/Source/WebCore/Modules/webdatabase/*.idl) \
645         $(wildcard $(srcdir)/Source/WebCore/Modules/websockets/*.idl) \
646         $(wildcard $(srcdir)/Source/WebCore/crypto/*.idl) \
647         $(wildcard $(srcdir)/Source/WebCore/css/*.idl) \
648         $(wildcard $(srcdir)/Source/WebCore/dom/*.idl) \
649         $(wildcard $(srcdir)/Source/WebCore/fileapi/*.idl) \
650         $(wildcard $(srcdir)/Source/WebCore/html/canvas/*.idl) \
651         $(wildcard $(srcdir)/Source/WebCore/html/shadow/*.idl) \
652         $(wildcard $(srcdir)/Source/WebCore/html/track/*.idl) \
653         $(wildcard $(srcdir)/Source/WebCore/html/*.idl) \
654         $(wildcard $(srcdir)/Source/WebCore/inspector/*.idl) \
655         $(wildcard $(srcdir)/Source/WebCore/inspector/*.css) \
656         $(wildcard $(srcdir)/Source/WebCore/inspector/*.js) \
657         $(wildcard $(srcdir)/Source/WebCore/loader/appcache/*.idl) \
658         $(wildcard $(srcdir)/Source/WebCore/page/*.idl) \
659         $(wildcard $(srcdir)/Source/WebCore/plugins/*.idl) \
660         $(wildcard $(srcdir)/Source/WebCore/storage/*.idl) \
661         $(wildcard $(srcdir)/Source/WebCore/svg/*.idl) \
662         $(wildcard $(srcdir)/Source/WebCore/testing/*.idl) \
663         $(wildcard $(srcdir)/Source/WebCore/workers/*.idl) \
664         $(wildcard $(srcdir)/Source/WebCore/xml/*.idl) \
665         $(wildcard $(srcdir)/Source/WebCore/inspector/protocol/*.json) \
666         Source/ThirdParty/ANGLE/src/compiler/glslang.l \
667         Source/ThirdParty/ANGLE/src/compiler/glslang.y \
668         Source/WebCore/bindings/scripts/CodeGeneratorGObject.pm \
669         Source/WebCore/bindings/scripts/CodeGeneratorJS.pm \
670         Source/WebCore/bindings/scripts/CodeGenerator.pm \
671         Source/WebCore/bindings/scripts/Hasher.pm \
672         Source/WebCore/bindings/scripts/IDLAttributes.txt \
673         Source/WebCore/bindings/scripts/IDLParser.pm \
674         Source/WebCore/bindings/scripts/InFilesCompiler.pm \
675         Source/WebCore/bindings/scripts/InFilesParser.pm \
676         Source/WebCore/bindings/scripts/StaticString.pm \
677         Source/WebCore/bindings/scripts/generate-bindings.pl \
678         Source/WebCore/bindings/scripts/gobject-generate-headers.pl \
679         Source/WebCore/bindings/scripts/gobject-run-api-break-test \
680         Source/WebCore/bindings/scripts/preprocessor.pm \
681         Source/WebCore/bindings/scripts/preprocess-idls.pl \
682         Source/WebCore/ChangeLog \
683         Source/WebCore/css/CSSGrammar.y.in \
684         Source/WebCore/css/CSSGrammar.y.includes \
685         Source/WebCore/css/CSSPropertyNames.in \
686         Source/WebCore/css/CSSValueKeywords.in \
687         Source/WebCore/dom/DOMExceptions.in \
688         Source/WebCore/css/fullscreen.css \
689         Source/WebCore/css/html.css \
690         Source/WebCore/css/make-css-file-arrays.pl \
691         Source/WebCore/css/makegrammar.pl \
692         Source/WebCore/css/makeprop.pl \
693         Source/WebCore/css/makevalues.pl \
694         Source/WebCore/css/mathml.css \
695         Source/WebCore/css/mediaControls.css \
696         Source/WebCore/css/mediaControlsGtk.css \
697         Source/WebCore/css/plugIns.css \
698         Source/WebCore/css/quirks.css \
699         Source/WebCore/css/svg.css \
700         Source/WebCore/css/SVGCSSPropertyNames.in \
701         Source/WebCore/css/SVGCSSValueKeywords.in \
702         Source/WebCore/css/view-source.css \
703         Source/WebCore/css/WebKitFontFamilyNames.in \
704         Source/WebCore/dom/EventNames.in \
705         Source/WebCore/dom/EventTargetFactory.in \
706         Source/WebCore/dom/make_dom_exceptions.pl \
707         Source/WebCore/dom/make_event_factory.pl \
708         Source/WebCore/dom/make_names.pl \
709         Source/WebCore/html/HTMLAttributeNames.in \
710         Source/WebCore/html/HTMLTagNames.in \
711         Source/WebCore/html/parser/create-html-entity-table \
712         Source/WebCore/html/parser/HTMLEntityNames.in \
713         Source/WebCore/icu/LICENSE \
714         Source/WebCore/inspector/InjectedScriptCanvasModuleSource.js \
715         Source/WebCore/inspector/InspectorOverlayPage.html \
716         Source/WebCore/LICENSE-APPLE \
717         Source/WebCore/LICENSE-LGPL-2 \
718         Source/WebCore/LICENSE-LGPL-2.1 \
719         Source/WebCore/make-hash-tools.pl \
720         Source/WebCore/mathml/mathattrs.in \
721         Source/WebCore/mathml/mathtags.in \
722         Source/WebCore/page/make_settings.pl \
723         Source/WebCore/page/Settings.in \
724         Source/WebCore/platform/ColorData.gperf \
725         Source/WebCore/platform/text/mac/make-charset-table.pl \
726         Source/WebCore/Resources/plugIns.js \
727         Source/WebCore/svg/svgattrs.in \
728         Source/WebCore/svg/svgtags.in \
729         Source/WebCore/svg/xlinkattrs.in \
730         Source/WebCore/xml/xmlattrs.in \
731         Source/WebCore/xml/xmlnsattrs.in \
732         Source/WebCore/xml/XMLViewer.css \
733         Source/WebCore/xml/XMLViewer.js \
734         Source/WebCore/xml/XPathGrammar.y
735
736 webresourcesdir = ${datadir}/webkitgtk-@WEBKITGTK_API_VERSION@/images
737 dist_webresources_DATA = \
738         $(WebCore)/Resources/textAreaResizeCorner.png \
739         $(WebCore)/Resources/nullPlugin.png \
740         $(WebCore)/Resources/urlIcon.png \
741         $(WebCore)/Resources/missingImage.png \
742         $(WebCore)/Resources/panIcon.png \
743         $(WebCore)/Resources/deleteButton.png \
744         $(WebCore)/Resources/inputSpeech.png