86675074730081dbc54689f08e9d8e9c8e7c7de5
[vlc.git] / share / Makefile.am
1 MOSTLYCLEANFILES = $(nobase_vlcdata_DATA)
2
3 nobase_dist_data_DATA = applications/vlc.desktop
4
5 dist_vlcdata_DATA = \
6         $(DIST_icons) \
7         $(DIST_icons16) \
8         $(DIST_icons32) \
9         $(DIST_icons48) \
10         $(DIST_icons128)
11 nobase_dist_vlcdata_SCRIPTS = \
12         utils/gnome-vlc-default.sh \
13         utils/audio-vlc-default.sh \
14         utils/video-vlc-default.sh \
15         $(NULL)
16
17 nobase_dist_vlcdata_DATA = $(NULL)
18
19 EXTRA_DIST = \
20         $(DIST_rsrc) \
21         $(DIST_pda) \
22         $(skins2_default_vlt_FILES) \
23         $(DIST_skins2) \
24         $(DIST_http) \
25         $(DIST_http_lua) \
26         $(DIST_lua) \
27         $(DIST_osdmenu_default) \
28         $(DIST_mozilla) \
29         $(DIST_maemo)
30
31 if BUILD_SKINS
32 nobase_vlcdata_DATA = skins2/default.vlt
33 nobase_dist_vlcdata_DATA += $(DIST_skins2)
34 endif
35 if BUILD_PDA
36 nobase_dist_vlcdata_DATA += $(DIST_pda)
37 endif
38 if BUILD_HTTPD
39 nobase_dist_vlcdata_DATA += $(DIST_http)
40 endif
41 if BUILD_OSDMENU
42 nobase_dist_vlcdata_DATA += \
43         $(DIST_osdmenu_default)
44 endif
45 if BUILD_LUA
46 nobase_dist_vlcdata_DATA += $(DIST_lua)
47 if BUILD_HTTPD
48 nobase_dist_vlcdata_DATA += $(DIST_http_lua)
49 endif
50 endif
51 if BUILD_MOZILLA
52 # TODO: move to the mozilla directory
53 nobase_dist_vlcdata_DATA += $(DIST_mozilla)
54 endif
55 if BUILD_MAEMO
56 nobase_dist_vlcdata_DATA += $(DIST_maemo)
57 endif
58
59 DIST_rsrc = \
60         newres.h \
61         resource.h \
62         vlc_wince_rc.rc \
63         vlc_beos.rsrc \
64         vlc_win32_rc.rc.in \
65         libvlc_win32_rc.rc.in
66
67 DIST_pda = \
68         pda-forwardb16x16.xpm \
69         pda-openb16x16.xpm \
70         pda-pauseb16x16.xpm \
71         pda-playb16x16.xpm \
72         pda-playlistb16x16.xpm \
73         pda-preferencesb16x16.xpm \
74         pda-rewindb16x16.xpm \
75         pda-stopb16x16.xpm
76
77 DIST_icons = vlc.ico
78
79 DIST_icons16 = vlc16x16.png vlc16x16.xpm
80
81 DIST_icons32 = vlc32x32.png vlc32x32.xpm vlc32x32-christmas.xpm
82
83 DIST_icons48 = vlc48x48.png vlc48x48-christmas.png
84
85 DIST_icons128 = vlc128x128.png vlc128x128-christmas.png
86
87 DIST_skins2 = \
88         skins2/fonts/FreeSans.ttf \
89         skins2/fonts/FreeSansBold.ttf \
90         skins2/skin.dtd \
91         skins2/skin.catalog \
92         skins2/winamp2.xml
93
94 skins2_default_vlt_FILES = \
95         skins2/default/main/pause_over.png \
96         skins2/default/main/main_up.png \
97         skins2/default/main/timeslider.png \
98         skins2/default/main/main_down.png \
99         skins2/default/main/main.png \
100         skins2/default/main/dvd_prevtitle.png \
101         skins2/default/main/dvd_nexttitle.png \
102         skins2/default/main/dvd_nextchapter.png \
103         skins2/default/main/pause_up.png \
104         skins2/default/main/main_over.png \
105         skins2/default/main/pause_down.png \
106         skins2/default/main/dvd_prevchapter.png \
107         skins2/default/main/vol_bg.png \
108         skins2/default/main/vol_mask.png \
109         skins2/default/main/vol_slider.png \
110         skins2/default/main/dvd_menu.png \
111         skins2/default/switch.png \
112         skins2/default/font.otf \
113         skins2/default/credits.png \
114         skins2/default/theme.xml \
115         skins2/default/playlist/plscroller.png \
116         skins2/default/playlist/playlist_down.png \
117         skins2/default/playlist/playtreeglyphs.png \
118         skins2/default/playlist/playlist_up.png \
119         skins2/default/playlist/playlist_over.png \
120         skins2/default/playlist/playlist.png \
121         skins2/default/minimal.png \
122         skins2/default/equalizer.png
123
124 skins2/default.vlt: $(skins2_default_vlt_FILES)
125         mkdir -p skins2
126         tar cvvzf skins2/default.vlt --exclude .svn -C $(srcdir)/skins2 default/
127
128 DIST_http = \
129         http/.hosts \
130         http/dialogs/.hosts \
131         http/dialogs/browse \
132         http/dialogs/footer \
133         http/dialogs/input \
134         http/dialogs/main \
135         http/dialogs/mosaic \
136         http/dialogs/playlist \
137         http/dialogs/sout \
138         http/dialogs/vlm \
139         http/favicon.ico \
140         http/images/delete.png \
141         http/images/delete_small.png \
142         http/images/eject.png \
143         http/images/empty.png \
144         http/images/fullscreen.png \
145         http/images/help.png \
146         http/images/info.png \
147         http/images/loop.png \
148         http/images/minus.png \
149         http/images/next.png \
150         http/images/pause.png \
151         http/images/play.png \
152         http/images/playlist.png \
153         http/images/playlist_small.png \
154         http/images/plus.png \
155         http/images/prev.png \
156         http/images/refresh.png \
157         http/images/repeat.png \
158         http/images/sd.png \
159         http/images/shuffle.png \
160         http/images/slider_bar.png \
161         http/images/slider_left.png \
162         http/images/slider_point.png \
163         http/images/slider_right.png \
164         http/images/snapshot.png \
165         http/images/slow.png \
166         http/images/sort.png \
167         http/images/sout.png \
168         http/images/speaker.png \
169         http/images/speaker_mute.png \
170         http/images/stop.png \
171         http/images/vlc16x16.png \
172         http/images/volume_down.png \
173         http/images/volume_up.png \
174         http/images/white.png \
175         http/images/white_cross_small.png \
176         http/index.html \
177         http/js/functions.js \
178         http/js/mosaic.js \
179         http/js/vlm.js \
180         http/mosaic.html \
181         http/old/.hosts \
182         http/old/admin/.access \
183         http/old/admin/browse.html \
184         http/old/admin/dboxfiles.html \
185         http/old/admin/index.html \
186         http/old/cone_minus.png \
187         http/old/cone_plus.png \
188         http/old/index.html \
189         http/old/info.html \
190         http/old/style.css \
191         http/old/vlm/edit.html \
192         http/old/vlm/index.html \
193         http/old/vlm/new.html \
194         http/old/vlm/show.html \
195         http/old/webcam.html \
196         http/requests/browse.xml \
197         http/requests/playlist.xml \
198         http/requests/status.xml \
199         http/requests/vlm.xml \
200         http/requests/vlm_cmd.xml \
201         http/requests/readme \
202         http/style.css \
203         http/iehacks.css \
204         http/vlm.html \
205         http/vlm_export.html \
206         http/flash.html
207
208 DIST_osdmenu_default = \
209         osdmenu/default.cfg \
210         osdmenu/default/unselected.png \
211         osdmenu/default/selection/bw.png \
212         osdmenu/default/selection/esc.png \
213         osdmenu/default/selection/fw.png \
214         osdmenu/default/selection/volume.png \
215         osdmenu/default/selection/next.png \
216         osdmenu/default/selection/play_pause.png \
217         osdmenu/default/selection/previous.png \
218         osdmenu/default/selection/stop.png \
219         osdmenu/default/selected/bw.png \
220         osdmenu/default/selected/next.png \
221         osdmenu/default/selected/play_pause.png \
222         osdmenu/default/selected/fw.png \
223         osdmenu/default/selected/stop.png \
224         osdmenu/default/selected/previous.png \
225         osdmenu/default/selected/esc.png \
226         osdmenu/default/selected/volume.png \
227         osdmenu/default/volume/volume_00.png \
228         osdmenu/default/volume/volume_01.png \
229         osdmenu/default/volume/volume_02.png \
230         osdmenu/default/volume/volume_03.png \
231         osdmenu/default/volume/volume_04.png \
232         osdmenu/default/volume/volume_05.png \
233         osdmenu/default/volume/volume_06.png \
234         osdmenu/default/volume/volume_07.png \
235         osdmenu/default/volume/volume_08.png \
236         osdmenu/default/volume/volume_09.png \
237         osdmenu/default/volume/volume_10.png
238
239 DIST_lua= \
240         lua/README.txt \
241         lua/meta/README.txt \
242         lua/meta/01_musicbrainz.lua \
243         lua/meta/10_googleimage.lua \
244         lua/playlist/README.txt \
245         lua/playlist/appletrailers.lua \
246         lua/playlist/break.lua \
247         lua/playlist/dailymotion.lua \
248         lua/playlist/france2.lua \
249         lua/playlist/joox.lua \
250         lua/playlist/lelombrik.lua \
251         lua/playlist/youtube.lua \
252         lua/playlist/youtube_homepage.lua \
253         lua/playlist/megavideo.lua \
254         lua/playlist/metacafe.lua \
255         lua/playlist/googlevideo.lua \
256         lua/intf/README.txt \
257         lua/intf/http.lua \
258         lua/intf/rc.lua \
259         lua/intf/hotkeys.lua \
260         lua/intf/modules/common.lua \
261         lua/intf/modules/host.lua \
262         lua/intf/modules/sandbox.lua \
263         lua/intf/telnet.lua \
264         lua/intf/dummy.lua
265
266 DIST_http_lua = \
267         lua/http/.hosts \
268         lua/http/custom.lua \
269         lua/http/dialogs/.hosts \
270         lua/http/dialogs/browse \
271         lua/http/dialogs/footer \
272         lua/http/dialogs/input \
273         lua/http/dialogs/main \
274         lua/http/dialogs/mosaic \
275         lua/http/dialogs/playlist \
276         lua/http/dialogs/sout \
277         lua/http/dialogs/vlm \
278         lua/http/favicon.ico \
279         lua/http/images/delete.png \
280         lua/http/images/delete_small.png \
281         lua/http/images/eject.png \
282         lua/http/images/empty.png \
283         lua/http/images/fullscreen.png \
284         lua/http/images/help.png \
285         lua/http/images/info.png \
286         lua/http/images/loop.png \
287         lua/http/images/minus.png \
288         lua/http/images/next.png \
289         lua/http/images/pause.png \
290         lua/http/images/play.png \
291         lua/http/images/playlist.png \
292         lua/http/images/playlist_small.png \
293         lua/http/images/plus.png \
294         lua/http/images/prev.png \
295         lua/http/images/refresh.png \
296         lua/http/images/repeat.png \
297         lua/http/images/reset.png \
298         lua/http/images/sd.png \
299         lua/http/images/shuffle.png \
300         lua/http/images/slider_bar.png \
301         lua/http/images/slider_left.png \
302         lua/http/images/slider_point.png \
303         lua/http/images/slider_right.png \
304         lua/http/images/snapshot.png \
305         lua/http/images/slow.png \
306         lua/http/images/sort.png \
307         lua/http/images/sout.png \
308         lua/http/images/speaker.png \
309         lua/http/images/speaker_mute.png \
310         lua/http/images/stop.png \
311         lua/http/images/vlc16x16.png \
312         lua/http/images/volume_down.png \
313         lua/http/images/volume_up.png \
314         lua/http/images/white.png \
315         lua/http/images/white_cross_small.png \
316         lua/http/index.html \
317         lua/http/js/functions.js \
318         lua/http/js/mosaic.js \
319         lua/http/js/vlm.js \
320         lua/http/mosaic.html \
321         lua/http/requests/browse.xml \
322         lua/http/requests/playlist.xml \
323         lua/http/requests/status.xml \
324         lua/http/requests/vlm.xml \
325         lua/http/requests/vlm_cmd.xml \
326         lua/http/requests/readme \
327         lua/http/style.css \
328         lua/http/iehacks.css \
329         lua/http/vlm.html \
330         lua/http/vlm_export.html \
331         lua/http/flash.html
332
333 DIST_mozilla = \
334         mozilla/fullscreen.xpm \
335         mozilla/pause.xpm \
336         mozilla/play.xpm \
337         mozilla/skip_next.xpm \
338         mozilla/skip_previous.xpm \
339         mozilla/stop.xpm \
340         mozilla/time_icon.xpm \
341         mozilla/time_line.xpm \
342         mozilla/volume_knob.xpm \
343         mozilla/volume_max.xpm \
344         mozilla/volume_mute.xpm \
345         mozilla/volume_slider_bar.xpm
346
347 DIST_maemo = \
348         maemo/vlc_intf.rc \
349         maemo/vlc_left_tab_active.png \
350         maemo/vlc_left_tab_passive.png \
351         maemo/playlist.png \
352         maemo/play.png \
353         maemo/pause.png \
354         maemo/stop.png \
355         maemo/previous.png \
356         maemo/next.png \
357         maemo/vlc32x32.png
358
359 maemo_FILES = \
360         ../modules/gui/qt4/pixmaps/play.png \
361         ../modules/gui/qt4/pixmaps/pause.png \
362         ../modules/gui/qt4/pixmaps/stop.png \
363         ../modules/gui/qt4/pixmaps/previous.png \
364         ../modules/gui/qt4/pixmaps/next.png \
365         vlc32x32.png
366
367 $(DIST_maemo): $(maemo_FILES)
368         mkdir -p maemo
369         cp -r $+ maemo