Add try/catch when reading elements with libmatroska.
[vlc/vlc-2.0.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/languages/declaration.nsh \
28         extras/package/win32/languages/bengali.nsh \
29         extras/package/win32/languages/basque.nsh \
30         extras/package/win32/languages/brazilian_portuguese.nsh \
31         extras/package/win32/languages/bulgarian.nsh \
32         extras/package/win32/languages/catalan.nsh \
33         extras/package/win32/languages/croatian.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/serbian.nsh \
54         extras/package/win32/languages/slovak.nsh \
55         extras/package/win32/languages/slovenian.nsh \
56         extras/package/win32/languages/sorani.nsh \
57         extras/package/win32/languages/spanish.nsh \
58         extras/package/win32/languages/swedish.nsh \
59         extras/package/win32/languages/ukrainian.nsh \
60         extras/package/win32/UAC/examples \
61         extras/package/win32/UAC/examples/UAC_AllowLUA.nsi \
62         extras/package/win32/UAC/examples/UAC_AdminOnly.nsi \
63         extras/package/win32/UAC/examples/UAC_Uninstaller.nsi \
64         extras/package/win32/UAC/examples/UAC.nsh \
65         extras/package/win32/UAC/examples/UAC_GetUserShellFolderPath.nsi \
66         extras/package/win32/UAC/examples/UAC_RealWorldFullyLoadedDualModeExample.nsi \
67         extras/package/win32/UAC/History.txt \
68         extras/package/win32/UAC/License.txt \
69         extras/package/win32/UAC/nsisutil.h \
70         extras/package/win32/UAC/resource.h \
71         extras/package/win32/UAC/resource.rc \
72         extras/package/win32/UAC/runas.cpp \
73         extras/package/win32/UAC/uac.cpp \
74         extras/package/win32/UAC/uac.h \
75         extras/package/win32/UAC/Readme.html \
76         extras/package/win32/UAC.nsh
77
78 dist_noinst_SCRIPTS = bootstrap
79 nodist_noinst_SCRIPTS = compile
80
81 BUILT_SOURCES_distclean =
82
83 BUILT_SOURCES = $(BUILT_SOURCES_distclean)
84
85 SUFFIXES = 
86
87 DISTCHECK_CONFIGURE_FLAGS = \
88         --enable-fast-install \
89         --disable-a52 \
90         --disable-avcodec --disable-avformat \
91         --disable-postproc --disable-swscale \
92         --disable-dbus \
93         --disable-mad --disable-libmpeg2 \
94         --disable-faad --disable-skins2 \
95         --disable-live555 \
96         --disable-fribidi --disable-glx \
97         --disable-mkv \
98         --with-kde-solid='$${datadir}/kde4/apps'
99
100 ACLOCAL_AMFLAGS = -I m4
101 AUTOMAKE_OPTIONS = \
102         1.11 \
103         -Wall \
104         check-news \
105         dist-xz \
106         no-dist-gzip
107 #       std-options
108
109 ChangeLog: Makefile.am
110         rm -f -- "$@"
111         cd doc && $(MAKE) $(AM_MAKEFLAGS) changelogs
112         $(LN_S) -f doc/ChangeLog-2013 "$@"
113
114 ###############################################################################
115 # Mac OS X project
116 ###############################################################################
117
118 EXTRA_DIST += \
119         extras/package/macosx/codesign.sh \
120         extras/package/macosx/README.MacOSX.rtf \
121         extras/package/macosx/VLC.entitlements \
122         extras/package/macosx/Resources/dsa_pub.pem \
123         extras/package/macosx/Resources/English.lproj/About.xib \
124         extras/package/macosx/Resources/English.lproj/AudioEffects.xib \
125         extras/package/macosx/Resources/English.lproj/Bookmarks.xib \
126         extras/package/macosx/Resources/English.lproj/CoreDialogs.xib \
127         extras/package/macosx/Resources/English.lproj/ErrorPanel.xib \
128         extras/package/macosx/Resources/English.lproj/InfoPlist.strings.in \
129         extras/package/macosx/Resources/English.lproj/MainMenu.xib \
130         extras/package/macosx/Resources/English.lproj/MediaInfo.xib \
131         extras/package/macosx/Resources/English.lproj/Open.xib \
132         extras/package/macosx/Resources/English.lproj/Preferences.xib \
133         extras/package/macosx/Resources/English.lproj/SyncTracks.xib \
134         extras/package/macosx/Resources/English.lproj/VideoEffects.xib \
135         extras/package/macosx/Resources/English.lproj/Wizard.xib \
136         extras/package/macosx/Resources/fspanel/fs_background.png \
137         extras/package/macosx/Resources/fspanel/fs_background@2x.png \
138         extras/package/macosx/Resources/fspanel/fs_exit_fullscreen.png \
139         extras/package/macosx/Resources/fspanel/fs_exit_fullscreen@2x.png \
140         extras/package/macosx/Resources/fspanel/fs_exit_fullscreen_highlight.png \
141         extras/package/macosx/Resources/fspanel/fs_exit_fullscreen_highlight@2x.png \
142         extras/package/macosx/Resources/fspanel/fs_forward.png \
143         extras/package/macosx/Resources/fspanel/fs_forward@2x.png \
144         extras/package/macosx/Resources/fspanel/fs_forward_highlight.png \
145         extras/package/macosx/Resources/fspanel/fs_forward_highlight@2x.png \
146         extras/package/macosx/Resources/fspanel/fs_pause.png \
147         extras/package/macosx/Resources/fspanel/fs_pause@2x.png \
148         extras/package/macosx/Resources/fspanel/fs_pause_highlight.png \
149         extras/package/macosx/Resources/fspanel/fs_pause_highlight@2x.png \
150         extras/package/macosx/Resources/fspanel/fs_play.png \
151         extras/package/macosx/Resources/fspanel/fs_play@2x.png \
152         extras/package/macosx/Resources/fspanel/fs_play_highlight.png \
153         extras/package/macosx/Resources/fspanel/fs_play_highlight@2x.png \
154         extras/package/macosx/Resources/fspanel/fs_rewind.png \
155         extras/package/macosx/Resources/fspanel/fs_rewind@2x.png \
156         extras/package/macosx/Resources/fspanel/fs_rewind_highlight.png \
157         extras/package/macosx/Resources/fspanel/fs_rewind_highlight@2x.png \
158         extras/package/macosx/Resources/fspanel/fs_skip_next.png \
159         extras/package/macosx/Resources/fspanel/fs_skip_next@2x.png \
160         extras/package/macosx/Resources/fspanel/fs_skip_next_highlight.png \
161         extras/package/macosx/Resources/fspanel/fs_skip_next_highlight@2x.png \
162         extras/package/macosx/Resources/fspanel/fs_skip_previous.png \
163         extras/package/macosx/Resources/fspanel/fs_skip_previous@2x.png \
164         extras/package/macosx/Resources/fspanel/fs_skip_previous_highlight.png \
165         extras/package/macosx/Resources/fspanel/fs_skip_previous_highlight@2x.png \
166         extras/package/macosx/Resources/fspanel/fs_stop.png \
167         extras/package/macosx/Resources/fspanel/fs_stop@2x.png \
168         extras/package/macosx/Resources/fspanel/fs_stop_highlight.png \
169         extras/package/macosx/Resources/fspanel/fs_stop_highlight@2x.png \
170         extras/package/macosx/Resources/fspanel/fs_time_slider.png \
171         extras/package/macosx/Resources/fspanel/fs_time_slider@2x.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_highlight.png \
175         extras/package/macosx/Resources/fspanel/fs_time_slider_knob_highlight@2x.png \
176         extras/package/macosx/Resources/fspanel/fs_volume_max.png \
177         extras/package/macosx/Resources/fspanel/fs_volume_max@2x.png \
178         extras/package/macosx/Resources/fspanel/fs_volume_max_highlight.png \
179         extras/package/macosx/Resources/fspanel/fs_volume_max_highlight@2x.png \
180         extras/package/macosx/Resources/fspanel/fs_volume_mute.png \
181         extras/package/macosx/Resources/fspanel/fs_volume_mute@2x.png \
182         extras/package/macosx/Resources/fspanel/fs_volume_mute_highlight.png \
183         extras/package/macosx/Resources/fspanel/fs_volume_mute_highlight@2x.png \
184         extras/package/macosx/Resources/fspanel/fs_volume_slider_bar.png \
185         extras/package/macosx/Resources/fspanel/fs_volume_slider_bar@2x.png \
186         extras/package/macosx/Resources/fspanel/fs_volume_slider_knob.png \
187         extras/package/macosx/Resources/fspanel/fs_volume_slider_knob@2x.png \
188         extras/package/macosx/Resources/fspanel/fs_volume_slider_knob_highlight.png \
189         extras/package/macosx/Resources/fspanel/fs_volume_slider_knob_highlight@2x.png \
190         extras/package/macosx/Resources/icons/aiff.icns \
191         extras/package/macosx/Resources/icons/audio.icns \
192         extras/package/macosx/Resources/icons/avi.icns \
193         extras/package/macosx/Resources/icons/flv.icns \
194         extras/package/macosx/Resources/icons/generic.icns \
195         extras/package/macosx/Resources/icons/m4a.icns \
196         extras/package/macosx/Resources/icons/m4v.icns \
197         extras/package/macosx/Resources/icons/mkv.icns \
198         extras/package/macosx/Resources/icons/mov.icns \
199         extras/package/macosx/Resources/icons/movie.icns \
200         extras/package/macosx/Resources/icons/mp3.icns \
201         extras/package/macosx/Resources/icons/mpeg.icns \
202         extras/package/macosx/Resources/icons/ogg.icns \
203         extras/package/macosx/Resources/icons/playlist.icns \
204         extras/package/macosx/Resources/icons/rm.icns \
205         extras/package/macosx/Resources/icons/subtitle.icns \
206         extras/package/macosx/Resources/icons/vlc.icns \
207         extras/package/macosx/Resources/icons/vlc-xmas.png \
208         extras/package/macosx/Resources/icons/vob.icns \
209         extras/package/macosx/Resources/icons/wav.icns \
210         extras/package/macosx/Resources/icons/wma.icns \
211         extras/package/macosx/Resources/icons/wmv.icns \
212         extras/package/macosx/Resources/mainwindow/back-pressed.png \
213         extras/package/macosx/Resources/mainwindow/back-pressed@2x.png \
214         extras/package/macosx/Resources/mainwindow/back.png \
215         extras/package/macosx/Resources/mainwindow/back@2x.png \
216         extras/package/macosx/Resources/mainwindow/bottom-background.png \
217         extras/package/macosx/Resources/mainwindow/bottom-background@2x.png \
218         extras/package/macosx/Resources/mainwindow/bottombar-mini.png \
219         extras/package/macosx/Resources/mainwindow/dropzone-background.png \
220         extras/package/macosx/Resources/mainwindow/dropzone.png \
221         extras/package/macosx/Resources/mainwindow/dropzone@2x.png \
222         extras/package/macosx/Resources/mainwindow/effects-double-buttons-blue.png \
223         extras/package/macosx/Resources/mainwindow/effects-double-buttons-blue@2x.png \
224         extras/package/macosx/Resources/mainwindow/effects-double-buttons-pressed.png \
225         extras/package/macosx/Resources/mainwindow/effects-double-buttons-pressed@2x.png \
226         extras/package/macosx/Resources/mainwindow/effects-double-buttons.png \
227         extras/package/macosx/Resources/mainwindow/effects-double-buttons@2x.png \
228         extras/package/macosx/Resources/mainwindow/effects-one-button-blue.png \
229         extras/package/macosx/Resources/mainwindow/effects-one-button-blue@2x.png \
230         extras/package/macosx/Resources/mainwindow/effects-one-button.png \
231         extras/package/macosx/Resources/mainwindow/effects-one-button@2x.png \
232         extras/package/macosx/Resources/mainwindow/effects-one-button-pressed.png \
233         extras/package/macosx/Resources/mainwindow/effects-one-button-pressed@2x.png \
234         extras/package/macosx/Resources/mainwindow/forward-pressed.png \
235         extras/package/macosx/Resources/mainwindow/forward-pressed@2x.png \
236         extras/package/macosx/Resources/mainwindow/forward.png \
237         extras/package/macosx/Resources/mainwindow/forward@2x.png \
238         extras/package/macosx/Resources/mainwindow/fullscreen-double-buttons-pressed.png \
239         extras/package/macosx/Resources/mainwindow/fullscreen-double-buttons-pressed@2x.png \
240         extras/package/macosx/Resources/mainwindow/fullscreen-double-buttons.png \
241         extras/package/macosx/Resources/mainwindow/fullscreen-double-buttons@2x.png \
242         extras/package/macosx/Resources/mainwindow/fullscreen-one-button-pressed.png \
243         extras/package/macosx/Resources/mainwindow/fullscreen-one-button-pressed@2x.png \
244         extras/package/macosx/Resources/mainwindow/fullscreen-one-button.png \
245         extras/package/macosx/Resources/mainwindow/fullscreen-one-button@2x.png \
246         extras/package/macosx/Resources/mainwindow/mini-progressbar-fill-left.png \
247         extras/package/macosx/Resources/mainwindow/mini-progressbar-fill-middle.png \
248         extras/package/macosx/Resources/mainwindow/mini-progressbar-fill-right.png \
249         extras/package/macosx/Resources/mainwindow/mini-progressbar-knob.png \
250         extras/package/macosx/Resources/mainwindow/mini-progressbar-wrapper-left.png \
251         extras/package/macosx/Resources/mainwindow/mini-progressbar-wrapper-middle.png \
252         extras/package/macosx/Resources/mainwindow/mini-progressbar-wrapper-right.png \
253         extras/package/macosx/Resources/mainwindow/pause-pressed.png \
254         extras/package/macosx/Resources/mainwindow/pause-pressed@2x.png \
255         extras/package/macosx/Resources/mainwindow/pause.png \
256         extras/package/macosx/Resources/mainwindow/pause@2x.png \
257         extras/package/macosx/Resources/mainwindow/play-pressed.png \
258         extras/package/macosx/Resources/mainwindow/play-pressed@2x.png \
259         extras/package/macosx/Resources/mainwindow/play.png \
260         extras/package/macosx/Resources/mainwindow/play@2x.png \
261         extras/package/macosx/Resources/mainwindow/playlist-btn-blue.png \
262         extras/package/macosx/Resources/mainwindow/playlist-btn-blue@2x.png \
263         extras/package/macosx/Resources/mainwindow/playlist-btn-pressed.png \
264         extras/package/macosx/Resources/mainwindow/playlist-btn-pressed@2x.png \
265         extras/package/macosx/Resources/mainwindow/playlist-btn.png \
266         extras/package/macosx/Resources/mainwindow/playlist-btn@2x.png \
267         extras/package/macosx/Resources/mainwindow/progression-fill-left.png \
268         extras/package/macosx/Resources/mainwindow/progression-fill-left@2x.png \
269         extras/package/macosx/Resources/mainwindow/progression-fill-middle.png \
270         extras/package/macosx/Resources/mainwindow/progression-fill-middle@2x.png \
271         extras/package/macosx/Resources/mainwindow/progression-fill-right.png \
272         extras/package/macosx/Resources/mainwindow/progression-fill-right@2x.png \
273         extras/package/macosx/Resources/mainwindow/progression-knob.png \
274         extras/package/macosx/Resources/mainwindow/progression-knob@2x.png \
275         extras/package/macosx/Resources/mainwindow/progression-track-wrapper-left.png \
276         extras/package/macosx/Resources/mainwindow/progression-track-wrapper-left@2x.png \
277         extras/package/macosx/Resources/mainwindow/progression-track-wrapper-middle.png \
278         extras/package/macosx/Resources/mainwindow/progression-track-wrapper-middle@2x.png \
279         extras/package/macosx/Resources/mainwindow/progression-track-wrapper-right.png \
280         extras/package/macosx/Resources/mainwindow/progression-track-wrapper-right@2x.png \
281         extras/package/macosx/Resources/mainwindow/repeat-all-pressed.png \
282         extras/package/macosx/Resources/mainwindow/repeat-all-pressed@2x.png \
283         extras/package/macosx/Resources/mainwindow/repeat-all.png \
284         extras/package/macosx/Resources/mainwindow/repeat-all@2x.png \
285         extras/package/macosx/Resources/mainwindow/repeat-one-pressed.png \
286         extras/package/macosx/Resources/mainwindow/repeat-one-pressed@2x.png \
287         extras/package/macosx/Resources/mainwindow/repeat-one.png \
288         extras/package/macosx/Resources/mainwindow/repeat-one@2x.png \
289         extras/package/macosx/Resources/mainwindow/repeat-pressed.png \
290         extras/package/macosx/Resources/mainwindow/repeat-pressed@2x.png \
291         extras/package/macosx/Resources/mainwindow/repeat.png \
292         extras/package/macosx/Resources/mainwindow/repeat@2x.png \
293         extras/package/macosx/Resources/mainwindow/shuffle-blue-pressed.png \
294         extras/package/macosx/Resources/mainwindow/shuffle-blue-pressed@2x.png \
295         extras/package/macosx/Resources/mainwindow/shuffle-blue.png \
296         extras/package/macosx/Resources/mainwindow/shuffle-blue@2x.png \
297         extras/package/macosx/Resources/mainwindow/shuffle-pressed.png \
298         extras/package/macosx/Resources/mainwindow/shuffle-pressed@2x.png \
299         extras/package/macosx/Resources/mainwindow/shuffle.png \
300         extras/package/macosx/Resources/mainwindow/shuffle@2x.png \
301         extras/package/macosx/Resources/mainwindow/stop-pressed.png \
302         extras/package/macosx/Resources/mainwindow/stop-pressed@2x.png \
303         extras/package/macosx/Resources/mainwindow/stop.png \
304         extras/package/macosx/Resources/mainwindow/stop@2x.png \
305         extras/package/macosx/Resources/mainwindow/topbar_background.png \
306         extras/package/macosx/Resources/mainwindow/volume-high.png \
307         extras/package/macosx/Resources/mainwindow/volume-high@2x.png \
308         extras/package/macosx/Resources/mainwindow/volume-low.png \
309         extras/package/macosx/Resources/mainwindow/volume-low@2x.png \
310         extras/package/macosx/Resources/mainwindow/volume-slider-knob.png \
311         extras/package/macosx/Resources/mainwindow/volume-slider-knob@2x.png \
312         extras/package/macosx/Resources/mainwindow/volume-slider-track.png \
313         extras/package/macosx/Resources/mainwindow/volume-slider-track@2x.png \
314         extras/package/macosx/Resources/mainwindow_dark/back-pressed_dark.png \
315         extras/package/macosx/Resources/mainwindow_dark/back-pressed_dark@2x.png \
316         extras/package/macosx/Resources/mainwindow_dark/back_dark.png \
317         extras/package/macosx/Resources/mainwindow_dark/back_dark@2x.png \
318         extras/package/macosx/Resources/mainwindow_dark/bottom-background_dark.png \
319         extras/package/macosx/Resources/mainwindow_dark/bottom-background_dark@2x.png \
320         extras/package/macosx/Resources/mainwindow_dark/bottombar-mini.png \
321         extras/package/macosx/Resources/mainwindow_dark/bottomdark-left.png \
322         extras/package/macosx/Resources/mainwindow_dark/bottomdark-left@2x.png \
323         extras/package/macosx/Resources/mainwindow_dark/bottomdark-right.png \
324         extras/package/macosx/Resources/mainwindow_dark/bottomdark-right@2x.png \
325         extras/package/macosx/Resources/mainwindow_dark/effects-double-buttons-blue_dark.png \
326         extras/package/macosx/Resources/mainwindow_dark/effects-double-buttons-blue_dark@2x.png \
327         extras/package/macosx/Resources/mainwindow_dark/effects-double-buttons-pressed_dark.png \
328         extras/package/macosx/Resources/mainwindow_dark/effects-double-buttons-pressed_dark@2x.png \
329         extras/package/macosx/Resources/mainwindow_dark/effects-double-buttons_dark.png \
330         extras/package/macosx/Resources/mainwindow_dark/effects-double-buttons_dark@2x.png \
331         extras/package/macosx/Resources/mainwindow_dark/effects-one-button-blue_dark.png \
332         extras/package/macosx/Resources/mainwindow_dark/effects-one-button-blue_dark@2x.png \
333         extras/package/macosx/Resources/mainwindow_dark/effects-one-button-pressed-dark.png \
334         extras/package/macosx/Resources/mainwindow_dark/effects-one-button-pressed-dark@2x.png \
335         extras/package/macosx/Resources/mainwindow_dark/effects-one-button_dark.png \
336         extras/package/macosx/Resources/mainwindow_dark/effects-one-button_dark@2x.png \
337         extras/package/macosx/Resources/mainwindow_dark/forward-pressed_dark.png \
338         extras/package/macosx/Resources/mainwindow_dark/forward-pressed_dark@2x.png \
339         extras/package/macosx/Resources/mainwindow_dark/forward_dark.png \
340         extras/package/macosx/Resources/mainwindow_dark/forward_dark@2x.png \
341         extras/package/macosx/Resources/mainwindow_dark/fullscreen-double-buttons-pressed_dark.png \
342         extras/package/macosx/Resources/mainwindow_dark/fullscreen-double-buttons-pressed_dark@2x.png \
343         extras/package/macosx/Resources/mainwindow_dark/fullscreen-double-buttons_dark.png \
344         extras/package/macosx/Resources/mainwindow_dark/fullscreen-double-buttons_dark@2x.png \
345         extras/package/macosx/Resources/mainwindow_dark/fullscreen-one-button-pressed_dark.png \
346         extras/package/macosx/Resources/mainwindow_dark/fullscreen-one-button-pressed_dark@2x.png \
347         extras/package/macosx/Resources/mainwindow_dark/fullscreen-one-button_dark.png \
348         extras/package/macosx/Resources/mainwindow_dark/fullscreen-one-button_dark@2x.png \
349         extras/package/macosx/Resources/mainwindow_dark/pause-pressed_dark.png \
350         extras/package/macosx/Resources/mainwindow_dark/pause-pressed_dark@2x.png \
351         extras/package/macosx/Resources/mainwindow_dark/pause_dark.png \
352         extras/package/macosx/Resources/mainwindow_dark/pause_dark@2x.png \
353         extras/package/macosx/Resources/mainwindow_dark/play-pressed_dark.png \
354         extras/package/macosx/Resources/mainwindow_dark/play-pressed_dark@2x.png \
355         extras/package/macosx/Resources/mainwindow_dark/play_dark.png \
356         extras/package/macosx/Resources/mainwindow_dark/play_dark@2x.png \
357         extras/package/macosx/Resources/mainwindow_dark/playlist-blue-pressed_dark.png \
358         extras/package/macosx/Resources/mainwindow_dark/playlist-blue-pressed_dark@2x.png \
359         extras/package/macosx/Resources/mainwindow_dark/playlist-blue_dark.png \
360         extras/package/macosx/Resources/mainwindow_dark/playlist-blue_dark@2x.png \
361         extras/package/macosx/Resources/mainwindow_dark/playlist-pressed_dark.png \
362         extras/package/macosx/Resources/mainwindow_dark/playlist-pressed_dark@2x.png \
363         extras/package/macosx/Resources/mainwindow_dark/playlist_dark.png \
364         extras/package/macosx/Resources/mainwindow_dark/playlist_dark@2x.png \
365         extras/package/macosx/Resources/mainwindow_dark/progressbar-fill-left_dark.png \
366         extras/package/macosx/Resources/mainwindow_dark/progressbar-fill-left_dark@2x.png \
367         extras/package/macosx/Resources/mainwindow_dark/progressbar-fill-middle_dark.png \
368         extras/package/macosx/Resources/mainwindow_dark/progressbar-fill-middle_dark@2x.png \
369         extras/package/macosx/Resources/mainwindow_dark/progressbar-fill-right_dark.png \
370         extras/package/macosx/Resources/mainwindow_dark/progressbar-fill-right_dark@2x.png \
371         extras/package/macosx/Resources/mainwindow_dark/progression-knob_dark.png \
372         extras/package/macosx/Resources/mainwindow_dark/progression-knob_dark@2x.png \
373         extras/package/macosx/Resources/mainwindow_dark/progression-track-wrapper-left_dark.png \
374         extras/package/macosx/Resources/mainwindow_dark/progression-track-wrapper-left_dark@2x.png \
375         extras/package/macosx/Resources/mainwindow_dark/progression-track-wrapper-middle_dark.png \
376         extras/package/macosx/Resources/mainwindow_dark/progression-track-wrapper-middle_dark@2x.png \
377         extras/package/macosx/Resources/mainwindow_dark/progression-track-wrapper-right_dark.png \
378         extras/package/macosx/Resources/mainwindow_dark/progression-track-wrapper-right_dark@2x.png \
379         extras/package/macosx/Resources/mainwindow_dark/repeat-all-blue-pressed_dark.png \
380         extras/package/macosx/Resources/mainwindow_dark/repeat-all-blue-pressed_dark@2x.png \
381         extras/package/macosx/Resources/mainwindow_dark/repeat-all-blue_dark.png \
382         extras/package/macosx/Resources/mainwindow_dark/repeat-all-blue_dark@2x.png \
383         extras/package/macosx/Resources/mainwindow_dark/repeat-one-blue-pressed_dark.png \
384         extras/package/macosx/Resources/mainwindow_dark/repeat-one-blue-pressed_dark@2x.png \
385         extras/package/macosx/Resources/mainwindow_dark/repeat-one-blue_dark.png \
386         extras/package/macosx/Resources/mainwindow_dark/repeat-one-blue_dark@2x.png \
387         extras/package/macosx/Resources/mainwindow_dark/repeat-pressed_dark.png \
388         extras/package/macosx/Resources/mainwindow_dark/repeat-pressed_dark@2x.png \
389         extras/package/macosx/Resources/mainwindow_dark/repeat_dark.png \
390         extras/package/macosx/Resources/mainwindow_dark/repeat_dark@2x.png \
391         extras/package/macosx/Resources/mainwindow_dark/shuffle-blue-pressed_dark.png \
392         extras/package/macosx/Resources/mainwindow_dark/shuffle-blue-pressed_dark@2x.png \
393         extras/package/macosx/Resources/mainwindow_dark/shuffle-blue_dark.png \
394         extras/package/macosx/Resources/mainwindow_dark/shuffle-blue_dark@2x.png \
395         extras/package/macosx/Resources/mainwindow_dark/shuffle-pressed_dark.png \
396         extras/package/macosx/Resources/mainwindow_dark/shuffle-pressed_dark@2x.png \
397         extras/package/macosx/Resources/mainwindow_dark/shuffle_dark.png \
398         extras/package/macosx/Resources/mainwindow_dark/shuffle_dark@2x.png \
399         extras/package/macosx/Resources/mainwindow_dark/stop-pressed_dark.png \
400         extras/package/macosx/Resources/mainwindow_dark/stop-pressed_dark@2x.png \
401         extras/package/macosx/Resources/mainwindow_dark/stop_dark.png \
402         extras/package/macosx/Resources/mainwindow_dark/stop_dark@2x.png \
403         extras/package/macosx/Resources/mainwindow_dark/titlebar/lion/lion-window-close-graphite.png \
404         extras/package/macosx/Resources/mainwindow_dark/titlebar/lion/lion-window-close-graphite@2x.png \
405         extras/package/macosx/Resources/mainwindow_dark/titlebar/lion/lion-window-close-on-graphite.png \
406         extras/package/macosx/Resources/mainwindow_dark/titlebar/lion/lion-window-close-on-graphite@2x.png \
407         extras/package/macosx/Resources/mainwindow_dark/titlebar/lion/lion-window-close-on.png \
408         extras/package/macosx/Resources/mainwindow_dark/titlebar/lion/lion-window-close-on@2x.png \
409         extras/package/macosx/Resources/mainwindow_dark/titlebar/lion/lion-window-close-over-graphite.png \
410         extras/package/macosx/Resources/mainwindow_dark/titlebar/lion/lion-window-close-over-graphite@2x.png \
411         extras/package/macosx/Resources/mainwindow_dark/titlebar/lion/lion-window-close-over.png \
412         extras/package/macosx/Resources/mainwindow_dark/titlebar/lion/lion-window-close-over@2x.png \
413         extras/package/macosx/Resources/mainwindow_dark/titlebar/lion/lion-window-close.png \
414         extras/package/macosx/Resources/mainwindow_dark/titlebar/lion/lion-window-close@2x.png \
415         extras/package/macosx/Resources/mainwindow_dark/titlebar/lion/lion-window-minimize-graphite.png \
416         extras/package/macosx/Resources/mainwindow_dark/titlebar/lion/lion-window-minimize-graphite@2x.png \
417         extras/package/macosx/Resources/mainwindow_dark/titlebar/lion/lion-window-minimize-on-graphite.png \
418         extras/package/macosx/Resources/mainwindow_dark/titlebar/lion/lion-window-minimize-on-graphite@2x.png \
419         extras/package/macosx/Resources/mainwindow_dark/titlebar/lion/lion-window-minimize-on.png \
420         extras/package/macosx/Resources/mainwindow_dark/titlebar/lion/lion-window-minimize-on@2x.png \
421         extras/package/macosx/Resources/mainwindow_dark/titlebar/lion/lion-window-minimize-over-graphite.png \
422         extras/package/macosx/Resources/mainwindow_dark/titlebar/lion/lion-window-minimize-over-graphite@2x.png \
423         extras/package/macosx/Resources/mainwindow_dark/titlebar/lion/lion-window-minimize-over.png \
424         extras/package/macosx/Resources/mainwindow_dark/titlebar/lion/lion-window-minimize-over@2x.png \
425         extras/package/macosx/Resources/mainwindow_dark/titlebar/lion/lion-window-minimize.png \
426         extras/package/macosx/Resources/mainwindow_dark/titlebar/lion/lion-window-minimize@2x.png \
427         extras/package/macosx/Resources/mainwindow_dark/titlebar/lion/lion-window-zoom-graphite.png \
428         extras/package/macosx/Resources/mainwindow_dark/titlebar/lion/lion-window-zoom-graphite@2x.png \
429         extras/package/macosx/Resources/mainwindow_dark/titlebar/lion/lion-window-zoom-on-graphite.png \
430         extras/package/macosx/Resources/mainwindow_dark/titlebar/lion/lion-window-zoom-on-graphite@2x.png \
431         extras/package/macosx/Resources/mainwindow_dark/titlebar/lion/lion-window-zoom-on.png \
432         extras/package/macosx/Resources/mainwindow_dark/titlebar/lion/lion-window-zoom-on@2x.png \
433         extras/package/macosx/Resources/mainwindow_dark/titlebar/lion/lion-window-zoom-over-graphite.png \
434         extras/package/macosx/Resources/mainwindow_dark/titlebar/lion/lion-window-zoom-over-graphite@2x.png \
435         extras/package/macosx/Resources/mainwindow_dark/titlebar/lion/lion-window-zoom-over.png \
436         extras/package/macosx/Resources/mainwindow_dark/titlebar/lion/lion-window-zoom-over@2x.png \
437         extras/package/macosx/Resources/mainwindow_dark/titlebar/lion/lion-window-zoom.png \
438         extras/package/macosx/Resources/mainwindow_dark/titlebar/lion/lion-window-zoom@2x.png \
439         extras/package/macosx/Resources/mainwindow_dark/titlebar/snowleo/snowleo-window-close-graphite.png \
440         extras/package/macosx/Resources/mainwindow_dark/titlebar/snowleo/snowleo-window-close-on-graphite.png \
441         extras/package/macosx/Resources/mainwindow_dark/titlebar/snowleo/snowleo-window-close-on.png \
442         extras/package/macosx/Resources/mainwindow_dark/titlebar/snowleo/snowleo-window-close-over-graphite.png \
443         extras/package/macosx/Resources/mainwindow_dark/titlebar/snowleo/snowleo-window-close-over.png \
444         extras/package/macosx/Resources/mainwindow_dark/titlebar/snowleo/snowleo-window-close.png \
445         extras/package/macosx/Resources/mainwindow_dark/titlebar/snowleo/snowleo-window-minimize-graphite.png \
446         extras/package/macosx/Resources/mainwindow_dark/titlebar/snowleo/snowleo-window-minimize-on-graphite.png \
447         extras/package/macosx/Resources/mainwindow_dark/titlebar/snowleo/snowleo-window-minimize-on.png \
448         extras/package/macosx/Resources/mainwindow_dark/titlebar/snowleo/snowleo-window-minimize-over-graphite.png \
449         extras/package/macosx/Resources/mainwindow_dark/titlebar/snowleo/snowleo-window-minimize-over.png \
450         extras/package/macosx/Resources/mainwindow_dark/titlebar/snowleo/snowleo-window-minimize.png \
451         extras/package/macosx/Resources/mainwindow_dark/titlebar/snowleo/snowleo-window-zoom-graphite.png \
452         extras/package/macosx/Resources/mainwindow_dark/titlebar/snowleo/snowleo-window-zoom-on-graphite.png \
453         extras/package/macosx/Resources/mainwindow_dark/titlebar/snowleo/snowleo-window-zoom-on.png \
454         extras/package/macosx/Resources/mainwindow_dark/titlebar/snowleo/snowleo-window-zoom-over-graphite.png \
455         extras/package/macosx/Resources/mainwindow_dark/titlebar/snowleo/snowleo-window-zoom-over.png \
456         extras/package/macosx/Resources/mainwindow_dark/titlebar/snowleo/snowleo-window-zoom.png \
457         extras/package/macosx/Resources/mainwindow_dark/topbar-dark-center-fill.png \
458         extras/package/macosx/Resources/mainwindow_dark/topbar-dark-center-fill@2x.png \
459         extras/package/macosx/Resources/mainwindow_dark/topbar-dark-left.png \
460         extras/package/macosx/Resources/mainwindow_dark/topbar-dark-left@2x.png \
461         extras/package/macosx/Resources/mainwindow_dark/topbar-dark-right.png \
462         extras/package/macosx/Resources/mainwindow_dark/topbar-dark-right@2x.png \
463         extras/package/macosx/Resources/mainwindow_dark/volume-high_dark.png \
464         extras/package/macosx/Resources/mainwindow_dark/volume-high_dark@2x.png \
465         extras/package/macosx/Resources/mainwindow_dark/volume-low_dark.png \
466         extras/package/macosx/Resources/mainwindow_dark/volume-low_dark@2x.png \
467         extras/package/macosx/Resources/mainwindow_dark/volume-slider-knob_dark.png \
468         extras/package/macosx/Resources/mainwindow_dark/volume-slider-knob_dark@2x.png \
469         extras/package/macosx/Resources/mainwindow_dark/volume-slider-track_dark.png \
470         extras/package/macosx/Resources/mainwindow_dark/volume-slider-track_dark@2x.png \
471         extras/package/macosx/Resources/mainwindow_dark/window-fullscreen-on.png \
472         extras/package/macosx/Resources/mainwindow_dark/window-fullscreen-over.png \
473         extras/package/macosx/Resources/mainwindow_dark/window-fullscreen.png \
474         extras/package/macosx/Resources/mainwindow_dark/window-resize.png \
475         extras/package/macosx/Resources/noart.png \
476         extras/package/macosx/Resources/prefs/spref_cone_Audio_64.png \
477         extras/package/macosx/Resources/prefs/spref_cone_Hotkeys_64.png \
478         extras/package/macosx/Resources/prefs/spref_cone_Input_64.png \
479         extras/package/macosx/Resources/prefs/spref_cone_Interface_64.png \
480         extras/package/macosx/Resources/prefs/spref_cone_Subtitles_64.png \
481         extras/package/macosx/Resources/prefs/spref_cone_Video_64.png \
482         extras/package/macosx/Resources/README \
483         extras/package/macosx/Resources/sidebar-icons/sidebar-local.png \
484         extras/package/macosx/Resources/sidebar-icons/sidebar-local@2x.png \
485         extras/package/macosx/Resources/sidebar-icons/sidebar-movie.png \
486         extras/package/macosx/Resources/sidebar-icons/sidebar-movie@2x.png \
487         extras/package/macosx/Resources/sidebar-icons/sidebar-music.png \
488         extras/package/macosx/Resources/sidebar-icons/sidebar-music@2x.png \
489         extras/package/macosx/Resources/sidebar-icons/sidebar-pictures.png \
490         extras/package/macosx/Resources/sidebar-icons/sidebar-pictures@2x.png \
491         extras/package/macosx/Resources/sidebar-icons/sidebar-playlist.png \
492         extras/package/macosx/Resources/sidebar-icons/sidebar-playlist@2x.png \
493         extras/package/macosx/Resources/sidebar-icons/sidebar-podcast.png \
494         extras/package/macosx/Resources/sidebar-icons/sidebar-podcast@2x.png \
495         extras/package/macosx/Resources/vlc.scriptSuite \
496         extras/package/macosx/Resources/vlc.scriptTerminology \
497         extras/package/macosx/build-package.sh \
498         extras/package/macosx/fullscreen_panel.svg \
499         extras/package/macosx/ub.sh \
500         extras/package/macosx/build.sh \
501         extras/package/macosx/configure.sh \
502         extras/package/macosx/dmg_setup.scpt \
503         extras/package/macosx/vlc.xcodeproj/project.pbxproj \
504         extras/package/macosx/Delete_Preferences.app/Contents/Info.plist \
505         extras/package/macosx/Delete_Preferences.app/Contents/PkgInfo \
506         extras/package/macosx/Delete_Preferences.app/Contents/MacOS/applet \
507         extras/package/macosx/Delete_Preferences.app/Contents/Resources/description.rtfd/TXT.rtf \
508         extras/package/macosx/Delete_Preferences.app/Contents/Resources/applet.icns \
509         extras/package/macosx/Delete_Preferences.app/Contents/Resources/applet.rsrc \
510         extras/package/macosx/Delete_Preferences.app/Contents/Resources/Scripts/main.scpt \
511         extras/package/macosx/eyetvplugin/EyeTVPluginDefs.h \
512         extras/package/macosx/eyetvplugin/Info.plist \
513         extras/package/macosx/eyetvplugin/eyetvplugin.c \
514         extras/package/macosx/eyetvplugin/eyetvplugin.h \
515         extras/package/macosx/eyetvplugin/English.lproj/InfoPlist.strings \
516         extras/package/macosx/eyetvplugin/eyetvplugin.xcodeproj/project.pbxproj \
517         extras/package/macosx/eyetvplugin/EyeTV_Plugin_Installer.pmdoc/01vlc-contents.xml \
518         extras/package/macosx/eyetvplugin/EyeTV_Plugin_Installer.pmdoc/01vlc.xml \
519         extras/package/macosx/eyetvplugin/EyeTV_Plugin_Installer.pmdoc/index.xml \
520         extras/package/macosx/README.MacOSX.rtf \
521         extras/package/macosx/Info.plist.in
522
523 ###############################################################################
524 # iOS project
525 ##############################################################################
526 EXTRA_DIST += \
527         extras/package/ios/build.sh
528
529 ###############################################################################
530 # tools (needed for contrib)
531 ##############################################################################
532 EXTRA_DIST += \
533         extras/tools/bootstrap \
534         extras/tools/packages.mak \
535         extras/tools/tools.mak
536
537 ###############################################################################
538 # Various utilities ( editor syntax files, D-Bus controller ... )
539 ##############################################################################
540 EXTRA_DIST += \
541         extras/analyser/zsh_completion.sh \
542         extras/analyser/zsh.cpp \
543         extras/analyser/emacs.init \
544         extras/analyser/vlc.vim \
545         extras/analyser/valgrind.suppressions \
546         extras/buildsystem/make.pl \
547         extras/misc/mpris.py \
548         extras/misc/mpris.xml
549
550 ###############################################################################
551 # Scripts for building dependencies.
552 ##############################################################################
553 EXTRA_DIST += \
554         contrib/bootstrap \
555         contrib/src
556
557 ###############################################################################
558 # Building libvlc
559 ###############################################################################
560
561 CLEANFILES =
562 DISTCLEANFILES = $(BUILT_SOURCES_distclean) compile
563 MAINTAINERCLEANFILES = ChangeLog
564
565 # Shortcut for developers to rebuild the core (libvlc + vlc)
566 # Don't use it if you don't know what it is about.
567 # Don't complain if it doesn't work. -- Courmisch
568 libcompat:
569         cd compat && $(MAKE) $(AM_MAKEFLAGS)
570
571 libvlccore: libcompat
572         cd src && $(MAKE) $(AM_MAKEFLAGS) libvlccore.la
573
574 libvlc: libvlccore
575         cd lib && $(MAKE) $(AM_MAKEFLAGS) libvlc.la
576
577 core: libvlc vlc$(EXEEXT)
578         cd bin && $(MAKE) $(AM_MAKEFLAGS) vlc$(EXEEXT) vlc-static$(EXEEXT)
579
580 doc:
581         cd doc && $(MAKE) $(AM_MAKEFLAGS) doc
582
583 .PHONY: libvlc core doc
584
585 ###############################################################################
586 # Building aliases
587 ###############################################################################
588
589 ALL_ALIASES = cvlc rvlc svlc qvlc nvlc mvlc
590 bin_SCRIPTS = $(ALIASES)
591 CLEANFILES += $(ALIASES) $(noinst_SCRIPTS)
592 EXTRA_SCRIPTS = $(ALL_ALIASES)
593
594 dist_noinst_SCRIPTS += make-alias
595
596 MKALIAS = bindir="$(bindir)" transform="$(transform)" program_prefix="$(program_prefix)" program_suffix="$(program_suffix)" $(top_srcdir)/make-alias $@
597
598 cvlc: make-alias Makefile
599         $(AM_V_GEN)$(MKALIAS) dummy
600
601 rvlc: make-alias Makefile
602         $(AM_V_GEN)$(MKALIAS) rc
603
604 svlc: make-alias Makefile
605         $(AM_V_GEN)$(MKALIAS) skins2
606
607 qvlc: make-alias Makefile
608         $(AM_V_GEN)$(MKALIAS) qt4
609
610 nvlc: make-alias Makefile
611         $(AM_V_GEN)$(MKALIAS) ncurses
612
613 mvlc: make-alias Makefile
614         $(AM_V_GEN)$(MKALIAS) maemo
615
616 if BUILD_VLC
617 noinst_SCRIPTS = vlc$(EXEEXT)
618 endif
619
620 vlc$(EXEEXT):
621         $(AM_V_GEN)$(LN_S) -f bin/vlc-static$(EXEEXT) vlc$(EXEEXT)
622
623 ###############################################################################
624 # Installing plugins cache
625 ###############################################################################
626 install-exec-hook:
627         if test "$(build)" = "$(host)"; then \
628                 LD_LIBRARY_PATH="$(DESTDIR)$(libdir):$$LD_LIBRARY_PATH" \
629                 "$(DESTDIR)$(vlclibdir)/vlc-cache-gen$(EXEEXT)" \
630                          "$(DESTDIR)$(vlclibdir)/plugins" ; \
631         else \
632                 echo "Cross-compilation: cache generation skipped!" ; \
633         fi
634
635 uninstall-hook:
636         rm -f -- "$(DESTDIR)$(vlclibdir)/plugins/plugins.dat"
637
638 silentstd = $(silentstd_$(V))
639 silentstd_ = $(silentstd_$(AM_DEFAULT_VERBOSITY))
640 silentstd_0 = 2>&1 >/dev/null
641
642 ###############################################################################
643 # PO translation files update
644 ###############################################################################
645 .PHONY: update-po
646
647 update-po:
648         cd po && $(MAKE) POTFILES vlc.pot update-po
649
650 ###############################################################################
651 # OS Packaging rules
652 ###############################################################################
653 include extras/package/macosx/package.mak
654 include extras/package/win32/package.mak
655