[GTK] Move feature overriding to the configure phase
[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         $(SYMBOL_VISIBILITY_INLINES) \
165         $(global_cxxflags)
166
167 libWebCoreSVG_la_CFLAGS = \
168         $(SYMBOL_VISIBILITY) \
169         $(global_cflags)
170
171 libWebCoreSVG_la_CPPFLAGS = \
172         -DBUILDING_WebCore \
173         -DBUILDING_WEBKIT \
174         $(global_cppflags) \
175         $(webcore_cppflags) \
176         $(webcoregtk_cppflags) \
177         $(javascriptcore_cppflags) \
178         -fno-strict-aliasing \
179         $(CAIRO_CFLAGS) \
180         $(FREETYPE_CFLAGS) \
181         $(LIBSOUP_CFLAGS) \
182         $(UNICODE_CFLAGS)
183
184 WEBCORE_CSS_PROPERTY_NAMES += $(WebCore)/css/SVGCSSPropertyNames.in
185 WEBCORE_CSS_VALUE_KEYWORDS += $(WebCore)/css/SVGCSSValueKeywords.in
186
187 endif # END_ENABLE_SVG
188
189 # SVG tag and attribute names (need to pass an extra flag if svg experimental features are enabled)
190 DerivedSources/WebCore/SVGNames.cpp: DerivedSources/WebCore/SVGElementFactory.cpp
191 DerivedSources/WebCore/JSSVGElementWrapperFactory.cpp: DerivedSources/WebCore/SVGElementFactory.cpp
192 DerivedSources/WebCore/SVGElementFactory.cpp: $(WebCore)/dom/make_names.pl $(WebCore)/svg/svgtags.in $(WebCore)/svg/svgattrs.in
193         $(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)"
194
195 # end SVG Features
196
197 DerivedSources/WebCore/XLinkNames.h: DerivedSources/WebCore/XLinkNames.cpp
198 DerivedSources/WebCore/XLinkNames.cpp : $(WebCore)/dom/make_names.pl $(WebCore)/svg/xlinkattrs.in
199         $(AM_V_GEN)$(PERL) -I$(WebCore)/bindings/scripts $< --attrs $(WebCore)/svg/xlinkattrs.in --outputDir "$(GENSOURCES_WEBCORE)"
200
201 if USE_TEXTURE_MAPPER_CAIRO
202 webcore_cppflags += \
203         -I$(srcdir)/Source/WebCore/platform/graphics/texmap
204 endif  # END USE_TEXTURE_MAPPER_CAIRO
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 USE_CLUTTER
212 webcore_cppflags += \
213         -I$(srcdir)/Source/WebCore/platform/clutter \
214         -I$(srcdir)/Source/WebCore/platform/graphics/clutter
215 endif  # END USE_CLUTTER
216
217 if ENABLE_INDEXED_DATABASE
218 webcore_cppflags += \
219         -DWTF_USE_LEVELDB=1 \
220         -I$(srcdir)/Source/ThirdParty/leveldb \
221         -I$(srcdir)/Source/ThirdParty/leveldb/include
222 endif
223
224 $(WEBCORE_CSS_PROPERTY_NAMES): $(srcdir)/configure.ac $(srcdir)/Source/WebCore/GNUmakefile.am
225
226 $(WEBCORE_CSS_VALUE_KEYWORDS): $(srcdir)/configure.ac $(srcdir)/Source/WebCore/GNUmakefile.am
227
228 DerivedSources/WebCore/CSSPropertyNames.cpp: DerivedSources/WebCore/CSSPropertyNames.h
229 DerivedSources/WebCore/CSSPropertyNames.h: $(WEBCORE_CSS_PROPERTY_NAMES) $(WebCore)/css/makeprop.pl
230         $(AM_V_GEN)
231         $(AM_V_at)cat $(WEBCORE_CSS_PROPERTY_NAMES) > CSSPropertyNames.in
232         $(AM_V_at)$(PERL) -I$(WebCore)/bindings/scripts "$(WebCore)/css/makeprop.pl" --defines "$(feature_defines)"
233         $(AM_V_at)mv CSSPropertyNames* $(GENSOURCES_WEBCORE)
234
235 # Lower case all the values, as CSS values are case-insensitive
236 DerivedSources/WebCore/CSSValueKeywords.cpp: DerivedSources/WebCore/CSSValueKeywords.h
237 DerivedSources/WebCore/CSSValueKeywords.h: $(WEBCORE_CSS_VALUE_KEYWORDS) $(WebCore)/css/makevalues.pl
238         $(AM_V_GEN)
239         $(AM_V_at)cat $(WEBCORE_CSS_VALUE_KEYWORDS) > CSSValueKeywords.in
240         $(AM_V_at)$(PERL) -I$(WebCore)/bindings/scripts "$(WebCore)/css/makevalues.pl" --defines "$(feature_defines)"
241         $(AM_V_at)mv CSSValueKeywords* $(GENSOURCES_WEBCORE)
242
243 # XML Viewer CSS
244 DerivedSources/WebCore/XMLViewerCSS.h: $(WebCore)/xml/XMLViewer.css
245         $(AM_V_GEN)$(PERL) $(WebCore)/inspector/xxd.pl XMLViewer_css $(WebCore)/xml/XMLViewer.css $(GENSOURCES_WEBCORE)/XMLViewerCSS.h
246
247 # XML Viewer JS
248 DerivedSources/WebCore/XMLViewerJS.h: $(WebCore)/xml/XMLViewer.js
249         $(AM_V_GEN)$(PERL) $(WebCore)/inspector/xxd.pl XMLViewer_js $(WebCore)/xml/XMLViewer.js $(GENSOURCES_WEBCORE)/XMLViewerJS.h
250
251 # HTML entity names
252 DerivedSources/WebCore/HTMLEntityTable.cpp: $(WebCore)/html/parser/HTMLEntityNames.in $(WebCore)/html/parser/create-html-entity-table
253         $(AM_V_GEN)$(PYTHON) $(WebCore)/html/parser/create-html-entity-table -o $(GENSOURCES_WEBCORE)/HTMLEntityTable.cpp $(WebCore)/html/parser/HTMLEntityNames.in
254
255 # color names
256 DerivedSources/WebCore/ColorData.cpp: $(WebCore)/platform/ColorData.gperf $(WebCore)/make-hash-tools.pl
257         $(AM_V_GEN)$(PERL) $(WebCore)/make-hash-tools.pl $(GENSOURCES_WEBCORE) $(WebCore)/platform/ColorData.gperf
258
259 # CSS grammar
260
261 DerivedSources/WebCore/CSSGrammar.h: $(GENSOURCES_WEBCORE)/CSSGrammar.cpp
262 DerivedSources/WebCore/CSSGrammar.cpp: $(WebCore)/css/CSSGrammar.y.in
263         $(AM_V_GEN)
264         $(AM_V_at)perl -I $(WebCore)/bindings/scripts $(WebCore)/css/makegrammar.pl --extraDefines "$(feature_defines)" --outputDir $(GENSOURCES_WEBCORE) --bison "$(BISON)" --symbolsPrefix cssyy $<
265
266 # user agent style sheets
267 USER_AGENT_STYLE_SHEETS = \
268         $(WebCore)/css/html.css \
269         $(WebCore)/css/mathml.css \
270         $(WebCore)/css/quirks.css \
271         $(WebCore)/css/view-source.css \
272         $(WebCore)/css/svg.css \
273         $(WebCore)/css/mediaControls.css \
274         $(WebCore)/css/mediaControlsGtk.css \
275         $(WebCore)/css/fullscreen.css \
276         $(WebCore)/css/plugIns.css
277
278 # new-style JavaScript bindings
279 SCRIPTS_FOR_GENERATE_BINDINGS = \
280         $(WebCore)/bindings/scripts/CodeGenerator.pm \
281         $(WebCore)/bindings/scripts/IDLParser.pm \
282         $(WebCore)/bindings/scripts/InFilesCompiler.pm \
283         $(WebCore)/bindings/scripts/InFilesParser.pm \
284         $(WebCore)/bindings/scripts/generate-bindings.pl \
285         $(WebCore)/bindings/scripts/preprocessor.pm
286
287 SCRIPTS_FOR_PREPROCESS_IDLS = \
288         $(WebCore)/bindings/scripts/preprocess-idls.pl
289
290 DerivedSources/WebCore/UserAgentStyleSheetsData.cpp: DerivedSources/WebCore/UserAgentStyleSheets.h
291 DerivedSources/WebCore/UserAgentStyleSheets.h: $(WebCore)/css/make-css-file-arrays.pl $(WebCore)/bindings/scripts/preprocessor.pm $(USER_AGENT_STYLE_SHEETS)
292         $(AM_V_GEN)$(PERL) -I$(WebCore)/bindings/scripts $<  --defines "$(feature_defines)" $@ DerivedSources/WebCore/UserAgentStyleSheetsData.cpp $(USER_AGENT_STYLE_SHEETS)
293
294 DerivedSources/WebCore/WebKitFontFamilyNames.cpp: DerivedSources/WebCore/WebKitFontFamilyNames.h
295 DerivedSources/WebCore/WebKitFontFamilyNames.h: $(WebCore)/dom/make_names.pl $(WebCore)/css/WebKitFontFamilyNames.in
296         $(AM_V_GEN)$(PERL) -I$(WebCore)/bindings/scripts $< --fonts $(WebCore)/css/WebKitFontFamilyNames.in --outputDir "$(GENSOURCES_WEBCORE)"
297
298
299 # HTML tag and attribute names
300 DerivedSources/WebCore/JSHTMLElementWrapperFactory.cpp: DerivedSources/WebCore/HTMLElementFactory.cpp
301 DerivedSources/WebCore/HTMLElementFactory.cpp: DerivedSources/WebCore/HTMLElementFactory.h
302 DerivedSources/WebCore/HTMLElementFactory.h: DerivedSources/WebCore/HTMLNames.cpp
303 DerivedSources/WebCore/HTMLNames.cpp: DerivedSources/WebCore/HTMLNames.h
304 DerivedSources/WebCore/HTMLNames.h: $(WebCore)/dom/make_names.pl $(WebCore)/html/HTMLTagNames.in $(WebCore)/html/HTMLAttributeNames.in
305         $(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)"
306
307
308 DerivedSources/WebCore/XMLNSNames.cpp DerivedSources/WebCore/XMLNSNames.h: $(WebCore)/dom/make_names.pl $(WebCore)/xml/xmlnsattrs.in
309         $(AM_V_GEN)$(PERL) -I$(WebCore)/bindings/scripts $< --attrs $(WebCore)/xml/xmlnsattrs.in --outputDir "$(GENSOURCES_WEBCORE)"
310
311 DerivedSources/WebCore/XMLNames.cpp DerivedSources/WebCore/XMLNames.h: $(WebCore)/dom/make_names.pl $(WebCore)/xml/xmlattrs.in
312         $(AM_V_GEN)$(PERL) -I$(WebCore)/bindings/scripts $< --attrs $(WebCore)/xml/xmlattrs.in --outputDir "$(GENSOURCES_WEBCORE)"
313
314 DerivedSources/WebCore/EventFactory.cpp DerivedSources/WebCore/EventHeaders.h DerivedSources/WebCore/EventInterfaces.h: $(WebCore)/dom/make_event_factory.pl $(WebCore)/dom/EventNames.in
315         $(AM_V_GEN)$(PERL) -I$(WebCore)/bindings/scripts $< --input $(WebCore)/dom/EventNames.in --outputDir "$(GENSOURCES_WEBCORE)"
316
317 DerivedSources/WebCore/EventTargetHeaders.h DerivedSources/WebCore/EventTargetInterfaces.h: $(WebCore)/dom/make_event_factory.pl $(WebCore)/dom/EventTargetFactory.in
318         $(AM_V_GEN)$(PERL) -I$(WebCore)/bindings/scripts $< --input $(WebCore)/dom/EventTargetFactory.in --outputDir "$(GENSOURCES_WEBCORE)"
319
320 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
321         $(AM_V_GEN)$(PERL) -I$(WebCore)/bindings/scripts $< --input $(WebCore)/dom/DOMExceptions.in --outputDir "$(GENSOURCES_WEBCORE)"
322
323 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
324         $(AM_V_GEN)$(PERL) -I$(WebCore)/bindings/scripts $< --input $(WebCore)/page/Settings.in --outputDir "$(GENSOURCES_WEBCORE)"
325
326 dom_binding_idls += \
327   DerivedSources/WebCore/InternalSettingsGenerated.idl
328
329 # All Web Inspector generated files are created with this one call to CodeGeneratorInspector.py
330 DerivedSources/WebCore/InspectorProtocolVersion.h : $(WebCore)/inspector/Inspector.json $(WebCore)/inspector/generate-inspector-protocol-version
331         $(AM_V_GEN)$(PYTHON) $(WebCore)/inspector/generate-inspector-protocol-version -o $(GENSOURCES_WEBCORE)/InspectorProtocolVersion.h $(WebCore)/inspector/Inspector.json
332
333 DerivedSources/WebCore/InspectorBackendDispatcher.cpp: $(WebCore)/inspector/Inspector.json $(WebCore)/inspector/CodeGeneratorInspector.py
334         $(AM_V_GEN)$(PYTHON) $(WebCore)/inspector/CodeGeneratorInspector.py $< --output_h_dir $(GENSOURCES_WEBCORE) --output_cpp_dir $(GENSOURCES_WEBCORE)
335 DerivedSources/WebCore/InspectorTypeBuilder.h: DerivedSources/WebCore/InspectorTypeBuilder.cpp
336 DerivedSources/WebCore/InspectorTypeBuilder.cpp: DerivedSources/WebCore/InspectorFrontend.h
337 DerivedSources/WebCore/InspectorFrontend.h: DerivedSources/WebCore/InspectorFrontend.cpp
338 DerivedSources/WebCore/InspectorFrontend.cpp: DerivedSources/WebCore/InspectorBackendCommands.js
339 DerivedSources/WebCore/InspectorBackendCommands.js: DerivedSources/WebCore/InspectorBackendDispatcher.h
340 DerivedSources/WebCore/InspectorBackendDispatcher.h: DerivedSources/WebCore/InspectorBackendDispatcher.cpp
341 DerivedSources/WebCore/InspectorOverlayPage.h: $(WebCore)/inspector/InspectorOverlayPage.html
342         $(AM_V_GEN)$(PERL) $(WebCore)/inspector/xxd.pl InspectorOverlayPage_html $(WebCore)/inspector/InspectorOverlayPage.html $(GENSOURCES_WEBCORE)/InspectorOverlayPage.h
343 DerivedSources/WebCore/InjectedScriptCanvasModuleSource.h: $(WebCore)/inspector/InjectedScriptCanvasModuleSource.js
344         $(AM_V_GEN)$(PERL) $(WebCore)/inspector/xxd.pl InjectedScriptCanvasModuleSource_js $(WebCore)/inspector/InjectedScriptCanvasModuleSource.js $(GENSOURCES_WEBCORE)/InjectedScriptCanvasModuleSource.h
345 DerivedSources/WebCore/InjectedScriptSource.h: $(WebCore)/inspector/InjectedScriptSource.js
346         $(AM_V_GEN)$(PERL) $(WebCore)/inspector/xxd.pl InjectedScriptSource_js $(WebCore)/inspector/InjectedScriptSource.js $(GENSOURCES_WEBCORE)/InjectedScriptSource.h
347
348 if ENABLE_WEB_AUDIO
349 # Installing HRTF database wav files
350 audiodir = ${datadir}/webkitgtk-@WEBKITGTK_API_VERSION@/resources/audio/
351 audio_DATA = $(WebCore)/platform/audio/resources/Composite.wav
352 dist_audio_DATA = $(audio_DATA)
353 endif  # END ENABLE_WEB_AUDIO
354
355 # ANGLE tokenizer & parser
356 DerivedSources/ANGLE/glslang.cpp: Source/ThirdParty/ANGLE/src/compiler/glslang.l
357         $(AM_V_GEN)$(FLEX) --noline --nounistd --outfile="$@" "$<"
358
359 DerivedSources/ANGLE/glslang_tab.cpp: Source/ThirdParty/ANGLE/src/compiler/glslang.y
360         $(AM_V_GEN)$(BISON) --no-lines --defines="DerivedSources/ANGLE/glslang_tab.h" --skeleton=yacc.c --output="$@" $<
361 DerivedSources/ANGLE/glslang_tab.h: DerivedSources/ANGLE/glslang_tab.cpp
362
363 IDL_PATH := \
364     $(WebCore)/Modules/filesystem \
365     $(WebCore)/Modules/gamepad \
366     $(WebCore)/Modules/geolocation \
367     $(WebCore)/Modules/indexeddb \
368     $(WebCore)/Modules/mediasource \
369     $(WebCore)/Modules/mediastream \
370     $(WebCore)/Modules/notifications \
371     $(WebCore)/Modules/proximity \
372     $(WebCore)/Modules/quota \
373     $(WebCore)/Modules/webaudio \
374     $(WebCore)/Modules/webdatabase \
375     $(WebCore)/Modules/websockets \
376     $(WebCore)/bindings/js \
377     $(WebCore)/css \
378     $(WebCore)/dom \
379     $(WebCore)/fileapi \
380     $(WebCore)/html \
381     $(WebCore)/html/canvas \
382     $(WebCore)/html/shadow \
383     $(WebCore)/html/track \
384     $(WebCore)/inspector \
385     $(WebCore)/loader/appcache \
386     $(WebCore)/page \
387     $(WebCore)/plugins \
388     $(WebCore)/storage \
389     $(WebCore)/svg \
390     $(WebCore)/testing \
391     $(WebCore)/workers \
392     $(WebCore)/xml
393
394 vpath %.idl $(IDL_PATH)
395
396 supplemental_dependency_file = $(top_builddir)/DerivedSources/WebCore/idl_supplemental_dependencies
397 idl_files_list = $(top_builddir)/DerivedSources/WebCore/idl_files_list
398 idl_attributes_file = $(WebCore)/bindings/scripts/IDLAttributes.txt
399
400 .SECONDARY:
401 $(supplemental_dependency_file): $(SCRIPTS_FOR_PREPROCESS_IDLS) $(dom_binding_idls)
402         $(AM_V_GEN)
403         $(AM_V_at)echo -n > $(idl_files_list)
404         $(AM_V_at)($(foreach idl, $(dom_binding_idls), echo $(idl) &&) echo -n) >> $(idl_files_list)
405         $(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 $@
406
407 # This does not appear to work correctly with gnumake unless
408 # it includes an empty command list (the semicolon).
409 DerivedSources/WebCore/JS%.cpp: DerivedSources/WebCore/JS%.h;
410
411 .SECONDARY:
412 DerivedSources/WebCore/JS%.h: %.idl $(SCRIPTS_FOR_GENERATE_BINDINGS) $(WebCore)/bindings/scripts/CodeGeneratorJS.pm $(supplemental_dependency_file) $(idl_attributes_file)
413         $(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) $<
414
415 .SECONDARY:
416 DerivedSources/WebCore/JSInternalSettingsGenerated.h: DerivedSources/WebCore/InternalSettingsGenerated.idl $(SCRIPTS_FOR_GENERATE_BINDINGS) $(WebCore)/bindings/scripts/CodeGeneratorJS.pm $(supplemental_dependency_file) $(idl_attributes_file)
417         $(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) $<
418
419 # See https://bugs.webkit.org/show_bug.cgi?id=76388
420 # We need to introduce a manual dependency to prevent non-generated sources from
421 # trying to build before the generated ones. This can happen if the supplemental
422 # IDL generation takes a long time. The pipe represents an order-only dependency,
423 # which means that GNUmake will only try to build the dependencies first, but
424 # not rebuild all the targets if the dependencies change.
425 $(webkitgtk_sources) $(webkit2_sources) $(webkit2_plugin_process_sources) $(webcore_sources) $(webcoregtk_sources) : | $(supplemental_dependency_file) $(webcore_built_sources)
426
427 noinst_LTLIBRARIES += \
428         libWebCorePlatform.la \
429         libWebCoreModules.la \
430         libWebCore.la
431
432 if ENABLE_INDEXED_DATABASE
433 noinst_LTLIBRARIES += \
434         libLevelDB.la
435 endif
436
437 if ENABLE_SVG
438 noinst_LTLIBRARIES += \
439         libWebCoreSVG.la
440 endif
441
442 # Artificial dependency to try to force a relink of the WebCore libraries
443 # When their makefiles change.
444 webcore_lib_for_dep = libWebCore.la
445 $(webcore_lib_for_dep): $(srcdir)/Source/WebCore/GNUmakefile.am $(srcdir)/Source/WebCore/GNUmakefile.list.am $(srcdir)/Source/autotools/symbols.filter
446
447 webcoremodules_lib_for_dep = libWebcoreModules.la
448 $(webcoremodules_lib_for_dep): $(srcdir)/Source/WebCore/GNUmakefile.am $(srcdir)/Source/WebCore/GNUmakefile.list.am
449
450 webcoreplatform_lib_for_dep = libWebcorePlatform.la
451 $(webcoreplatform_lib_for_dep): $(srcdir)/Source/WebCore/GNUmakefile.am $(srcdir)/Source/WebCore/GNUmakefile.list.am
452
453 webcoresvg_lib_for_dep = libWebCoreSVG.la
454 $(webcoresvg_lib_for_dep): $(srcdir)/Source/WebCore/GNUmakefile.am $(srcdir)/Source/WebCore/GNUmakefile.list.am
455
456 nodist_EXTRA_libWebCore_la_SOURCES = \
457         $(webcore_built_nosources)
458
459 nodist_libWebCore_la_SOURCES = \
460         $(webcore_built_sources)
461
462 libWebCore_la_SOURCES = \
463         $(webcore_sources)
464
465 libWebCore_la_CXXFLAGS = \
466         $(SYMBOL_VISIBILITY_INLINES) \
467         $(global_cxxflags)
468
469 libWebCore_la_CFLAGS = \
470         $(SYMBOL_VISIBILITY) \
471         $(global_cflags)
472
473 libWebCore_la_CPPFLAGS = \
474         -DBUILDING_WebCore \
475         -DBUILDING_WEBKIT \
476         $(global_cppflags) \
477         $(webcore_cppflags) \
478         $(webcoregtk_cppflags) \
479         $(javascriptcore_cppflags) \
480         -fno-strict-aliasing \
481         $(CAIRO_CFLAGS) \
482         $(CLUTTER_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 libLevelDB_la_CXXFLAGS = $(global_cxxflags)
512 libLevelDB_la_CFLAGS = $(global_cxflags)
513 libLevelDB_la_CPPFLAGS = \
514         $(global_cppflags) \
515         -fno-builtin-memcmp \
516         -I$(srcdir)/Source/ThirdParty/leveldb \
517         -I$(srcdir)/Source/ThirdParty/leveldb/include
518
519 if TARGET_WIN32
520 libLevelDB_la_CPPFLAGS += \
521         -DOS_WIN
522 else
523 libLevelDB_la_CPPFLAGS += \
524         -pthread \
525         -DOS_LINUX \
526         -DLEVELDB_PLATFORM_POSIX
527 endif
528
529 libWebCorePlatform_la_SOURCES = \
530         $(webcore_platform_sources)
531 libWebCorePlatform_la_CXXFLAGS = \
532         $(SYMBOL_VISIBILITY_INLINES) \
533         $(global_cxxflags)
534 libWebCorePlatform_la_CFLAGS = \
535         $(SYMBOL_VISIBILITY) \
536         $(global_cflags)
537 libWebCorePlatform_la_CPPFLAGS = \
538         -DBUILDING_WEBKIT \
539         $(global_cppflags) \
540         $(webcore_cppflags) \
541         $(webcoregtk_cppflags) \
542         $(javascriptcore_cppflags) \
543         -fno-strict-aliasing \
544         $(CAIRO_CFLAGS) \
545         $(CLUTTER_CFLAGS) \
546         $(COVERAGE_CFLAGS) \
547         $(ENCHANT_CFLAGS) \
548         $(FREETYPE_CFLAGS) \
549         $(GAMEPAD_CFLAGS) \
550         $(GEOCLUE_CFLAGS) \
551         $(GLIB_CFLAGS) \
552         $(GSTREAMER_CFLAGS) \
553         $(LIBSECRET_CFLAGS) \
554         $(LIBSOUP_CFLAGS) \
555         $(LIBXML_CFLAGS) \
556         $(LIBXSLT_CFLAGS) \
557         $(PANGO_CFLAGS) \
558         $(SQLITE3_CFLAGS) \
559         $(UNICODE_CFLAGS) \
560         $(XRENDER_CFLAGS) \
561         $(XT_CFLAGS)
562
563 # We have a different library with only the files that require GTK+. It allows us
564 # to build a common WebCore lib and two different gtk WebCore libs depending on
565 # the gtk version. In WeKit2 gtk2 is not supported, but the plugin process needs to
566 # be built using gtk2 because plugins like flash still use gtk2. For WebKit2, we build
567 # the common libWebCore and two libWebCoreGtk, one using gtk3 and the other one using gtk2.
568 noinst_LTLIBRARIES += \
569         libWebCoreGtk.la
570
571 libWebCoreGtk_la_SOURCES = \
572         $(webcoregtk_sources)
573
574 libWebCoreGtk_la_CXXFLAGS = \
575         $(SYMBOL_VISIBILITY_INLINES) \
576         $(global_cxxflags)
577
578 libWebCoreGtk_la_CFLAGS = \
579         $(SYMBOL_VISIBILITY) \
580         $(global_cflags)
581
582 libWebCoreGtk_la_CPPFLAGS = \
583         -DBUILDING_WebCore \
584         -DBUILDING_WEBKIT \
585         $(global_cppflags) \
586         $(webcore_cppflags) \
587         $(webcoregtk_cppflags) \
588         $(javascriptcore_cppflags) \
589         -fno-strict-aliasing \
590         $(HILDON_CPPFLAGS) \
591         $(CAIRO_CFLAGS) \
592         $(CLUTTER_CFLAGS) \
593         $(COVERAGE_CFLAGS) \
594         $(ENCHANT_CFLAGS) \
595         $(FREETYPE_CFLAGS) \
596         $(GAIL_CFLAGS) \
597         $(GAMEPAD_CFLAGS) \
598         $(GEOCLUE_CFLAGS) \
599         $(GLIB_CFLAGS) \
600         $(GSTREAMER_CFLAGS) \
601         $(GTK_CFLAGS) \
602         $(HILDON_CFLAGS) \
603         $(LIBSECRET_CFLAGS) \
604         $(LIBSOUP_CFLAGS) \
605         $(LIBXML_CFLAGS) \
606         $(LIBXSLT_CFLAGS) \
607         $(SQLITE3_CFLAGS) \
608         $(UNICODE_CFLAGS) \
609         $(XCOMPOSITE_CFLAGS) \
610         $(XDAMAGE_CFLAGS) \
611         $(XRENDER_CFLAGS) \
612         $(XT_CFLAGS)
613
614 EXTRA_DIST += \
615         $(wildcard $(srcdir)/Source/WebCore/Modules/filesystem/*.idl) \
616         $(wildcard $(srcdir)/Source/WebCore/Modules/gamepad/*.idl) \
617         $(wildcard $(srcdir)/Source/WebCore/Modules/geolocation/*.idl) \
618         $(wildcard $(srcdir)/Source/WebCore/Modules/indexeddb/*.idl) \
619         $(wildcard $(srcdir)/Source/WebCore/Modules/mediasource/*.idl) \
620         $(wildcard $(srcdir)/Source/WebCore/Modules/mediastream/*.idl) \
621         $(wildcard $(srcdir)/Source/WebCore/Modules/navigatorcontentutils/*.idl) \
622         $(wildcard $(srcdir)/Source/WebCore/Modules/notifications/*.idl) \
623         $(wildcard $(srcdir)/Source/WebCore/Modules/proximity/*.idl) \
624         $(wildcard $(srcdir)/Source/WebCore/Modules/quota/*.idl) \
625         $(wildcard $(srcdir)/Source/WebCore/Modules/webaudio/*.idl) \
626         $(wildcard $(srcdir)/Source/WebCore/Modules/webdatabase/*.idl) \
627         $(wildcard $(srcdir)/Source/WebCore/Modules/websockets/*.idl) \
628         $(wildcard $(srcdir)/Source/WebCore/css/*.idl) \
629         $(wildcard $(srcdir)/Source/WebCore/dom/*.idl) \
630         $(wildcard $(srcdir)/Source/WebCore/fileapi/*.idl) \
631         $(wildcard $(srcdir)/Source/WebCore/html/canvas/*.idl) \
632         $(wildcard $(srcdir)/Source/WebCore/html/shadow/*.idl) \
633         $(wildcard $(srcdir)/Source/WebCore/html/track/*.idl) \
634         $(wildcard $(srcdir)/Source/WebCore/html/*.idl) \
635         $(wildcard $(srcdir)/Source/WebCore/inspector/*.idl) \
636         $(wildcard $(srcdir)/Source/WebCore/loader/appcache/*.idl) \
637         $(wildcard $(srcdir)/Source/WebCore/page/*.idl) \
638         $(wildcard $(srcdir)/Source/WebCore/plugins/*.idl) \
639         $(wildcard $(srcdir)/Source/WebCore/storage/*.idl) \
640         $(wildcard $(srcdir)/Source/WebCore/svg/*.idl) \
641         $(wildcard $(srcdir)/Source/WebCore/testing/*.idl) \
642         $(wildcard $(srcdir)/Source/WebCore/workers/*.idl) \
643         $(wildcard $(srcdir)/Source/WebCore/xml/*.idl) \
644         Source/ThirdParty/ANGLE/src/compiler/glslang.l \
645         Source/ThirdParty/ANGLE/src/compiler/glslang.y \
646         Source/WebCore/bindings/scripts/CodeGeneratorGObject.pm \
647         Source/WebCore/bindings/scripts/CodeGeneratorJS.pm \
648         Source/WebCore/bindings/scripts/CodeGenerator.pm \
649         Source/WebCore/bindings/scripts/IDLAttributes.txt \
650         Source/WebCore/bindings/scripts/IDLParser.pm \
651         Source/WebCore/bindings/scripts/InFilesCompiler.pm \
652         Source/WebCore/bindings/scripts/InFilesParser.pm \
653         Source/WebCore/bindings/scripts/generate-bindings.pl \
654         Source/WebCore/bindings/scripts/gobject-generate-headers.pl \
655         Source/WebCore/bindings/scripts/preprocessor.pm \
656         Source/WebCore/bindings/scripts/preprocess-idls.pl \
657         Source/WebCore/ChangeLog \
658         Source/WebCore/css/CSSGrammar.y.in \
659         Source/WebCore/css/CSSGrammar.y.includes \
660         Source/WebCore/css/CSSPropertyNames.in \
661         Source/WebCore/css/CSSValueKeywords.in \
662         Source/WebCore/dom/DOMExceptions.in \
663         Source/WebCore/css/fullscreen.css \
664         Source/WebCore/css/fullscreenQuickTime.css \
665         Source/WebCore/css/html.css \
666         Source/WebCore/css/make-css-file-arrays.pl \
667         Source/WebCore/css/makegrammar.pl \
668         Source/WebCore/css/makeprop.pl \
669         Source/WebCore/css/maketokenizer \
670         Source/WebCore/css/makevalues.pl \
671         Source/WebCore/css/mathml.css \
672         Source/WebCore/css/mediaControls.css \
673         Source/WebCore/css/mediaControlsGtk.css \
674         Source/WebCore/css/plugIns.css \
675         Source/WebCore/css/quirks.css \
676         Source/WebCore/css/svg.css \
677         Source/WebCore/css/SVGCSSPropertyNames.in \
678         Source/WebCore/css/SVGCSSValueKeywords.in \
679         Source/WebCore/css/view-source.css \
680         Source/WebCore/css/WebKitFontFamilyNames.in \
681         Source/WebCore/dom/EventNames.in \
682         Source/WebCore/dom/EventTargetFactory.in \
683         Source/WebCore/dom/make_dom_exceptions.pl \
684         Source/WebCore/dom/make_event_factory.pl \
685         Source/WebCore/dom/make_names.pl \
686         Source/WebCore/html/HTMLAttributeNames.in \
687         Source/WebCore/html/HTMLTagNames.in \
688         Source/WebCore/html/parser/create-html-entity-table \
689         Source/WebCore/html/parser/HTMLEntityNames.in \
690         Source/WebCore/icu/LICENSE \
691         Source/WebCore/inspector/CodeGeneratorInspector.py \
692         Source/WebCore/inspector/InjectedScriptCanvasModuleSource.js \
693         Source/WebCore/inspector/InjectedScriptSource.js \
694         Source/WebCore/inspector/Inspector.json \
695         Source/WebCore/inspector/Inspector-1.0.json \
696         Source/WebCore/inspector/InspectorOverlayPage.html \
697         Source/WebCore/inspector/generate-inspector-protocol-version \
698         Source/WebCore/inspector/xxd.pl \
699         Source/WebCore/LICENSE-APPLE \
700         Source/WebCore/LICENSE-LGPL-2 \
701         Source/WebCore/LICENSE-LGPL-2.1 \
702         Source/WebCore/make-hash-tools.pl \
703         Source/WebCore/mathml/mathattrs.in \
704         Source/WebCore/mathml/mathtags.in \
705         Source/WebCore/page/make_settings.pl \
706         Source/WebCore/page/Settings.in \
707         Source/WebCore/platform/ColorData.gperf \
708         Source/WebCore/platform/text/mac/make-charset-table.pl \
709         Source/WebCore/svg/svgattrs.in \
710         Source/WebCore/svg/svgtags.in \
711         Source/WebCore/svg/xlinkattrs.in \
712         Source/WebCore/xml/xmlattrs.in \
713         Source/WebCore/xml/xmlnsattrs.in \
714         Source/WebCore/xml/XMLViewer.css \
715         Source/WebCore/xml/XMLViewer.js \
716         Source/WebCore/xml/XPathGrammar.y
717
718 # Installing web inspector files
719 webinspectordir = ${datadir}/webkitgtk-@WEBKITGTK_API_VERSION@/webinspector
720 dist_webinspector_DATA = \
721         $(WebCore)/English.lproj/localizedStrings.js \
722         DerivedSources/WebCore/InspectorBackendCommands.js \
723         $(shell ls $(WebCore)/inspector/front-end/*.js) \
724         $(shell ls $(WebCore)/inspector/front-end/*.html) \
725         $(shell ls $(WebCore)/inspector/front-end/*.css)
726
727 webinspectoruglifyjsdir = ${datadir}/webkitgtk-@WEBKITGTK_API_VERSION@/webinspector/UglifyJS
728 dist_webinspectoruglifyjs_DATA = \
729         $(shell ls $(WebCore)/inspector/front-end/UglifyJS/*.js)
730
731 webinspectorimagesdir = ${datadir}/webkitgtk-@WEBKITGTK_API_VERSION@/webinspector/Images
732 dist_webinspectorimages_DATA = \
733         $(shell ls $(WebCore)/inspector/front-end/Images/*.gif) \
734         $(shell ls $(WebCore)/inspector/front-end/Images/*.png)
735
736 # It seems that $(shell) does not expand when it is a rule dependency, so
737 # we must redefine this list of copied files with traditional dependency wildcards.
738 noinst_DATA = ${GENSOURCES_INSPECTOR}/inspector.html
739 ${GENSOURCES_INSPECTOR}/inspector.html: $(WebCore)/inspector/front-end/*.html \
740                 $(WebCore)/inspector/front-end/*.js \
741                 $(WebCore)/inspector/front-end/UglifyJS/*.js \
742                 $(WebCore)/inspector/front-end/*.css \
743                 $(WebCore)/inspector/front-end/Images/* \
744                 DerivedSources/WebCore/InspectorBackendCommands.js \
745                 $(WebCore)/English.lproj/localizedStrings.js
746         $(AM_V_GEN)
747         $(AM_V_at)mkdir -p ${GENSOURCES_INSPECTOR}/UglifyJS
748         $(AM_V_at)mkdir -p ${GENSOURCES_INSPECTOR}/Images
749         $(AM_V_at)cp ${dist_webinspector_DATA} ${GENSOURCES_INSPECTOR}
750         $(AM_V_at)cp ${dist_webinspectoruglifyjs_DATA} ${GENSOURCES_INSPECTOR}/UglifyJS
751         $(AM_V_at)cp ${dist_webinspectorimages_DATA} ${GENSOURCES_INSPECTOR}/Images
752
753 webresourcesdir = ${datadir}/webkitgtk-@WEBKITGTK_API_VERSION@/images
754 dist_webresources_DATA = \
755         $(WebCore)/Resources/textAreaResizeCorner.png \
756         $(WebCore)/Resources/nullPlugin.png \
757         $(WebCore)/Resources/urlIcon.png \
758         $(WebCore)/Resources/missingImage.png \
759         $(WebCore)/Resources/panIcon.png \
760         $(WebCore)/Resources/deleteButton.png \
761         $(WebCore)/Resources/inputSpeech.png