2011-04-11 Anna Cavender <annacc@chromium.org>
[WebKit-https.git] / Source / WebCore / GNUmakefile.am
1 include $(srcdir)/Source/WebCore/GNUmakefile.list.am
2
3 SVG_FEATURES :=
4 HTML_FEATURES :=
5
6 WEBCORE_CSS_PROPERTY_NAMES := $(WebCore)/css/CSSPropertyNames.in
7 WEBCORE_CSS_VALUE_KEYWORDS := $(WebCore)/css/CSSValueKeywords.in
8
9 webcore_cppflags += \
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/accessibility \
15         -I$(srcdir)/Source/WebCore/bindings \
16         -I$(srcdir)/Source/WebCore/bindings/generic \
17         -I$(srcdir)/Source/WebCore/bindings/js \
18         -I$(srcdir)/Source/WebCore/bindings/js/specialization \
19         -I$(srcdir)/Source/WebCore/bridge \
20         -I$(srcdir)/Source/WebCore/bridge/c \
21         -I$(srcdir)/Source/WebCore/bridge/jni/jsc \
22         -I$(srcdir)/Source/WebCore/bridge/jsc \
23         -I$(srcdir)/Source/WebCore/css \
24         -I$(srcdir)/Source/WebCore/dom \
25         -I$(srcdir)/Source/WebCore/dom/default \
26         -I$(srcdir)/Source/WebCore/editing \
27         -I$(srcdir)/Source/WebCore/fileapi \
28         -I$(srcdir)/Source/WebCore/history \
29         -I$(srcdir)/Source/WebCore/html \
30         -I$(srcdir)/Source/WebCore/html/canvas \
31         -I$(srcdir)/Source/WebCore/html/parser \
32         -I$(srcdir)/Source/WebCore/html/shadow \
33         -I$(srcdir)/Source/WebCore/inspector \
34         -I$(srcdir)/Source/WebCore/loader \
35         -I$(srcdir)/Source/WebCore/loader/appcache \
36         -I$(srcdir)/Source/WebCore/loader/archive \
37         -I$(srcdir)/Source/WebCore/loader/cache \
38         -I$(srcdir)/Source/WebCore/loader/icon \
39         -I$(srcdir)/Source/WebCore/mathml \
40         -I$(srcdir)/Source/WebCore/notifications \
41         -I$(srcdir)/Source/WebCore/page \
42         -I$(srcdir)/Source/WebCore/page/animation \
43         -I$(srcdir)/Source/WebCore/platform \
44         -I$(srcdir)/Source/WebCore/platform/animation \
45         -I$(srcdir)/Source/WebCore/platform/audio \
46         -I$(srcdir)/Source/WebCore/platform/graphics \
47         -I$(srcdir)/Source/WebCore/platform/graphics/filters \
48         -I$(srcdir)/Source/WebCore/platform/graphics/gpu \
49         -I$(srcdir)/Source/WebCore/platform/graphics/opengl \
50         -I$(srcdir)/Source/WebCore/platform/graphics/opentype \
51         -I$(srcdir)/Source/WebCore/platform/graphics/transforms \
52         -I$(srcdir)/Source/WebCore/platform/image-decoders \
53         -I$(srcdir)/Source/WebCore/platform/image-decoders/bmp \
54         -I$(srcdir)/Source/WebCore/platform/image-decoders/gif \
55         -I$(srcdir)/Source/WebCore/platform/image-decoders/ico \
56         -I$(srcdir)/Source/WebCore/platform/image-decoders/jpeg \
57         -I$(srcdir)/Source/WebCore/platform/image-decoders/webp \
58         -I$(srcdir)/Source/WebCore/platform/image-decoders/png \
59         -I$(srcdir)/Source/WebCore/platform/mock \
60         -I$(srcdir)/Source/WebCore/platform/network \
61         -I$(srcdir)/Source/WebCore/platform/sql \
62         -I$(srcdir)/Source/WebCore/platform/text \
63         -I$(srcdir)/Source/WebCore/platform/text/transcoder \
64         -I$(srcdir)/Source/WebCore/plugins \
65         -I$(srcdir)/Source/WebCore/plugins/win \
66         -I$(srcdir)/Source/WebCore/rendering \
67         -I$(srcdir)/Source/WebCore/rendering/mathml \
68         -I$(srcdir)/Source/WebCore/rendering/style \
69         -I$(srcdir)/Source/WebCore/rendering/svg \
70         -I$(srcdir)/Source/WebCore/storage \
71         -I$(srcdir)/Source/WebCore/svg \
72         -I$(srcdir)/Source/WebCore/svg/animation \
73         -I$(srcdir)/Source/WebCore/svg/graphics \
74         -I$(srcdir)/Source/WebCore/svg/graphics/filters \
75         -I$(srcdir)/Source/WebCore/svg/properties \
76         -I$(srcdir)/Source/WebCore/webaudio \
77         -I$(srcdir)/Source/WebCore/websockets \
78         -I$(srcdir)/Source/WebCore/wml \
79         -I$(srcdir)/Source/WebCore/workers \
80         -I$(srcdir)/Source/WebCore/xml \
81         -I$(top_builddir)/WebCore/bindings/js \
82         -I$(top_builddir)/DerivedSources/WebCore \
83         -I$(top_builddir)/DerivedSources \
84         -I$(top_builddir)/DerivedSources/JavaScriptCore \
85         -DDATA_DIR=\"${datadir}\"
86
87 webcoregtk_cppflags += \
88         -DWEBKITGTK_API_VERSION_STRING=\"@WEBKITGTK_API_VERSION@\" \
89         -DWTF_USE_SOUP=1 \
90         -I$(srcdir)/Source/WebCore/accessibility/gtk \
91         -I$(srcdir)/Source/WebCore/loader/gtk \
92         -I$(srcdir)/Source/WebCore/page/gtk \
93         -I$(srcdir)/Source/WebCore/platform/graphics/cairo \
94         -I$(srcdir)/Source/WebCore/platform/graphics/gstreamer \
95         -I$(srcdir)/Source/WebCore/platform/graphics/gtk \
96         -I$(srcdir)/Source/WebCore/platform/gtk \
97         -I$(srcdir)/Source/WebCore/platform/network/soup
98
99 if !ENABLE_WEBKIT2
100 FEATURE_DEFINES += WTF_USE_NATIVE_GTK_MAIN_FRAME_SCROLLBAR=1
101 webcore_cppflags += -DWTF_USE_NATIVE_GTK_MAIN_FRAME_SCROLLBAR=1
102 endif # END WEBKIT2
103
104 # ---
105 # Channel mesaging support
106 # ---
107 if ENABLE_CHANNEL_MESSAGING
108 FEATURE_DEFINES += ENABLE_CHANNEL_MESSAGING=1
109 webcore_cppflags += -DENABLE_CHANNEL_MESSAGING=1
110 endif # END ENABLE_CHANNEL_MESSAGING
111
112 # ---
113 # Fast Mobile Scrolling
114 # ---
115 if ENABLE_FAST_MOBILE_SCROLLING
116 FEATURE_DEFINES += ENABLE_FAST_MOBILE_SCROLLING=1
117 webcore_cppflags += -DENABLE_FAST_MOBILE_SCROLLING=1
118 endif # END ENABLE_FAST_MOBILE_SCROLLING
119
120 # ---
121 # FreeType font backend
122 # ---
123 if USE_FREETYPE
124 webcoregtk_cppflags += \
125         -DWTF_USE_FREETYPE=1 \
126         -I$(srcdir)/Source/WebCore/platform/graphics/freetype
127 endif # END USE_FREETYPE
128
129 # ---
130 # Pango font backend
131 # ---
132 if USE_PANGO
133 webcoregtk_cppflags += \
134         -DWTF_USE_PANGO=1 \
135         -I$(srcdir)/Source/WebCore/platform/graphics/pango
136 endif # END USE_PANGO
137
138 # ----
139 # HTML Data Grid
140 # ----
141 if ENABLE_DATAGRID
142 FEATURE_DEFINES += ENABLE_DATAGRID=1
143 webcore_cppflags += -DENABLE_DATAGRID=1
144 endif
145
146 # ----
147 # HTML Meter Element
148 # ----
149 if ENABLE_METER_TAG
150 FEATURE_DEFINES += ENABLE_METER_TAG=1
151 webcore_cppflags += -DENABLE_METER_TAG=1
152 endif # END ENABLE_METER_TAG
153
154 # ----
155 # HTML Progress Element
156 # ----
157 if ENABLE_PROGRESS_TAG
158 FEATURE_DEFINES += ENABLE_PROGRESS_TAG=1
159 webcore_cppflags += -DENABLE_PROGRESS_TAG=1
160 endif # END ENABLE_PROGRESS_TAG
161
162 # ----
163 # JavaScript Debugger/Profiler
164 # ----
165 if ENABLE_JAVASCRIPT_DEBUGGER
166 FEATURE_DEFINES += ENABLE_JAVASCRIPT_DEBUGGER=1
167 webcore_cppflags += -DENABLE_JAVASCRIPT_DEBUGGER=1
168 else
169 webcore_cppflags += -DENABLE_JAVASCRIPT_DEBUGGER=0
170 endif # END ENABLE_JAVASCRIPT_DEBUGGER
171
172 # ----
173 # Offline Web Applications
174 # ----
175 if ENABLE_OFFLINE_WEB_APPLICATIONS
176 FEATURE_DEFINES += ENABLE_OFFLINE_WEB_APPLICATIONS=1
177 webcore_cppflags += -DENABLE_OFFLINE_WEB_APPLICATIONS=1
178 endif # END ENABLE_OFFLINE_WEB_APPLICATIONS
179
180 # ----
181 # Database Support
182 # ----
183 if ENABLE_DATABASE
184 FEATURE_DEFINES += ENABLE_DATABASE=1
185 webcore_cppflags += -DENABLE_DATABASE=1
186 else
187 webcore_cppflags += -DENABLE_DATABASE=0
188 endif # END ENABLE_DATABASE
189
190 # ----
191 # HTML5 datalist Support
192 # ----
193 if ENABLE_DATALIST
194 FEATURE_DEFINES += ENABLE_DATALIST=1
195 HTML_FEATURES += ENABLE_DATALIST=1
196 webcore_cppflags += -DENABLE_DATALIST=1
197 endif # END ENABLE_DATALIST
198
199 # ----
200 # HTML5 data transfer items support
201 # ----
202 if ENABLE_DATA_TRANSFER_ITEMS
203 FEATURE_DEFINES += ENABLE_DATA_TRANSFER_ITEMS=1
204 webcore_cppflags += -DENABLE_DATA_TRANSFER_ITEMS=1
205 endif # END ENABLE_DATA_TRANSFER_ITEMS
206
207 # ----
208 # HTML5 server-sent events
209 # ----
210 if !ENABLE_EVENTSOURCE
211 global_cppflags += -DENABLE_EVENTSOURCE=0
212 else
213 FEATURE_DEFINES += ENABLE_EVENTSOURCE=1
214 webcore_cppflags += -DENABLE_EVENTSOURCE=1
215 endif # ENABLE_EVENTSOURCE
216
217 # ----
218 # Indexed Database API support
219 # ----
220 if ENABLE_INDEXED_DATABASE
221 FEATURE_DEFINES += ENABLE_INDEXED_DATABASE=1
222 webcore_cppflags += -DENABLE_INDEXED_DATABASE=1
223 endif # END ENABLE_INDEXED_DATABASE
224
225 # ----
226 # Support for <input type="file" directory>
227 # ----
228 if ENABLE_DIRECTORY_UPLOAD
229 FEATURE_DEFINES += ENABLE_DIRECTORY_UPLOAD=1
230 webcore_cppflags += -DENABLE_DIRECTORY_UPLOAD=1
231 else
232 webcore_cppflags += -DENABLE_DIRECTORY_UPLOAD=0
233 endif # END ENABLE_DIRECTORY_UPLOAD
234
235 # ----
236 # HTML5 client-side session and persistent storage
237 # ----
238 if ENABLE_DOM_STORAGE
239 FEATURE_DEFINES += ENABLE_DOM_STORAGE=1
240 webcore_cppflags += -DENABLE_DOM_STORAGE=1
241 endif # END ENABLE_DOM_STORAGE
242
243 # ----
244 # FileSystem API support
245 # ----
246 if ENABLE_FILE_SYSTEM
247 FEATURE_DEFINES += ENABLE_FILE_SYSTEM=1
248 webcore_cppflags += -DENABLE_FILE_SYSTEM=1
249 endif # END ENABLE_FILE_SYSTEM
250
251 # ----
252 # Quota support
253 # ----
254 if ENABLE_QUOTA
255 FEATURE_DEFINES += ENABLE_QUOTA=1
256 webcore_cppflags += -DENABLE_QUOTA=1
257 endif # END ENABLE_QUOTA
258
259 # ----
260 # Speech Input API support
261 # ----
262 if ENABLE_INPUT_SPEECH
263 FEATURE_DEFINES += ENABLE_INPUT_SPEECH=1
264 webcore_cppflags += -DENABLE_INPUT_SPEECH=1
265 else
266 webcore_cppflags += -DENABLE_INPUT_SPEECH=0
267 endif # END ENABLE_INPUT_SPEECH
268
269 # ----
270 # Icon Database Support
271 # ----
272 if ENABLE_ICONDATABASE
273 webcore_cppflags += -DENABLE_ICONDATABASE=1
274 else
275 webcore_cppflags += -DENABLE_ICONDATABASE=0
276 endif # END ENABLE_ICONDATABASE
277
278 # ----
279 # Image Resizer Support
280 # ----
281 if ENABLE_IMAGE_RESIZER
282 FEATURE_DEFINES += ENABLE_IMAGE_RESIZER=1
283 webcore_cppflags += -DENABLE_IMAGE_RESIZER=1
284 else
285 webcore_cppflags += -DENABLE_IMAGE_RESIZER=0
286 endif # END ENABLE_IMAGE_RESIZER
287
288 # ----
289 # Orientation Events
290 # ----
291 if ENABLE_ORIENTATION_EVENTS
292 FEATURE_DEFINES += ENABLE_ORIENTATION_EVENTS=1
293 webcore_cppflags += -DENABLE_ORIENTATION_EVENTS=1
294 endif # END ENABLE_ORIENTATION_EVENTS
295
296 # ----
297 # Video Support
298 # ----
299 if ENABLE_VIDEO
300 FEATURE_DEFINES += ENABLE_VIDEO=1
301 HTML_FEATURES += ENABLE_VIDEO=1
302 webcore_cppflags += -DENABLE_VIDEO=1
303
304 if USE_GSTREAMER
305 if ENABLE_DEBUG
306 webcore_cppflags += -DGST_DISABLE_DEPRECATED
307 endif # END ENABLE_DEBUG
308 webcore_libadd += \
309         -lgstinterfaces-0.10 \
310         -lgstvideo-0.10 \
311         -lgstpbutils-0.10 \
312         -lgstapp-0.10
313 endif # END USE_GSTREAMER
314 endif # END ENABLE_VIDEO
315
316 # ----
317 # Media Statistics Support
318 # ----
319 if ENABLE_MEDIA_STATISTICS
320 FEATURE_DEFINES += ENABLE_MEDIA_STATISTICS=1
321 webcore_cppflags += -DENABLE_MEDIA_STATISTICS=1
322 else
323 webcore_cppflags += -DENABLE_MEDIA_STATISTICS=0
324 endif # END ENABLE_MEDIA_STATISTICS
325
326 # ----
327 # Javascript Fullscreen Support
328 # ----
329 if ENABLE_FULLSCREEN_API
330 FEATURE_DEFINES += ENABLE_FULLSCREEN_API=1
331 webcore_cppflags += -DENABLE_FULLSCREEN_API=1
332 endif # END ENABLE_FULLSCREEN_API
333
334 # ----
335 # Track Support
336 # ----
337 if ENABLE_TRACK
338 FEATURE_DEFINES += ENABLE_TRACK=1
339 webcore_cppflags += -DENABLE_TRACK=1
340 else
341 webcore_cppflags += -DENABLE_TRACK=0
342 endif # END ENABLE_TRACK
343
344 # ----
345 # XHTML-MP Support
346 # ----
347 if ENABLE_XHTMLMP
348 FEATURE_DEFINES += ENABLE_XHTMLMP=1
349 webcore_cppflags += -DENABLE_XHTMLMP=1
350 endif # END ENABLE_XHTMLMP
351
352 # ----
353 # XPath Support
354 # ----
355 if ENABLE_XPATH
356 FEATURE_DEFINES += ENABLE_XPATH=1
357 webcore_cppflags += -DENABLE_XPATH=1
358
359 # XPath grammar
360 # NOTE: older versions of bison do not inject an inclusion guard, so we do it
361 $(GENSOURCES_WEBCORE)/XPathGrammar.h: $(GENSOURCES_WEBCORE)/XPathGrammar.cpp
362 $(GENSOURCES_WEBCORE)/XPathGrammar.cpp: $(WebCore)/xml/XPathGrammar.y
363         rm -f $(GENSOURCES_WEBCORE)/XPathGrammar.cpp.h $(GENSOURCES_WEBCORE)/XPathGrammar.hpp
364         $(BISON) -d -p xpathyy $< -o $(GENSOURCES_WEBCORE)/XPathGrammar.cpp
365         touch $(GENSOURCES_WEBCORE)/XPathGrammar.cpp.h $(GENSOURCES_WEBCORE)/XPathGrammar.hpp
366         echo '#ifndef XPathGrammar_h' > $(GENSOURCES_WEBCORE)/XPathGrammar.h
367         echo '#define XPathGrammar_h' >> $(GENSOURCES_WEBCORE)/XPathGrammar.h
368         cat $(GENSOURCES_WEBCORE)/XPathGrammar.cpp.h $(GENSOURCES_WEBCORE)/XPathGrammar.hpp >> $(GENSOURCES_WEBCORE)/XPathGrammar.h
369         echo '#endif' >> $(GENSOURCES_WEBCORE)/XPathGrammar.h
370         rm -f $(GENSOURCES_WEBCORE)/XPathGrammar.cpp.h $(GENSOURCES_WEBCORE)/XPathGrammar.hpp
371 endif # END ENABLE_XPATH
372
373 # ----
374 # XSLT Support
375 # ----
376 if ENABLE_XSLT
377 FEATURE_DEFINES += ENABLE_XSLT=1
378 webcore_cppflags += -DENABLE_XSLT=1
379 endif # END ENABLE_XSLT
380
381 # ----
382 # Web Workers support
383 # ----
384 if ENABLE_WORKERS
385 FEATURE_DEFINES += ENABLE_WORKERS=1
386 webcore_cppflags += -DENABLE_WORKERS=1
387 endif
388
389 # ---
390 # SharedWorker support
391 # ---
392 if ENABLE_SHARED_WORKERS
393 FEATURE_DEFINES += ENABLE_SHARED_WORKERS=1
394 webcore_cppflags += -DENABLE_SHARED_WORKERS=1
395 endif
396
397 # ----
398 # WML Support
399 # ----
400 if ENABLE_WML
401 FEATURE_DEFINES += ENABLE_WML=1
402 webcore_cppflags += -DENABLE_WML=1
403
404 # WML tag and attribute names
405 DerivedSources/WebCore/WMLNames.cpp: DerivedSources/WebCore/WMLElementFactory.cpp
406 DerivedSources/WebCore/WMLElementFactory.cpp: $(WebCore)/dom/make_names.pl $(WebCore)/wml/WMLTagNames.in $(WebCore)/wml/WMLAttributeNames.in
407         $(AM_V_GEN)$(PERL) -I$(WebCore)/bindings/scripts $< --tags $(WebCore)/wml/WMLTagNames.in --attrs $(WebCore)/wml/WMLAttributeNames.in --factory --wrapperFactory --outputDir "$(GENSOURCES_WEBCORE)"
408 endif # END ENABLE_WML
409
410 # ----
411 # WCSS Support
412 # ----
413 if ENABLE_WCSS
414 FEATURE_DEFINES += ENABLE_WCSS=1
415 webcore_cppflags += -DENABLE_WCSS=1
416 endif # END ENABLE_WCSS
417
418 # ----
419 # Filters
420 # ----
421 if ENABLE_FILTERS
422 FEATURE_DEFINES += ENABLE_FILTERS=1
423 webcore_cppflags += -DENABLE_FILTERS=1
424 if ENABLE_SVG
425 SVG_FEATURES += ENABLE_FILTERS=1
426 endif
427
428 endif # END ENABLE_FILTERS
429
430 # ----
431 # Geolocation
432 # ----
433 if ENABLE_GEOLOCATION
434
435 FEATURE_DEFINES += ENABLE_GEOLOCATION=1
436 webcore_cppflags += -DENABLE_GEOLOCATION=1
437 endif # END ENABLE_GEOLOCATION
438
439 # ----
440 # MathML support
441 # ----
442 if ENABLE_MATHML
443 FEATURE_DEFINES += ENABLE_MATHML=1
444 webcore_cppflags += -DENABLE_MATHML=1
445 endif # END ENABLE_MATHML
446
447 # MathML tag and attribute names, and element factory 
448 DerivedSources/WebCore/MathMLElementFactory.h: DerivedSources/WebCore/MathMLElementFactory.cpp
449 DerivedSources/WebCore/MathMLNames.h: DerivedSources/WebCore/MathMLNames.cpp
450 DerivedSources/WebCore/MathMLElementFactory.cpp DerivedSources/WebCore/MathMLNames.cpp: $(WebCore)/dom/make_names.pl $(WebCore)/mathml/mathtags.in $(WebCore)/mathml/mathattrs.in
451         $(AM_V_GEN)$(PERL) -I$(WebCore)/bindings/scripts $< --tags $(WebCore)/mathml/mathtags.in --attrs $(WebCore)/mathml/mathattrs.in --factory --wrapperFactory --outputDir "$(GENSOURCES_WEBCORE)"
452
453 # ----
454 # Notifications support
455 # ----
456 if ENABLE_NOTIFICATIONS
457 FEATURE_DEFINES += ENABLE_NOTIFICATIONS=1
458 webcore_cppflags += -DENABLE_NOTIFICATIONS=1
459 endif # END ENABLE_NOTIFICATIONS
460
461 # ----
462 # SVG Support
463 #
464 # FIXME: allow a more fine-grained inclusion/generation of sources per SVG feature
465 # ----
466 if ENABLE_SVG
467 FEATURE_DEFINES += ENABLE_SVG=1
468 webcore_cppflags += -DENABLE_SVG=1
469 WEBCORE_CSS_PROPERTY_NAMES += $(WebCore)/css/SVGCSSPropertyNames.in 
470 WEBCORE_CSS_VALUE_KEYWORDS += $(WebCore)/css/SVGCSSValueKeywords.in
471
472 # SVG Features
473 if ENABLE_SVG_USE
474 FEATURE_DEFINES += ENABLE_SVG_USE=1
475 SVG_FEATURES += ENABLE_SVG_USE=1
476 webcore_cppflags += -DENABLE_SVG_USE=1
477 endif
478
479 if ENABLE_SVG_FOREIGN_OBJECT
480 FEATURE_DEFINES += ENABLE_SVG_FOREIGN_OBJECT=1
481 SVG_FEATURES += ENABLE_SVG_FOREIGN_OBJECT=1
482 webcore_cppflags += -DENABLE_SVG_FOREIGN_OBJECT=1
483 endif
484
485 if ENABLE_SVG_FONTS
486 FEATURE_DEFINES += ENABLE_SVG_FONTS=1
487 SVG_FEATURES += ENABLE_SVG_FONTS=1
488 webcore_cppflags += -DENABLE_SVG_FONTS=1
489 endif
490
491 if ENABLE_SVG_AS_IMAGE
492 FEATURE_DEFINES += ENABLE_SVG_AS_IMAGE=1
493 SVG_FEATURES += ENABLE_SVG_AS_IMAGE=1
494 webcore_cppflags += -DENABLE_SVG_AS_IMAGE=1
495 endif
496
497 if ENABLE_SVG_ANIMATION
498 FEATURE_DEFINES += ENABLE_SVG_ANIMATION=1
499 SVG_FEATURES += ENABLE_SVG_ANIMATION=1
500 webcore_cppflags += -DENABLE_SVG_ANIMATION=1
501 endif
502
503 endif # END ENABLE_SVG
504
505 # SVG tag and attribute names (need to pass an extra flag if svg experimental features are enabled)
506 DerivedSources/WebCore/SVGNames.cpp: DerivedSources/WebCore/SVGElementFactory.cpp
507 DerivedSources/WebCore/JSSVGElementWrapperFactory.cpp: DerivedSources/WebCore/SVGElementFactory.cpp
508
509 if SVG_FLAGS
510 DerivedSources/WebCore/SVGElementFactory.cpp: $(WebCore)/dom/make_names.pl $(WebCore)/svg/svgtags.in $(WebCore)/svg/svgattrs.in
511         $(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)"
512 else
513 DerivedSources/WebCore/SVGElementFactory.cpp: $(WebCore)/dom/make_names.pl $(WebCore)/svg/svgtags.in $(WebCore)/svg/svgattrs.in
514         $(AM_V_GEN)$(PERL) -I$(WebCore)/bindings/scripts $< --tags $(WebCore)/svg/svgtags.in --attrs $(WebCore)/svg/svgattrs.in --factory --wrapperFactory --outputDir "$(GENSOURCES_WEBCORE)"
515 endif # SVG_FLAGS
516
517 # end SVG Features
518
519 DerivedSources/WebCore/XLinkNames.h: DerivedSources/WebCore/XLinkNames.cpp
520 DerivedSources/WebCore/XLinkNames.cpp : $(WebCore)/dom/make_names.pl $(WebCore)/svg/xlinkattrs.in
521         $(AM_V_GEN)$(PERL) -I$(WebCore)/bindings/scripts $< --attrs $(WebCore)/svg/xlinkattrs.in --outputDir "$(GENSOURCES_WEBCORE)"
522
523 # ----
524 # Web Audio Support
525 # ----
526 if ENABLE_WEB_AUDIO
527 FEATURE_DEFINES += ENABLE_WEB_AUDIO=1
528 webcore_cppflags += -DENABLE_WEB_AUDIO=1
529 endif
530
531 # ----
532 # Web Sockets Support
533 # ----
534 if ENABLE_WEB_SOCKETS
535 FEATURE_DEFINES += ENABLE_WEB_SOCKETS=1
536 webcore_cppflags += -DENABLE_WEB_SOCKETS=1
537 else
538 webcore_cppflags += -DENABLE_WEB_SOCKETS=0
539 endif  # END ENABLE_WEB_SOCKETS
540
541 # ---
542 # Blob support
543 # ---
544 if ENABLE_BLOB
545 FEATURE_DEFINES += ENABLE_BLOB=1
546 webcore_cppflags += -DENABLE_BLOB=1
547 endif  # END ENABLE_BLOB
548
549 # ---
550 # 3D canvas (WebGL) support
551 # ---
552 if ENABLE_WEBGL
553 FEATURE_DEFINES += ENABLE_WEBGL=1
554 webcore_cppflags += -DENABLE_WEBGL=1
555 endif  # END ENABLE_WEBGL
556
557
558 DerivedSources/WebCore/CSSPropertyNames.cpp: DerivedSources/WebCore/CSSPropertyNames.h
559 DerivedSources/WebCore/CSSPropertyNames.h: $(WEBCORE_CSS_PROPERTY_NAMES) $(WebCore)/css/makeprop.pl
560         if sort $(WEBCORE_CSS_PROPERTY_NAMES) | uniq -d | grep -E '^[^#]'; then echo 'Duplicate value!'; exit 1; fi
561         cat $(WEBCORE_CSS_PROPERTY_NAMES) > CSSPropertyNames.in
562         $(PERL) "$(WebCore)/css/makeprop.pl"
563         mv CSSPropertyNames* $(GENSOURCES_WEBCORE)
564
565 # Lower case all the values, as CSS values are case-insensitive
566 DerivedSources/WebCore/CSSValueKeywords.cpp: DerivedSources/WebCore/CSSValueKeywords.h
567 DerivedSources/WebCore/CSSValueKeywords.h: $(WEBCORE_CSS_VALUE_KEYWORDS) $(WebCore)/css/makevalues.pl
568         $(PERL) -ne 'print lc' $(WEBCORE_CSS_VALUE_KEYWORDS) > CSSValueKeywords.in
569         if sort CSSValueKeywords.in | uniq -d | grep -E '^[^#]'; then echo 'Duplicate value!'; exit 1; fi
570         $(PERL) "$(WebCore)/css/makevalues.pl"
571         mv CSSValueKeywords* $(GENSOURCES_WEBCORE)
572
573 # DOCTYPE strings
574 DerivedSources/WebCore/HashTools.h: DerivedSources/WebCore/DocTypeStrings.cpp
575 DerivedSources/WebCore/DocTypeStrings.cpp: $(WebCore)/html/DocTypeStrings.gperf $(WebCore)/make-hash-tools.pl
576         $(PERL) $(WebCore)/make-hash-tools.pl $(GENSOURCES_WEBCORE) $(WebCore)/html/DocTypeStrings.gperf
577
578 # XML Viewer CSS
579 DerivedSources/WebCore/XMLViewerCSS.h: $(WebCore)/xml/XMLViewer.css
580         $(PERL) $(WebCore)/inspector/xxd.pl XMLViewer_css $(WebCore)/xml/XMLViewer.css $(GENSOURCES_WEBCORE)/XMLViewerCSS.h
581
582 # XML Viewer JS
583 DerivedSources/WebCore/XMLViewerJS.h: $(WebCore)/xml/XMLViewer.js
584         $(PERL) $(WebCore)/inspector/xxd.pl XMLViewer_js $(WebCore)/xml/XMLViewer.js $(GENSOURCES_WEBCORE)/XMLViewerJS.h
585
586 # HTML entity names
587 DerivedSources/WebCore/HTMLEntityTable.cpp: $(WebCore)/html/parser/HTMLEntityNames.in $(WebCore)/html/parser/create-html-entity-table
588         $(PYTHON) $(WebCore)/html/parser/create-html-entity-table -o $(GENSOURCES_WEBCORE)/HTMLEntityTable.cpp $(WebCore)/html/parser/HTMLEntityNames.in
589
590 # color names
591 DerivedSources/WebCore/ColorData.cpp: $(WebCore)/platform/ColorData.gperf $(WebCore)/make-hash-tools.pl
592         $(PERL) $(WebCore)/make-hash-tools.pl $(GENSOURCES_WEBCORE) $(WebCore)/platform/ColorData.gperf
593
594 # CSS tokenizer
595 DerivedSources/WebCore/tokenizer.cpp : $(WebCore)/css/tokenizer.flex $(WebCore)/css/maketokenizer
596         $(AM_V_GEN)$(FLEX) -t $< | $(PERL) $(WebCore)/css/maketokenizer > $@
597
598 # CSS grammar
599
600 # NOTE: older versions of bison do not inject an inclusion guard, so we do it
601 DerivedSources/WebCore/CSSGrammar.h: $(GENSOURCES_WEBCORE)/CSSGrammar.cpp
602 DerivedSources/WebCore/CSSGrammar.cpp: $(WebCore)/css/CSSGrammar.y
603         rm -f $(GENSOURCES_WEBCORE)/CSSGrammar.cpp.h $(GENSOURCES_WEBCORE)/CSSGrammar.hpp
604         $(BISON) -d -p cssyy $< -o $(GENSOURCES_WEBCORE)/CSSGrammar.cpp
605         touch $(GENSOURCES_WEBCORE)/CSSGrammar.cpp.h $(GENSOURCES_WEBCORE)/CSSGrammar.hpp
606         echo '#ifndef CSSGrammar_h' > $(GENSOURCES_WEBCORE)/CSSGrammar.h
607         echo '#define CSSGrammar_h' >> $(GENSOURCES_WEBCORE)/CSSGrammar.h
608         cat $(GENSOURCES_WEBCORE)/CSSGrammar.cpp.h $(GENSOURCES_WEBCORE)/CSSGrammar.hpp >> $(GENSOURCES_WEBCORE)/CSSGrammar.h
609         echo '#endif' >> $(GENSOURCES_WEBCORE)/CSSGrammar.h
610         rm -f $(GENSOURCES_WEBCORE)/CSSGrammar.cpp.h $(GENSOURCES_WEBCORE)/CSSGrammar.hpp
611
612 # user agent style sheets
613 USER_AGENT_STYLE_SHEETS = \
614         $(WebCore)/css/html.css \
615         $(WebCore)/css/mathml.css \
616         $(WebCore)/css/quirks.css \
617         $(WebCore)/css/view-source.css \
618         $(WebCore)/css/svg.css \
619         $(WebCore)/css/wml.css \
620         $(WebCore)/css/mediaControls.css \
621         $(WebCore)/css/mediaControlsGtk.css \
622         $(WebCore)/css/fullscreen.css
623
624 # new-style JavaScript bindings
625 SCRIPTS_BINDINGS = \
626         $(WebCore)/bindings/scripts/CodeGenerator.pm \
627         $(WebCore)/bindings/scripts/IDLParser.pm \
628         $(WebCore)/bindings/scripts/IDLStructure.pm \
629         $(WebCore)/bindings/scripts/InFilesParser.pm \
630         $(WebCore)/bindings/scripts/generate-bindings.pl
631
632 DerivedSources/WebCore/UserAgentStyleSheetsData.cpp: DerivedSources/WebCore/UserAgentStyleSheets.h
633 DerivedSources/WebCore/UserAgentStyleSheets.h: $(WebCore)/css/make-css-file-arrays.pl $(USER_AGENT_STYLE_SHEETS)
634         $(AM_V_GEN)$(PERL) $< $@ DerivedSources/WebCore/UserAgentStyleSheetsData.cpp $(USER_AGENT_STYLE_SHEETS)
635
636 # HTML tag and attribute names
637 DerivedSources/WebCore/JSHTMLElementWrapperFactory.cpp: DerivedSources/WebCore/HTMLElementFactory.cpp
638 DerivedSources/WebCore/HTMLElementFactory.cpp: DerivedSources/WebCore/HTMLElementFactory.h
639 DerivedSources/WebCore/HTMLElementFactory.h: DerivedSources/WebCore/HTMLNames.cpp
640 DerivedSources/WebCore/HTMLNames.cpp: DerivedSources/WebCore/HTMLNames.h
641 if HTML_FLAGS
642 DerivedSources/WebCore/HTMLNames.h: $(WebCore)/dom/make_names.pl $(WebCore)/html/HTMLTagNames.in $(WebCore)/html/HTMLAttributeNames.in
643         $(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)"
644 else
645 DerivedSources/WebCore/HTMLNames.h: $(WebCore)/dom/make_names.pl $(WebCore)/html/HTMLTagNames.in $(WebCore)/html/HTMLAttributeNames.in
646         $(AM_V_GEN)$(PERL) -I$(WebCore)/bindings/scripts $< --tags $(WebCore)/html/HTMLTagNames.in --attrs $(WebCore)/html/HTMLAttributeNames.in --factory --wrapperFactory --outputDir "$(GENSOURCES_WEBCORE)"
647 endif # HTML_FLAGS
648
649
650 DerivedSources/WebCore/XMLNSNames.cpp DerivedSources/WebCore/XMLNSNames.h: $(WebCore)/dom/make_names.pl $(WebCore)/xml/xmlnsattrs.in
651         $(AM_V_GEN)$(PERL) -I$(WebCore)/bindings/scripts $< --attrs $(WebCore)/xml/xmlnsattrs.in --outputDir "$(GENSOURCES_WEBCORE)"
652
653 DerivedSources/WebCore/XMLNames.cpp DerivedSources/WebCore/XMLNames.h: $(WebCore)/dom/make_names.pl $(WebCore)/xml/xmlattrs.in
654         $(AM_V_GEN)$(PERL) -I$(WebCore)/bindings/scripts $< --attrs $(WebCore)/xml/xmlattrs.in --outputDir "$(GENSOURCES_WEBCORE)"
655
656 # All Web Inspector generated files are created with this one call to CodeGeneratorInspector.pm
657 DerivedSources/WebCore/Inspector.idl : $(WebCore)/inspector/Inspector.json $(WebCore)/inspector/generate-inspector-idl
658         $(PYTHON) $(WebCore)/inspector/generate-inspector-idl -o $(GENSOURCES_WEBCORE)/Inspector.idl $(WebCore)/inspector/Inspector.json
659
660 DerivedSources/WebCore/InspectorBackendDispatcher.cpp: DerivedSources/WebCore/Inspector.idl $(SCRIPTS_BINDINGS) $(WebCore)/inspector/CodeGeneratorInspector.pm
661         $(AM_V_GEN)$(PERL) -I$(WebCore)/bindings/scripts -I$(WebCore)/inspector $(WebCore)/bindings/scripts/generate-bindings.pl $(IDL_PATH:%=--include "%") --outputDir "$(GENSOURCES_WEBCORE)" --defines "LANGUAGE_JAVASCRIPT=1 $(FEATURE_DEFINES)" --generator Inspector $<
662 DerivedSources/WebCore/InspectorFrontend.h: DerivedSources/WebCore/InspectorFrontend.cpp
663 DerivedSources/WebCore/InspectorFrontend.cpp: DerivedSources/WebCore/InspectorBackendStub.js
664 DerivedSources/WebCore/InspectorBackendStub.js: DerivedSources/WebCore/InspectorBackendDispatcher.h
665 DerivedSources/WebCore/InspectorBackendDispatcher.h: DerivedSources/WebCore/InspectorBackendDispatcher.cpp
666 DerivedSources/WebCore/InjectedScriptSource.h: $(WebCore)/inspector/InjectedScriptSource.js
667         perl $(WebCore)/inspector/xxd.pl InjectedScriptSource_js $(WebCore)/inspector/InjectedScriptSource.js $(GENSOURCES_WEBCORE)/InjectedScriptSource.h
668
669 # ANGLE tokenizer & parser
670 DerivedSources/ANGLE/glslang.cpp: Source/ThirdParty/ANGLE/src/compiler/glslang.l
671         $(AM_V_GEN)$(FLEX) --noline --nounistd --outfile="$@" "$<"
672
673 DerivedSources/ANGLE/glslang_tab.cpp: Source/ThirdParty/ANGLE/src/compiler/glslang.y
674         $(AM_V_GEN)$(BISON) --no-lines --defines="DerivedSources/ANGLE/glslang_tab.h" --skeleton=yacc.c --output="$@" $<
675 DerivedSources/ANGLE/glslang_tab.h: DerivedSources/ANGLE/glslang_tab.cpp
676
677 IDL_PATH := \
678     $(WebCore)/bindings/js \
679     $(WebCore)/css \
680     $(WebCore)/dom \
681     $(WebCore)/fileapi \
682     $(WebCore)/html \
683     $(WebCore)/html/canvas \
684     $(WebCore)/inspector \
685     $(WebCore)/loader/appcache \
686     $(WebCore)/notifications \
687     $(WebCore)/page \
688     $(WebCore)/plugins \
689     $(WebCore)/storage \
690     $(WebCore)/svg \
691     $(WebCore)/webaudio \
692     $(WebCore)/websockets \
693     $(WebCore)/workers \
694     $(WebCore)/xml
695
696 vpath %.idl = $(IDL_PATH)
697
698 # This does not appear to work correctly with gnumake unless
699 # it includes an empty command list (the semicolon).
700 DerivedSources/WebCore/JS%.cpp: DerivedSources/WebCore/JS%.h;
701
702 .SECONDARY:
703 DerivedSources/WebCore/JS%.h: %.idl $(SCRIPTS_BINDINGS) $(WebCore)/bindings/scripts/CodeGeneratorJS.pm
704         $(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 $<
705
706 noinst_LTLIBRARIES += \
707         libWebCore.la
708
709 nodist_EXTRA_libWebCore_la_SOURCES = \
710         $(webcore_built_nosources)
711
712 nodist_libWebCore_la_SOURCES = \
713         $(webcore_built_sources)
714
715 libWebCore_la_SOURCES = \
716         $(webcore_sources)
717
718 libWebCore_la_CXXFLAGS = \
719         $(SYMBOL_VISIBILITY_INLINES) \
720         $(global_cxxflags)
721
722 libWebCore_la_CFLAGS = \
723         $(SYMBOL_VISIBILITY) \
724         $(global_cflags)
725
726 libWebCore_la_CPPFLAGS = \
727         -DBUILDING_WEBKIT \
728         $(global_cppflags) \
729         $(webcore_cppflags) \
730         $(webcoregtk_cppflags) \
731         $(javascriptcore_cppflags) \
732         -fno-strict-aliasing \
733         $(HILDON_CPPFLAGS) \
734         $(COVERAGE_CFLAGS) \
735         $(ENCHANT_CFLAGS) \
736         $(GAIL_CFLAGS) \
737         $(GEOCLUE_CFLAGS) \
738         $(GLIB_CFLAGS) \
739         $(GSTREAMER_CFLAGS) \
740         $(GTK_CFLAGS) \
741         $(HILDON_CFLAGS) \
742         $(LIBSOUP_CFLAGS) \
743         $(LIBXML_CFLAGS) \
744         $(LIBXSLT_CFLAGS) \
745         $(SQLITE3_CFLAGS) \
746         $(UNICODE_CFLAGS) \
747         $(XRENDER_CFLAGS) \
748         $(XT_CFLAGS)
749
750 EXTRA_DIST += \
751         $(shell ls $(srcdir)/Source/WebCore/css/*.idl) \
752         $(shell ls $(srcdir)/Source/WebCore/dom/*.idl) \
753         $(shell ls $(srcdir)/Source/WebCore/fileapi/*.idl) \
754         $(shell ls $(srcdir)/Source/WebCore/html/canvas/*.idl) \
755         $(shell ls $(srcdir)/Source/WebCore/html/*.idl) \
756         $(shell ls $(srcdir)/Source/WebCore/inspector/*.idl) \
757         $(shell ls $(srcdir)/Source/WebCore/loader/appcache/*.idl) \
758         $(shell ls $(srcdir)/Source/WebCore/notifications/*.idl) \
759         $(shell ls $(srcdir)/Source/WebCore/page/*.idl) \
760         $(shell ls $(srcdir)/Source/WebCore/plugins/*.idl) \
761         $(shell ls $(srcdir)/Source/WebCore/storage/*.idl) \
762         $(shell ls $(srcdir)/Source/WebCore/svg/*.idl) \
763         $(shell ls $(srcdir)/Source/WebCore/webaudio/*.idl) \
764         $(shell ls $(srcdir)/Source/WebCore/websockets/*.idl) \
765         $(shell ls $(srcdir)/Source/WebCore/workers/*.idl) \
766         $(shell ls $(srcdir)/Source/WebCore/xml/*.idl) \
767         Source/WebCore/bindings/scripts/CodeGeneratorGObject.pm \
768         Source/WebCore/bindings/scripts/CodeGeneratorJS.pm \
769         Source/WebCore/bindings/scripts/CodeGenerator.pm \
770         Source/WebCore/bindings/scripts/generate-bindings.pl \
771         Source/WebCore/bindings/scripts/gobject-generate-headers.pl \
772         Source/WebCore/bindings/scripts/IDLParser.pm \
773         Source/WebCore/bindings/scripts/IDLStructure.pm \
774         Source/WebCore/bindings/scripts/InFilesParser.pm \
775         Source/WebCore/ChangeLog \
776         Source/WebCore/css/CSSGrammar.y \
777         Source/WebCore/css/CSSPropertyNames.in \
778         Source/WebCore/css/CSSValueKeywords.in \
779         Source/WebCore/css/fullscreen.css \
780         Source/WebCore/css/html.css \
781         Source/WebCore/css/make-css-file-arrays.pl \
782         Source/WebCore/css/makegrammar.pl \
783         Source/WebCore/css/makeprop.pl \
784         Source/WebCore/css/maketokenizer \
785         Source/WebCore/css/makevalues.pl \
786         Source/WebCore/css/mathml.css \
787         Source/WebCore/css/mediaControls.css \
788         Source/WebCore/css/mediaControlsGtk.css \
789         Source/WebCore/css/quirks.css \
790         Source/WebCore/css/svg.css \
791         Source/WebCore/css/SVGCSSPropertyNames.in \
792         Source/WebCore/css/SVGCSSValueKeywords.in \
793         Source/WebCore/css/tokenizer.flex \
794         Source/WebCore/css/view-source.css \
795         Source/WebCore/css/wml.css \
796         Source/WebCore/dom/make_names.pl \
797         Source/WebCore/html/DocTypeStrings.gperf \
798         Source/WebCore/html/HTMLAttributeNames.in \
799         Source/WebCore/html/HTMLTagNames.in \
800         Source/WebCore/html/parser/create-html-entity-table \
801         Source/WebCore/html/parser/HTMLEntityNames.in \
802         Source/WebCore/icu/LICENSE \
803         Source/WebCore/inspector/CodeGeneratorInspector.pm \
804         Source/WebCore/inspector/InjectedScriptSource.js \
805         Source/WebCore/inspector/Inspector.json \
806         Source/WebCore/inspector/generate-inspector-idl \
807         Source/WebCore/inspector/xxd.pl \
808         Source/WebCore/LICENSE-APPLE \
809         Source/WebCore/LICENSE-LGPL-2 \
810         Source/WebCore/LICENSE-LGPL-2.1 \
811         Source/WebCore/make-hash-tools.pl \
812         Source/WebCore/mathml/mathattrs.in \
813         Source/WebCore/mathml/mathtags.in \
814         Source/WebCore/platform/ColorData.gperf \
815         Source/WebCore/platform/text/mac/make-charset-table.pl \
816         Source/WebCore/svg/svgattrs.in \
817         Source/WebCore/svg/svgtags.in \
818         Source/WebCore/svg/xlinkattrs.in \
819         Source/WebCore/xml/xmlattrs.in \
820         Source/WebCore/xml/xmlnsattrs.in \
821         Source/WebCore/xml/XMLViewer.css \
822         Source/WebCore/xml/XMLViewer.js \
823         Source/WebCore/xml/XPathGrammar.y
824
825 # Installing web inspector files
826 webinspectordir = ${datadir}/webkitgtk-@WEBKITGTK_API_VERSION@/webinspector
827 dist_webinspector_DATA = \
828         $(WebCore)/English.lproj/localizedStrings.js \
829         DerivedSources/WebCore/InspectorBackendStub.js \
830         $(shell ls $(WebCore)/inspector/front-end/*.js) \
831         $(shell ls $(WebCore)/inspector/front-end/*.html) \
832         $(shell ls $(WebCore)/inspector/front-end/*.css)
833
834 webinspectoruglifyjsdir = ${datadir}/webkitgtk-@WEBKITGTK_API_VERSION@/webinspector/UglifyJS
835 dist_webinspectoruglifyjs_DATA = \
836         $(shell ls $(WebCore)/inspector/front-end/UglifyJS/*.js)
837
838 webinspectorimagesdir = ${datadir}/webkitgtk-@WEBKITGTK_API_VERSION@/webinspector/Images
839 dist_webinspectorimages_DATA = \
840         $(shell ls $(WebCore)/inspector/front-end/Images/*.gif) \
841         $(shell ls $(WebCore)/inspector/front-end/Images/*.png)
842
843 # It seems that $(shell) does not expand when it is a rule dependency, so
844 # we must redefine this list of copied files with traditional dependency wildcards.
845 noinst_DATA = ${GENSOURCES_INSPECTOR}/inspector.html
846 ${GENSOURCES_INSPECTOR}/inspector.html: $(WebCore)/inspector/front-end/*.html \
847                 $(WebCore)/inspector/front-end/*.js \
848                 $(WebCore)/inspector/front-end/UglifyJS/*.js \
849                 $(WebCore)/inspector/front-end/*.css \
850                 $(WebCore)/inspector/front-end/Images/* \
851                 DerivedSources/WebCore/InspectorBackendStub.js \
852                 $(WebCore)/English.lproj/localizedStrings.js
853         $(AM_V_GEN)mkdir -p ${GENSOURCES_INSPECTOR}/UglifyJS
854         $(AM_V_GEN)mkdir -p ${GENSOURCES_INSPECTOR}/images
855         $(AM_V_at)cp ${dist_webinspector_DATA} ${GENSOURCES_INSPECTOR}
856         $(AM_V_at)cp ${dist_webinspectoruglifyjs_DATA} ${GENSOURCES_INSPECTOR}/UglifyJS
857         $(AM_V_at)cp ${dist_webinspectorimages_DATA} ${GENSOURCES_INSPECTOR}/images
858
859 webresourcesdir = ${datadir}/webkitgtk-@WEBKITGTK_API_VERSION@/images
860 dist_webresources_DATA = \
861         $(WebCore)/Resources/textAreaResizeCorner.png \
862         $(WebCore)/Resources/nullPlugin.png \
863         $(WebCore)/Resources/urlIcon.png \
864         $(WebCore)/Resources/missingImage.png \
865         $(WebCore)/Resources/panIcon.png \
866         $(WebCore)/Resources/deleteButton.png \
867         $(WebCore)/Resources/inputSpeech.png