1 include $(srcdir)/Source/WebCore/GNUmakefile.list.am
6 WEBCORE_CSS_PROPERTY_NAMES := $(WebCore)/css/CSSPropertyNames.in
7 WEBCORE_CSS_VALUE_KEYWORDS := $(WebCore)/css/CSSValueKeywords.in
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/notifications \
21 -I$(srcdir)/Source/WebCore/Modules/protocolhandler \
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/bindings/js/specialization \
30 -I$(srcdir)/Source/WebCore/bridge \
31 -I$(srcdir)/Source/WebCore/bridge/c \
32 -I$(srcdir)/Source/WebCore/bridge/jni/jsc \
33 -I$(srcdir)/Source/WebCore/bridge/jsc \
34 -I$(srcdir)/Source/WebCore/css \
35 -I$(srcdir)/Source/WebCore/dom \
36 -I$(srcdir)/Source/WebCore/dom/default \
37 -I$(srcdir)/Source/WebCore/editing \
38 -I$(srcdir)/Source/WebCore/fileapi \
39 -I$(srcdir)/Source/WebCore/history \
40 -I$(srcdir)/Source/WebCore/html \
41 -I$(srcdir)/Source/WebCore/html/canvas \
42 -I$(srcdir)/Source/WebCore/html/parser \
43 -I$(srcdir)/Source/WebCore/html/shadow \
44 -I$(srcdir)/Source/WebCore/html/track \
45 -I$(srcdir)/Source/WebCore/inspector \
46 -I$(srcdir)/Source/WebCore/loader \
47 -I$(srcdir)/Source/WebCore/loader/appcache \
48 -I$(srcdir)/Source/WebCore/loader/archive \
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/filters \
60 -I$(srcdir)/Source/WebCore/platform/graphics/filters/arm \
61 -I$(srcdir)/Source/WebCore/platform/graphics/gpu \
62 -I$(srcdir)/Source/WebCore/platform/graphics/opengl \
63 -I$(srcdir)/Source/WebCore/platform/graphics/opentype \
64 -I$(srcdir)/Source/WebCore/platform/graphics/transforms \
65 -I$(srcdir)/Source/WebCore/platform/image-decoders \
66 -I$(srcdir)/Source/WebCore/platform/image-decoders/bmp \
67 -I$(srcdir)/Source/WebCore/platform/image-decoders/gif \
68 -I$(srcdir)/Source/WebCore/platform/image-decoders/ico \
69 -I$(srcdir)/Source/WebCore/platform/image-decoders/jpeg \
70 -I$(srcdir)/Source/WebCore/platform/image-decoders/webp \
71 -I$(srcdir)/Source/WebCore/platform/image-decoders/png \
72 -I$(srcdir)/Source/WebCore/platform/leveldb \
73 -I$(srcdir)/Source/WebCore/platform/linux \
74 -I$(srcdir)/Source/WebCore/platform/mediastream \
75 -I$(srcdir)/Source/WebCore/platform/mediastream/gstreamer \
76 -I$(srcdir)/Source/WebCore/platform/mock \
77 -I$(srcdir)/Source/WebCore/platform/network \
78 -I$(srcdir)/Source/WebCore/platform/sql \
79 -I$(srcdir)/Source/WebCore/platform/text \
80 -I$(srcdir)/Source/WebCore/platform/text/transcoder \
81 -I$(srcdir)/Source/WebCore/platform/win \
82 -I$(srcdir)/Source/WebCore/plugins \
83 -I$(srcdir)/Source/WebCore/plugins/win \
84 -I$(srcdir)/Source/WebCore/rendering \
85 -I$(srcdir)/Source/WebCore/rendering/mathml \
86 -I$(srcdir)/Source/WebCore/rendering/style \
87 -I$(srcdir)/Source/WebCore/rendering/svg \
88 -I$(srcdir)/Source/WebCore/storage \
89 -I$(srcdir)/Source/WebCore/svg \
90 -I$(srcdir)/Source/WebCore/svg/animation \
91 -I$(srcdir)/Source/WebCore/svg/graphics \
92 -I$(srcdir)/Source/WebCore/svg/graphics/filters \
93 -I$(srcdir)/Source/WebCore/svg/properties \
94 -I$(srcdir)/Source/WebCore/testing \
95 -I$(srcdir)/Source/WebCore/testing/js \
96 -I$(srcdir)/Source/WebCore/websockets \
97 -I$(srcdir)/Source/WebCore/workers \
98 -I$(srcdir)/Source/WebCore/xml \
99 -I$(srcdir)/Source/WebCore/xml/parser \
100 -I$(top_builddir)/WebCore/bindings/js \
101 -I$(top_builddir)/DerivedSources/WebCore \
102 -I$(top_builddir)/DerivedSources \
103 -I$(top_builddir)/DerivedSources/JavaScriptCore \
104 -DDATA_DIR=\"${datadir}\"
106 webcoregtk_cppflags += \
107 -DWEBKITGTK_API_VERSION_STRING=\"@WEBKITGTK_API_VERSION@\" \
109 -I$(srcdir)/Source/WebCore/accessibility/gtk \
110 -I$(srcdir)/Source/WebCore/loader/gtk \
111 -I$(srcdir)/Source/WebCore/page/gtk \
112 -I$(srcdir)/Source/WebCore/platform/cairo \
113 -I$(srcdir)/Source/WebCore/platform/audio/gstreamer \
114 -I$(srcdir)/Source/WebCore/platform/geoclue \
115 -I$(srcdir)/Source/WebCore/platform/graphics/cairo \
116 -I$(srcdir)/Source/WebCore/platform/graphics/glx \
117 -I$(srcdir)/Source/WebCore/platform/graphics/gstreamer \
118 -I$(srcdir)/Source/WebCore/platform/graphics/gtk \
119 -I$(srcdir)/Source/WebCore/platform/gtk \
120 -I$(srcdir)/Source/WebCore/platform/network/soup \
121 -I$(srcdir)/Source/WebCore/platform/text/enchant
124 # Features enabled by default at compilation time
126 FEATURE_DEFINES += ENABLE_SMOOTH_SCROLLING=1
127 webcore_cppflags += -DENABLE_SMOOTH_SCROLLING=1
130 # Channel mesaging support
132 if ENABLE_CHANNEL_MESSAGING
133 FEATURE_DEFINES += ENABLE_CHANNEL_MESSAGING=1
134 webcore_cppflags += -DENABLE_CHANNEL_MESSAGING=1
135 endif # END ENABLE_CHANNEL_MESSAGING
138 # Fast Mobile Scrolling
140 if ENABLE_FAST_MOBILE_SCROLLING
141 FEATURE_DEFINES += ENABLE_FAST_MOBILE_SCROLLING=1
142 webcore_cppflags += -DENABLE_FAST_MOBILE_SCROLLING=1
143 endif # END ENABLE_FAST_MOBILE_SCROLLING
146 # FreeType font backend
149 webcoregtk_cppflags += \
150 -DWTF_USE_FREETYPE=1 \
151 -I$(srcdir)/Source/WebCore/platform/graphics/freetype
152 endif # END USE_FREETYPE
158 webcoregtk_cppflags += \
160 -I$(srcdir)/Source/WebCore/platform/graphics/pango
161 endif # END USE_PANGO
164 # Windows plugin support
167 webcoregtk_cppflags += \
168 -I$(srcdir)/Source/WebCore/platform/graphics/win
169 endif # END TARGET_WIN32
172 # HTML Details Element
174 if ENABLE_DETAILS_ELEMENT
175 FEATURE_DEFINES += ENABLE_DETAILS_ELEMENT=1
176 webcore_cppflags += -DENABLE_DETAILS_ELEMENT=1
177 endif # END ENABLE_DETAILS_ELEMENT
182 if ENABLE_METER_ELEMENT
183 FEATURE_DEFINES += ENABLE_METER_ELEMENT=1
184 webcore_cppflags += -DENABLE_METER_ELEMENT=1
185 endif # END ENABLE_METER_ELEMENT
188 # HTML Progress Element
190 if ENABLE_PROGRESS_ELEMENT
191 FEATURE_DEFINES += ENABLE_PROGRESS_ELEMENT=1
192 webcore_cppflags += -DENABLE_PROGRESS_ELEMENT=1
193 endif # END ENABLE_PROGRESS_ELEMENT
196 # JavaScript Debugger/Profiler
198 if ENABLE_JAVASCRIPT_DEBUGGER
199 FEATURE_DEFINES += ENABLE_JAVASCRIPT_DEBUGGER=1
200 webcore_cppflags += -DENABLE_JAVASCRIPT_DEBUGGER=1
202 webcore_cppflags += -DENABLE_JAVASCRIPT_DEBUGGER=0
203 endif # END ENABLE_JAVASCRIPT_DEBUGGER
209 FEATURE_DEFINES += ENABLE_GAMEPAD=1
210 webcore_cppflags += -DENABLE_GAMEPAD=1
212 webcore_cppflags += -DENABLE_GAMEPAD=0
213 endif # END ENABLE_GAMEPAD
218 if ENABLE_SQL_DATABASE
219 FEATURE_DEFINES += ENABLE_SQL_DATABASE=1
220 webcore_cppflags += -DENABLE_SQL_DATABASE=1
222 webcore_cppflags += -DENABLE_SQL_DATABASE=0
223 endif # END ENABLE_SQL_DATABASE
226 # HTML5 datalist Support
228 if ENABLE_DATALIST_ELEMENT
229 FEATURE_DEFINES += ENABLE_DATALIST_ELEMENT=1
230 HTML_FEATURES += ENABLE_DATALIST_ELEMENT=1
231 webcore_cppflags += -DENABLE_DATALIST_ELEMENT=1
232 endif # END ENABLE_DATALIST_ELEMENT
235 # HTML5 data transfer items support
237 if ENABLE_DATA_TRANSFER_ITEMS
238 FEATURE_DEFINES += ENABLE_DATA_TRANSFER_ITEMS=1
239 webcore_cppflags += -DENABLE_DATA_TRANSFER_ITEMS=1
240 endif # END ENABLE_DATA_TRANSFER_ITEMS
243 # HTML5 <style scoped> support
245 if ENABLE_STYLE_SCOPED
246 FEATURE_DEFINES += ENABLE_STYLE_SCOPED=1
247 webcore_cppflags += -DENABLE_STYLE_SCOPED=1
248 endif # END ENABLE_STYLE_SCOPED
251 # Indexed Database API support
253 if ENABLE_INDEXED_DATABASE
254 FEATURE_DEFINES += ENABLE_INDEXED_DATABASE=1
255 webcore_cppflags += -DENABLE_INDEXED_DATABASE=1
256 endif # END ENABLE_INDEXED_DATABASE
259 webcore_cppflags += -DWTF_USE_LEVELDB
260 endif # END USE_LEVELDB
263 # Support for <input type="file" directory>
265 if ENABLE_DIRECTORY_UPLOAD
266 FEATURE_DEFINES += ENABLE_DIRECTORY_UPLOAD=1
267 webcore_cppflags += -DENABLE_DIRECTORY_UPLOAD=1
269 webcore_cppflags += -DENABLE_DIRECTORY_UPLOAD=0
270 endif # END ENABLE_DIRECTORY_UPLOAD
273 # DOM mutation observer support
275 if ENABLE_MUTATION_OBSERVERS
276 FEATURE_DEFINES += ENABLE_MUTATION_OBSERVERS=1
277 webcore_cppflags += -DENABLE_MUTATION_OBSERVERS=1
278 endif # END ENABLE_MUTATION_OBSERVERS
281 # FileSystem API support
283 if ENABLE_FILE_SYSTEM
284 FEATURE_DEFINES += ENABLE_FILE_SYSTEM=1
285 webcore_cppflags += -DENABLE_FILE_SYSTEM=1
286 endif # END ENABLE_FILE_SYSTEM
292 FEATURE_DEFINES += ENABLE_QUOTA=1
293 webcore_cppflags += -DENABLE_QUOTA=1
294 endif # END ENABLE_QUOTA
299 if ENABLE_TOUCH_ICON_LOADING
300 FEATURE_DEFINES += ENABLE_TOUCH_ICON_LOADING=1
301 webcore_cppflags += -DENABLE_TOUCH_ICON_LOADING=1
303 webcore_cppflags += -DENABLE_TOUCH_ICON_LOADING=0
304 endif # END ENABLE_TOUCH_ICON_LOADING
307 # Color Input API support
309 if ENABLE_INPUT_TYPE_COLOR
310 FEATURE_DEFINES += ENABLE_INPUT_TYPE_COLOR=1
311 webcore_cppflags += -DENABLE_INPUT_TYPE_COLOR=1
313 webcore_cppflags += -DENABLE_INPUT_TYPE_COLOR=0
314 endif # END ENABLE_INPUT_TYPE_COLOR
317 # Speech Input API support
319 if ENABLE_INPUT_SPEECH
320 FEATURE_DEFINES += ENABLE_INPUT_SPEECH=1
321 webcore_cppflags += -DENABLE_INPUT_SPEECH=1
323 webcore_cppflags += -DENABLE_INPUT_SPEECH=0
324 endif # END ENABLE_INPUT_SPEECH
327 # Scripted Speech API support
329 if ENABLE_SCRIPTED_SPEECH
330 FEATURE_DEFINES += ENABLE_SCRIPTED_SPEECH=1
331 webcore_cppflags += -DENABLE_SCRIPTED_SPEECH=1
333 webcore_cppflags += -DENABLE_SCRIPTED_SPEECH=0
334 endif # END ENABLE_SCRIPTED_SPEECH
337 # Icon Database Support
339 if ENABLE_ICONDATABASE
340 webcore_cppflags += -DENABLE_ICONDATABASE=1
342 webcore_cppflags += -DENABLE_ICONDATABASE=0
343 endif # END ENABLE_ICONDATABASE
348 if ENABLE_ORIENTATION_EVENTS
349 FEATURE_DEFINES += ENABLE_ORIENTATION_EVENTS=1
350 webcore_cppflags += -DENABLE_ORIENTATION_EVENTS=1
351 endif # END ENABLE_ORIENTATION_EVENTS
357 FEATURE_DEFINES += ENABLE_VIDEO=1
358 HTML_FEATURES += ENABLE_VIDEO=1
359 webcore_cppflags += -DENABLE_VIDEO=1
363 webcore_cppflags += -DGST_DISABLE_DEPRECATED
364 endif # END ENABLE_DEBUG
365 endif # END USE_GSTREAMER
366 endif # END ENABLE_VIDEO
369 # Media Source Support
371 if ENABLE_MEDIA_SOURCE
372 FEATURE_DEFINES += ENABLE_MEDIA_SOURCE=1
373 webcore_cppflags += -DENABLE_MEDIA_SOURCE=1
375 webcore_cppflags += -DENABLE_MEDIA_SOURCE=0
376 endif # END ENABLE_MEDIA_SOURCE
379 # Media Statistics Support
381 if ENABLE_MEDIA_STATISTICS
382 FEATURE_DEFINES += ENABLE_MEDIA_STATISTICS=1
383 webcore_cppflags += -DENABLE_MEDIA_STATISTICS=1
385 webcore_cppflags += -DENABLE_MEDIA_STATISTICS=0
386 endif # END ENABLE_MEDIA_STATISTICS
389 # Javascript Fullscreen Support
391 if ENABLE_FULLSCREEN_API
392 FEATURE_DEFINES += ENABLE_FULLSCREEN_API=1
393 webcore_cppflags += -DENABLE_FULLSCREEN_API=1
394 endif # END ENABLE_FULLSCREEN_API
399 if ENABLE_VIDEO_TRACK
400 FEATURE_DEFINES += ENABLE_VIDEO_TRACK=1
401 webcore_cppflags += -DENABLE_VIDEO_TRACK=1
403 webcore_cppflags += -DENABLE_VIDEO_TRACK=0
404 endif # END ENABLE_VIDEO_TRACK
407 # Media Stream Support
409 if ENABLE_MEDIA_STREAM
410 FEATURE_DEFINES += ENABLE_MEDIA_STREAM=1
411 webcore_cppflags += -DENABLE_MEDIA_STREAM=1
413 webcore_cppflags += -DENABLE_MEDIA_STREAM=0
414 endif # END ENABLE_MEDIA_STREAM
417 # NOTE: older versions of bison do not inject an inclusion guard, so we do it
418 $(GENSOURCES_WEBCORE)/XPathGrammar.h: $(GENSOURCES_WEBCORE)/XPathGrammar.cpp
419 $(GENSOURCES_WEBCORE)/XPathGrammar.cpp: $(WebCore)/xml/XPathGrammar.y
421 $(AM_V_at)rm -f $(GENSOURCES_WEBCORE)/XPathGrammar.cpp.h $(GENSOURCES_WEBCORE)/XPathGrammar.hpp
422 $(AM_V_at)$(BISON) -d -p xpathyy $< -o $(GENSOURCES_WEBCORE)/XPathGrammar.cpp
423 $(AM_V_at)touch $(GENSOURCES_WEBCORE)/XPathGrammar.cpp.h $(GENSOURCES_WEBCORE)/XPathGrammar.hpp
424 $(AM_V_at)echo '#ifndef XPathGrammar_h' > $(GENSOURCES_WEBCORE)/XPathGrammar.h
425 $(AM_V_at)echo '#define XPathGrammar_h' >> $(GENSOURCES_WEBCORE)/XPathGrammar.h
426 $(AM_V_at)cat $(GENSOURCES_WEBCORE)/XPathGrammar.cpp.h $(GENSOURCES_WEBCORE)/XPathGrammar.hpp >> $(GENSOURCES_WEBCORE)/XPathGrammar.h
427 $(AM_V_at)echo '#endif' >> $(GENSOURCES_WEBCORE)/XPathGrammar.h
428 $(AM_V_at)rm -f $(GENSOURCES_WEBCORE)/XPathGrammar.cpp.h $(GENSOURCES_WEBCORE)/XPathGrammar.hpp
434 FEATURE_DEFINES += ENABLE_XSLT=1
435 webcore_cppflags += -DENABLE_XSLT=1
436 endif # END ENABLE_XSLT
439 # Web Workers support
442 FEATURE_DEFINES += ENABLE_WORKERS=1
443 webcore_cppflags += -DENABLE_WORKERS=1
450 FEATURE_DEFINES += ENABLE_SHADOW_DOM=1
451 webcore_cppflags += -DENABLE_SHADOW_DOM=1
455 # SharedWorker support
457 if ENABLE_SHARED_WORKERS
458 FEATURE_DEFINES += ENABLE_SHARED_WORKERS=1
459 webcore_cppflags += -DENABLE_SHARED_WORKERS=1
466 FEATURE_DEFINES += ENABLE_FILTERS=1
467 webcore_cppflags += -DENABLE_FILTERS=1
469 SVG_FEATURES += ENABLE_FILTERS=1
472 endif # END ENABLE_FILTERS
475 # CSS box decoration break
477 if ENABLE_CSS_BOX_DECORATION_BREAK
478 FEATURE_DEFINES += ENABLE_CSS_BOX_DECORATION_BREAK=1
479 webcore_cppflags += -DENABLE_CSS_BOX_DECORATION_BREAK=1
481 endif # END ENABLE_CSS_BOX_DECORATION_BREAK
486 if ENABLE_CSS_REGIONS
487 FEATURE_DEFINES += ENABLE_CSS_REGIONS=1
488 webcore_cppflags += -DENABLE_CSS_REGIONS=1
490 endif # END ENABLE_CSS_REGIONS
495 if ENABLE_CSS_FILTERS
496 FEATURE_DEFINES += ENABLE_CSS_FILTERS=1
497 webcore_cppflags += -DENABLE_CSS_FILTERS=1
499 endif # END ENABLE_CSS_FILTERS
504 if ENABLE_CSS_COMPOSITING
505 FEATURE_DEFINES += ENABLE_CSS_COMPOSITING=1
506 webcore_cppflags += -DENABLE_CSS_COMPOSITING=1
508 SVG_FEATURES += ENABLE_CSS_COMPOSITING=1
511 endif # END ENABLE_CSS_COMPOSITING
516 if ENABLE_CSS_EXCLUSIONS
517 FEATURE_DEFINES += ENABLE_CSS_EXCLUSIONS=1
518 webcore_cppflags += -DENABLE_CSS_EXCLUSIONS=1
520 endif # END ENABLE_CSS_EXCLUSIONS
525 if ENABLE_GEOLOCATION
527 FEATURE_DEFINES += ENABLE_GEOLOCATION=1
528 webcore_cppflags += -DENABLE_GEOLOCATION=1
529 endif # END ENABLE_GEOLOCATION
535 FEATURE_DEFINES += ENABLE_MATHML=1
536 webcore_cppflags += -DENABLE_MATHML=1
537 endif # END ENABLE_MATHML
539 # MathML tag and attribute names, and element factory
540 DerivedSources/WebCore/MathMLElementFactory.h: DerivedSources/WebCore/MathMLElementFactory.cpp
541 DerivedSources/WebCore/MathMLNames.h: DerivedSources/WebCore/MathMLNames.cpp
542 DerivedSources/WebCore/MathMLElementFactory.cpp DerivedSources/WebCore/MathMLNames.cpp: $(WebCore)/dom/make_names.pl $(WebCore)/mathml/mathtags.in $(WebCore)/mathml/mathattrs.in
543 $(AM_V_GEN)$(PERL) -I$(WebCore)/bindings/scripts $< --tags $(WebCore)/mathml/mathtags.in --attrs $(WebCore)/mathml/mathattrs.in --factory --wrapperFactory --outputDir "$(GENSOURCES_WEBCORE)"
546 # Notifications support
548 if ENABLE_NOTIFICATIONS
549 FEATURE_DEFINES += ENABLE_NOTIFICATIONS=1 ENABLE_LEGACY_NOTIFICATIONS=1
550 webcore_cppflags += -DENABLE_NOTIFICATIONS=1 -DENABLE_LEGACY_NOTIFICATIONS=1
551 endif # END ENABLE_NOTIFICATIONS
556 # FIXME: allow a more fine-grained inclusion/generation of sources per SVG feature
559 FEATURE_DEFINES += ENABLE_SVG=1
560 webcore_cppflags += -DENABLE_SVG=1
561 WEBCORE_CSS_PROPERTY_NAMES += $(WebCore)/css/SVGCSSPropertyNames.in
562 WEBCORE_CSS_VALUE_KEYWORDS += $(WebCore)/css/SVGCSSValueKeywords.in
566 FEATURE_DEFINES += ENABLE_SVG_FONTS=1
567 SVG_FEATURES += ENABLE_SVG_FONTS=1
568 webcore_cppflags += -DENABLE_SVG_FONTS=1
571 endif # END ENABLE_SVG
573 # SVG tag and attribute names (need to pass an extra flag if svg experimental features are enabled)
574 DerivedSources/WebCore/SVGNames.cpp: DerivedSources/WebCore/SVGElementFactory.cpp
575 DerivedSources/WebCore/JSSVGElementWrapperFactory.cpp: DerivedSources/WebCore/SVGElementFactory.cpp
578 DerivedSources/WebCore/SVGElementFactory.cpp: $(WebCore)/dom/make_names.pl $(WebCore)/svg/svgtags.in $(WebCore)/svg/svgattrs.in
579 $(AM_V_GEN)$(PERL) -I$(WebCore)/bindings/scripts $< --tags $(WebCore)/svg/svgtags.in --attrs $(WebCore)/svg/svgattrs.in --extraDefines "$(SVG_FEATURES)" --factory --wrapperFactory --outputDir "$(GENSOURCES_WEBCORE)"
581 DerivedSources/WebCore/SVGElementFactory.cpp: $(WebCore)/dom/make_names.pl $(WebCore)/svg/svgtags.in $(WebCore)/svg/svgattrs.in
582 $(AM_V_GEN)$(PERL) -I$(WebCore)/bindings/scripts $< --tags $(WebCore)/svg/svgtags.in --attrs $(WebCore)/svg/svgattrs.in --factory --wrapperFactory --outputDir "$(GENSOURCES_WEBCORE)"
587 DerivedSources/WebCore/XLinkNames.h: DerivedSources/WebCore/XLinkNames.cpp
588 DerivedSources/WebCore/XLinkNames.cpp : $(WebCore)/dom/make_names.pl $(WebCore)/svg/xlinkattrs.in
589 $(AM_V_GEN)$(PERL) -I$(WebCore)/bindings/scripts $< --attrs $(WebCore)/svg/xlinkattrs.in --outputDir "$(GENSOURCES_WEBCORE)"
595 FEATURE_DEFINES += ENABLE_WEB_AUDIO=1
596 webcore_cppflags += -DENABLE_WEB_AUDIO=1
599 if USE_WEBAUDIO_GSTREAMER
600 webcore_cppflags += -DWTF_USE_WEBAUDIO_GSTREAMER=1
604 # Web Sockets Support
606 if ENABLE_WEB_SOCKETS
607 FEATURE_DEFINES += ENABLE_WEB_SOCKETS=1
608 webcore_cppflags += -DENABLE_WEB_SOCKETS=1
610 webcore_cppflags += -DENABLE_WEB_SOCKETS=0
611 endif # END ENABLE_WEB_SOCKETS
617 FEATURE_DEFINES += ENABLE_BLOB=1
618 webcore_cppflags += -DENABLE_BLOB=1
619 endif # END ENABLE_BLOB
622 # Legacy WebKitBlobBuilder support
624 if ENABLE_LEGACY_WEBKIT_BLOB_BUILDER
625 FEATURE_DEFINES += ENABLE_LEGACY_WEBKIT_BLOB_BUILDER=1
626 webcore_cppflags += -DENABLE_LEGACY_WEBKIT_BLOB_BUILDER=1
627 endif # END ENABLE_LEGACY_WEBKIT_BLOB_BUILDER
630 # Animation API support
632 if ENABLE_ANIMATION_API
633 FEATURE_DEFINES += ENABLE_ANIMATION_API=1
634 webcore_cppflags += -DENABLE_ANIMATION_API=1
635 endif # END ENABLE_ANIMATION_API
638 # RequestAnimationFrame support
640 if ENABLE_REQUEST_ANIMATION_FRAME
641 FEATURE_DEFINES += ENABLE_REQUEST_ANIMATION_FRAME=1
642 webcore_cppflags += -DENABLE_REQUEST_ANIMATION_FRAME=1
643 endif # END ENABLE_REQUEST_ANIMATION_FRAME
646 # 3D canvas (WebGL) support
649 FEATURE_DEFINES += ENABLE_WEBGL=1
650 webcore_cppflags += -DENABLE_WEBGL=1
651 endif # END ENABLE_WEBGL
654 # Accelerated compositing support
656 if USE_ACCELERATED_COMPOSITING
658 ENABLE_3D_RENDERING=1 \
659 ACCELERATED_COMPOSITING=1
660 endif # END USE_ACCELERATED_COMPOSITING
662 if USE_TEXTURE_MAPPER_CAIRO
663 webcore_cppflags += \
664 -I$(srcdir)/Source/WebCore/platform/graphics/texmap
665 endif # END USE_TEXTURE_MAPPER_CAIRO
667 if USE_TEXTURE_MAPPER_GL
668 webcore_cppflags += \
669 -I$(srcdir)/Source/WebCore/platform/graphics/texmap
670 endif # END USETEXTURE_MAPPER_GL
673 webcore_cppflags += \
674 -I$(srcdir)/Source/WebCore/platform/clutter \
675 -I$(srcdir)/Source/WebCore/platform/graphics/clutter
676 endif # END USE_CLUTTER
682 FEATURE_DEFINES += ENABLE_MHTML=1
683 webcore_cppflags += \
685 -I$(srcdir)/Source/WebCore/loader/archive/mhtml
686 endif # END ENABLE_MHTML
689 # HTML5 Microdata support
692 FEATURE_DEFINES += ENABLE_MICRODATA=1
693 webcore_cppflags += -DENABLE_MICRODATA=1
694 endif # END ENABLE_MICRODATA
697 # Register Protocol Handler support
699 if ENABLE_REGISTER_PROTOCOL_HANDLER
700 FEATURE_DEFINES += ENABLE_REGISTER_PROTOCOL_HANDLER=1
701 webcore_cppflags += -DENABLE_REGISTER_PROTOCOL_HANDLER=1
702 endif # END ENABLE_REGISTER_PROTOCOL_HANDLER
705 # DeviceOrientation support
707 if ENABLE_DEVICE_ORIENTATION
708 FEATURE_DEFINES += ENABLE_DEVICE_ORIENTATION=1
709 webcore_cppflags += -DENABLE_DEVICE_ORIENTATION=1
710 endif # END ENABLE_DEVICE_ORIENTATION
713 # Text Autosizing support
715 if ENABLE_TEXT_AUTOSIZING
716 FEATURE_DEFINES += ENABLE_TEXT_AUTOSIZING=1
717 webcore_cppflags += -DENABLE_TEXT_AUTOSIZING=1
718 endif # END ENABLE_TEXT_AUTOSIZING
724 FEATURE_DEFINES += ENABLE_WEB_TIMING=1
725 webcore_cppflags += -DENABLE_WEB_TIMING=1
726 endif # END ENABLE_WEB_TIMING
729 # HTML iframe seamless attribute support
731 if ENABLE_IFRAME_SEAMLESS
732 FEATURE_DEFINES += ENABLE_IFRAME_SEAMLESS=1
733 webcore_cppflags += -DENABLE_IFRAME_SEAMLESS=1
734 endif # END ENABLE_IFRAME_SEAMLESS
737 # CSS3 Flexbox support
739 if ENABLE_CSS3_FLEXBOX
740 FEATURE_DEFINES += ENABLE_CSS3_FLEXBOX=1
741 webcore_cppflags += -DENABLE_CSS3_FLEXBOX=1
742 endif # END ENABLE_CSS3_FLEXBOX
745 # Link prefetch support
747 if ENABLE_LINK_PREFETCH
748 FEATURE_DEFINES += ENABLE_LINK_PREFETCH=1
749 webcore_cppflags += -DENABLE_LINK_PREFETCH=1
750 endif # END ENABLE_LINK_PREFETCH
753 # Spell check support
756 FEATURE_DEFINES += ENABLE_SPELLCHECK=1
757 webcore_cppflags += -DENABLE_SPELLCHECK=1
758 endif # END ENABLE_SPELLCHECK
760 DerivedSources/WebCore/CSSPropertyNames.cpp: DerivedSources/WebCore/CSSPropertyNames.h
761 DerivedSources/WebCore/CSSPropertyNames.h: $(WEBCORE_CSS_PROPERTY_NAMES) $(WebCore)/css/makeprop.pl
763 $(AM_V_at)cat $(WEBCORE_CSS_PROPERTY_NAMES) > CSSPropertyNames.in
764 $(AM_V_at)$(PERL) -I$(WebCore)/bindings/scripts "$(WebCore)/css/makeprop.pl" --defines "$(FEATURE_DEFINES)"
765 $(AM_V_at)mv CSSPropertyNames* $(GENSOURCES_WEBCORE)
767 # Lower case all the values, as CSS values are case-insensitive
768 DerivedSources/WebCore/CSSValueKeywords.cpp: DerivedSources/WebCore/CSSValueKeywords.h
769 DerivedSources/WebCore/CSSValueKeywords.h: $(WEBCORE_CSS_VALUE_KEYWORDS) $(WebCore)/css/makevalues.pl
771 $(AM_V_at)cat $(WEBCORE_CSS_VALUE_KEYWORDS) > CSSValueKeywords.in
772 $(AM_V_at)$(PERL) -I$(WebCore)/bindings/scripts "$(WebCore)/css/makevalues.pl" --defines "$(FEATURE_DEFINES)"
773 $(AM_V_at)mv CSSValueKeywords* $(GENSOURCES_WEBCORE)
776 DerivedSources/WebCore/XMLViewerCSS.h: $(WebCore)/xml/XMLViewer.css
777 $(AM_V_GEN)$(PERL) $(WebCore)/inspector/xxd.pl XMLViewer_css $(WebCore)/xml/XMLViewer.css $(GENSOURCES_WEBCORE)/XMLViewerCSS.h
780 DerivedSources/WebCore/XMLViewerJS.h: $(WebCore)/xml/XMLViewer.js
781 $(AM_V_GEN)$(PERL) $(WebCore)/inspector/xxd.pl XMLViewer_js $(WebCore)/xml/XMLViewer.js $(GENSOURCES_WEBCORE)/XMLViewerJS.h
784 DerivedSources/WebCore/HTMLEntityTable.cpp: $(WebCore)/html/parser/HTMLEntityNames.in $(WebCore)/html/parser/create-html-entity-table
785 $(AM_V_GEN)$(PYTHON) $(WebCore)/html/parser/create-html-entity-table -o $(GENSOURCES_WEBCORE)/HTMLEntityTable.cpp $(WebCore)/html/parser/HTMLEntityNames.in
788 DerivedSources/WebCore/ColorData.cpp: $(WebCore)/platform/ColorData.gperf $(WebCore)/make-hash-tools.pl
789 $(AM_V_GEN)$(PERL) $(WebCore)/make-hash-tools.pl $(GENSOURCES_WEBCORE) $(WebCore)/platform/ColorData.gperf
793 # NOTE: older versions of bison do not inject an inclusion guard, so we do it
794 DerivedSources/WebCore/CSSGrammar.h: $(GENSOURCES_WEBCORE)/CSSGrammar.cpp
795 DerivedSources/WebCore/CSSGrammar.cpp: $(WebCore)/css/CSSGrammar.y
797 $(AM_V_at)rm -f $(GENSOURCES_WEBCORE)/CSSGrammar.cpp.h $(GENSOURCES_WEBCORE)/CSSGrammar.hpp
798 $(AM_V_at)$(BISON) -d -p cssyy $< -o $(GENSOURCES_WEBCORE)/CSSGrammar.cpp
799 $(AM_V_at)touch $(GENSOURCES_WEBCORE)/CSSGrammar.cpp.h $(GENSOURCES_WEBCORE)/CSSGrammar.hpp
800 $(AM_V_at)echo '#ifndef CSSGrammar_h' > $(GENSOURCES_WEBCORE)/CSSGrammar.h
801 $(AM_V_at)echo '#define CSSGrammar_h' >> $(GENSOURCES_WEBCORE)/CSSGrammar.h
802 $(AM_V_at)cat $(GENSOURCES_WEBCORE)/CSSGrammar.cpp.h $(GENSOURCES_WEBCORE)/CSSGrammar.hpp >> $(GENSOURCES_WEBCORE)/CSSGrammar.h
803 $(AM_V_at)echo '#endif' >> $(GENSOURCES_WEBCORE)/CSSGrammar.h
804 $(AM_V_at)rm -f $(GENSOURCES_WEBCORE)/CSSGrammar.cpp.h $(GENSOURCES_WEBCORE)/CSSGrammar.hpp
806 # user agent style sheets
807 USER_AGENT_STYLE_SHEETS = \
808 $(WebCore)/css/html.css \
809 $(WebCore)/css/mathml.css \
810 $(WebCore)/css/quirks.css \
811 $(WebCore)/css/view-source.css \
812 $(WebCore)/css/svg.css \
813 $(WebCore)/css/mediaControls.css \
814 $(WebCore)/css/mediaControlsGtk.css \
815 $(WebCore)/css/fullscreen.css
817 # new-style JavaScript bindings
818 SCRIPTS_FOR_GENERATE_BINDINGS = \
819 $(WebCore)/bindings/scripts/CodeGenerator.pm \
820 $(WebCore)/bindings/scripts/IDLParser.pm \
821 $(WebCore)/bindings/scripts/IDLStructure.pm \
822 $(WebCore)/bindings/scripts/InFilesCompiler.pm \
823 $(WebCore)/bindings/scripts/InFilesParser.pm \
824 $(WebCore)/bindings/scripts/generate-bindings.pl \
825 $(WebCore)/bindings/scripts/preprocessor.pm
827 SCRIPTS_FOR_PREPROCESS_IDLS = \
828 $(WebCore)/bindings/scripts/IDLParser.pm \
829 $(WebCore)/bindings/scripts/preprocess-idls.pl
831 DerivedSources/WebCore/UserAgentStyleSheetsData.cpp: DerivedSources/WebCore/UserAgentStyleSheets.h
832 DerivedSources/WebCore/UserAgentStyleSheets.h: $(WebCore)/css/make-css-file-arrays.pl $(WebCore)/bindings/scripts/preprocessor.pm $(USER_AGENT_STYLE_SHEETS)
833 $(AM_V_GEN)$(PERL) -I$(WebCore)/bindings/scripts $< --defines "$(FEATURE_DEFINES)" $@ DerivedSources/WebCore/UserAgentStyleSheetsData.cpp $(USER_AGENT_STYLE_SHEETS)
835 DerivedSources/WebCore/WebKitFontFamilyNames.cpp: DerivedSources/WebCore/WebKitFontFamilyNames.h
836 DerivedSources/WebCore/WebKitFontFamilyNames.h: $(WebCore)/dom/make_names.pl $(WebCore)/css/WebKitFontFamilyNames.in
837 $(AM_V_GEN)$(PERL) -I$(WebCore)/bindings/scripts $< --fonts $(WebCore)/css/WebKitFontFamilyNames.in --outputDir "$(GENSOURCES_WEBCORE)"
840 # HTML tag and attribute names
841 DerivedSources/WebCore/JSHTMLElementWrapperFactory.cpp: DerivedSources/WebCore/HTMLElementFactory.cpp
842 DerivedSources/WebCore/HTMLElementFactory.cpp: DerivedSources/WebCore/HTMLElementFactory.h
843 DerivedSources/WebCore/HTMLElementFactory.h: DerivedSources/WebCore/HTMLNames.cpp
844 DerivedSources/WebCore/HTMLNames.cpp: DerivedSources/WebCore/HTMLNames.h
846 DerivedSources/WebCore/HTMLNames.h: $(WebCore)/dom/make_names.pl $(WebCore)/html/HTMLTagNames.in $(WebCore)/html/HTMLAttributeNames.in
847 $(AM_V_GEN)$(PERL) -I$(WebCore)/bindings/scripts $< --tags $(WebCore)/html/HTMLTagNames.in --attrs $(WebCore)/html/HTMLAttributeNames.in --extraDefines "$(HTML_FEATURES)" --factory --wrapperFactory --outputDir "$(GENSOURCES_WEBCORE)"
849 DerivedSources/WebCore/HTMLNames.h: $(WebCore)/dom/make_names.pl $(WebCore)/html/HTMLTagNames.in $(WebCore)/html/HTMLAttributeNames.in
850 $(AM_V_GEN)$(PERL) -I$(WebCore)/bindings/scripts $< --tags $(WebCore)/html/HTMLTagNames.in --attrs $(WebCore)/html/HTMLAttributeNames.in --factory --wrapperFactory --outputDir "$(GENSOURCES_WEBCORE)"
854 DerivedSources/WebCore/XMLNSNames.cpp DerivedSources/WebCore/XMLNSNames.h: $(WebCore)/dom/make_names.pl $(WebCore)/xml/xmlnsattrs.in
855 $(AM_V_GEN)$(PERL) -I$(WebCore)/bindings/scripts $< --attrs $(WebCore)/xml/xmlnsattrs.in --outputDir "$(GENSOURCES_WEBCORE)"
857 DerivedSources/WebCore/XMLNames.cpp DerivedSources/WebCore/XMLNames.h: $(WebCore)/dom/make_names.pl $(WebCore)/xml/xmlattrs.in
858 $(AM_V_GEN)$(PERL) -I$(WebCore)/bindings/scripts $< --attrs $(WebCore)/xml/xmlattrs.in --outputDir "$(GENSOURCES_WEBCORE)"
860 DerivedSources/WebCore/EventFactory.cpp DerivedSources/WebCore/EventHeaders.h DerivedSources/WebCore/EventInterfaces.h: $(WebCore)/dom/make_event_factory.pl $(WebCore)/dom/EventNames.in
861 $(AM_V_GEN)$(PERL) -I$(WebCore)/bindings/scripts $< --input $(WebCore)/dom/EventNames.in --outputDir "$(GENSOURCES_WEBCORE)"
863 DerivedSources/WebCore/EventTargetHeaders.h DerivedSources/WebCore/EventTargetInterfaces.h: $(WebCore)/dom/make_event_factory.pl $(WebCore)/dom/EventTargetFactory.in
864 $(AM_V_GEN)$(PERL) -I$(WebCore)/bindings/scripts $< --input $(WebCore)/dom/EventTargetFactory.in --outputDir "$(GENSOURCES_WEBCORE)"
866 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
867 $(AM_V_GEN)$(PERL) -I$(WebCore)/bindings/scripts $< --input $(WebCore)/dom/DOMExceptions.in --outputDir "$(GENSOURCES_WEBCORE)"
869 # All Web Inspector generated files are created with this one call to CodeGeneratorInspector.py
870 DerivedSources/WebCore/InspectorProtocolVersion.h : $(WebCore)/inspector/Inspector.json $(WebCore)/inspector/generate-inspector-protocol-version
871 $(AM_V_GEN)$(PYTHON) $(WebCore)/inspector/generate-inspector-protocol-version -o $(GENSOURCES_WEBCORE)/InspectorProtocolVersion.h $(WebCore)/inspector/Inspector.json
873 DerivedSources/WebCore/InspectorBackendDispatcher.cpp: $(WebCore)/inspector/Inspector.json $(WebCore)/inspector/CodeGeneratorInspector.py
874 $(AM_V_GEN)$(PYTHON) $(WebCore)/inspector/CodeGeneratorInspector.py $< --output_h_dir $(GENSOURCES_WEBCORE) --output_cpp_dir $(GENSOURCES_WEBCORE)
875 DerivedSources/WebCore/InspectorTypeBuilder.h: DerivedSources/WebCore/InspectorTypeBuilder.cpp
876 DerivedSources/WebCore/InspectorTypeBuilder.cpp: DerivedSources/WebCore/InspectorFrontend.h
877 DerivedSources/WebCore/InspectorFrontend.h: DerivedSources/WebCore/InspectorFrontend.cpp
878 DerivedSources/WebCore/InspectorFrontend.cpp: DerivedSources/WebCore/InspectorBackendCommands.js
879 DerivedSources/WebCore/InspectorBackendCommands.js: DerivedSources/WebCore/InspectorBackendDispatcher.h
880 DerivedSources/WebCore/InspectorBackendDispatcher.h: DerivedSources/WebCore/InspectorBackendDispatcher.cpp
881 DerivedSources/WebCore/InjectedScriptSource.h: $(WebCore)/inspector/InjectedScriptSource.js
882 $(AM_V_GEN)$(PERL) $(WebCore)/inspector/xxd.pl InjectedScriptSource_js $(WebCore)/inspector/InjectedScriptSource.js $(GENSOURCES_WEBCORE)/InjectedScriptSource.h
883 DerivedSources/WebCore/InjectedScriptWebGLModuleSource.h: $(WebCore)/inspector/InjectedScriptWebGLModuleSource.js
884 $(AM_V_GEN)$(PERL) $(WebCore)/inspector/xxd.pl InjectedScriptWebGLModuleSource_js $(WebCore)/inspector/InjectedScriptWebGLModuleSource.js $(GENSOURCES_WEBCORE)/InjectedScriptWebGLModuleSource.h
887 # Installing HRTF database wav files
888 audiodir = ${datadir}/webkitgtk-@WEBKITGTK_API_VERSION@/resources/audio/
889 audio_DATA = $(WebCore)/platform/audio/resources/Composite.wav
890 dist_audio_DATA = $(audio_DATA)
891 endif # END ENABLE_WEB_AUDIO
893 # ANGLE tokenizer & parser
894 DerivedSources/ANGLE/glslang.cpp: Source/ThirdParty/ANGLE/src/compiler/glslang.l
895 $(AM_V_GEN)$(FLEX) --noline --nounistd --outfile="$@" "$<"
897 DerivedSources/ANGLE/glslang_tab.cpp: Source/ThirdParty/ANGLE/src/compiler/glslang.y
898 $(AM_V_GEN)$(BISON) --no-lines --defines="DerivedSources/ANGLE/glslang_tab.h" --skeleton=yacc.c --output="$@" $<
899 DerivedSources/ANGLE/glslang_tab.h: DerivedSources/ANGLE/glslang_tab.cpp
902 $(WebCore)/Modules/filesystem \
903 $(WebCore)/Modules/gamepad \
904 $(WebCore)/Modules/geolocation \
905 $(WebCore)/Modules/indexeddb \
906 $(WebCore)/Modules/mediasource \
907 $(WebCore)/Modules/mediastream \
908 $(WebCore)/Modules/notifications \
909 $(WebCore)/Modules/webaudio \
910 $(WebCore)/Modules/webdatabase \
911 $(WebCore)/Modules/websockets \
912 $(WebCore)/bindings/js \
918 $(WebCore)/html/canvas \
919 $(WebCore)/html/shadow \
920 $(WebCore)/html/track \
921 $(WebCore)/inspector \
922 $(WebCore)/loader/appcache \
931 vpath %.idl $(IDL_PATH)
933 supplemental_dependency_file = $(top_builddir)/DerivedSources/WebCore/idl_supplemental_dependencies
934 idl_files_list = $(top_builddir)/DerivedSources/WebCore/idl_files_list
935 idl_attributes_file = $(WebCore)/bindings/scripts/IDLAttributes.txt
938 $(supplemental_dependency_file): $(SCRIPTS_FOR_PREPROCESS_IDLS) $(dom_binding_idls) $(idl_attributes_file)
940 $(AM_V_at)echo -n > $(idl_files_list)
941 $(AM_V_at)($(foreach idl, $(dom_binding_idls), echo $(idl) &&) echo -n) >> $(idl_files_list)
942 $(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)
944 # This does not appear to work correctly with gnumake unless
945 # it includes an empty command list (the semicolon).
946 DerivedSources/WebCore/JS%.cpp: DerivedSources/WebCore/JS%.h;
949 DerivedSources/WebCore/JS%.h: %.idl $(SCRIPTS_FOR_GENERATE_BINDINGS) $(WebCore)/bindings/scripts/CodeGeneratorJS.pm $(supplemental_dependency_file)
950 $(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) $<
952 # See https://bugs.webkit.org/show_bug.cgi?id=76388
953 # We need to introduce a manual dependency to prevent non-generated sources from
954 # trying to build before the generated ones. This can happen if the supplemental
955 # IDL generation takes a long time. The pipe represents an order-only dependency,
956 # which means that GNUmake will only try to build the dependencies first, but
957 # not rebuild all the targets if the dependencies change.
958 $(webkitgtk_sources) $(webkit2_sources) $(webkit2_plugin_process_sources) $(webcore_sources) $(webcoregtk_sources) : | $(supplemental_dependency_file) $(webcore_built_sources)
960 noinst_LTLIBRARIES += \
961 libWebCoreModules.la \
964 # Artificial dependency to try to force a relink of the WebCore libraries
965 # When their makefiles change.
966 webcore_lib_for_dep = libWebCore.la
967 $(webcore_lib_for_dep): $(srcdir)/Source/WebCore/GNUmakefile.am $(srcdir)/Source/WebCore/GNUmakefile.list.am
969 webcoremodules_lib_for_dep = libWebcoreModules.la
970 $(webcoremodules_lib_for_dep): $(srcdir)/Source/WebCore/GNUmakefile.am $(srcdir)/Source/WebCore/GNUmakefile.list.am
972 nodist_EXTRA_libWebCore_la_SOURCES = \
973 $(webcore_built_nosources)
975 nodist_libWebCore_la_SOURCES = \
976 $(webcore_built_sources)
978 libWebCore_la_SOURCES = \
981 libWebCore_la_CXXFLAGS = \
982 $(SYMBOL_VISIBILITY_INLINES) \
985 libWebCore_la_CFLAGS = \
986 $(SYMBOL_VISIBILITY) \
989 libWebCore_la_CPPFLAGS = \
992 $(webcore_cppflags) \
993 $(webcoregtk_cppflags) \
994 $(javascriptcore_cppflags) \
995 -fno-strict-aliasing \
1003 $(GSTREAMER_CFLAGS) \
1014 # PluginPackageWin.cpp needs the symbols from version dll
1015 libWebCore_la_LIBADD = -lversion
1018 libWebCoreModules_la_SOURCES = \
1019 $(webcore_modules_sources)
1021 libWebCoreModules_la_CXXFLAGS = $(libWebCore_la_CXXFLAGS)
1023 libWebCoreModules_la_CFLAGS = $(libWebCore_la_CFLAGS)
1025 libWebCoreModules_la_CPPFLAGS = $(libWebCore_la_CPPFLAGS)
1027 # We have a different library with only the files that require GTK+. It allows us
1028 # to build a common WebCore lib and two different gtk WebCore libs depending on
1029 # the gtk version. In WeKit2 gtk2 is not supported, but the plugin process needs to
1030 # be built using gtk2 because plugins like flash still use gtk2. For WebKit2, we build
1031 # the common libWebCore and two libWebCoreGtk, one using gtk3 and the other one using gtk2.
1032 noinst_LTLIBRARIES += \
1035 libWebCoreGtk_la_SOURCES = \
1036 $(webcoregtk_sources)
1038 libWebCoreGtk_la_CXXFLAGS = \
1039 $(SYMBOL_VISIBILITY_INLINES) \
1042 libWebCoreGtk_la_CFLAGS = \
1043 $(SYMBOL_VISIBILITY) \
1046 libWebCoreGtk_la_CPPFLAGS = \
1048 $(global_cppflags) \
1049 $(webcore_cppflags) \
1050 $(webcoregtk_cppflags) \
1051 $(javascriptcore_cppflags) \
1052 -fno-strict-aliasing \
1053 $(HILDON_CPPFLAGS) \
1054 $(COVERAGE_CFLAGS) \
1059 $(GSTREAMER_CFLAGS) \
1071 $(shell ls $(srcdir)/Source/WebCore/Modules/filesystem/*.idl) \
1072 $(shell ls $(srcdir)/Source/WebCore/Modules/gamepad/*.idl) \
1073 $(shell ls $(srcdir)/Source/WebCore/Modules/geolocation/*.idl) \
1074 $(shell ls $(srcdir)/Source/WebCore/Modules/indexeddb/*.idl) \
1075 $(shell ls $(srcdir)/Source/WebCore/Modules/mediasource/*.idl) \
1076 $(shell ls $(srcdir)/Source/WebCore/Modules/mediastream/*.idl) \
1077 $(shell ls $(srcdir)/Source/WebCore/Modules/notifications/*.idl) \
1078 $(shell ls $(srcdir)/Source/WebCore/Modules/protocolhandler/*.idl) \
1079 $(shell ls $(srcdir)/Source/WebCore/Modules/webaudio/*.idl) \
1080 $(shell ls $(srcdir)/Source/WebCore/Modules/webdatabase/*.idl) \
1081 $(shell ls $(srcdir)/Source/WebCore/Modules/websockets/*.idl) \
1082 $(shell ls $(srcdir)/Source/WebCore/css/*.idl) \
1083 $(shell ls $(srcdir)/Source/WebCore/dom/*.idl) \
1084 $(shell ls $(srcdir)/Source/WebCore/editing/*.idl) \
1085 $(shell ls $(srcdir)/Source/WebCore/fileapi/*.idl) \
1086 $(shell ls $(srcdir)/Source/WebCore/html/canvas/*.idl) \
1087 $(shell ls $(srcdir)/Source/WebCore/html/shadow/*.idl) \
1088 $(shell ls $(srcdir)/Source/WebCore/html/track/*.idl) \
1089 $(shell ls $(srcdir)/Source/WebCore/html/*.idl) \
1090 $(shell ls $(srcdir)/Source/WebCore/inspector/*.idl) \
1091 $(shell ls $(srcdir)/Source/WebCore/loader/appcache/*.idl) \
1092 $(shell ls $(srcdir)/Source/WebCore/page/*.idl) \
1093 $(shell ls $(srcdir)/Source/WebCore/plugins/*.idl) \
1094 $(shell ls $(srcdir)/Source/WebCore/storage/*.idl) \
1095 $(shell ls $(srcdir)/Source/WebCore/svg/*.idl) \
1096 $(shell ls $(srcdir)/Source/WebCore/testing/*.idl) \
1097 $(shell ls $(srcdir)/Source/WebCore/workers/*.idl) \
1098 $(shell ls $(srcdir)/Source/WebCore/xml/*.idl) \
1099 Source/ThirdParty/ANGLE/src/compiler/glslang.l \
1100 Source/ThirdParty/ANGLE/src/compiler/glslang.y \
1101 Source/WebCore/bindings/scripts/CodeGeneratorGObject.pm \
1102 Source/WebCore/bindings/scripts/CodeGeneratorJS.pm \
1103 Source/WebCore/bindings/scripts/CodeGenerator.pm \
1104 Source/WebCore/bindings/scripts/IDLAttributes.txt \
1105 Source/WebCore/bindings/scripts/IDLParser.pm \
1106 Source/WebCore/bindings/scripts/IDLStructure.pm \
1107 Source/WebCore/bindings/scripts/InFilesCompiler.pm \
1108 Source/WebCore/bindings/scripts/InFilesParser.pm \
1109 Source/WebCore/bindings/scripts/generate-bindings.pl \
1110 Source/WebCore/bindings/scripts/gobject-generate-headers.pl \
1111 Source/WebCore/bindings/scripts/preprocessor.pm \
1112 Source/WebCore/bindings/scripts/preprocess-idls.pl \
1113 Source/WebCore/ChangeLog \
1114 Source/WebCore/css/CSSGrammar.y \
1115 Source/WebCore/css/CSSPropertyNames.in \
1116 Source/WebCore/css/CSSValueKeywords.in \
1117 Source/WebCore/dom/DOMExceptions.in \
1118 Source/WebCore/css/fullscreen.css \
1119 Source/WebCore/css/fullscreenQuickTime.css \
1120 Source/WebCore/css/html.css \
1121 Source/WebCore/css/make-css-file-arrays.pl \
1122 Source/WebCore/css/makegrammar.pl \
1123 Source/WebCore/css/makeprop.pl \
1124 Source/WebCore/css/maketokenizer \
1125 Source/WebCore/css/makevalues.pl \
1126 Source/WebCore/css/mathml.css \
1127 Source/WebCore/css/mediaControls.css \
1128 Source/WebCore/css/mediaControlsGtk.css \
1129 Source/WebCore/css/quirks.css \
1130 Source/WebCore/css/svg.css \
1131 Source/WebCore/css/SVGCSSPropertyNames.in \
1132 Source/WebCore/css/SVGCSSValueKeywords.in \
1133 Source/WebCore/css/view-source.css \
1134 Source/WebCore/css/WebKitFontFamilyNames.in \
1135 Source/WebCore/dom/EventNames.in \
1136 Source/WebCore/dom/EventTargetFactory.in \
1137 Source/WebCore/dom/make_dom_exceptions.pl \
1138 Source/WebCore/dom/make_event_factory.pl \
1139 Source/WebCore/dom/make_names.pl \
1140 Source/WebCore/html/HTMLAttributeNames.in \
1141 Source/WebCore/html/HTMLTagNames.in \
1142 Source/WebCore/html/parser/create-html-entity-table \
1143 Source/WebCore/html/parser/HTMLEntityNames.in \
1144 Source/WebCore/icu/LICENSE \
1145 Source/WebCore/inspector/CodeGeneratorInspector.py \
1146 Source/WebCore/inspector/InjectedScriptSource.js \
1147 Source/WebCore/inspector/InjectedScriptWebGLModuleSource.js \
1148 Source/WebCore/inspector/Inspector.json \
1149 Source/WebCore/inspector/Inspector-1.0.json \
1150 Source/WebCore/inspector/generate-inspector-protocol-version \
1151 Source/WebCore/inspector/xxd.pl \
1152 Source/WebCore/LICENSE-APPLE \
1153 Source/WebCore/LICENSE-LGPL-2 \
1154 Source/WebCore/LICENSE-LGPL-2.1 \
1155 Source/WebCore/make-hash-tools.pl \
1156 Source/WebCore/mathml/mathattrs.in \
1157 Source/WebCore/mathml/mathtags.in \
1158 Source/WebCore/platform/ColorData.gperf \
1159 Source/WebCore/platform/text/mac/make-charset-table.pl \
1160 Source/WebCore/svg/svgattrs.in \
1161 Source/WebCore/svg/svgtags.in \
1162 Source/WebCore/svg/xlinkattrs.in \
1163 Source/WebCore/xml/xmlattrs.in \
1164 Source/WebCore/xml/xmlnsattrs.in \
1165 Source/WebCore/xml/XMLViewer.css \
1166 Source/WebCore/xml/XMLViewer.js \
1167 Source/WebCore/xml/XPathGrammar.y
1169 # Installing web inspector files
1170 webinspectordir = ${datadir}/webkitgtk-@WEBKITGTK_API_VERSION@/webinspector
1171 dist_webinspector_DATA = \
1172 $(WebCore)/English.lproj/localizedStrings.js \
1173 DerivedSources/WebCore/InspectorBackendCommands.js \
1174 $(shell ls $(WebCore)/inspector/front-end/*.js) \
1175 $(shell ls $(WebCore)/inspector/front-end/*.html) \
1176 $(shell ls $(WebCore)/inspector/front-end/*.css)
1178 webinspectoruglifyjsdir = ${datadir}/webkitgtk-@WEBKITGTK_API_VERSION@/webinspector/UglifyJS
1179 dist_webinspectoruglifyjs_DATA = \
1180 $(shell ls $(WebCore)/inspector/front-end/UglifyJS/*.js)
1182 webinspectorimagesdir = ${datadir}/webkitgtk-@WEBKITGTK_API_VERSION@/webinspector/Images
1183 dist_webinspectorimages_DATA = \
1184 $(shell ls $(WebCore)/inspector/front-end/Images/*.gif) \
1185 $(shell ls $(WebCore)/inspector/front-end/Images/*.png)
1187 # It seems that $(shell) does not expand when it is a rule dependency, so
1188 # we must redefine this list of copied files with traditional dependency wildcards.
1189 noinst_DATA = ${GENSOURCES_INSPECTOR}/inspector.html
1190 ${GENSOURCES_INSPECTOR}/inspector.html: $(WebCore)/inspector/front-end/*.html \
1191 $(WebCore)/inspector/front-end/*.js \
1192 $(WebCore)/inspector/front-end/UglifyJS/*.js \
1193 $(WebCore)/inspector/front-end/*.css \
1194 $(WebCore)/inspector/front-end/Images/* \
1195 DerivedSources/WebCore/InspectorBackendCommands.js \
1196 $(WebCore)/English.lproj/localizedStrings.js
1198 $(AM_V_at)mkdir -p ${GENSOURCES_INSPECTOR}/UglifyJS
1199 $(AM_V_at)mkdir -p ${GENSOURCES_INSPECTOR}/Images
1200 $(AM_V_at)cp ${dist_webinspector_DATA} ${GENSOURCES_INSPECTOR}
1201 $(AM_V_at)cp ${dist_webinspectoruglifyjs_DATA} ${GENSOURCES_INSPECTOR}/UglifyJS
1202 $(AM_V_at)cp ${dist_webinspectorimages_DATA} ${GENSOURCES_INSPECTOR}/Images
1204 webresourcesdir = ${datadir}/webkitgtk-@WEBKITGTK_API_VERSION@/images
1205 dist_webresources_DATA = \
1206 $(WebCore)/Resources/textAreaResizeCorner.png \
1207 $(WebCore)/Resources/nullPlugin.png \
1208 $(WebCore)/Resources/urlIcon.png \
1209 $(WebCore)/Resources/missingImage.png \
1210 $(WebCore)/Resources/panIcon.png \
1211 $(WebCore)/Resources/deleteButton.png \
1212 $(WebCore)/Resources/inputSpeech.png