macosx: added retina compatible fullscreen controller artwork
[vlc.git] / Makefile.am
1 ###############################################################################
2 # Automake targets and declarations
3 ###############################################################################
4
5 # SUBDIRS stores the directories where a "make" is required when building
6 # something. DIST_SUBDIRS stores the directories where nothing is built but
7 # which have makefiles with distribution information.
8 #  - src (libvlccore) is nedeed by modules
9 DIST_SUBDIRS = m4 compat doc po share src modules lib bin test
10 SUBDIRS = compat doc po share src modules lib
11 if BUILD_VLC
12 SUBDIRS += bin
13 endif
14 SUBDIRS += test
15
16 EXTRA_DIST = \
17         extras/package/win32/vlc.exe.manifest \
18         extras/package/win32/libvlc.dll.manifest \
19         extras/package/win32/peflags.pl \
20         extras/package/win32/change-contribs-directory.sh \
21         extras/package/win32/configure.sh \
22         extras/package/symbian/configure.sh \
23         extras/package/npapi.am \
24         extras/package/win32/vlc.win32.nsi.in \
25         extras/package/win32/spad.nsi.in \
26         extras/package/win32/UAC.nsh \
27         extras/package/win32/UAC.dll \
28         extras/package/win32/languages/declaration.nsh \
29         extras/package/win32/languages/bengali.nsh \
30         extras/package/win32/languages/basque.nsh \
31         extras/package/win32/languages/brazilian_portuguese.nsh \
32         extras/package/win32/languages/bulgarian.nsh \
33         extras/package/win32/languages/catalan.nsh \
34         extras/package/win32/languages/danish.nsh \
35         extras/package/win32/languages/dutch.nsh \
36         extras/package/win32/languages/english.nsh \
37         extras/package/win32/languages/estonian.nsh \
38         extras/package/win32/languages/finnish.nsh \
39         extras/package/win32/languages/french.nsh \
40         extras/package/win32/languages/galician.nsh \
41         extras/package/win32/languages/german.nsh \
42         extras/package/win32/languages/hebrew.nsh \
43         extras/package/win32/languages/hungarian.nsh \
44         extras/package/win32/languages/italian.nsh \
45         extras/package/win32/languages/japanese.nsh \
46         extras/package/win32/languages/lithuanian.nsh \
47         extras/package/win32/languages/occitan.nsh \
48         extras/package/win32/languages/polish.nsh \
49         extras/package/win32/languages/punjabi.nsh \
50         extras/package/win32/languages/russian.nsh
51         extras/package/win32/languages/romanian.nsh \
52         extras/package/win32/languages/schinese.nsh \
53         extras/package/win32/languages/slovak.nsh \
54         extras/package/win32/languages/slovenian.nsh \
55         extras/package/win32/languages/sorani.nsh \
56         extras/package/win32/languages/spanish.nsh \
57         extras/package/win32/languages/swedish.nsh
58
59 dist_noinst_SCRIPTS = bootstrap
60 nodist_noinst_SCRIPTS = compile
61
62 BUILT_SOURCES_distclean =
63
64 BUILT_SOURCES = $(BUILT_SOURCES_distclean)
65
66 SUFFIXES = 
67
68 DISTCHECK_CONFIGURE_FLAGS = \
69         --enable-fast-install \
70         --disable-a52 \
71         --disable-avcodec --disable-avformat \
72         --disable-postproc --disable-swscale \
73         --disable-dbus \
74         --disable-mad --disable-libmpeg2 \
75         --disable-faad --disable-skins2 \
76         --disable-live555 \
77         --disable-fribidi --disable-glx \
78         --disable-mkv \
79         --with-kde-solid='$${datadir}/kde4/apps'
80
81 ACLOCAL_AMFLAGS = -I m4
82 AUTOMAKE_OPTIONS = \
83         1.11 \
84         -Wall \
85         check-news \
86         dist-xz \
87         no-dist-gzip
88 #       std-options
89
90 ChangeLog: Makefile.am
91         rm -f -- "$@"
92         cd doc && $(MAKE) $(AM_MAKEFLAGS) changelogs
93         $(LN_S) -f doc/ChangeLog-2009 "$@"
94
95 ###############################################################################
96 # Mac OS X project
97 ###############################################################################
98
99 EXTRA_DIST += \
100         extras/package/macosx/codesign.sh \
101         extras/package/macosx/README.MacOSX.rtf \
102         extras/package/macosx/VLC.entitlements \
103         extras/package/macosx/Resources/dsa_pub.pem \
104         extras/package/macosx/Resources/English.lproj/About.xib \
105         extras/package/macosx/Resources/English.lproj/AudioEffects.xib \
106         extras/package/macosx/Resources/English.lproj/Bookmarks.xib \
107         extras/package/macosx/Resources/English.lproj/ConvertAndSave.xib \
108         extras/package/macosx/Resources/English.lproj/CoreDialogs.xib \
109         extras/package/macosx/Resources/English.lproj/ErrorPanel.xib \
110         extras/package/macosx/Resources/English.lproj/InfoPlist.strings.in \
111         extras/package/macosx/Resources/English.lproj/MainMenu.xib \
112         extras/package/macosx/Resources/English.lproj/MediaInfo.xib \
113         extras/package/macosx/Resources/English.lproj/Open.xib \
114         extras/package/macosx/Resources/English.lproj/Preferences.xib \
115         extras/package/macosx/Resources/English.lproj/SyncTracks.xib \
116         extras/package/macosx/Resources/English.lproj/VideoEffects.xib \
117         extras/package/macosx/Resources/English.lproj/Wizard.xib \
118         extras/package/macosx/Resources/fspanel/fs_background.png \
119         extras/package/macosx/Resources/fspanel/fs_background@2x.png \
120         extras/package/macosx/Resources/fspanel/fs_background@x1.5.png \
121         extras/package/macosx/Resources/fspanel/fs_exit_fullscreen.png \
122         extras/package/macosx/Resources/fspanel/fs_exit_fullscreen@2x.png \
123         extras/package/macosx/Resources/fspanel/fs_exit_fullscreen@x1.5.png \
124         extras/package/macosx/Resources/fspanel/fs_exit_fullscreen_highlight.png \
125         extras/package/macosx/Resources/fspanel/fs_exit_fullscreen_highlight@2x.png \
126         extras/package/macosx/Resources/fspanel/fs_exit_fullscreen_highlight@x1.5.png \
127         extras/package/macosx/Resources/fspanel/fs_forward.png \
128         extras/package/macosx/Resources/fspanel/fs_forward@2x.png \
129         extras/package/macosx/Resources/fspanel/fs_forward@x1.5.png \
130         extras/package/macosx/Resources/fspanel/fs_forward_highlight.png \
131         extras/package/macosx/Resources/fspanel/fs_forward_highlight@2x.png \
132         extras/package/macosx/Resources/fspanel/fs_forward_highlight@x1.5.png \
133         extras/package/macosx/Resources/fspanel/fs_pause.png \
134         extras/package/macosx/Resources/fspanel/fs_pause@2x.png \
135         extras/package/macosx/Resources/fspanel/fs_pause@x1.5.png \
136         extras/package/macosx/Resources/fspanel/fs_pause_highlight.png \
137         extras/package/macosx/Resources/fspanel/fs_pause_highlight@2x.png \
138         extras/package/macosx/Resources/fspanel/fs_pause_highlight@x1.5.png \
139         extras/package/macosx/Resources/fspanel/fs_play.png \
140         extras/package/macosx/Resources/fspanel/fs_play@2x.png \
141         extras/package/macosx/Resources/fspanel/fs_play@x1.5.png \
142         extras/package/macosx/Resources/fspanel/fs_play_highlight.png \
143         extras/package/macosx/Resources/fspanel/fs_play_highlight@2x.png \
144         extras/package/macosx/Resources/fspanel/fs_play_highlight@x1.5.png \
145         extras/package/macosx/Resources/fspanel/fs_rewind.png \
146         extras/package/macosx/Resources/fspanel/fs_rewind@2x.png \
147         extras/package/macosx/Resources/fspanel/fs_rewind@x1.5.png \
148         extras/package/macosx/Resources/fspanel/fs_rewind_highlight.png \
149         extras/package/macosx/Resources/fspanel/fs_rewind_highlight@2x.png \
150         extras/package/macosx/Resources/fspanel/fs_rewind_highlight@x1.5.png \
151         extras/package/macosx/Resources/fspanel/fs_skip_next.png \
152         extras/package/macosx/Resources/fspanel/fs_skip_next@2x.png \
153         extras/package/macosx/Resources/fspanel/fs_skip_next@x1.5.png \
154         extras/package/macosx/Resources/fspanel/fs_skip_next_highlight.png \
155         extras/package/macosx/Resources/fspanel/fs_skip_next_highlight@2x.png \
156         extras/package/macosx/Resources/fspanel/fs_skip_next_highlight@x1.5.png \
157         extras/package/macosx/Resources/fspanel/fs_skip_previous.png \
158         extras/package/macosx/Resources/fspanel/fs_skip_previous@2x.png \
159         extras/package/macosx/Resources/fspanel/fs_skip_previous@x1.5.png \
160         extras/package/macosx/Resources/fspanel/fs_skip_previous_highlight.png \
161         extras/package/macosx/Resources/fspanel/fs_skip_previous_highlight@2x.png \
162         extras/package/macosx/Resources/fspanel/fs_skip_previous_highlight@x1.5.png \
163         extras/package/macosx/Resources/fspanel/fs_stop.png \
164         extras/package/macosx/Resources/fspanel/fs_stop@2x.png \
165         extras/package/macosx/Resources/fspanel/fs_stop@x1.5.png \
166         extras/package/macosx/Resources/fspanel/fs_stop_highlight.png \
167         extras/package/macosx/Resources/fspanel/fs_stop_highlight@2x.png \
168         extras/package/macosx/Resources/fspanel/fs_stop_highlight@x1.5.png \
169         extras/package/macosx/Resources/fspanel/fs_time_slider.png \
170         extras/package/macosx/Resources/fspanel/fs_time_slider@2x.png \
171         extras/package/macosx/Resources/fspanel/fs_time_slider@x1.5.png \
172         extras/package/macosx/Resources/fspanel/fs_time_slider_knob.png \
173         extras/package/macosx/Resources/fspanel/fs_time_slider_knob@2x.png \
174         extras/package/macosx/Resources/fspanel/fs_time_slider_knob@x1.5.png \
175         extras/package/macosx/Resources/fspanel/fs_time_slider_knob_highlight.png \
176         extras/package/macosx/Resources/fspanel/fs_time_slider_knob_highlight@2x.png \
177         extras/package/macosx/Resources/fspanel/fs_time_slider_knob_highlight@x1.5.png \
178         extras/package/macosx/Resources/fspanel/fs_volume_max.png \
179         extras/package/macosx/Resources/fspanel/fs_volume_max@2x.png \
180         extras/package/macosx/Resources/fspanel/fs_volume_max@x1.5.png \
181         extras/package/macosx/Resources/fspanel/fs_volume_max_highlight.png \
182         extras/package/macosx/Resources/fspanel/fs_volume_max_highlight@2x.png \
183         extras/package/macosx/Resources/fspanel/fs_volume_max_highlight@x1.5.png \
184         extras/package/macosx/Resources/fspanel/fs_volume_mute.png \
185         extras/package/macosx/Resources/fspanel/fs_volume_mute@2x.png \
186         extras/package/macosx/Resources/fspanel/fs_volume_mute@x1.5.png \
187         extras/package/macosx/Resources/fspanel/fs_volume_mute_highlight.png \
188         extras/package/macosx/Resources/fspanel/fs_volume_mute_highlight@2x.png \
189         extras/package/macosx/Resources/fspanel/fs_volume_mute_highlight@x1.5.png \
190         extras/package/macosx/Resources/fspanel/fs_volume_slider_bar.png \
191         extras/package/macosx/Resources/fspanel/fs_volume_slider_bar@2x.png \
192         extras/package/macosx/Resources/fspanel/fs_volume_slider_bar@x1.5.png \
193         extras/package/macosx/Resources/fspanel/fs_volume_slider_knob.png \
194         extras/package/macosx/Resources/fspanel/fs_volume_slider_knob@2x.png \
195         extras/package/macosx/Resources/fspanel/fs_volume_slider_knob@x1.5.png \
196         extras/package/macosx/Resources/fspanel/fs_volume_slider_knob_highlight.png \
197         extras/package/macosx/Resources/fspanel/fs_volume_slider_knob_highlight@2x.png \
198         extras/package/macosx/Resources/fspanel/fs_volume_slider_knob_highlight@x1.5.png \
199         extras/package/macosx/Resources/icons/aiff.icns \
200         extras/package/macosx/Resources/icons/audio.icns \
201         extras/package/macosx/Resources/icons/avi.icns \
202         extras/package/macosx/Resources/icons/flv.icns \
203         extras/package/macosx/Resources/icons/generic.icns \
204         extras/package/macosx/Resources/icons/m4a.icns \
205         extras/package/macosx/Resources/icons/m4v.icns \
206         extras/package/macosx/Resources/icons/mkv.icns \
207         extras/package/macosx/Resources/icons/mov.icns \
208         extras/package/macosx/Resources/icons/movie.icns \
209         extras/package/macosx/Resources/icons/mp3.icns \
210         extras/package/macosx/Resources/icons/mpeg.icns \
211         extras/package/macosx/Resources/icons/ogg.icns \
212         extras/package/macosx/Resources/icons/playlist.icns \
213         extras/package/macosx/Resources/icons/rm.icns \
214         extras/package/macosx/Resources/icons/subtitle.icns \
215         extras/package/macosx/Resources/icons/vlc.icns \
216         extras/package/macosx/Resources/icons/vlc-xmas.png \
217         extras/package/macosx/Resources/icons/vob.icns \
218         extras/package/macosx/Resources/icons/wav.icns \
219         extras/package/macosx/Resources/icons/wma.icns \
220         extras/package/macosx/Resources/icons/wmv.icns \
221         extras/package/macosx/Resources/mainwindow/back-pressed-single.png \
222         extras/package/macosx/Resources/mainwindow/back-pressed.png \
223         extras/package/macosx/Resources/mainwindow/back-single.png \
224         extras/package/macosx/Resources/mainwindow/back.png \
225         extras/package/macosx/Resources/mainwindow/bottom-background.png \
226         extras/package/macosx/Resources/mainwindow/bottombar-mini.png \
227         extras/package/macosx/Resources/mainwindow/dropzone-background.png \
228         extras/package/macosx/Resources/mainwindow/dropzone.png \
229         extras/package/macosx/Resources/mainwindow/effects-double-buttons-blue.png \
230         extras/package/macosx/Resources/mainwindow/effects-double-buttons-pressed.png \
231         extras/package/macosx/Resources/mainwindow/effects-double-buttons.png \
232         extras/package/macosx/Resources/mainwindow/effects-one-button-blue.png \
233         extras/package/macosx/Resources/mainwindow/effects-one-button.png \
234         extras/package/macosx/Resources/mainwindow/forward-pressed-single.png \
235         extras/package/macosx/Resources/mainwindow/forward-pressed.png \
236         extras/package/macosx/Resources/mainwindow/forward-single.png \
237         extras/package/macosx/Resources/mainwindow/forward.png \
238         extras/package/macosx/Resources/mainwindow/fullscreen-double-buttons-pressed.png \
239         extras/package/macosx/Resources/mainwindow/fullscreen-double-buttons.png \
240         extras/package/macosx/Resources/mainwindow/fullscreen-one-button-pressed.png \
241         extras/package/macosx/Resources/mainwindow/fullscreen-one-button.png \
242         extras/package/macosx/Resources/mainwindow/mini-progressbar-fill-left.png \
243         extras/package/macosx/Resources/mainwindow/mini-progressbar-fill-middle.png \
244         extras/package/macosx/Resources/mainwindow/mini-progressbar-fill-right.png \
245         extras/package/macosx/Resources/mainwindow/mini-progressbar-knob.png \
246         extras/package/macosx/Resources/mainwindow/mini-progressbar-wrapper-left.png \
247         extras/package/macosx/Resources/mainwindow/mini-progressbar-wrapper-middle.png \
248         extras/package/macosx/Resources/mainwindow/mini-progressbar-wrapper-right.png \
249         extras/package/macosx/Resources/mainwindow/pause-pressed.png \
250         extras/package/macosx/Resources/mainwindow/pause.png \
251         extras/package/macosx/Resources/mainwindow/play-pressed.png \
252         extras/package/macosx/Resources/mainwindow/play.png \
253         extras/package/macosx/Resources/mainwindow/playlist-btn-blue.png \
254         extras/package/macosx/Resources/mainwindow/playlist-btn-pressed.png \
255         extras/package/macosx/Resources/mainwindow/playlist-btn.png \
256         extras/package/macosx/Resources/mainwindow/progression-fill-left.png \
257         extras/package/macosx/Resources/mainwindow/progression-fill-middle.png \
258         extras/package/macosx/Resources/mainwindow/progression-fill-right.png \
259         extras/package/macosx/Resources/mainwindow/progression-knob.png \
260         extras/package/macosx/Resources/mainwindow/progression-track-wrapper-left.png \
261         extras/package/macosx/Resources/mainwindow/progression-track-wrapper-middle.png \
262         extras/package/macosx/Resources/mainwindow/progression-track-wrapper-right.png \
263         extras/package/macosx/Resources/mainwindow/repeat-all-pressed.png \
264         extras/package/macosx/Resources/mainwindow/repeat-all.png \
265         extras/package/macosx/Resources/mainwindow/repeat-one-pressed.png \
266         extras/package/macosx/Resources/mainwindow/repeat-one.png \
267         extras/package/macosx/Resources/mainwindow/repeat-pressed.png \
268         extras/package/macosx/Resources/mainwindow/repeat.png \
269         extras/package/macosx/Resources/mainwindow/shuffle-blue-pressed.png \
270         extras/package/macosx/Resources/mainwindow/shuffle-blue.png \
271         extras/package/macosx/Resources/mainwindow/shuffle-pressed.png \
272         extras/package/macosx/Resources/mainwindow/shuffle.png \
273         extras/package/macosx/Resources/mainwindow/stop-pressed.png \
274         extras/package/macosx/Resources/mainwindow/stop.png \
275         extras/package/macosx/Resources/mainwindow/topbar_background.png \
276         extras/package/macosx/Resources/mainwindow/volume-high.png \
277         extras/package/macosx/Resources/mainwindow/volume-low.png \
278         extras/package/macosx/Resources/mainwindow/volume-slider-knob.png \
279         extras/package/macosx/Resources/mainwindow/volume-slider-track.png \
280         extras/package/macosx/Resources/mainwindow_dark/back-pressed_dark.png \
281         extras/package/macosx/Resources/mainwindow_dark/back_dark.png \
282         extras/package/macosx/Resources/mainwindow_dark/bottom-background_dark.png \
283         extras/package/macosx/Resources/mainwindow_dark/bottombar-mini.png \
284         extras/package/macosx/Resources/mainwindow_dark/bottomdark-left.png \
285         extras/package/macosx/Resources/mainwindow_dark/bottomdark-right.png \
286         extras/package/macosx/Resources/mainwindow_dark/effects-double-buttons-blue_dark.png \
287         extras/package/macosx/Resources/mainwindow_dark/effects-double-buttons-pressed_dark.png \
288         extras/package/macosx/Resources/mainwindow_dark/effects-double-buttons_dark.png \
289         extras/package/macosx/Resources/mainwindow_dark/effects-one-button-blue_dark.png \
290         extras/package/macosx/Resources/mainwindow_dark/effects-one-button_dark.png \
291         extras/package/macosx/Resources/mainwindow_dark/forward-pressed_dark.png \
292         extras/package/macosx/Resources/mainwindow_dark/forward_dark.png \
293         extras/package/macosx/Resources/mainwindow_dark/fullscreen-double-buttons-pressed_dark.png \
294         extras/package/macosx/Resources/mainwindow_dark/fullscreen-double-buttons_dark.png \
295         extras/package/macosx/Resources/mainwindow_dark/fullscreen-one-button-pressed_dark.png \
296         extras/package/macosx/Resources/mainwindow_dark/fullscreen-one-button_dark.png \
297         extras/package/macosx/Resources/mainwindow_dark/pause-pressed_dark.png \
298         extras/package/macosx/Resources/mainwindow_dark/pause_dark.png \
299         extras/package/macosx/Resources/mainwindow_dark/play-pressed_dark.png \
300         extras/package/macosx/Resources/mainwindow_dark/play_dark.png \
301         extras/package/macosx/Resources/mainwindow_dark/playlist-blue-pressed_dark.png \
302         extras/package/macosx/Resources/mainwindow_dark/playlist-blue_dark.png \
303         extras/package/macosx/Resources/mainwindow_dark/playlist-pressed_dark.png \
304         extras/package/macosx/Resources/mainwindow_dark/playlist_dark.png \
305         extras/package/macosx/Resources/mainwindow_dark/progressbar-fill-left_dark.png \
306         extras/package/macosx/Resources/mainwindow_dark/progressbar-fill-middle_dark.png \
307         extras/package/macosx/Resources/mainwindow_dark/progressbar-fill-right_dark.png \
308         extras/package/macosx/Resources/mainwindow_dark/progression-knob_dark.png \
309         extras/package/macosx/Resources/mainwindow_dark/progression-track-wrapper-left_dark.png \
310         extras/package/macosx/Resources/mainwindow_dark/progression-track-wrapper-middle_dark.png \
311         extras/package/macosx/Resources/mainwindow_dark/progression-track-wrapper-right_dark.png \
312         extras/package/macosx/Resources/mainwindow_dark/repeat-all-blue-pressed_dark.png \
313         extras/package/macosx/Resources/mainwindow_dark/repeat-all-blue_dark.png \
314         extras/package/macosx/Resources/mainwindow_dark/repeat-one-blue-pressed_dark.png \
315         extras/package/macosx/Resources/mainwindow_dark/repeat-one-blue_dark.png \
316         extras/package/macosx/Resources/mainwindow_dark/repeat-pressed_dark.png \
317         extras/package/macosx/Resources/mainwindow_dark/repeat_dark.png \
318         extras/package/macosx/Resources/mainwindow_dark/shuffle-blue-pressed_dark.png \
319         extras/package/macosx/Resources/mainwindow_dark/shuffle-blue_dark.png \
320         extras/package/macosx/Resources/mainwindow_dark/shuffle-pressed_dark.png \
321         extras/package/macosx/Resources/mainwindow_dark/shuffle_dark.png \
322         extras/package/macosx/Resources/mainwindow_dark/stop-pressed_dark.png \
323         extras/package/macosx/Resources/mainwindow_dark/stop_dark.png \
324         extras/package/macosx/Resources/mainwindow_dark/titlebar/lion/lion-window-close-graphite.png \
325         extras/package/macosx/Resources/mainwindow_dark/titlebar/lion/lion-window-close-on-graphite.png \
326         extras/package/macosx/Resources/mainwindow_dark/titlebar/lion/lion-window-close-on.png \
327         extras/package/macosx/Resources/mainwindow_dark/titlebar/lion/lion-window-close-over-graphite.png \
328         extras/package/macosx/Resources/mainwindow_dark/titlebar/lion/lion-window-close-over.png \
329         extras/package/macosx/Resources/mainwindow_dark/titlebar/lion/lion-window-close.png \
330         extras/package/macosx/Resources/mainwindow_dark/titlebar/lion/lion-window-minimize-graphite.png \
331         extras/package/macosx/Resources/mainwindow_dark/titlebar/lion/lion-window-minimize-on-graphite.png \
332         extras/package/macosx/Resources/mainwindow_dark/titlebar/lion/lion-window-minimize-on.png \
333         extras/package/macosx/Resources/mainwindow_dark/titlebar/lion/lion-window-minimize-over-graphite.png \
334         extras/package/macosx/Resources/mainwindow_dark/titlebar/lion/lion-window-minimize-over.png \
335         extras/package/macosx/Resources/mainwindow_dark/titlebar/lion/lion-window-minimize.png \
336         extras/package/macosx/Resources/mainwindow_dark/titlebar/lion/lion-window-zoom-graphite.png \
337         extras/package/macosx/Resources/mainwindow_dark/titlebar/lion/lion-window-zoom-on-graphite.png \
338         extras/package/macosx/Resources/mainwindow_dark/titlebar/lion/lion-window-zoom-on.png \
339         extras/package/macosx/Resources/mainwindow_dark/titlebar/lion/lion-window-zoom-over-graphite.png \
340         extras/package/macosx/Resources/mainwindow_dark/titlebar/lion/lion-window-zoom-over.png \
341         extras/package/macosx/Resources/mainwindow_dark/titlebar/lion/lion-window-zoom.png \
342         extras/package/macosx/Resources/mainwindow_dark/titlebar/snowleo/snowleo-window-close-graphite.png \
343         extras/package/macosx/Resources/mainwindow_dark/titlebar/snowleo/snowleo-window-close-on-graphite.png \
344         extras/package/macosx/Resources/mainwindow_dark/titlebar/snowleo/snowleo-window-close-on.png \
345         extras/package/macosx/Resources/mainwindow_dark/titlebar/snowleo/snowleo-window-close-over-graphite.png \
346         extras/package/macosx/Resources/mainwindow_dark/titlebar/snowleo/snowleo-window-close-over.png \
347         extras/package/macosx/Resources/mainwindow_dark/titlebar/snowleo/snowleo-window-close.png \
348         extras/package/macosx/Resources/mainwindow_dark/titlebar/snowleo/snowleo-window-minimize-graphite.png \
349         extras/package/macosx/Resources/mainwindow_dark/titlebar/snowleo/snowleo-window-minimize-on-graphite.png \
350         extras/package/macosx/Resources/mainwindow_dark/titlebar/snowleo/snowleo-window-minimize-on.png \
351         extras/package/macosx/Resources/mainwindow_dark/titlebar/snowleo/snowleo-window-minimize-over-graphite.png \
352         extras/package/macosx/Resources/mainwindow_dark/titlebar/snowleo/snowleo-window-minimize-over.png \
353         extras/package/macosx/Resources/mainwindow_dark/titlebar/snowleo/snowleo-window-minimize.png \
354         extras/package/macosx/Resources/mainwindow_dark/titlebar/snowleo/snowleo-window-zoom-graphite.png \
355         extras/package/macosx/Resources/mainwindow_dark/titlebar/snowleo/snowleo-window-zoom-on-graphite.png \
356         extras/package/macosx/Resources/mainwindow_dark/titlebar/snowleo/snowleo-window-zoom-on.png \
357         extras/package/macosx/Resources/mainwindow_dark/titlebar/snowleo/snowleo-window-zoom-over-graphite.png \
358         extras/package/macosx/Resources/mainwindow_dark/titlebar/snowleo/snowleo-window-zoom-over.png \
359         extras/package/macosx/Resources/mainwindow_dark/titlebar/snowleo/snowleo-window-zoom.png \
360         extras/package/macosx/Resources/mainwindow_dark/topbar-dark-center-fill.png \
361         extras/package/macosx/Resources/mainwindow_dark/topbar-dark-left.png \
362         extras/package/macosx/Resources/mainwindow_dark/topbar-dark-right.png \
363         extras/package/macosx/Resources/mainwindow_dark/volume-high_dark.png \
364         extras/package/macosx/Resources/mainwindow_dark/volume-low_dark.png \
365         extras/package/macosx/Resources/mainwindow_dark/volume-slider-knob_dark.png \
366         extras/package/macosx/Resources/mainwindow_dark/volume-slider-track_dark.png \
367         extras/package/macosx/Resources/mainwindow_dark/window-fullscreen-on.png \
368         extras/package/macosx/Resources/mainwindow_dark/window-fullscreen-over.png \
369         extras/package/macosx/Resources/mainwindow_dark/window-fullscreen.png \
370         extras/package/macosx/Resources/mainwindow_dark/window-resize.png \
371         extras/package/macosx/Resources/noart.png \
372         extras/package/macosx/Resources/prefs/spref_cone_Audio_64.png \
373         extras/package/macosx/Resources/prefs/spref_cone_Hotkeys_64.png \
374         extras/package/macosx/Resources/prefs/spref_cone_Input_64.png \
375         extras/package/macosx/Resources/prefs/spref_cone_Interface_64.png \
376         extras/package/macosx/Resources/prefs/spref_cone_Subtitles_64.png \
377         extras/package/macosx/Resources/prefs/spref_cone_Video_64.png \
378         extras/package/macosx/Resources/README \
379         extras/package/macosx/Resources/sidebar-icons/sidebar-local.png \
380         extras/package/macosx/Resources/sidebar-icons/sidebar-local@2x.png \
381         extras/package/macosx/Resources/sidebar-icons/sidebar-movie.png \
382         extras/package/macosx/Resources/sidebar-icons/sidebar-movie@2x.png \
383         extras/package/macosx/Resources/sidebar-icons/sidebar-music.png \
384         extras/package/macosx/Resources/sidebar-icons/sidebar-music@2x.png \
385         extras/package/macosx/Resources/sidebar-icons/sidebar-pictures.png \
386         extras/package/macosx/Resources/sidebar-icons/sidebar-pictures@2x.png \
387         extras/package/macosx/Resources/sidebar-icons/sidebar-playlist.png \
388         extras/package/macosx/Resources/sidebar-icons/sidebar-playlist@2x.png \
389         extras/package/macosx/Resources/sidebar-icons/sidebar-podcast.png \
390         extras/package/macosx/Resources/sidebar-icons/sidebar-podcast@2x.png \
391         extras/package/macosx/Resources/vlc.scriptSuite \
392         extras/package/macosx/Resources/vlc.scriptTerminology \
393         extras/package/macosx/build-package.sh \
394         extras/package/macosx/fullscreen_panel.svg \
395         extras/package/macosx/ub.sh \
396         extras/package/macosx/build.sh \
397         extras/package/macosx/configure.sh \
398         extras/package/macosx/dmg_setup.scpt \
399         extras/package/macosx/vlc.xcodeproj/project.pbxproj \
400         extras/package/macosx/Delete_Preferences.app/Contents/Info.plist \
401         extras/package/macosx/Delete_Preferences.app/Contents/PkgInfo \
402         extras/package/macosx/Delete_Preferences.app/Contents/MacOS/applet \
403         extras/package/macosx/Delete_Preferences.app/Contents/Resources/description.rtfd/TXT.rtf \
404         extras/package/macosx/Delete_Preferences.app/Contents/Resources/applet.icns \
405         extras/package/macosx/Delete_Preferences.app/Contents/Resources/applet.rsrc \
406         extras/package/macosx/Delete_Preferences.app/Contents/Resources/Scripts/main.scpt \
407         extras/package/macosx/eyetvplugin/EyeTVPluginDefs.h \
408         extras/package/macosx/eyetvplugin/Info.plist \
409         extras/package/macosx/eyetvplugin/eyetvplugin.c \
410         extras/package/macosx/eyetvplugin/eyetvplugin.h \
411         extras/package/macosx/eyetvplugin/English.lproj/InfoPlist.strings \
412         extras/package/macosx/eyetvplugin/eyetvplugin.xcodeproj/project.pbxproj \
413         extras/package/macosx/eyetvplugin/EyeTV_Plugin_Installer.pmdoc/01vlc-contents.xml \
414         extras/package/macosx/eyetvplugin/EyeTV_Plugin_Installer.pmdoc/01vlc.xml \
415         extras/package/macosx/eyetvplugin/EyeTV_Plugin_Installer.pmdoc/index.xml \
416         extras/package/macosx/README.MacOSX.rtf \
417         extras/package/macosx/Info.plist.in
418
419 ###############################################################################
420 # iOS project
421 ##############################################################################
422 EXTRA_DIST += \
423         extras/package/ios/build.sh
424
425 ###############################################################################
426 # tools (needed for contrib)
427 ##############################################################################
428 EXTRA_DIST += \
429         extras/tools/bootstrap \
430         extras/tools/packages.mak \
431         extras/tools/tools.mak
432
433 ###############################################################################
434 # Various utilities ( editor syntax files, D-Bus controller ... )
435 ##############################################################################
436 EXTRA_DIST += \
437         extras/analyser/zsh_completion.sh \
438         extras/analyser/zsh.cpp \
439         extras/analyser/emacs.init \
440         extras/analyser/vlc.vim \
441         extras/analyser/valgrind.suppressions \
442         extras/buildsystem/make.pl \
443         extras/misc/mpris.py \
444         extras/misc/mpris.xml
445
446 ###############################################################################
447 # Scripts for building dependencies.
448 ##############################################################################
449 EXTRA_DIST += \
450         contrib/bootstrap \
451         contrib/src
452
453 ###############################################################################
454 # Building libvlc
455 ###############################################################################
456
457 CLEANFILES =
458 DISTCLEANFILES = $(BUILT_SOURCES_distclean) compile
459 MAINTAINERCLEANFILES = ChangeLog
460
461 # Shortcut for developers to rebuild the core (libvlc + vlc)
462 # Don't use it if you don't know what it is about.
463 # Don't complain if it doesn't work. -- Courmisch
464 libcompat:
465         cd compat && $(MAKE) $(AM_MAKEFLAGS)
466
467 libvlccore: libcompat
468         cd src && $(MAKE) $(AM_MAKEFLAGS) libvlccore.la
469
470 libvlc: libvlccore
471         cd lib && $(MAKE) $(AM_MAKEFLAGS) libvlc.la
472
473 core: libvlc vlc$(EXEEXT)
474         cd bin && $(MAKE) $(AM_MAKEFLAGS) vlc$(EXEEXT) vlc-static$(EXEEXT)
475
476 doc:
477         cd doc && $(MAKE) $(AM_MAKEFLAGS) doc
478
479 .PHONY: libvlc core doc
480
481 ###############################################################################
482 # Building aliases
483 ###############################################################################
484
485 ALL_ALIASES = cvlc rvlc svlc qvlc nvlc mvlc
486 bin_SCRIPTS = $(ALIASES)
487 CLEANFILES += $(ALIASES) $(noinst_SCRIPTS)
488 EXTRA_SCRIPTS = $(ALL_ALIASES)
489
490 dist_noinst_SCRIPTS += make-alias
491
492 MKALIAS = bindir="$(bindir)" transform="$(transform)" program_prefix="$(program_prefix)" program_suffix="$(program_suffix)" $(top_srcdir)/make-alias $@
493
494 cvlc: make-alias Makefile
495         $(AM_V_GEN)$(MKALIAS) dummy
496
497 rvlc: make-alias Makefile
498         $(AM_V_GEN)$(MKALIAS) rc
499
500 svlc: make-alias Makefile
501         $(AM_V_GEN)$(MKALIAS) skins2
502
503 qvlc: make-alias Makefile
504         $(AM_V_GEN)$(MKALIAS) qt4
505
506 nvlc: make-alias Makefile
507         $(AM_V_GEN)$(MKALIAS) ncurses
508
509 mvlc: make-alias Makefile
510         $(AM_V_GEN)$(MKALIAS) maemo
511
512 if BUILD_VLC
513 noinst_SCRIPTS = vlc$(EXEEXT)
514 endif
515
516 vlc$(EXEEXT):
517         $(AM_V_GEN)$(LN_S) -f bin/vlc-static$(EXEEXT) vlc$(EXEEXT)
518
519 TESTS = test/run_vlc.sh
520 dist_noinst_SCRIPTS += test/run_vlc.sh
521
522 ###############################################################################
523 # Installing plugins cache
524 ###############################################################################
525 install-exec-hook:
526         if test "$(build)" = "$(host)"; then \
527                 PATH="$(DESTDIR)$(bindir):$$PATH" \
528                 LD_LIBRARY_PATH="$(DESTDIR)$(libdir):$$LD_LIBRARY_PATH" \
529                 "$(DESTDIR)$(vlclibdir)/vlc-cache-gen$(EXEEXT)" \
530                          "$(DESTDIR)$(vlclibdir)/plugins" ; \
531         else \
532                 echo "Cross-compilation: cache generation skipped!" ; \
533         fi
534
535 uninstall-hook:
536         rm -f -- "$(DESTDIR)$(vlclibdir)/plugins/plugins.dat"
537
538 silentstd = $(silentstd_$(V))
539 silentstd_ = $(silentstd_$(AM_DEFAULT_VERBOSITY))
540 silentstd_0 = 2>&1 >/dev/null
541
542 ###############################################################################
543 # PO translation files update
544 ###############################################################################
545 .PHONY: update-po
546
547 update-po:
548         cd po && $(MAKE) POTFILES vlc.pot update-po
549
550 ###############################################################################
551 # OS Packaging rules
552 ###############################################################################
553 include extras/package/macosx/package.mak
554 include extras/package/win32/package.mak
555