macosx: added a basic traffic lights icon set for the dark window and the related...
[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/macosx/README.MacOSX.rtf \
23         extras/package/rpm/vlc.fedora.spec \
24         extras/package/rpm/vlc.altlinux.spec \
25         extras/package/win32/vlc.win32.nsi.in \
26         extras/package/win32/spad.nsi.in \
27         extras/package/win32/UAC.nsh \
28         extras/package/win32/UAC.dll \
29         extras/package/win32/languages/declaration.nsh \
30         extras/package/win32/languages/bengali.nsh \
31         extras/package/win32/languages/basque.nsh \
32         extras/package/win32/languages/brazilian_portuguese.nsh \
33         extras/package/win32/languages/bulgarian.nsh \
34         extras/package/win32/languages/catalan.nsh \
35         extras/package/win32/languages/danish.nsh \
36         extras/package/win32/languages/dutch.nsh \
37         extras/package/win32/languages/english.nsh \
38         extras/package/win32/languages/estonian.nsh \
39         extras/package/win32/languages/finnish.nsh \
40         extras/package/win32/languages/french.nsh \
41         extras/package/win32/languages/german.nsh \
42         extras/package/win32/languages/hungarian.nsh \
43         extras/package/win32/languages/italian.nsh \
44         extras/package/win32/languages/japanese.nsh \
45         extras/package/win32/languages/lithuanian.nsh \
46         extras/package/win32/languages/occitan.nsh \
47         extras/package/win32/languages/polish.nsh \
48         extras/package/win32/languages/punjabi.nsh \
49         extras/package/win32/languages/romanian.nsh \
50         extras/package/win32/languages/schinese.nsh \
51         extras/package/win32/languages/slovak.nsh \
52         extras/package/win32/languages/slovenian.nsh \
53         extras/package/win32/languages/sorani.nsh \
54         extras/package/win32/languages/spanish.nsh
55
56 dist_noinst_SCRIPTS = bootstrap
57 nodist_noinst_SCRIPTS = compile
58
59 BUILT_SOURCES_distclean =
60
61 BUILT_SOURCES = $(BUILT_SOURCES_distclean)
62
63 SUFFIXES = 
64
65 DISTCHECK_CONFIGURE_FLAGS = \
66         --enable-fast-install \
67         --disable-a52 \
68         --disable-avcodec --disable-avformat \
69         --disable-postproc --disable-swscale \
70         --disable-dbus \
71         --disable-mad --disable-libmpeg2 \
72         --disable-faad --disable-skins2 \
73         --disable-live555 \
74         --disable-fribidi --disable-glx \
75         --disable-mkv \
76         --with-kde-solid='$${datadir}/kde4/apps'
77
78 ACLOCAL_AMFLAGS = -I m4
79 AUTOMAKE_OPTIONS = \
80         1.11 \
81         -Wall \
82         check-news \
83         dist-xz \
84         no-dist-gzip
85 #       std-options
86
87 ChangeLog: Makefile.am
88         rm -f -- "$@"
89         cd doc && $(MAKE) $(AM_MAKEFLAGS) changelogs
90         $(LN_S) -f doc/ChangeLog-2009 "$@"
91
92 ###############################################################################
93 # MacOS X project
94 ###############################################################################
95
96 EXTRA_DIST += \
97         extras/package/macosx/Resources/about_bg.png \
98         extras/package/macosx/Resources/dsa_pub.pem \
99         extras/package/macosx/Resources/English.lproj/About.xib \
100         extras/package/macosx/Resources/English.lproj/AudioEffects.xib \
101         extras/package/macosx/Resources/English.lproj/Bookmarks.xib \
102         extras/package/macosx/Resources/English.lproj/CoreDialogs.xib \
103         extras/package/macosx/Resources/English.lproj/ErrorPanel.xib \
104         extras/package/macosx/Resources/English.lproj/MainMenu.xib \
105         extras/package/macosx/Resources/English.lproj/MediaInfo.xib \
106         extras/package/macosx/Resources/English.lproj/Open.xib \
107         extras/package/macosx/Resources/English.lproj/Preferences.xib \
108         extras/package/macosx/Resources/English.lproj/SyncTracks.xib \
109         extras/package/macosx/Resources/English.lproj/VideoEffects.xib \
110         extras/package/macosx/Resources/English.lproj/Wizard.xib \
111         extras/package/macosx/Resources/fspanel/fs_background.png \
112         extras/package/macosx/Resources/fspanel/fs_exit_fullscreen.png \
113         extras/package/macosx/Resources/fspanel/fs_exit_fullscreen_highlight.png \
114         extras/package/macosx/Resources/fspanel/fs_forward.png \
115         extras/package/macosx/Resources/fspanel/fs_forward_highlight.png \
116         extras/package/macosx/Resources/fspanel/fs_pause.png \
117         extras/package/macosx/Resources/fspanel/fs_pause_highlight.png \
118         extras/package/macosx/Resources/fspanel/fs_play.png \
119         extras/package/macosx/Resources/fspanel/fs_play_highlight.png \
120         extras/package/macosx/Resources/fspanel/fs_rewind.png \
121         extras/package/macosx/Resources/fspanel/fs_rewind_highlight.png \
122         extras/package/macosx/Resources/fspanel/fs_skip_next.png \
123         extras/package/macosx/Resources/fspanel/fs_skip_next_highlight.png \
124         extras/package/macosx/Resources/fspanel/fs_skip_previous.png \
125         extras/package/macosx/Resources/fspanel/fs_skip_previous_highlight.png \
126         extras/package/macosx/Resources/fspanel/fs_stop.png \
127         extras/package/macosx/Resources/fspanel/fs_stop_highlight.png \
128         extras/package/macosx/Resources/fspanel/fs_time_slider.png \
129         extras/package/macosx/Resources/fspanel/fs_time_slider_knob.png \
130         extras/package/macosx/Resources/fspanel/fs_time_slider_knob_highlight.png \
131         extras/package/macosx/Resources/fspanel/fs_volume_max.png \
132         extras/package/macosx/Resources/fspanel/fs_volume_max_highlight.png \
133         extras/package/macosx/Resources/fspanel/fs_volume_mute.png \
134         extras/package/macosx/Resources/fspanel/fs_volume_mute_highlight.png \
135         extras/package/macosx/Resources/fspanel/fs_volume_slider_bar.png \
136         extras/package/macosx/Resources/fspanel/fs_volume_slider_knob.png \
137         extras/package/macosx/Resources/fspanel/fs_volume_slider_knob_highlight.png \
138         extras/package/macosx/Resources/fspanel/fs_background@x1.5.png \
139         extras/package/macosx/Resources/fspanel/fs_exit_fullscreen@x1.5.png \
140         extras/package/macosx/Resources/fspanel/fs_exit_fullscreen_highlight@x1.5.png \
141         extras/package/macosx/Resources/fspanel/fs_forward@x1.5.png \
142         extras/package/macosx/Resources/fspanel/fs_forward_highlight@x1.5.png \
143         extras/package/macosx/Resources/fspanel/fs_pause@x1.5.png \
144         extras/package/macosx/Resources/fspanel/fs_pause_highlight@x1.5.png \
145         extras/package/macosx/Resources/fspanel/fs_play@x1.5.png \
146         extras/package/macosx/Resources/fspanel/fs_play_highlight@x1.5.png \
147         extras/package/macosx/Resources/fspanel/fs_rewind@x1.5.png \
148         extras/package/macosx/Resources/fspanel/fs_rewind_highlight@x1.5.png \
149         extras/package/macosx/Resources/fspanel/fs_skip_next@x1.5.png \
150         extras/package/macosx/Resources/fspanel/fs_skip_next_highlight@x1.5.png \
151         extras/package/macosx/Resources/fspanel/fs_skip_previous@x1.5.png \
152         extras/package/macosx/Resources/fspanel/fs_skip_previous_highlight@x1.5.png \
153         extras/package/macosx/Resources/fspanel/fs_stop@x1.5.png \
154         extras/package/macosx/Resources/fspanel/fs_stop_highlight@x1.5.png \
155         extras/package/macosx/Resources/fspanel/fs_time_slider@x1.5.png \
156         extras/package/macosx/Resources/fspanel/fs_time_slider_knob@x1.5.png \
157         extras/package/macosx/Resources/fspanel/fs_time_slider_knob_highlight@x1.5.png \
158         extras/package/macosx/Resources/fspanel/fs_volume_max@x1.5.png \
159         extras/package/macosx/Resources/fspanel/fs_volume_max_highlight@x1.5.png \
160         extras/package/macosx/Resources/fspanel/fs_volume_mute@x1.5.png \
161         extras/package/macosx/Resources/fspanel/fs_volume_mute_highlight@x1.5.png \
162         extras/package/macosx/Resources/fspanel/fs_volume_slider_bar@x1.5.png \
163         extras/package/macosx/Resources/fspanel/fs_volume_slider_knob@x1.5.png \
164         extras/package/macosx/Resources/fspanel/fs_volume_slider_knob_highlight@x1.5.png \
165         extras/package/macosx/Resources/icons/aiff.icns \
166         extras/package/macosx/Resources/icons/audio.icns \
167         extras/package/macosx/Resources/icons/avi.icns \
168         extras/package/macosx/Resources/icons/flv.icns \
169         extras/package/macosx/Resources/icons/generic.icns \
170         extras/package/macosx/Resources/icons/m4a.icns \
171         extras/package/macosx/Resources/icons/m4v.icns \
172         extras/package/macosx/Resources/icons/mkv.icns \
173         extras/package/macosx/Resources/icons/mov.icns \
174         extras/package/macosx/Resources/icons/movie.icns \
175         extras/package/macosx/Resources/icons/mp3.icns \
176         extras/package/macosx/Resources/icons/mpeg.icns \
177         extras/package/macosx/Resources/icons/ogg.icns \
178         extras/package/macosx/Resources/icons/playlist.icns \
179         extras/package/macosx/Resources/icons/rm.icns \
180         extras/package/macosx/Resources/icons/subtitle.icns \
181         extras/package/macosx/Resources/icons/vlc.icns \
182         extras/package/macosx/Resources/icons/vob.icns \
183         extras/package/macosx/Resources/icons/wav.icns \
184         extras/package/macosx/Resources/icons/wma.icns \
185         extras/package/macosx/Resources/icons/wmv.icns \
186         extras/package/macosx/Resources/mainwindow/back-pressed.png \
187         extras/package/macosx/Resources/mainwindow/back.png \
188         extras/package/macosx/Resources/mainwindow/bottom-background.png \
189         extras/package/macosx/Resources/mainwindow/bottombar-mini.png \
190         extras/package/macosx/Resources/mainwindow/dropzone-background.png \
191         extras/package/macosx/Resources/mainwindow/dropzone.png \
192         extras/package/macosx/Resources/mainwindow/effects-double-buttons-blue.png \
193         extras/package/macosx/Resources/mainwindow/effects-double-buttons-pressed.png \
194         extras/package/macosx/Resources/mainwindow/effects-double-buttons.png \
195         extras/package/macosx/Resources/mainwindow/effects-one-button-blue.png \
196         extras/package/macosx/Resources/mainwindow/effects-one-button.png \
197         extras/package/macosx/Resources/mainwindow/forward-pressed.png \
198         extras/package/macosx/Resources/mainwindow/forward.png \
199         extras/package/macosx/Resources/mainwindow/fullscreen-double-buttons-pressed.png \
200         extras/package/macosx/Resources/mainwindow/fullscreen-double-buttons.png \
201         extras/package/macosx/Resources/mainwindow/mini-progressbar-fill-left.png \
202         extras/package/macosx/Resources/mainwindow/mini-progressbar-fill-middle.png \
203         extras/package/macosx/Resources/mainwindow/mini-progressbar-fill-right.png \
204         extras/package/macosx/Resources/mainwindow/mini-progressbar-knob.png \
205         extras/package/macosx/Resources/mainwindow/mini-progressbar-wrapper-left.png \
206         extras/package/macosx/Resources/mainwindow/mini-progressbar-wrapper-middle.png \
207         extras/package/macosx/Resources/mainwindow/mini-progressbar-wrapper-right.png \
208         extras/package/macosx/Resources/mainwindow/pause-pressed.png \
209         extras/package/macosx/Resources/mainwindow/pause.png \
210         extras/package/macosx/Resources/mainwindow/play-pressed.png \
211         extras/package/macosx/Resources/mainwindow/play.png \
212         extras/package/macosx/Resources/mainwindow/playlist-blue.png \
213         extras/package/macosx/Resources/mainwindow/playlist-pressed.png \
214         extras/package/macosx/Resources/mainwindow/playlist.png \
215         extras/package/macosx/Resources/mainwindow/progression-fill-left.png \
216         extras/package/macosx/Resources/mainwindow/progression-fill-middle.png \
217         extras/package/macosx/Resources/mainwindow/progression-fill-right.png \
218         extras/package/macosx/Resources/mainwindow/progression-knob.png \
219         extras/package/macosx/Resources/mainwindow/progression-track-wrapper-left.png \
220         extras/package/macosx/Resources/mainwindow/progression-track-wrapper-middle.png \
221         extras/package/macosx/Resources/mainwindow/progression-track-wrapper-right.png \
222         extras/package/macosx/Resources/mainwindow/repeat-all-pressed.png \
223         extras/package/macosx/Resources/mainwindow/repeat-all.png \
224         extras/package/macosx/Resources/mainwindow/repeat-one-pressed.png \
225         extras/package/macosx/Resources/mainwindow/repeat-one.png \
226         extras/package/macosx/Resources/mainwindow/repeat-pressed.png \
227         extras/package/macosx/Resources/mainwindow/repeat.png \
228         extras/package/macosx/Resources/mainwindow/shuffle-blue-pressed.png \
229         extras/package/macosx/Resources/mainwindow/shuffle-blue.png \
230         extras/package/macosx/Resources/mainwindow/shuffle-pressed.png \
231         extras/package/macosx/Resources/mainwindow/shuffle.png \
232         extras/package/macosx/Resources/mainwindow/stop-pressed.png \
233         extras/package/macosx/Resources/mainwindow/stop.png \
234         extras/package/macosx/Resources/mainwindow/volume-high.png \
235         extras/package/macosx/Resources/mainwindow/volume-low.png \
236         extras/package/macosx/Resources/mainwindow/volume-slider-knob.png \
237         extras/package/macosx/Resources/mainwindow/volume-slider-track.png \
238         extras/package/macosx/Resources/mainwindow_dark/back-pressed_dark.png \
239         extras/package/macosx/Resources/mainwindow_dark/back_dark.png \
240         extras/package/macosx/Resources/mainwindow_dark/bottom-background_dark.png \
241         extras/package/macosx/Resources/mainwindow_dark/bottombar-mini.png \
242         extras/package/macosx/Resources/mainwindow_dark/effects-double-buttons-blue_dark.png \
243         extras/package/macosx/Resources/mainwindow_dark/effects-double-buttons-pressed_dark.png \
244         extras/package/macosx/Resources/mainwindow_dark/effects-double-buttons_dark.png \
245         extras/package/macosx/Resources/mainwindow_dark/effects-one-button-blue_dark.png \
246         extras/package/macosx/Resources/mainwindow_dark/effects-one-button_dark.png \
247         extras/package/macosx/Resources/mainwindow_dark/forward-pressed_dark.png \
248         extras/package/macosx/Resources/mainwindow_dark/forward_dark.png \
249         extras/package/macosx/Resources/mainwindow_dark/fullscreen-double-buttons-pressed_dark.png \
250         extras/package/macosx/Resources/mainwindow_dark/fullscreen-double-buttons_dark.png \
251         extras/package/macosx/Resources/mainwindow_dark/pause-pressed_dark.png \
252         extras/package/macosx/Resources/mainwindow_dark/pause_dark.png \
253         extras/package/macosx/Resources/mainwindow_dark/play-pressed_dark.png \
254         extras/package/macosx/Resources/mainwindow_dark/play_dark.png \
255         extras/package/macosx/Resources/mainwindow_dark/playlist-blue-pressed_dark.png \
256         extras/package/macosx/Resources/mainwindow_dark/playlist-blue_dark.png \
257         extras/package/macosx/Resources/mainwindow_dark/playlist-pressed_dark.png \
258         extras/package/macosx/Resources/mainwindow_dark/playlist_dark.png \
259         extras/package/macosx/Resources/mainwindow_dark/progressbar-fill-left_dark.png \
260         extras/package/macosx/Resources/mainwindow_dark/progressbar-fill-middle_dark.png \
261         extras/package/macosx/Resources/mainwindow_dark/progressbar-fill-right_dark.png \
262         extras/package/macosx/Resources/mainwindow_dark/progression-knob_dark.png \
263         extras/package/macosx/Resources/mainwindow_dark/progression-track-wrapper-left_dark.png \
264         extras/package/macosx/Resources/mainwindow_dark/progression-track-wrapper-middle_dark.png \
265         extras/package/macosx/Resources/mainwindow_dark/progression-track-wrapper-right_dark.png \
266         extras/package/macosx/Resources/mainwindow_dark/repeat-all-blue-pressed_dark.png \
267         extras/package/macosx/Resources/mainwindow_dark/repeat-all-blue_dark.png \
268         extras/package/macosx/Resources/mainwindow_dark/repeat-one-blue-pressed_dark.png \
269         extras/package/macosx/Resources/mainwindow_dark/repeat-one-blue_dark.png \
270         extras/package/macosx/Resources/mainwindow_dark/repeat-pressed_dark.png \
271         extras/package/macosx/Resources/mainwindow_dark/repeat_dark.png \
272         extras/package/macosx/Resources/mainwindow_dark/shuffle-blue-pressed_dark.png \
273         extras/package/macosx/Resources/mainwindow_dark/shuffle-blue_dark.png \
274         extras/package/macosx/Resources/mainwindow_dark/shuffle-pressed_dark.png \
275         extras/package/macosx/Resources/mainwindow_dark/shuffle_dark.png \
276         extras/package/macosx/Resources/mainwindow_dark/stop-pressed_dark.png \
277         extras/package/macosx/Resources/mainwindow_dark/stop_dark.png \
278         extras/package/macosx/Resources/mainwindow_dark/volume-high_dark.png \
279         extras/package/macosx/Resources/mainwindow_dark/volume-low_dark.png \
280         extras/package/macosx/Resources/mainwindow_dark/volume-slider-knob_dark.png \
281         extras/package/macosx/Resources/mainwindow_dark/volume-slider-track_dark.png \
282         extras/package/macosx/Resources/mainwindow_dark/window-close-on.png \
283         extras/package/macosx/Resources/mainwindow_dark/window-close-over.png \
284         extras/package/macosx/Resources/mainwindow_dark/window-close.png \
285         extras/package/macosx/Resources/mainwindow_dark/window-minimize-on.png \
286         extras/package/macosx/Resources/mainwindow_dark/window-minimize-over.png \
287         extras/package/macosx/Resources/mainwindow_dark/window-minimize.png \
288         extras/package/macosx/Resources/mainwindow_dark/window-zoom-on.png \
289         extras/package/macosx/Resources/mainwindow_dark/window-zoom-over.png \
290         extras/package/macosx/Resources/mainwindow_dark/window-zoom.png \
291         extras/package/macosx/Resources/noart.png \
292         extras/package/macosx/Resources/prefs/spref_cone_Audio_64.png \
293         extras/package/macosx/Resources/prefs/spref_cone_Hotkeys_64.png \
294         extras/package/macosx/Resources/prefs/spref_cone_Input_64.png \
295         extras/package/macosx/Resources/prefs/spref_cone_Interface_64.png \
296         extras/package/macosx/Resources/prefs/spref_cone_Subtitles_64.png \
297         extras/package/macosx/Resources/prefs/spref_cone_Video_64.png \
298         extras/package/macosx/Resources/README \
299         extras/package/macosx/Resources/sidebar-icons/local.png \
300         extras/package/macosx/Resources/sidebar-icons/movie.png \
301         extras/package/macosx/Resources/sidebar-icons/music.png \
302         extras/package/macosx/Resources/sidebar-icons/pictures.png \
303         extras/package/macosx/Resources/sidebar-icons/playlist.png \
304         extras/package/macosx/Resources/sidebar-icons/podcast.png \
305         extras/package/macosx/Resources/vlc.scriptSuite \
306         extras/package/macosx/Resources/vlc.scriptTerminology \
307         extras/package/macosx/fullscreen_panel.svg \
308         extras/package/macosx/ub.sh \
309         extras/package/macosx/vlc.xcodeproj/project.pbxproj \
310         extras/package/macosx/Delete_Preferences.app/Contents/Info.plist \
311         extras/package/macosx/Delete_Preferences.app/Contents/PkgInfo \
312         extras/package/macosx/Delete_Preferences.app/Contents/MacOS/applet \
313         extras/package/macosx/Delete_Preferences.app/Contents/Resources/description.rtfd/TXT.rtf \
314         extras/package/macosx/Delete_Preferences.app/Contents/Resources/applet.icns \
315         extras/package/macosx/Delete_Preferences.app/Contents/Resources/applet.rsrc \
316         extras/package/macosx/Delete_Preferences.app/Contents/Resources/Scripts/main.scpt \
317         extras/package/macosx/eyetvplugin/EyeTVPluginDefs.h \
318         extras/package/macosx/eyetvplugin/Info.plist \
319         extras/package/macosx/eyetvplugin/eyetvplugin.c \
320         extras/package/macosx/eyetvplugin/eyetvplugin.h \
321         extras/package/macosx/eyetvplugin/English.lproj/InfoPlist.strings \
322         extras/package/macosx/eyetvplugin/eyetvplugin.xcodeproj/project.pbxproj \
323         extras/package/macosx/README.MacOSX.rtf \
324         extras/package/macosx/Info.plist.in
325
326
327 ###############################################################################
328 # Various utilities ( editor syntax files, D-Bus controller ... )
329 ##############################################################################
330 EXTRA_DIST += \
331         extras/analyser/zsh_completion.sh \
332         extras/analyser/zsh.cpp \
333         extras/analyser/emacs.init \
334         extras/analyser/vlc.vim \
335         extras/analyser/valgrind.suppressions \
336         extras/buildsystem/make.pl \
337         extras/misc/mpris.py \
338         extras/misc/mpris.xml
339
340 ###############################################################################
341 # Scripts for building dependencies.
342 ##############################################################################
343 EXTRA_DIST += \
344         contrib/bootstrap \
345         contrib/src/
346
347 ###############################################################################
348 # Building libvlc
349 ###############################################################################
350
351 CLEANFILES =
352 DISTCLEANFILES = $(BUILT_SOURCES_distclean) compile
353 MAINTAINERCLEANFILES = ChangeLog
354
355 # Shortcut for developers to rebuild the core (libvlc + vlc)
356 # Don't use it if you don't know what it is about.
357 # Don't complain if it doesn't work. -- Courmisch
358 libcompat:
359         cd compat && $(MAKE) $(AM_MAKEFLAGS)
360
361 libvlccore: libcompat
362         cd src && $(MAKE) $(AM_MAKEFLAGS) libvlccore.la
363
364 libvlc: libvlccore
365         cd lib && $(MAKE) $(AM_MAKEFLAGS) libvlc.la
366
367 core: libvlc vlc$(EXEEXT)
368         cd bin && $(MAKE) $(AM_MAKEFLAGS) vlc$(EXEEXT) vlc-static$(EXEEXT)
369
370 doc:
371         cd doc && $(MAKE) $(AM_MAKEFLAGS) doc
372
373 .PHONY: libvlc core doc
374
375 ###############################################################################
376 # Building aliases
377 ###############################################################################
378
379 ALL_ALIASES = cvlc rvlc svlc qvlc nvlc mvlc
380 bin_SCRIPTS = $(ALIASES)
381 CLEANFILES += $(ALIASES) $(noinst_SCRIPTS)
382 EXTRA_SCRIPTS = $(ALL_ALIASES)
383
384 dist_noinst_SCRIPTS += make-alias
385
386 MKALIAS = bindir="$(bindir)" transform="$(transform)" program_prefix="$(program_prefix)" program_suffix="$(program_suffix)" $(top_srcdir)/make-alias $@
387
388 cvlc: make-alias Makefile
389         $(AM_V_GEN)$(MKALIAS) dummy
390
391 rvlc: make-alias Makefile
392         $(AM_V_GEN)$(MKALIAS) rc
393
394 svlc: make-alias Makefile
395         $(AM_V_GEN)$(MKALIAS) skins2
396
397 qvlc: make-alias Makefile
398         $(AM_V_GEN)$(MKALIAS) qt4
399
400 nvlc: make-alias Makefile
401         $(AM_V_GEN)$(MKALIAS) ncurses
402
403 mvlc: make-alias Makefile
404         $(AM_V_GEN)$(MKALIAS) maemo
405
406 if BUILD_VLC
407 noinst_SCRIPTS = vlc$(EXEEXT)
408 endif
409
410 vlc$(EXEEXT):
411         $(AM_V_GEN)$(LN_S) -f bin/vlc-static$(EXEEXT) vlc$(EXEEXT)
412
413 ###############################################################################
414 # Installing plugins cache
415 ###############################################################################
416 install-exec-hook:
417         if test "$(build)" = "$(host)"; then \
418                 LD_LIBRARY_PATH="$(DESTDIR)$(libdir):$$LD_LIBRARY_PATH" \
419                 "$(DESTDIR)$(vlclibdir)/vlc-cache-gen$(EXEEXT)" \
420                          "$(DESTDIR)$(vlclibdir)/plugins" ; \
421         else \
422                 echo "Cross-compilation: cache generation skipped!" ; \
423         fi
424
425 silentstd = $(silentstd_$(V))
426 silentstd_ = $(silentstd_$(AM_DEFAULT_VERBOSITY))
427 silentstd_0 = 2>&1 >/dev/null
428
429 ###############################################################################
430 # PO translation files update
431 ###############################################################################
432 .PHONY: update-po
433
434 update-po:
435         cd po && $(MAKE) POTFILES vlc.pot update-po
436
437 ###############################################################################
438 # OS Packaging rules
439 ###############################################################################
440 include extras/package/macosx/package.mak
441 include extras/package/win32/package.mak
442