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