DShow: small fixes and cosmetics
[vlc/asuraparaju-public.git] / share / Makefile.am
blobfe61d4b83dc0d9e3f020a16202dd0bcf02b26a42
1 CLEANFILES = skins2/default.vlt
2 MOSTLYCLEANFILES =
4 appdatadir = $(datadir)/applications/
6 iconsdatadir = $(datadir)/icons/hicolor/
7 icons16dir = $(iconsdatadir)/16x16/apps/
8 icons32dir = $(iconsdatadir)/32x32/apps/
9 icons48dir = $(iconsdatadir)/48x48/apps/
10 icons128dir = $(iconsdatadir)/128x128/apps/
11 icons256dir = $(iconsdatadir)/256x256/apps/
13 dist_appdata_DATA = vlc.desktop
15 dist_vlcdata_DATA = icons/vlc.ico
16 dist_icons16_DATA = icons/16x16/vlc.png icons/16x16/vlc.xpm
17 dist_icons32_DATA = icons/32x32/vlc.png icons/32x32/vlc.xpm \
18                     icons/32x32/vlc-christmas.xpm
19 dist_icons48_DATA = icons/48x48/vlc.png icons/48x48/vlc-christmas.png
20 dist_icons128_DATA = icons/128x128/vlc.png icons/128x128/vlc-christmas.png
21 dist_icons256_DATA = icons/256x256/vlc.png
23 nobase_dist_vlcdata_SCRIPTS = \
24         utils/gnome-vlc-default.sh \
25         utils/audio-vlc-default.sh \
26         utils/video-vlc-default.sh \
27         $(NULL)
29 EXTRA_DIST = \
30         $(skins2_default_vlt_FILES) \
31         $(DIST_rsrc) \
32         $(DIST_skins2) \
33         $(DIST_http) \
34         $(DIST_http_lua) \
35         $(DIST_lua) \
36         $(DIST_osdmenu_default) \
37         $(DIST_mozilla) \
38         $(DIST_maemo) \
39         $(DIST_solid)
41 nobase_vlcdata_DATA =
42 if BUILD_SKINS
43 nobase_vlcdata_DATA += skins2/default.vlt
44 nobase_vlcdata_DATA += $(DIST_skins2)
45 endif
46 if BUILD_HTTPD
47 nobase_vlcdata_DATA += $(DIST_http)
48 endif
49 if BUILD_OSDMENU
50 nobase_vlcdata_DATA += \
51         $(DIST_osdmenu_default)
52 endif
53 if BUILD_MOZILLA
54 # TODO: move to the mozilla directory
55 nobase_vlcdata_DATA += $(DIST_mozilla)
56 endif
57 if BUILD_HILDON
58 nobase_vlcdata_DATA += $(DIST_maemo) $(maemo_FILES)
59 endif
60 if KDE_SOLID
61 soliddata_DATA = $(DIST_solid)
62 endif
64 DIST_rsrc = \
65         newres.h \
66         resource.h \
67         vlc_wince_rc.rc \
68         vlc_beos.rsrc
70 DIST_skins2 = \
71         skins2/fonts/FreeSans.ttf \
72         skins2/fonts/FreeSansBold.ttf \
73         skins2/skin.dtd \
74         skins2/skin.catalog \
75         skins2/winamp2.xml
77 skins2_default_vlt_FILES = \
78         skins2/default/theme.xml \
79         skins2/default/subX/about.png \
80         skins2/default/subX/eq.png \
81         skins2/default/subX/font.otf \
82         skins2/default/subX/main.png \
83         skins2/default/subX/playtreeglyphs.png \
84         skins2/default/subX/pl.png \
85         skins2/default/subX/sysbuttons.png \
86         skins2/default/subX/vol_anim.png \
87         skins2/default/subX/vol_slider.png
89 skins2/default.vlt: $(skins2_default_vlt_FILES)
90         mkdir -p skins2
91         tar cvvzf skins2/default.vlt -C $(srcdir)/skins2 default/
93 DIST_http = \
94         http/.hosts \
95         http/dialogs/.hosts \
96         http/dialogs/browse \
97         http/dialogs/footer \
98         http/dialogs/input \
99         http/dialogs/main \
100         http/dialogs/mosaic \
101         http/dialogs/playlist \
102         http/dialogs/sout \
103         http/dialogs/vlm \
104         http/favicon.ico \
105         http/images/delete.png \
106         http/images/delete_small.png \
107         http/images/eject.png \
108         http/images/empty.png \
109         http/images/fullscreen.png \
110         http/images/help.png \
111         http/images/info.png \
112         http/images/loop.png \
113         http/images/minus.png \
114         http/images/next.png \
115         http/images/pause.png \
116         http/images/play.png \
117         http/images/playlist.png \
118         http/images/playlist_small.png \
119         http/images/plus.png \
120         http/images/prev.png \
121         http/images/refresh.png \
122         http/images/repeat.png \
123         http/images/sd.png \
124         http/images/shuffle.png \
125         http/images/slider_bar.png \
126         http/images/slider_left.png \
127         http/images/slider_point.png \
128         http/images/slider_right.png \
129         http/images/snapshot.png \
130         http/images/slow.png \
131         http/images/sort.png \
132         http/images/sout.png \
133         http/images/speaker.png \
134         http/images/speaker_mute.png \
135         http/images/stop.png \
136         http/images/vlc16x16.png \
137         http/images/volume_down.png \
138         http/images/volume_up.png \
139         http/images/white.png \
140         http/images/white_cross_small.png \
141         http/index.html \
142         http/js/functions.js \
143         http/js/mosaic.js \
144         http/js/vlm.js \
145         http/mosaic.html \
146         http/requests/browse.xml \
147         http/requests/playlist.xml \
148         http/requests/status.xml \
149         http/requests/vlm.xml \
150         http/requests/vlm_cmd.xml \
151         http/requests/README.txt \
152         http/style.css \
153         http/iehacks.css \
154         http/vlm.html \
155         http/vlm_export.html \
156         http/flash.html
158 DIST_osdmenu_default = \
159         osdmenu/default.cfg \
160         osdmenu/default/unselected.png \
161         osdmenu/default/selection/bw.png \
162         osdmenu/default/selection/esc.png \
163         osdmenu/default/selection/fw.png \
164         osdmenu/default/selection/volume.png \
165         osdmenu/default/selection/next.png \
166         osdmenu/default/selection/play_pause.png \
167         osdmenu/default/selection/previous.png \
168         osdmenu/default/selection/stop.png \
169         osdmenu/default/selected/bw.png \
170         osdmenu/default/selected/next.png \
171         osdmenu/default/selected/play_pause.png \
172         osdmenu/default/selected/fw.png \
173         osdmenu/default/selected/stop.png \
174         osdmenu/default/selected/previous.png \
175         osdmenu/default/selected/esc.png \
176         osdmenu/default/selected/volume.png \
177         osdmenu/default/volume/volume_00.png \
178         osdmenu/default/volume/volume_01.png \
179         osdmenu/default/volume/volume_02.png \
180         osdmenu/default/volume/volume_03.png \
181         osdmenu/default/volume/volume_04.png \
182         osdmenu/default/volume/volume_05.png \
183         osdmenu/default/volume/volume_06.png \
184         osdmenu/default/volume/volume_07.png \
185         osdmenu/default/volume/volume_08.png \
186         osdmenu/default/volume/volume_09.png \
187         osdmenu/default/volume/volume_10.png
190 # LUA
192 luac_verbose = $(luac_verbose_$(V))
193 luac_verbose_ = $(luac_verbose_$(AM_DEFAULT_VERBOSITY))
194 luac_verbose_0 = @echo "  LUAC   $@";
196 .lua.luac:
197         $(AM_V_at)for f in $(EXTRA_DIST); do \
198                 test "$(srcdir)" = . || f="$(srcdir)/$$f"; \
199                 if test $$f = $<; then \
200                         exit 0; \
201                 fi; \
202         done; \
203         echo "Attempt to byte-compile unknown file: $(<)!"; \
204         exit 1
205         $(AM_V_at)mkdir -p "$$(dirname '$@')"
206         $(luac_verbose)$(LUAC) -o $@ $<
208 if BUILD_LUA
209 nobase_vlclib_DATA = \
210         lua/extensions/allocine-fr.luac \
211         lua/extensions/imdb.luac \
212         lua/intf/dummy.luac \
213         lua/intf/dumpmeta.luac \
214         lua/intf/hotkeys.luac \
215         lua/intf/luac.luac \
216         lua/intf/modules/common.luac \
217         lua/intf/modules/host.luac \
218         lua/intf/rc.luac \
219         lua/intf/telnet.luac \
220         lua/meta/art/04_musicbrainz.luac \
221         lua/meta/art/02_frenchtv.luac \
222         lua/meta/art/03_lastfm.luac \
223         lua/meta/art/01_googleimage.luac \
224         lua/meta/fetcher/tvrage.luac \
225         lua/meta/reader/filename.luac \
226         lua/modules/sandbox.luac \
227         lua/modules/simplexml.luac \
228         lua/playlist/anevia_streams.luac \
229         lua/playlist/anevia_xml.luac \
230         lua/playlist/appletrailers.luac \
231         lua/playlist/bbc_co_uk.luac \
232         lua/playlist/break.luac \
233         lua/playlist/canalplus.luac \
234         lua/playlist/cue.luac \
235         lua/playlist/dailymotion.luac \
236         lua/playlist/france2.luac \
237         lua/playlist/googlevideo.luac \
238         lua/playlist/jamendo.luac \
239         lua/playlist/joox.luac \
240         lua/playlist/katsomo.luac \
241         lua/playlist/koreus.luac \
242         lua/playlist/lelombrik.luac \
243         lua/playlist/megavideo.luac \
244         lua/playlist/metacafe.luac \
245         lua/playlist/mpora.luac \
246         lua/playlist/pinkbike.luac \
247         lua/playlist/rockbox_fm_presets.luac \
248         lua/playlist/vimeo.luac \
249         lua/playlist/youtube.luac \
250         lua/playlist/youtube_homepage.luac \
251         lua/sd/appletrailers.luac \
252         lua/sd/fmc.luac \
253         lua/sd/freebox.luac \
254         lua/sd/frenchtv.luac \
255         lua/sd/icecast.luac \
256         lua/sd/jamendo.luac \
257         $(NULL)
258 if BUILD_HTTPD
259 nobase_vlclib_DATA += \
260         lua/intf/http.luac \
261         $(NULL)
262 nobase_vlcdata_DATA += $(DIST_http_lua)
263 endif
264 endif
265 MOSTLYCLEANFILES += $(nobase_vlclib_DATA)
267 EXTRA_DIST += \
268         lua/README.txt \
269         lua/extensions/README.txt \
270         lua/extensions/allocine-fr.lua \
271         lua/extensions/imdb.lua \
272         lua/intf/README.txt \
273         lua/intf/dummy.lua \
274         lua/intf/dumpmeta.lua \
275         lua/intf/hotkeys.lua \
276         lua/intf/http.lua \
277         lua/intf/luac.lua \
278         lua/intf/modules/common.lua \
279         lua/intf/modules/host.lua \
280         lua/intf/rc.lua \
281         lua/intf/telnet.lua \
282         lua/meta/art/README.txt \
283         lua/meta/art/04_musicbrainz.lua \
284         lua/meta/art/02_frenchtv.lua \
285         lua/meta/art/03_lastfm.lua \
286         lua/meta/art/01_googleimage.lua \
287         lua/meta/fetcher/README.txt \
288         lua/meta/fetcher/tvrage.lua \
289         lua/meta/reader/README.txt \
290         lua/meta/reader/filename.lua \
291         lua/modules/sandbox.lua \
292         lua/modules/simplexml.lua \
293         lua/playlist/README.txt \
294         lua/playlist/anevia_streams.lua \
295         lua/playlist/anevia_xml.lua \
296         lua/playlist/appletrailers.lua \
297         lua/playlist/bbc_co_uk.lua \
298         lua/playlist/break.lua \
299         lua/playlist/canalplus.lua \
300         lua/playlist/cue.lua \
301         lua/playlist/dailymotion.lua \
302         lua/playlist/france2.lua \
303         lua/playlist/googlevideo.lua \
304         lua/playlist/jamendo.lua \
305         lua/playlist/joox.lua \
306         lua/playlist/katsomo.lua \
307         lua/playlist/koreus.lua \
308         lua/playlist/lelombrik.lua \
309         lua/playlist/megavideo.lua \
310         lua/playlist/metacafe.lua \
311         lua/playlist/mpora.lua \
312         lua/playlist/pinkbike.lua \
313         lua/playlist/rockbox_fm_presets.lua \
314         lua/playlist/vimeo.lua \
315         lua/playlist/youtube.lua \
316         lua/playlist/youtube_homepage.lua \
317         lua/sd/README.txt \
318         lua/sd/appletrailers.lua \
319         lua/sd/fmc.lua \
320         lua/sd/freebox.lua \
321         lua/sd/frenchtv.lua \
322         lua/sd/icecast.lua \
323         lua/sd/jamendo.lua
325 DIST_http_lua = \
326         lua/http/.hosts \
327         lua/http/custom.lua \
328         lua/http/dialogs/.hosts \
329         lua/http/dialogs/browse \
330         lua/http/dialogs/footer \
331         lua/http/dialogs/input \
332         lua/http/dialogs/main \
333         lua/http/dialogs/mosaic \
334         lua/http/dialogs/playlist \
335         lua/http/dialogs/sout \
336         lua/http/dialogs/vlm \
337         lua/http/favicon.ico \
338         lua/http/images/delete.png \
339         lua/http/images/delete_small.png \
340         lua/http/images/eject.png \
341         lua/http/images/empty.png \
342         lua/http/images/fullscreen.png \
343         lua/http/images/help.png \
344         lua/http/images/info.png \
345         lua/http/images/loop.png \
346         lua/http/images/minus.png \
347         lua/http/images/next.png \
348         lua/http/images/pause.png \
349         lua/http/images/play.png \
350         lua/http/images/playlist.png \
351         lua/http/images/playlist_small.png \
352         lua/http/images/plus.png \
353         lua/http/images/prev.png \
354         lua/http/images/refresh.png \
355         lua/http/images/repeat.png \
356         lua/http/images/reset.png \
357         lua/http/images/sd.png \
358         lua/http/images/shuffle.png \
359         lua/http/images/slider_bar.png \
360         lua/http/images/slider_left.png \
361         lua/http/images/slider_point.png \
362         lua/http/images/slider_right.png \
363         lua/http/images/snapshot.png \
364         lua/http/images/slow.png \
365         lua/http/images/sort.png \
366         lua/http/images/sout.png \
367         lua/http/images/speaker.png \
368         lua/http/images/speaker_mute.png \
369         lua/http/images/stop.png \
370         lua/http/images/vlc16x16.png \
371         lua/http/images/volume_down.png \
372         lua/http/images/volume_up.png \
373         lua/http/images/white.png \
374         lua/http/images/white_cross_small.png \
375         lua/http/index.html \
376         lua/http/js/functions.js \
377         lua/http/js/mosaic.js \
378         lua/http/js/vlm.js \
379         lua/http/mosaic.html \
380         lua/http/requests/browse.xml \
381         lua/http/requests/playlist.xml \
382         lua/http/requests/status.xml \
383         lua/http/requests/vlm.xml \
384         lua/http/requests/vlm_cmd.xml \
385         lua/http/requests/README.txt \
386         lua/http/style.css \
387         lua/http/iehacks.css \
388         lua/http/vlm.html \
389         lua/http/vlm_export.html \
390         lua/http/flash.html
392 DIST_mozilla = \
393         mozilla/fullscreen.xpm \
394         mozilla/pause.xpm \
395         mozilla/play.xpm \
396         mozilla/skip_next.xpm \
397         mozilla/skip_previous.xpm \
398         mozilla/stop.xpm \
399         mozilla/time_icon.xpm \
400         mozilla/time_line.xpm \
401         mozilla/volume_knob.xpm \
402         mozilla/volume_max.xpm \
403         mozilla/volume_mute.xpm \
404         mozilla/volume_slider_bar.xpm
406 DIST_maemo = \
407         maemo/vlc_intf.rc \
408         maemo/vlc_left_tab_active.png \
409         maemo/vlc_left_tab_passive.png \
410         maemo/playlist.png \
411         maemo/play.png \
412         maemo/pause.png \
413         maemo/stop.png \
414         maemo/previous.png \
415         maemo/next.png
417 maemo_FILES = \
418         vlc32x32.png
420 DIST_solid = \
421         solid/vlc-opencda.desktop \
422         solid/vlc-opendvd.desktop \
423         solid/vlc-openvcd.desktop