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