Makefile.am 36.3 KB
Newer Older
1 2 3
###############################################################################
# Automake targets and declarations
###############################################################################
4

5 6 7
# SUBDIRS stores the directories where a "make" is required when building
# something. DIST_SUBDIRS stores the directories where nothing is built but
# which have makefiles with distribution information.
Rafaël Carré's avatar
Rafaël Carré committed
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 12 13
if BUILD_VLC
SUBDIRS += bin
endif
14
SUBDIRS += test
15

16
EXTRA_DIST = \
17
	extras/package/win32/vlc.exe.manifest \
18
	extras/package/win32/libvlc.dll.manifest \
19 20
	extras/package/win32/peflags.pl \
	extras/package/win32/change-contribs-directory.sh \
21
	extras/package/win32/configure.sh \
22 23
	extras/package/symbian/configure.sh \
	extras/package/npapi.am \
24
	extras/package/win32/vlc.win32.nsi.in \
25
	extras/package/win32/spad.nsi.in \
26 27
	extras/package/win32/UAC.nsh \
	extras/package/win32/UAC.dll \
28
	extras/package/win32/languages/declaration.nsh \
Christophe Mutricy's avatar
Christophe Mutricy committed
29
	extras/package/win32/languages/bengali.nsh \
30
	extras/package/win32/languages/basque.nsh \
Christophe Mutricy's avatar
Christophe Mutricy committed
31 32 33
	extras/package/win32/languages/brazilian_portuguese.nsh \
	extras/package/win32/languages/bulgarian.nsh \
	extras/package/win32/languages/catalan.nsh \
34
	extras/package/win32/languages/danish.nsh \
Christophe Mutricy's avatar
Christophe Mutricy committed
35
	extras/package/win32/languages/dutch.nsh \
36
	extras/package/win32/languages/english.nsh \
Christophe Mutricy's avatar
Christophe Mutricy committed
37 38 39
	extras/package/win32/languages/estonian.nsh \
	extras/package/win32/languages/finnish.nsh \
	extras/package/win32/languages/french.nsh \
40
	extras/package/win32/languages/galician.nsh \
Christophe Mutricy's avatar
Christophe Mutricy committed
41
	extras/package/win32/languages/german.nsh \
42
	extras/package/win32/languages/hebrew.nsh \
Christophe Mutricy's avatar
Christophe Mutricy committed
43 44 45
	extras/package/win32/languages/hungarian.nsh \
	extras/package/win32/languages/italian.nsh \
	extras/package/win32/languages/japanese.nsh \
Christophe Mutricy's avatar
Christophe Mutricy committed
46
	extras/package/win32/languages/lithuanian.nsh \
Christophe Mutricy's avatar
Christophe Mutricy committed
47 48 49
	extras/package/win32/languages/occitan.nsh \
	extras/package/win32/languages/polish.nsh \
	extras/package/win32/languages/punjabi.nsh \
50
	extras/package/win32/languages/russian.nsh
Christophe Mutricy's avatar
Christophe Mutricy committed
51 52 53 54 55
	extras/package/win32/languages/romanian.nsh \
	extras/package/win32/languages/schinese.nsh \
	extras/package/win32/languages/slovak.nsh \
	extras/package/win32/languages/slovenian.nsh \
	extras/package/win32/languages/sorani.nsh \
56 57
	extras/package/win32/languages/spanish.nsh \
	extras/package/win32/languages/swedish.nsh
58

59
dist_noinst_SCRIPTS = bootstrap
60
nodist_noinst_SCRIPTS = compile
Rémi Denis-Courmont's avatar
Rémi Denis-Courmont committed
61

Rémi Denis-Courmont's avatar
Rémi Denis-Courmont committed
62
BUILT_SOURCES_distclean =
Rémi Denis-Courmont's avatar
Rémi Denis-Courmont committed
63

64
BUILT_SOURCES = $(BUILT_SOURCES_distclean)
65

66 67
SUFFIXES = 

68 69
DISTCHECK_CONFIGURE_FLAGS = \
	--enable-fast-install \
70 71 72
	--disable-a52 \
	--disable-avcodec --disable-avformat \
	--disable-postproc --disable-swscale \
Rémi Denis-Courmont's avatar
Rémi Denis-Courmont committed
73
	--disable-dbus \
74 75
	--disable-mad --disable-libmpeg2 \
	--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 = \
Rémi Denis-Courmont's avatar
Rémi Denis-Courmont committed
83
	1.11 \
84 85
	-Wall \
	check-news \
86
	dist-xz \
87
	no-dist-gzip
Christophe Mutricy's avatar
Christophe Mutricy committed
88
#	std-options
89

90 91
ChangeLog: Makefile.am
	rm -f -- "$@"
92
	cd doc && $(MAKE) $(AM_MAKEFLAGS) changelogs
KO Myung-Hun's avatar
KO Myung-Hun committed
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 105 106
	extras/package/macosx/Resources/English.lproj/About.xib \
	extras/package/macosx/Resources/English.lproj/AudioEffects.xib \
	extras/package/macosx/Resources/English.lproj/Bookmarks.xib \
107
	extras/package/macosx/Resources/English.lproj/ConvertAndSave.xib \
108 109
	extras/package/macosx/Resources/English.lproj/CoreDialogs.xib \
	extras/package/macosx/Resources/English.lproj/ErrorPanel.xib \
110
	extras/package/macosx/Resources/English.lproj/InfoPlist.strings.in \
111 112 113 114 115 116 117
	extras/package/macosx/Resources/English.lproj/MainMenu.xib \
	extras/package/macosx/Resources/English.lproj/MediaInfo.xib \
	extras/package/macosx/Resources/English.lproj/Open.xib \
	extras/package/macosx/Resources/English.lproj/Preferences.xib \
	extras/package/macosx/Resources/English.lproj/SyncTracks.xib \
	extras/package/macosx/Resources/English.lproj/VideoEffects.xib \
	extras/package/macosx/Resources/English.lproj/Wizard.xib \
118
	extras/package/macosx/Resources/fspanel/fs_background.png \
119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171
	extras/package/macosx/Resources/fspanel/fs_background@2x.png \
	extras/package/macosx/Resources/fspanel/fs_exit_fullscreen.png \
	extras/package/macosx/Resources/fspanel/fs_exit_fullscreen@2x.png \
	extras/package/macosx/Resources/fspanel/fs_exit_fullscreen_highlight.png \
	extras/package/macosx/Resources/fspanel/fs_exit_fullscreen_highlight@2x.png \
	extras/package/macosx/Resources/fspanel/fs_forward.png \
	extras/package/macosx/Resources/fspanel/fs_forward@2x.png \
	extras/package/macosx/Resources/fspanel/fs_forward_highlight.png \
	extras/package/macosx/Resources/fspanel/fs_forward_highlight@2x.png \
	extras/package/macosx/Resources/fspanel/fs_pause.png \
	extras/package/macosx/Resources/fspanel/fs_pause@2x.png \
	extras/package/macosx/Resources/fspanel/fs_pause_highlight.png \
	extras/package/macosx/Resources/fspanel/fs_pause_highlight@2x.png \
	extras/package/macosx/Resources/fspanel/fs_play.png \
	extras/package/macosx/Resources/fspanel/fs_play@2x.png \
	extras/package/macosx/Resources/fspanel/fs_play_highlight.png \
	extras/package/macosx/Resources/fspanel/fs_play_highlight@2x.png \
	extras/package/macosx/Resources/fspanel/fs_rewind.png \
	extras/package/macosx/Resources/fspanel/fs_rewind@2x.png \
	extras/package/macosx/Resources/fspanel/fs_rewind_highlight.png \
	extras/package/macosx/Resources/fspanel/fs_rewind_highlight@2x.png \
	extras/package/macosx/Resources/fspanel/fs_skip_next.png \
	extras/package/macosx/Resources/fspanel/fs_skip_next@2x.png \
	extras/package/macosx/Resources/fspanel/fs_skip_next_highlight.png \
	extras/package/macosx/Resources/fspanel/fs_skip_next_highlight@2x.png \
	extras/package/macosx/Resources/fspanel/fs_skip_previous.png \
	extras/package/macosx/Resources/fspanel/fs_skip_previous@2x.png \
	extras/package/macosx/Resources/fspanel/fs_skip_previous_highlight.png \
	extras/package/macosx/Resources/fspanel/fs_skip_previous_highlight@2x.png \
	extras/package/macosx/Resources/fspanel/fs_stop.png \
	extras/package/macosx/Resources/fspanel/fs_stop@2x.png \
	extras/package/macosx/Resources/fspanel/fs_stop_highlight.png \
	extras/package/macosx/Resources/fspanel/fs_stop_highlight@2x.png \
	extras/package/macosx/Resources/fspanel/fs_time_slider.png \
	extras/package/macosx/Resources/fspanel/fs_time_slider@2x.png \
	extras/package/macosx/Resources/fspanel/fs_time_slider_knob.png \
	extras/package/macosx/Resources/fspanel/fs_time_slider_knob@2x.png \
	extras/package/macosx/Resources/fspanel/fs_time_slider_knob_highlight.png \
	extras/package/macosx/Resources/fspanel/fs_time_slider_knob_highlight@2x.png \
	extras/package/macosx/Resources/fspanel/fs_volume_max.png \
	extras/package/macosx/Resources/fspanel/fs_volume_max@2x.png \
	extras/package/macosx/Resources/fspanel/fs_volume_max_highlight.png \
	extras/package/macosx/Resources/fspanel/fs_volume_max_highlight@2x.png \
	extras/package/macosx/Resources/fspanel/fs_volume_mute.png \
	extras/package/macosx/Resources/fspanel/fs_volume_mute@2x.png \
	extras/package/macosx/Resources/fspanel/fs_volume_mute_highlight.png \
	extras/package/macosx/Resources/fspanel/fs_volume_mute_highlight@2x.png \
	extras/package/macosx/Resources/fspanel/fs_volume_slider_bar.png \
	extras/package/macosx/Resources/fspanel/fs_volume_slider_bar@2x.png \
	extras/package/macosx/Resources/fspanel/fs_volume_slider_knob.png \
	extras/package/macosx/Resources/fspanel/fs_volume_slider_knob@2x.png \
	extras/package/macosx/Resources/fspanel/fs_volume_slider_knob_highlight.png \
	extras/package/macosx/Resources/fspanel/fs_volume_slider_knob_highlight@2x.png \
172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188
	extras/package/macosx/Resources/icons/aiff.icns \
	extras/package/macosx/Resources/icons/audio.icns \
	extras/package/macosx/Resources/icons/avi.icns \
	extras/package/macosx/Resources/icons/flv.icns \
	extras/package/macosx/Resources/icons/generic.icns \
	extras/package/macosx/Resources/icons/m4a.icns \
	extras/package/macosx/Resources/icons/m4v.icns \
	extras/package/macosx/Resources/icons/mkv.icns \
	extras/package/macosx/Resources/icons/mov.icns \
	extras/package/macosx/Resources/icons/movie.icns \
	extras/package/macosx/Resources/icons/mp3.icns \
	extras/package/macosx/Resources/icons/mpeg.icns \
	extras/package/macosx/Resources/icons/ogg.icns \
	extras/package/macosx/Resources/icons/playlist.icns \
	extras/package/macosx/Resources/icons/rm.icns \
	extras/package/macosx/Resources/icons/subtitle.icns \
	extras/package/macosx/Resources/icons/vlc.icns \
189
	extras/package/macosx/Resources/icons/vlc-xmas.png \
190 191 192 193
	extras/package/macosx/Resources/icons/vob.icns \
	extras/package/macosx/Resources/icons/wav.icns \
	extras/package/macosx/Resources/icons/wma.icns \
	extras/package/macosx/Resources/icons/wmv.icns \
194
	extras/package/macosx/Resources/mainwindow/back-pressed-single.png \
195
	extras/package/macosx/Resources/mainwindow/back-pressed.png \
196
	extras/package/macosx/Resources/mainwindow/back-pressed@2x.png \
197
	extras/package/macosx/Resources/mainwindow/back-single.png \
198
	extras/package/macosx/Resources/mainwindow/back.png \
199
	extras/package/macosx/Resources/mainwindow/back@2x.png \
200
	extras/package/macosx/Resources/mainwindow/bottom-background.png \
201
	extras/package/macosx/Resources/mainwindow/bottom-background@2x.png \
202
	extras/package/macosx/Resources/mainwindow/bottombar-mini.png \
203 204
	extras/package/macosx/Resources/mainwindow/dropzone-background.png \
	extras/package/macosx/Resources/mainwindow/dropzone.png \
205
	extras/package/macosx/Resources/mainwindow/dropzone@2x.png \
206
	extras/package/macosx/Resources/mainwindow/effects-double-buttons-blue.png \
207
	extras/package/macosx/Resources/mainwindow/effects-double-buttons-blue@2x.png \
208
	extras/package/macosx/Resources/mainwindow/effects-double-buttons-pressed.png \
209
	extras/package/macosx/Resources/mainwindow/effects-double-buttons-pressed@2x.png \
210
	extras/package/macosx/Resources/mainwindow/effects-double-buttons.png \
211
	extras/package/macosx/Resources/mainwindow/effects-double-buttons@2x.png \
212
	extras/package/macosx/Resources/mainwindow/effects-one-button-blue.png \
213
	extras/package/macosx/Resources/mainwindow/effects-one-button-blue@2x.png \
214
	extras/package/macosx/Resources/mainwindow/effects-one-button.png \
215
	extras/package/macosx/Resources/mainwindow/effects-one-button@2x.png \
216
	extras/package/macosx/Resources/mainwindow/forward-pressed-single.png \
217
	extras/package/macosx/Resources/mainwindow/forward-pressed.png \
218
	extras/package/macosx/Resources/mainwindow/forward-pressed@2x.png \
219
	extras/package/macosx/Resources/mainwindow/forward-single.png \
220
	extras/package/macosx/Resources/mainwindow/forward.png \
221
	extras/package/macosx/Resources/mainwindow/forward@2x.png \
222
	extras/package/macosx/Resources/mainwindow/fullscreen-double-buttons-pressed.png \
223
	extras/package/macosx/Resources/mainwindow/fullscreen-double-buttons-pressed@2x.png \
224
	extras/package/macosx/Resources/mainwindow/fullscreen-double-buttons.png \
225
	extras/package/macosx/Resources/mainwindow/fullscreen-double-buttons@2x.png \
226
	extras/package/macosx/Resources/mainwindow/fullscreen-one-button-pressed.png \
227
	extras/package/macosx/Resources/mainwindow/fullscreen-one-button-pressed@2x.png \
228
	extras/package/macosx/Resources/mainwindow/fullscreen-one-button.png \
229
	extras/package/macosx/Resources/mainwindow/fullscreen-one-button@2x.png \
230 231 232 233 234 235 236 237
	extras/package/macosx/Resources/mainwindow/mini-progressbar-fill-left.png \
	extras/package/macosx/Resources/mainwindow/mini-progressbar-fill-middle.png \
	extras/package/macosx/Resources/mainwindow/mini-progressbar-fill-right.png \
	extras/package/macosx/Resources/mainwindow/mini-progressbar-knob.png \
	extras/package/macosx/Resources/mainwindow/mini-progressbar-wrapper-left.png \
	extras/package/macosx/Resources/mainwindow/mini-progressbar-wrapper-middle.png \
	extras/package/macosx/Resources/mainwindow/mini-progressbar-wrapper-right.png \
	extras/package/macosx/Resources/mainwindow/pause-pressed.png \
238
	extras/package/macosx/Resources/mainwindow/pause-pressed@2x.png \
239
	extras/package/macosx/Resources/mainwindow/pause.png \
240
	extras/package/macosx/Resources/mainwindow/pause@2x.png \
241
	extras/package/macosx/Resources/mainwindow/play-pressed.png \
242
	extras/package/macosx/Resources/mainwindow/play-pressed@2x.png \
243
	extras/package/macosx/Resources/mainwindow/play.png \
244 245
	extras/package/macosx/Resources/mainwindow/play@2x.png \
	extras/package/macosx/Resources/mainwindow/playlist-blue@2x.png \
246 247 248
	extras/package/macosx/Resources/mainwindow/playlist-btn-blue.png \
	extras/package/macosx/Resources/mainwindow/playlist-btn-pressed.png \
	extras/package/macosx/Resources/mainwindow/playlist-btn.png \
249 250
	extras/package/macosx/Resources/mainwindow/playlist-btn@2x.png \
	extras/package/macosx/Resources/mainwindow/playlist-pressed@2x.png \
251
	extras/package/macosx/Resources/mainwindow/progression-fill-left.png \
252
	extras/package/macosx/Resources/mainwindow/progression-fill-left@2x.png \
253
	extras/package/macosx/Resources/mainwindow/progression-fill-middle.png \
254
	extras/package/macosx/Resources/mainwindow/progression-fill-middle@2x.png \
255
	extras/package/macosx/Resources/mainwindow/progression-fill-right.png \
256
	extras/package/macosx/Resources/mainwindow/progression-fill-right@2x.png \
257
	extras/package/macosx/Resources/mainwindow/progression-knob.png \
258
	extras/package/macosx/Resources/mainwindow/progression-knob@2x.png \
259
	extras/package/macosx/Resources/mainwindow/progression-track-wrapper-left.png \
260
	extras/package/macosx/Resources/mainwindow/progression-track-wrapper-left@2x.png \
261
	extras/package/macosx/Resources/mainwindow/progression-track-wrapper-middle.png \
262
	extras/package/macosx/Resources/mainwindow/progression-track-wrapper-middle@2x.png \
263
	extras/package/macosx/Resources/mainwindow/progression-track-wrapper-right.png \
264
	extras/package/macosx/Resources/mainwindow/progression-track-wrapper-right@2x.png \
265
	extras/package/macosx/Resources/mainwindow/repeat-all-pressed.png \
266
	extras/package/macosx/Resources/mainwindow/repeat-all-pressed@2x.png \
267
	extras/package/macosx/Resources/mainwindow/repeat-all.png \
268
	extras/package/macosx/Resources/mainwindow/repeat-all@2x.png \
269
	extras/package/macosx/Resources/mainwindow/repeat-one-pressed.png \
270
	extras/package/macosx/Resources/mainwindow/repeat-one-pressed@2x.png \
271
	extras/package/macosx/Resources/mainwindow/repeat-one.png \
272
	extras/package/macosx/Resources/mainwindow/repeat-one@2x.png \
273
	extras/package/macosx/Resources/mainwindow/repeat-pressed.png \
274
	extras/package/macosx/Resources/mainwindow/repeat-pressed@2x.png \
275
	extras/package/macosx/Resources/mainwindow/repeat.png \
276
	extras/package/macosx/Resources/mainwindow/repeat@2x.png \
277
	extras/package/macosx/Resources/mainwindow/shuffle-blue-pressed.png \
278
	extras/package/macosx/Resources/mainwindow/shuffle-blue-pressed@2x.png \
279
	extras/package/macosx/Resources/mainwindow/shuffle-blue.png \
280
	extras/package/macosx/Resources/mainwindow/shuffle-blue@2x.png \
281
	extras/package/macosx/Resources/mainwindow/shuffle-pressed.png \
282
	extras/package/macosx/Resources/mainwindow/shuffle-pressed@2x.png \
283
	extras/package/macosx/Resources/mainwindow/shuffle.png \
284
	extras/package/macosx/Resources/mainwindow/shuffle@2x.png \
285
	extras/package/macosx/Resources/mainwindow/stop-pressed.png \
286
	extras/package/macosx/Resources/mainwindow/stop-pressed@2x.png \
287
	extras/package/macosx/Resources/mainwindow/stop.png \
288
	extras/package/macosx/Resources/mainwindow/stop@2x.png \
289
	extras/package/macosx/Resources/mainwindow/topbar_background.png \
290
	extras/package/macosx/Resources/mainwindow/volume-high.png \
291
	extras/package/macosx/Resources/mainwindow/volume-high@2x.png \
292
	extras/package/macosx/Resources/mainwindow/volume-low.png \
293
	extras/package/macosx/Resources/mainwindow/volume-low@2x.png \
294
	extras/package/macosx/Resources/mainwindow/volume-slider-knob.png \
295
	extras/package/macosx/Resources/mainwindow/volume-slider-knob@2x.png \
296
	extras/package/macosx/Resources/mainwindow/volume-slider-track.png \
297
	extras/package/macosx/Resources/mainwindow/volume-slider-track@2x.png \
298
	extras/package/macosx/Resources/mainwindow_dark/back-pressed_dark.png \
299
	extras/package/macosx/Resources/mainwindow_dark/back-pressed_dark@2x.png \
300
	extras/package/macosx/Resources/mainwindow_dark/back_dark.png \
301
	extras/package/macosx/Resources/mainwindow_dark/back_dark@2x.png \
302
	extras/package/macosx/Resources/mainwindow_dark/bottom-background_dark.png \
303
	extras/package/macosx/Resources/mainwindow_dark/bottom-background_dark@2x.png \
304
	extras/package/macosx/Resources/mainwindow_dark/bottombar-mini.png \
305
	extras/package/macosx/Resources/mainwindow_dark/bottomdark-left.png \
306
	extras/package/macosx/Resources/mainwindow_dark/bottomdark-left@2x.png \
307
	extras/package/macosx/Resources/mainwindow_dark/bottomdark-right.png \
308
	extras/package/macosx/Resources/mainwindow_dark/bottomdark-right@2x.png \
309
	extras/package/macosx/Resources/mainwindow_dark/effects-double-buttons-blue_dark.png \
310
	extras/package/macosx/Resources/mainwindow_dark/effects-double-buttons-blue_dark@2x.png \
311
	extras/package/macosx/Resources/mainwindow_dark/effects-double-buttons-pressed_dark.png \
312
	extras/package/macosx/Resources/mainwindow_dark/effects-double-buttons-pressed_dark@2x.png \
313
	extras/package/macosx/Resources/mainwindow_dark/effects-double-buttons_dark.png \
314
	extras/package/macosx/Resources/mainwindow_dark/effects-double-buttons_dark@2x.png \
315
	extras/package/macosx/Resources/mainwindow_dark/effects-one-button-blue_dark.png \
316
	extras/package/macosx/Resources/mainwindow_dark/effects-one-button-blue_dark@2x.png \
317
	extras/package/macosx/Resources/mainwindow_dark/effects-one-button_dark.png \
318
	extras/package/macosx/Resources/mainwindow_dark/effects-one-button_dark@2x.png \
319
	extras/package/macosx/Resources/mainwindow_dark/forward-pressed_dark.png \
320
	extras/package/macosx/Resources/mainwindow_dark/forward-pressed_dark@2x.png \
321
	extras/package/macosx/Resources/mainwindow_dark/forward_dark.png \
322
	extras/package/macosx/Resources/mainwindow_dark/forward_dark@2x.png \
323
	extras/package/macosx/Resources/mainwindow_dark/fullscreen-double-buttons-pressed_dark.png \
324
	extras/package/macosx/Resources/mainwindow_dark/fullscreen-double-buttons-pressed_dark@2x.png \
325
	extras/package/macosx/Resources/mainwindow_dark/fullscreen-double-buttons_dark.png \
326
	extras/package/macosx/Resources/mainwindow_dark/fullscreen-double-buttons_dark@2x.png \
327
	extras/package/macosx/Resources/mainwindow_dark/fullscreen-one-button-pressed_dark.png \
328
	extras/package/macosx/Resources/mainwindow_dark/fullscreen-one-button-pressed_dark@2x.png \
329
	extras/package/macosx/Resources/mainwindow_dark/fullscreen-one-button_dark.png \
330
	extras/package/macosx/Resources/mainwindow_dark/fullscreen-one-button_dark@2x.png \
331
	extras/package/macosx/Resources/mainwindow_dark/pause-pressed_dark.png \
332
	extras/package/macosx/Resources/mainwindow_dark/pause-pressed_dark@2x.png \
333
	extras/package/macosx/Resources/mainwindow_dark/pause_dark.png \
334
	extras/package/macosx/Resources/mainwindow_dark/pause_dark@2x.png \
335
	extras/package/macosx/Resources/mainwindow_dark/play-pressed_dark.png \
336
	extras/package/macosx/Resources/mainwindow_dark/play-pressed_dark@2x.png \
337
	extras/package/macosx/Resources/mainwindow_dark/play_dark.png \
338
	extras/package/macosx/Resources/mainwindow_dark/play_dark@2x.png \
339
	extras/package/macosx/Resources/mainwindow_dark/playlist-blue-pressed_dark.png \
340
	extras/package/macosx/Resources/mainwindow_dark/playlist-blue-pressed_dark@2x.png \
341
	extras/package/macosx/Resources/mainwindow_dark/playlist-blue_dark.png \
342
	extras/package/macosx/Resources/mainwindow_dark/playlist-blue_dark@2x.png \
343
	extras/package/macosx/Resources/mainwindow_dark/playlist-pressed_dark.png \
344
	extras/package/macosx/Resources/mainwindow_dark/playlist-pressed_dark@2x.png \
345
	extras/package/macosx/Resources/mainwindow_dark/playlist_dark.png \
346
	extras/package/macosx/Resources/mainwindow_dark/playlist_dark@2x.png \
347
	extras/package/macosx/Resources/mainwindow_dark/progressbar-fill-left_dark.png \
348
	extras/package/macosx/Resources/mainwindow_dark/progressbar-fill-left_dark@2x.png \
349
	extras/package/macosx/Resources/mainwindow_dark/progressbar-fill-middle_dark.png \
350
	extras/package/macosx/Resources/mainwindow_dark/progressbar-fill-middle_dark@2x.png \
351
	extras/package/macosx/Resources/mainwindow_dark/progressbar-fill-right_dark.png \
352
	extras/package/macosx/Resources/mainwindow_dark/progressbar-fill-right_dark@2x.png \
353
	extras/package/macosx/Resources/mainwindow_dark/progression-knob_dark.png \
354
	extras/package/macosx/Resources/mainwindow_dark/progression-knob_dark@2x.png \
355
	extras/package/macosx/Resources/mainwindow_dark/progression-track-wrapper-left_dark.png \
356
	extras/package/macosx/Resources/mainwindow_dark/progression-track-wrapper-left_dark@2x.png \
357
	extras/package/macosx/Resources/mainwindow_dark/progression-track-wrapper-middle_dark.png \
358
	extras/package/macosx/Resources/mainwindow_dark/progression-track-wrapper-middle_dark@2x.png \
359
	extras/package/macosx/Resources/mainwindow_dark/progression-track-wrapper-right_dark.png \
360
	extras/package/macosx/Resources/mainwindow_dark/progression-track-wrapper-right_dark@2x.png \
361
	extras/package/macosx/Resources/mainwindow_dark/repeat-all-blue-pressed_dark.png \
362
	extras/package/macosx/Resources/mainwindow_dark/repeat-all-blue-pressed_dark@2x.png \
363
	extras/package/macosx/Resources/mainwindow_dark/repeat-all-blue_dark.png \
364
	extras/package/macosx/Resources/mainwindow_dark/repeat-all-blue_dark@2x.png \
365
	extras/package/macosx/Resources/mainwindow_dark/repeat-one-blue-pressed_dark.png \
366
	extras/package/macosx/Resources/mainwindow_dark/repeat-one-blue-pressed_dark@2x.png \
367
	extras/package/macosx/Resources/mainwindow_dark/repeat-one-blue_dark.png \
368
	extras/package/macosx/Resources/mainwindow_dark/repeat-one-blue_dark@2x.png \
369
	extras/package/macosx/Resources/mainwindow_dark/repeat-pressed_dark.png \
370
	extras/package/macosx/Resources/mainwindow_dark/repeat-pressed_dark@2x.png \
371
	extras/package/macosx/Resources/mainwindow_dark/repeat_dark.png \
372
	extras/package/macosx/Resources/mainwindow_dark/repeat_dark@2x.png \
373
	extras/package/macosx/Resources/mainwindow_dark/shuffle-blue-pressed_dark.png \
374
	extras/package/macosx/Resources/mainwindow_dark/shuffle-blue-pressed_dark@2x.png \
375
	extras/package/macosx/Resources/mainwindow_dark/shuffle-blue_dark.png \
376
	extras/package/macosx/Resources/mainwindow_dark/shuffle-blue_dark@2x.png \
377
	extras/package/macosx/Resources/mainwindow_dark/shuffle-pressed_dark.png \
378
	extras/package/macosx/Resources/mainwindow_dark/shuffle-pressed_dark@2x.png \
379
	extras/package/macosx/Resources/mainwindow_dark/shuffle_dark.png \
380
	extras/package/macosx/Resources/mainwindow_dark/shuffle_dark@2x.png \
381
	extras/package/macosx/Resources/mainwindow_dark/stop-pressed_dark.png \
382
	extras/package/macosx/Resources/mainwindow_dark/stop-pressed_dark@2x.png \
383
	extras/package/macosx/Resources/mainwindow_dark/stop_dark.png \
384
	extras/package/macosx/Resources/mainwindow_dark/stop_dark@2x.png \
385
	extras/package/macosx/Resources/mainwindow_dark/titlebar/lion/lion-window-close-graphite.png \
386
	extras/package/macosx/Resources/mainwindow_dark/titlebar/lion/lion-window-close-graphite@2x.png \
387
	extras/package/macosx/Resources/mainwindow_dark/titlebar/lion/lion-window-close-on-graphite.png \
388
	extras/package/macosx/Resources/mainwindow_dark/titlebar/lion/lion-window-close-on-graphite@2x.png \
389
	extras/package/macosx/Resources/mainwindow_dark/titlebar/lion/lion-window-close-on.png \
390
	extras/package/macosx/Resources/mainwindow_dark/titlebar/lion/lion-window-close-on@2x.png \
391
	extras/package/macosx/Resources/mainwindow_dark/titlebar/lion/lion-window-close-over-graphite.png \
392
	extras/package/macosx/Resources/mainwindow_dark/titlebar/lion/lion-window-close-over-graphite@2x.png \
393
	extras/package/macosx/Resources/mainwindow_dark/titlebar/lion/lion-window-close-over.png \
394
	extras/package/macosx/Resources/mainwindow_dark/titlebar/lion/lion-window-close-over@2x.png \
395
	extras/package/macosx/Resources/mainwindow_dark/titlebar/lion/lion-window-close.png \
396
	extras/package/macosx/Resources/mainwindow_dark/titlebar/lion/lion-window-close@2x.png \
397
	extras/package/macosx/Resources/mainwindow_dark/titlebar/lion/lion-window-minimize-graphite.png \
398
	extras/package/macosx/Resources/mainwindow_dark/titlebar/lion/lion-window-minimize-graphite@2x.png \
399
	extras/package/macosx/Resources/mainwindow_dark/titlebar/lion/lion-window-minimize-on-graphite.png \
400
	extras/package/macosx/Resources/mainwindow_dark/titlebar/lion/lion-window-minimize-on-graphite@2x.png \
401
	extras/package/macosx/Resources/mainwindow_dark/titlebar/lion/lion-window-minimize-on.png \
402
	extras/package/macosx/Resources/mainwindow_dark/titlebar/lion/lion-window-minimize-on@2x.png \
403
	extras/package/macosx/Resources/mainwindow_dark/titlebar/lion/lion-window-minimize-over-graphite.png \
404
	extras/package/macosx/Resources/mainwindow_dark/titlebar/lion/lion-window-minimize-over-graphite@2x.png \
405
	extras/package/macosx/Resources/mainwindow_dark/titlebar/lion/lion-window-minimize-over.png \
406
	extras/package/macosx/Resources/mainwindow_dark/titlebar/lion/lion-window-minimize-over@2x.png \
407
	extras/package/macosx/Resources/mainwindow_dark/titlebar/lion/lion-window-minimize.png \
408
	extras/package/macosx/Resources/mainwindow_dark/titlebar/lion/lion-window-minimize@2x.png \
409
	extras/package/macosx/Resources/mainwindow_dark/titlebar/lion/lion-window-zoom-graphite.png \
410
	extras/package/macosx/Resources/mainwindow_dark/titlebar/lion/lion-window-zoom-graphite@2x.png \
411
	extras/package/macosx/Resources/mainwindow_dark/titlebar/lion/lion-window-zoom-on-graphite.png \
412
	extras/package/macosx/Resources/mainwindow_dark/titlebar/lion/lion-window-zoom-on-graphite@2x.png \
413
	extras/package/macosx/Resources/mainwindow_dark/titlebar/lion/lion-window-zoom-on.png \
414
	extras/package/macosx/Resources/mainwindow_dark/titlebar/lion/lion-window-zoom-on@2x.png \
415
	extras/package/macosx/Resources/mainwindow_dark/titlebar/lion/lion-window-zoom-over-graphite.png \
416
	extras/package/macosx/Resources/mainwindow_dark/titlebar/lion/lion-window-zoom-over-graphite@2x.png \
417
	extras/package/macosx/Resources/mainwindow_dark/titlebar/lion/lion-window-zoom-over.png \
418
	extras/package/macosx/Resources/mainwindow_dark/titlebar/lion/lion-window-zoom-over@2x.png \
419
	extras/package/macosx/Resources/mainwindow_dark/titlebar/lion/lion-window-zoom.png \
420
	extras/package/macosx/Resources/mainwindow_dark/titlebar/lion/lion-window-zoom@2x.png \
421 422 423 424 425 426
	extras/package/macosx/Resources/mainwindow_dark/titlebar/snowleo/snowleo-window-close-graphite.png \
	extras/package/macosx/Resources/mainwindow_dark/titlebar/snowleo/snowleo-window-close-on-graphite.png \
	extras/package/macosx/Resources/mainwindow_dark/titlebar/snowleo/snowleo-window-close-on.png \
	extras/package/macosx/Resources/mainwindow_dark/titlebar/snowleo/snowleo-window-close-over-graphite.png \
	extras/package/macosx/Resources/mainwindow_dark/titlebar/snowleo/snowleo-window-close-over.png \
	extras/package/macosx/Resources/mainwindow_dark/titlebar/snowleo/snowleo-window-close.png \
427
	extras/package/macosx/Resources/mainwindow_dark/titlebar/snowleo/snowleo-window-minimize-graphite.png \
428 429 430 431 432 433 434 435 436 437 438 439
	extras/package/macosx/Resources/mainwindow_dark/titlebar/snowleo/snowleo-window-minimize-on-graphite.png \
	extras/package/macosx/Resources/mainwindow_dark/titlebar/snowleo/snowleo-window-minimize-on.png \
	extras/package/macosx/Resources/mainwindow_dark/titlebar/snowleo/snowleo-window-minimize-over-graphite.png \
	extras/package/macosx/Resources/mainwindow_dark/titlebar/snowleo/snowleo-window-minimize-over.png \
	extras/package/macosx/Resources/mainwindow_dark/titlebar/snowleo/snowleo-window-minimize.png \
	extras/package/macosx/Resources/mainwindow_dark/titlebar/snowleo/snowleo-window-zoom-graphite.png \
	extras/package/macosx/Resources/mainwindow_dark/titlebar/snowleo/snowleo-window-zoom-on-graphite.png \
	extras/package/macosx/Resources/mainwindow_dark/titlebar/snowleo/snowleo-window-zoom-on.png \
	extras/package/macosx/Resources/mainwindow_dark/titlebar/snowleo/snowleo-window-zoom-over-graphite.png \
	extras/package/macosx/Resources/mainwindow_dark/titlebar/snowleo/snowleo-window-zoom-over.png \
	extras/package/macosx/Resources/mainwindow_dark/titlebar/snowleo/snowleo-window-zoom.png \
	extras/package/macosx/Resources/mainwindow_dark/topbar-dark-center-fill.png \
440
	extras/package/macosx/Resources/mainwindow_dark/topbar-dark-center-fill@2x.png \
441
	extras/package/macosx/Resources/mainwindow_dark/topbar-dark-left.png \
442
	extras/package/macosx/Resources/mainwindow_dark/topbar-dark-left@2x.png \
443
	extras/package/macosx/Resources/mainwindow_dark/topbar-dark-right.png \
444
	extras/package/macosx/Resources/mainwindow_dark/topbar-dark-right@2x.png \
445
	extras/package/macosx/Resources/mainwindow_dark/volume-high_dark.png \
446
	extras/package/macosx/Resources/mainwindow_dark/volume-high_dark@2x.png \
447
	extras/package/macosx/Resources/mainwindow_dark/volume-low_dark.png \
448
	extras/package/macosx/Resources/mainwindow_dark/volume-low_dark@2x.png \
449
	extras/package/macosx/Resources/mainwindow_dark/volume-slider-knob_dark.png \
450
	extras/package/macosx/Resources/mainwindow_dark/volume-slider-knob_dark@2x.png \
451
	extras/package/macosx/Resources/mainwindow_dark/volume-slider-track_dark.png \
452
	extras/package/macosx/Resources/mainwindow_dark/volume-slider-track_dark@2x.png \
453 454 455
	extras/package/macosx/Resources/mainwindow_dark/window-fullscreen-on.png \
	extras/package/macosx/Resources/mainwindow_dark/window-fullscreen-over.png \
	extras/package/macosx/Resources/mainwindow_dark/window-fullscreen.png \
456
	extras/package/macosx/Resources/mainwindow_dark/window-resize.png \
457 458 459 460 461 462 463 464
	extras/package/macosx/Resources/noart.png \
	extras/package/macosx/Resources/prefs/spref_cone_Audio_64.png \
	extras/package/macosx/Resources/prefs/spref_cone_Hotkeys_64.png \
	extras/package/macosx/Resources/prefs/spref_cone_Input_64.png \
	extras/package/macosx/Resources/prefs/spref_cone_Interface_64.png \
	extras/package/macosx/Resources/prefs/spref_cone_Subtitles_64.png \
	extras/package/macosx/Resources/prefs/spref_cone_Video_64.png \
	extras/package/macosx/Resources/README \
465 466 467 468 469 470 471 472 473 474 475 476
	extras/package/macosx/Resources/sidebar-icons/sidebar-local.png \
	extras/package/macosx/Resources/sidebar-icons/sidebar-local@2x.png \
	extras/package/macosx/Resources/sidebar-icons/sidebar-movie.png \
	extras/package/macosx/Resources/sidebar-icons/sidebar-movie@2x.png \
	extras/package/macosx/Resources/sidebar-icons/sidebar-music.png \
	extras/package/macosx/Resources/sidebar-icons/sidebar-music@2x.png \
	extras/package/macosx/Resources/sidebar-icons/sidebar-pictures.png \
	extras/package/macosx/Resources/sidebar-icons/sidebar-pictures@2x.png \
	extras/package/macosx/Resources/sidebar-icons/sidebar-playlist.png \
	extras/package/macosx/Resources/sidebar-icons/sidebar-playlist@2x.png \
	extras/package/macosx/Resources/sidebar-icons/sidebar-podcast.png \
	extras/package/macosx/Resources/sidebar-icons/sidebar-podcast@2x.png \
477 478
	extras/package/macosx/Resources/vlc.scriptSuite \
	extras/package/macosx/Resources/vlc.scriptTerminology \
479
	extras/package/macosx/build-package.sh \
480 481
	extras/package/macosx/fullscreen_panel.svg \
	extras/package/macosx/ub.sh \
482 483 484
	extras/package/macosx/build.sh \
	extras/package/macosx/configure.sh \
	extras/package/macosx/dmg_setup.scpt \
485 486 487 488 489 490 491 492
	extras/package/macosx/vlc.xcodeproj/project.pbxproj \
	extras/package/macosx/Delete_Preferences.app/Contents/Info.plist \
	extras/package/macosx/Delete_Preferences.app/Contents/PkgInfo \
	extras/package/macosx/Delete_Preferences.app/Contents/MacOS/applet \
	extras/package/macosx/Delete_Preferences.app/Contents/Resources/description.rtfd/TXT.rtf \
	extras/package/macosx/Delete_Preferences.app/Contents/Resources/applet.icns \
	extras/package/macosx/Delete_Preferences.app/Contents/Resources/applet.rsrc \
	extras/package/macosx/Delete_Preferences.app/Contents/Resources/Scripts/main.scpt \
Felix Paul Kühne's avatar
Felix Paul Kühne committed
493 494 495 496 497 498
	extras/package/macosx/eyetvplugin/EyeTVPluginDefs.h \
	extras/package/macosx/eyetvplugin/Info.plist \
	extras/package/macosx/eyetvplugin/eyetvplugin.c \
	extras/package/macosx/eyetvplugin/eyetvplugin.h \
	extras/package/macosx/eyetvplugin/English.lproj/InfoPlist.strings \
	extras/package/macosx/eyetvplugin/eyetvplugin.xcodeproj/project.pbxproj \
Felix Paul Kühne's avatar
Felix Paul Kühne committed
499 500 501
	extras/package/macosx/eyetvplugin/EyeTV_Plugin_Installer.pmdoc/01vlc-contents.xml \
	extras/package/macosx/eyetvplugin/EyeTV_Plugin_Installer.pmdoc/01vlc.xml \
	extras/package/macosx/eyetvplugin/EyeTV_Plugin_Installer.pmdoc/index.xml \
Rémi Denis-Courmont's avatar
Rémi Denis-Courmont committed
502
	extras/package/macosx/README.MacOSX.rtf \
503
	extras/package/macosx/Info.plist.in
Felix Paul Kühne's avatar
Felix Paul Kühne committed
504

505 506 507 508 509 510 511 512 513 514 515 516 517
###############################################################################
# iOS project
##############################################################################
EXTRA_DIST += \
	extras/package/ios/build.sh

###############################################################################
# tools (needed for contrib)
##############################################################################
EXTRA_DIST += \
	extras/tools/bootstrap \
	extras/tools/packages.mak \
	extras/tools/tools.mak
518 519

###############################################################################
Rafaël Carré's avatar
Rafaël Carré committed
520
# Various utilities ( editor syntax files, D-Bus controller ... )
521 522
##############################################################################
EXTRA_DIST += \
523
	extras/analyser/zsh_completion.sh \
524 525 526 527
	extras/analyser/zsh.cpp \
	extras/analyser/emacs.init \
	extras/analyser/vlc.vim \
	extras/analyser/valgrind.suppressions \
528
	extras/buildsystem/make.pl \
529
	extras/misc/mpris.py \
Pierre Ynard's avatar
Pierre Ynard committed
530
	extras/misc/mpris.xml
531

532 533 534 535 536
###############################################################################
# Scripts for building dependencies.
##############################################################################
EXTRA_DIST += \
	contrib/bootstrap \
537
	contrib/src
538

539 540 541 542
###############################################################################
# Building libvlc
###############################################################################

543
CLEANFILES =
Rémi Denis-Courmont's avatar
Rémi Denis-Courmont committed
544
DISTCLEANFILES = $(BUILT_SOURCES_distclean) compile
545
MAINTAINERCLEANFILES = ChangeLog
546

547
# Shortcut for developers to rebuild the core (libvlc + vlc)
548 549
# Don't use it if you don't know what it is about.
# Don't complain if it doesn't work. -- Courmisch
550 551 552
libcompat:
	cd compat && $(MAKE) $(AM_MAKEFLAGS)

553 554 555 556 557
libvlccore: libcompat
	cd src && $(MAKE) $(AM_MAKEFLAGS) libvlccore.la

libvlc: libvlccore
	cd lib && $(MAKE) $(AM_MAKEFLAGS) libvlc.la
558

Rémi Denis-Courmont's avatar
Rémi Denis-Courmont committed
559
core: libvlc vlc$(EXEEXT)
560
	cd bin && $(MAKE) $(AM_MAKEFLAGS) vlc$(EXEEXT) vlc-static$(EXEEXT)
561

562 563 564 565
doc:
	cd doc && $(MAKE) $(AM_MAKEFLAGS) doc

.PHONY: libvlc core doc
566

567 568 569 570
###############################################################################
# Building aliases
###############################################################################

571
ALL_ALIASES = cvlc rvlc svlc qvlc nvlc mvlc
Rémi Denis-Courmont's avatar
Rémi Denis-Courmont committed
572
bin_SCRIPTS = $(ALIASES)
573
CLEANFILES += $(ALIASES) $(noinst_SCRIPTS)
574 575 576 577
EXTRA_SCRIPTS = $(ALL_ALIASES)

dist_noinst_SCRIPTS += make-alias

578
MKALIAS = bindir="$(bindir)" transform="$(transform)" program_prefix="$(program_prefix)" program_suffix="$(program_suffix)" $(top_srcdir)/make-alias $@
579

580
cvlc: make-alias Makefile
581
	$(AM_V_GEN)$(MKALIAS) dummy
582

583
rvlc: make-alias Makefile
584
	$(AM_V_GEN)$(MKALIAS) rc
585

586
svlc: make-alias Makefile
587
	$(AM_V_GEN)$(MKALIAS) skins2
588

589
qvlc: make-alias Makefile
590
	$(AM_V_GEN)$(MKALIAS) qt4
591

592
nvlc: make-alias Makefile
593
	$(AM_V_GEN)$(MKALIAS) ncurses
594

595
mvlc: make-alias Makefile
596
	$(AM_V_GEN)$(MKALIAS) maemo
597

598
if BUILD_VLC
Rémi Denis-Courmont's avatar
Rémi Denis-Courmont committed
599
noinst_SCRIPTS = vlc$(EXEEXT)
600
endif
601

602
vlc$(EXEEXT):
KO Myung-Hun's avatar
KO Myung-Hun committed
603
	$(AM_V_GEN)$(LN_S) -f bin/vlc-static$(EXEEXT) vlc$(EXEEXT)
604

605
TESTS = test/run_vlc.sh
Rémi Denis-Courmont's avatar
Rémi Denis-Courmont committed
606
dist_noinst_SCRIPTS += test/run_vlc.sh
607

608 609 610 611 612
###############################################################################
# Installing plugins cache
###############################################################################
install-exec-hook:
	if test "$(build)" = "$(host)"; then \
613
		PATH="$(DESTDIR)$(bindir):$$PATH" \
614 615 616 617 618 619 620
		LD_LIBRARY_PATH="$(DESTDIR)$(libdir):$$LD_LIBRARY_PATH" \
		"$(DESTDIR)$(vlclibdir)/vlc-cache-gen$(EXEEXT)" \
			 "$(DESTDIR)$(vlclibdir)/plugins" ; \
	else \
		echo "Cross-compilation: cache generation skipped!" ; \
	fi

621 622 623
uninstall-hook:
	rm -f -- "$(DESTDIR)$(vlclibdir)/plugins/plugins.dat"

624
silentstd = $(silentstd_$(V))
625
silentstd_ = $(silentstd_$(AM_DEFAULT_VERBOSITY))
626
silentstd_0 = 2>&1 >/dev/null
627

628 629 630 631 632 633
###############################################################################
# PO translation files update
###############################################################################
.PHONY: update-po

update-po:
634
	cd po && $(MAKE) POTFILES vlc.pot update-po
635 636 637 638 639 640 641

###############################################################################
# OS Packaging rules
###############################################################################
include extras/package/macosx/package.mak
include extras/package/win32/package.mak