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