1 include $(srcdir)/Source/WebCore/GNUmakefile.list.am
3 WEBCORE_CSS_PROPERTY_NAMES := $(WebCore)/css/CSSPropertyNames.in
4 WEBCORE_CSS_VALUE_KEYWORDS := $(WebCore)/css/CSSValueKeywords.in
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}\"
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
132 # Windows plugin support
135 webcoregtk_cppflags += \
136 -I$(srcdir)/Source/WebCore/platform/graphics/win
137 endif # END TARGET_WIN32
140 $(GENSOURCES_WEBCORE)/XPathGrammar.h: $(GENSOURCES_WEBCORE)/XPathGrammar.cpp
141 $(GENSOURCES_WEBCORE)/XPathGrammar.cpp: $(WebCore)/xml/XPathGrammar.y
143 $(AM_V_at)perl $(WebCore)/css/makegrammar.pl --outputDir $(GENSOURCES_WEBCORE) --bison "$(BISON)" --symbolsPrefix xpathyy $<
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)"
154 # FIXME: allow a more fine-grained inclusion/generation of sources per SVG feature
157 nodist_libWebCoreSVG_la_SOURCES = \
158 $(webcore_svg_built_sources)
160 libWebCoreSVG_la_SOURCES = \
161 $(webcore_svg_sources)
163 libWebCoreSVG_la_CXXFLAGS = \
164 -fvisibility-inlines-hidden \
167 libWebCoreSVG_la_CFLAGS = \
168 -fvisibility=hidden \
171 libWebCoreSVG_la_CPPFLAGS = \
175 $(platformgtk_cppflags) \
176 $(webcore_cppflags) \
177 $(webcoregtk_cppflags) \
178 $(javascriptcore_cppflags) \
179 -fno-strict-aliasing \
185 WEBCORE_CSS_PROPERTY_NAMES += $(WebCore)/css/SVGCSSPropertyNames.in
186 WEBCORE_CSS_VALUE_KEYWORDS += $(WebCore)/css/SVGCSSValueKeywords.in
188 endif # END_ENABLE_SVG
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)"
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)"
202 if USE_TEXTURE_MAPPER_CAIRO
203 webcore_cppflags += \
204 -I$(srcdir)/Source/WebCore/platform/graphics/texmap
205 endif # END USE_TEXTURE_MAPPER_CAIRO
207 if USE_TEXTURE_MAPPER_GL
208 webcore_cppflags += \
209 -I$(srcdir)/Source/WebCore/platform/graphics/texmap
210 endif # END USETEXTURE_MAPPER_GL
213 webcore_cppflags += \
214 -I$(srcdir)/Source/WebCore/platform/clutter \
215 -I$(srcdir)/Source/WebCore/platform/graphics/clutter
216 endif # END USE_CLUTTER
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
225 $(WEBCORE_CSS_PROPERTY_NAMES): $(srcdir)/configure.ac $(srcdir)/Source/WebCore/GNUmakefile.am
227 $(WEBCORE_CSS_VALUE_KEYWORDS): $(srcdir)/configure.ac $(srcdir)/Source/WebCore/GNUmakefile.am
229 DerivedSources/WebCore/CSSPropertyNames.cpp: DerivedSources/WebCore/CSSPropertyNames.h
230 DerivedSources/WebCore/CSSPropertyNames.h: $(WEBCORE_CSS_PROPERTY_NAMES) $(WebCore)/css/makeprop.pl
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)
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
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)
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
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
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
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
262 DerivedSources/WebCore/CSSGrammar.h: $(GENSOURCES_WEBCORE)/CSSGrammar.cpp
263 DerivedSources/WebCore/CSSGrammar.cpp: $(WebCore)/css/CSSGrammar.y.in
265 $(AM_V_at)perl -I $(WebCore)/bindings/scripts $(WebCore)/css/makegrammar.pl --extraDefines "$(feature_defines)" --outputDir $(GENSOURCES_WEBCORE) --bison "$(BISON)" --symbolsPrefix cssyy $<
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
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
288 SCRIPTS_FOR_PREPROCESS_IDLS = \
289 $(WebCore)/bindings/scripts/preprocess-idls.pl
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)
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)"
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)"
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)"
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)"
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)"
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)"
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)"
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)"
327 dom_binding_idls += \
328 DerivedSources/WebCore/InternalSettingsGenerated.idl
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
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
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
356 # ANGLE tokenizer & parser
357 DerivedSources/ANGLE/glslang.cpp: Source/ThirdParty/ANGLE/src/compiler/glslang.l
358 $(AM_V_GEN)$(FLEX) --noline --nounistd --outfile="$@" "$<"
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
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 \
382 $(WebCore)/html/canvas \
383 $(WebCore)/html/shadow \
384 $(WebCore)/html/track \
385 $(WebCore)/inspector \
386 $(WebCore)/loader/appcache \
395 vpath %.idl $(IDL_PATH)
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
402 $(supplemental_dependency_file): $(SCRIPTS_FOR_PREPROCESS_IDLS) $(dom_binding_idls)
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 $@
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;
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) $<
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) $<
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)
428 noinst_LTLIBRARIES += \
429 libWebCorePlatform.la \
430 libWebCoreModules.la \
433 if ENABLE_INDEXED_DATABASE
434 noinst_LTLIBRARIES += \
439 noinst_LTLIBRARIES += \
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
448 webcoremodules_lib_for_dep = libWebcoreModules.la
449 $(webcoremodules_lib_for_dep): $(srcdir)/Source/WebCore/GNUmakefile.am $(srcdir)/Source/WebCore/GNUmakefile.list.am
451 webcoreplatform_lib_for_dep = libWebcorePlatform.la
452 $(webcoreplatform_lib_for_dep): $(srcdir)/Source/WebCore/GNUmakefile.am $(srcdir)/Source/WebCore/GNUmakefile.list.am
454 webcoresvg_lib_for_dep = libWebCoreSVG.la
455 $(webcoresvg_lib_for_dep): $(srcdir)/Source/WebCore/GNUmakefile.am $(srcdir)/Source/WebCore/GNUmakefile.list.am
457 nodist_EXTRA_libWebCore_la_SOURCES = \
458 $(webcore_built_nosources)
460 nodist_libWebCore_la_SOURCES = \
461 $(webcore_built_sources)
463 libWebCore_la_SOURCES = \
466 libWebCore_la_CXXFLAGS = \
467 -fvisibility-inlines-hidden \
470 libWebCore_la_CFLAGS = \
471 -fvisibility=hidden \
474 libWebCore_la_CPPFLAGS = \
478 $(platformgtk_cppflags) \
479 $(webcore_cppflags) \
480 $(webcoregtk_cppflags) \
481 $(javascriptcore_cppflags) \
482 -fno-strict-aliasing \
491 $(GSTREAMER_CFLAGS) \
492 $(LIBSECRET_CFLAGS) \
503 # PluginPackageWin.cpp needs the symbols from version dll
504 libWebCore_la_LIBADD = -lversion
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)
513 libLevelDB_la_CXXFLAGS = $(global_cxxflags)
514 libLevelDB_la_CFLAGS = $(global_cxflags)
515 libLevelDB_la_CPPFLAGS = \
517 -fno-builtin-memcmp \
518 -I$(srcdir)/Source/ThirdParty/leveldb \
519 -I$(srcdir)/Source/ThirdParty/leveldb/include
522 libLevelDB_la_CPPFLAGS += \
525 libLevelDB_la_CPPFLAGS += \
528 -DLEVELDB_PLATFORM_POSIX
531 libWebCorePlatform_la_SOURCES = \
532 $(webcore_platform_sources)
533 libWebCorePlatform_la_CXXFLAGS = \
534 -fvisibility-inlines-hidden \
536 libWebCorePlatform_la_CFLAGS = \
537 -fvisibility=hidden \
539 libWebCorePlatform_la_CPPFLAGS = \
542 $(platformgtk_cppflags) \
543 $(webcore_cppflags) \
544 $(webcoregtk_cppflags) \
545 $(javascriptcore_cppflags) \
546 -fno-strict-aliasing \
555 $(GSTREAMER_CFLAGS) \
556 $(LIBSECRET_CFLAGS) \
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 += \
574 libWebCoreGtk_la_SOURCES = \
575 $(webcoregtk_sources)
577 libWebCoreGtk_la_CXXFLAGS = \
578 -fvisibility-inlines-hidden \
581 libWebCoreGtk_la_CFLAGS = \
582 -fvisibility=hidden \
585 libWebCoreGtk_la_CPPFLAGS = \
589 $(platformgtk_cppflags) \
590 $(webcore_cppflags) \
591 $(webcoregtk_cppflags) \
592 $(javascriptcore_cppflags) \
593 -fno-strict-aliasing \
604 $(GSTREAMER_CFLAGS) \
607 $(LIBSECRET_CFLAGS) \
613 $(XCOMPOSITE_CFLAGS) \
619 $(wildcard $(srcdir)/Source/WebCore/Modules/filesystem/*.idl) \
620 $(wildcard $(srcdir)/Source/WebCore/Modules/gamepad/*.idl) \
621 $(wildcard $(srcdir)/Source/WebCore/Modules/geolocation/*.idl) \
622 $(wildcard $(srcdir)/Source/WebCore/Modules/indexeddb/*.idl) \
623 $(wildcard $(srcdir)/Source/WebCore/Modules/mediasource/*.idl) \
624 $(wildcard $(srcdir)/Source/WebCore/Modules/mediastream/*.idl) \
625 $(wildcard $(srcdir)/Source/WebCore/Modules/navigatorcontentutils/*.idl) \
626 $(wildcard $(srcdir)/Source/WebCore/Modules/notifications/*.idl) \
627 $(wildcard $(srcdir)/Source/WebCore/Modules/proximity/*.idl) \
628 $(wildcard $(srcdir)/Source/WebCore/Modules/quota/*.idl) \
629 $(wildcard $(srcdir)/Source/WebCore/Modules/webaudio/*.idl) \
630 $(wildcard $(srcdir)/Source/WebCore/Modules/webdatabase/*.idl) \
631 $(wildcard $(srcdir)/Source/WebCore/Modules/websockets/*.idl) \
632 $(wildcard $(srcdir)/Source/WebCore/css/*.idl) \
633 $(wildcard $(srcdir)/Source/WebCore/dom/*.idl) \
634 $(wildcard $(srcdir)/Source/WebCore/fileapi/*.idl) \
635 $(wildcard $(srcdir)/Source/WebCore/html/canvas/*.idl) \
636 $(wildcard $(srcdir)/Source/WebCore/html/shadow/*.idl) \
637 $(wildcard $(srcdir)/Source/WebCore/html/track/*.idl) \
638 $(wildcard $(srcdir)/Source/WebCore/html/*.idl) \
639 $(wildcard $(srcdir)/Source/WebCore/inspector/*.idl) \
640 $(wildcard $(srcdir)/Source/WebCore/loader/appcache/*.idl) \
641 $(wildcard $(srcdir)/Source/WebCore/page/*.idl) \
642 $(wildcard $(srcdir)/Source/WebCore/platform/gtk/po/*) \
643 $(wildcard $(srcdir)/Source/WebCore/plugins/*.idl) \
644 $(wildcard $(srcdir)/Source/WebCore/storage/*.idl) \
645 $(wildcard $(srcdir)/Source/WebCore/svg/*.idl) \
646 $(wildcard $(srcdir)/Source/WebCore/testing/*.idl) \
647 $(wildcard $(srcdir)/Source/WebCore/workers/*.idl) \
648 $(wildcard $(srcdir)/Source/WebCore/xml/*.idl) \
649 Source/ThirdParty/ANGLE/src/compiler/glslang.l \
650 Source/ThirdParty/ANGLE/src/compiler/glslang.y \
651 Source/WebCore/bindings/scripts/CodeGeneratorGObject.pm \
652 Source/WebCore/bindings/scripts/CodeGeneratorJS.pm \
653 Source/WebCore/bindings/scripts/CodeGenerator.pm \
654 Source/WebCore/bindings/scripts/IDLAttributes.txt \
655 Source/WebCore/bindings/scripts/IDLParser.pm \
656 Source/WebCore/bindings/scripts/InFilesCompiler.pm \
657 Source/WebCore/bindings/scripts/InFilesParser.pm \
658 Source/WebCore/bindings/scripts/generate-bindings.pl \
659 Source/WebCore/bindings/scripts/gobject-generate-headers.pl \
660 Source/WebCore/bindings/scripts/preprocessor.pm \
661 Source/WebCore/bindings/scripts/preprocess-idls.pl \
662 Source/WebCore/ChangeLog \
663 Source/WebCore/css/CSSGrammar.y.in \
664 Source/WebCore/css/CSSGrammar.y.includes \
665 Source/WebCore/css/CSSPropertyNames.in \
666 Source/WebCore/css/CSSValueKeywords.in \
667 Source/WebCore/dom/DOMExceptions.in \
668 Source/WebCore/css/fullscreen.css \
669 Source/WebCore/css/fullscreenQuickTime.css \
670 Source/WebCore/css/html.css \
671 Source/WebCore/css/make-css-file-arrays.pl \
672 Source/WebCore/css/makegrammar.pl \
673 Source/WebCore/css/makeprop.pl \
674 Source/WebCore/css/maketokenizer \
675 Source/WebCore/css/makevalues.pl \
676 Source/WebCore/css/mathml.css \
677 Source/WebCore/css/mediaControls.css \
678 Source/WebCore/css/mediaControlsGtk.css \
679 Source/WebCore/css/plugIns.css \
680 Source/WebCore/css/quirks.css \
681 Source/WebCore/css/svg.css \
682 Source/WebCore/css/SVGCSSPropertyNames.in \
683 Source/WebCore/css/SVGCSSValueKeywords.in \
684 Source/WebCore/css/view-source.css \
685 Source/WebCore/css/WebKitFontFamilyNames.in \
686 Source/WebCore/dom/EventNames.in \
687 Source/WebCore/dom/EventTargetFactory.in \
688 Source/WebCore/dom/make_dom_exceptions.pl \
689 Source/WebCore/dom/make_event_factory.pl \
690 Source/WebCore/dom/make_names.pl \
691 Source/WebCore/html/HTMLAttributeNames.in \
692 Source/WebCore/html/HTMLTagNames.in \
693 Source/WebCore/html/parser/create-html-entity-table \
694 Source/WebCore/html/parser/HTMLEntityNames.in \
695 Source/WebCore/icu/LICENSE \
696 Source/WebCore/inspector/CodeGeneratorInspector.py \
697 Source/WebCore/inspector/CodeGeneratorInspectorStrings.py \
698 Source/WebCore/inspector/InjectedScriptCanvasModuleSource.js \
699 Source/WebCore/inspector/InjectedScriptSource.js \
700 Source/WebCore/inspector/Inspector.json \
701 Source/WebCore/inspector/Inspector-1.0.json \
702 Source/WebCore/inspector/InspectorOverlayPage.html \
703 Source/WebCore/inspector/generate-inspector-protocol-version \
704 Source/WebCore/inspector/xxd.pl \
705 Source/WebCore/LICENSE-APPLE \
706 Source/WebCore/LICENSE-LGPL-2 \
707 Source/WebCore/LICENSE-LGPL-2.1 \
708 Source/WebCore/make-hash-tools.pl \
709 Source/WebCore/mathml/mathattrs.in \
710 Source/WebCore/mathml/mathtags.in \
711 Source/WebCore/page/make_settings.pl \
712 Source/WebCore/page/Settings.in \
713 Source/WebCore/platform/ColorData.gperf \
714 Source/WebCore/platform/text/mac/make-charset-table.pl \
715 Source/WebCore/svg/svgattrs.in \
716 Source/WebCore/svg/svgtags.in \
717 Source/WebCore/svg/xlinkattrs.in \
718 Source/WebCore/xml/xmlattrs.in \
719 Source/WebCore/xml/xmlnsattrs.in \
720 Source/WebCore/xml/XMLViewer.css \
721 Source/WebCore/xml/XMLViewer.js \
722 Source/WebCore/xml/XPathGrammar.y
724 # Installing web inspector files
725 webinspectordir = ${datadir}/webkitgtk-@WEBKITGTK_API_VERSION@/webinspector
726 dist_webinspector_DATA = \
727 $(WebCore)/English.lproj/localizedStrings.js \
728 DerivedSources/WebCore/InspectorBackendCommands.js \
729 $(shell ls $(WebCore)/inspector/front-end/*.js) \
730 $(shell ls $(WebCore)/inspector/front-end/*.html) \
731 $(shell ls $(WebCore)/inspector/front-end/*.css)
733 webinspectoruglifyjsdir = ${datadir}/webkitgtk-@WEBKITGTK_API_VERSION@/webinspector/UglifyJS
734 dist_webinspectoruglifyjs_DATA = \
735 $(shell ls $(WebCore)/inspector/front-end/UglifyJS/*.js)
737 webinspectorimagesdir = ${datadir}/webkitgtk-@WEBKITGTK_API_VERSION@/webinspector/Images
738 dist_webinspectorimages_DATA = \
739 $(shell ls $(WebCore)/inspector/front-end/Images/*.gif) \
740 $(shell ls $(WebCore)/inspector/front-end/Images/*.png)
742 # It seems that $(shell) does not expand when it is a rule dependency, so
743 # we must redefine this list of copied files with traditional dependency wildcards.
744 noinst_DATA = ${GENSOURCES_INSPECTOR}/inspector.html
745 ${GENSOURCES_INSPECTOR}/inspector.html: $(WebCore)/inspector/front-end/*.html \
746 $(WebCore)/inspector/front-end/*.js \
747 $(WebCore)/inspector/front-end/UglifyJS/*.js \
748 $(WebCore)/inspector/front-end/*.css \
749 $(WebCore)/inspector/front-end/Images/* \
750 DerivedSources/WebCore/InspectorBackendCommands.js \
751 $(WebCore)/English.lproj/localizedStrings.js
753 $(AM_V_at)mkdir -p ${GENSOURCES_INSPECTOR}/UglifyJS
754 $(AM_V_at)mkdir -p ${GENSOURCES_INSPECTOR}/Images
755 $(AM_V_at)cp ${dist_webinspector_DATA} ${GENSOURCES_INSPECTOR}
756 $(AM_V_at)cp ${dist_webinspectoruglifyjs_DATA} ${GENSOURCES_INSPECTOR}/UglifyJS
757 $(AM_V_at)cp ${dist_webinspectorimages_DATA} ${GENSOURCES_INSPECTOR}/Images
759 webresourcesdir = ${datadir}/webkitgtk-@WEBKITGTK_API_VERSION@/images
760 dist_webresources_DATA = \
761 $(WebCore)/Resources/textAreaResizeCorner.png \
762 $(WebCore)/Resources/nullPlugin.png \
763 $(WebCore)/Resources/urlIcon.png \
764 $(WebCore)/Resources/missingImage.png \
765 $(WebCore)/Resources/panIcon.png \
766 $(WebCore)/Resources/deleteButton.png \
767 $(WebCore)/Resources/inputSpeech.png