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