# Makefile.in generated by automake 1.7.9 from Makefile.am.
# @configure_input@

# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
# Free Software Foundation, Inc.
# This Makefile.in is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.

# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
# PARTICULAR PURPOSE.

@SET_MAKE@

###############################################################################
# Automake targets and declarations
###############################################################################

srcdir = @srcdir@
top_srcdir = @top_srcdir@
VPATH = @srcdir@
pkgdatadir = $(datadir)/@PACKAGE@
pkglibdir = $(libdir)/@PACKAGE@
pkgincludedir = $(includedir)/@PACKAGE@
top_builddir = .

am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
INSTALL = @INSTALL@
install_sh_DATA = $(install_sh) -c -m 644
install_sh_PROGRAM = $(install_sh) -c
install_sh_SCRIPT = $(install_sh) -c
INSTALL_HEADER = $(INSTALL_DATA)
transform = $(program_transform_name)
NORMAL_INSTALL = :
PRE_INSTALL = :
POST_INSTALL = :
NORMAL_UNINSTALL = :
PRE_UNINSTALL = :
POST_UNINSTALL = :
build_triplet = @build@
host_triplet = @host@
target_triplet = @target@
@USE_LIBTOOL_TRUE@am__append_1 = --enable-libtool
@BUILD_SHARED_FALSE@@USE_LIBTOOL_FALSE@am__append_2 = stamp-builtin
@USE_LIBTOOL_FALSE@am__append_3 = $(INCLUDED_LIBINTL)
ACLOCAL = @ACLOCAL@
ALIASES = @ALIASES@
ALLOCA = @ALLOCA@
ALL_LINGUAS = @ALL_LINGUAS@
AMDEP_FALSE = @AMDEP_FALSE@
AMDEP_TRUE = @AMDEP_TRUE@
AMTAR = @AMTAR@
AM_CPPFLAGS = @AM_CPPFLAGS@
AR = @AR@
ARCH = @ARCH@
ARTS_CONFIG = @ARTS_CONFIG@
AS = @AS@
ASM = @ASM@
AUTOCONF = @AUTOCONF@
AUTOHEADER = @AUTOHEADER@
AUTOMAKE = @AUTOMAKE@
AWK = @AWK@
BONJOUR_CFLAGS = @BONJOUR_CFLAGS@
BONJOUR_LIBS = @BONJOUR_LIBS@
BUILD_ACTIVEX_FALSE = @BUILD_ACTIVEX_FALSE@
BUILD_ACTIVEX_TRUE = @BUILD_ACTIVEX_TRUE@
BUILD_DIRENT_FALSE = @BUILD_DIRENT_FALSE@
BUILD_DIRENT_TRUE = @BUILD_DIRENT_TRUE@
BUILD_GETOPT_FALSE = @BUILD_GETOPT_FALSE@
BUILD_GETOPT_TRUE = @BUILD_GETOPT_TRUE@
BUILD_INCLUDED_LIBINTL = @BUILD_INCLUDED_LIBINTL@
BUILD_JAVA_FALSE = @BUILD_JAVA_FALSE@
BUILD_JAVA_TRUE = @BUILD_JAVA_TRUE@
BUILD_MOZILLA_FALSE = @BUILD_MOZILLA_FALSE@
BUILD_MOZILLA_TRUE = @BUILD_MOZILLA_TRUE@
BUILD_PYTHON_FALSE = @BUILD_PYTHON_FALSE@
BUILD_PYTHON_TRUE = @BUILD_PYTHON_TRUE@
BUILD_SHARED_FALSE = @BUILD_SHARED_FALSE@
BUILD_SHARED_TRUE = @BUILD_SHARED_TRUE@
CACA_CONFIG = @CACA_CONFIG@
CATOBJEXT = @CATOBJEXT@
CC = @CC@
CCAS = @CCAS@
CCASFLAGS = @CCASFLAGS@
CCDEPMODE = @CCDEPMODE@
CFLAGS = @CFLAGS@
CORBA_CFLAGS = @CORBA_CFLAGS@
CORBA_LIBS = @CORBA_LIBS@
CPP = @CPP@
CPPFLAGS = @CPPFLAGS@
CXX = @CXX@
CXXCPP = @CXXCPP@
CXXDEPMODE = @CXXDEPMODE@
CXXFLAGS = @CXXFLAGS@
CYGPATH = @CYGPATH@
CYGPATH_W = @CYGPATH_W@
DAAP_CFLAGS = @DAAP_CFLAGS@
DAAP_LIBS = @DAAP_LIBS@
DATADIRNAME = @DATADIRNAME@
DEFS = @DEFS@
DEPDIR = @DEPDIR@
DIRAC_CFLAGS = @DIRAC_CFLAGS@
DIRAC_LIBS = @DIRAC_LIBS@
DLLTOOL = @DLLTOOL@
DVDNAV_CONFIG = @DVDNAV_CONFIG@
ECHO = @ECHO@
ECHO_C = @ECHO_C@
ECHO_N = @ECHO_N@
ECHO_T = @ECHO_T@
EGREP = @EGREP@
ENABLE_CORBA_FALSE = @ENABLE_CORBA_FALSE@
ENABLE_CORBA_TRUE = @ENABLE_CORBA_TRUE@
ESD_CONFIG = @ESD_CONFIG@
EXEEXT = @EXEEXT@
F77 = @F77@
FFLAGS = @FFLAGS@
FFMPEG_CFLAGS = @FFMPEG_CFLAGS@
FFMPEG_CONFIG = @FFMPEG_CONFIG@
FFMPEG_LIBS = @FFMPEG_LIBS@
FILE_LIBVLC_DLL = @FILE_LIBVLC_DLL@
FREETYPE_CONFIG = @FREETYPE_CONFIG@
FRIBIDI_CONFIG = @FRIBIDI_CONFIG@
GENCAT = @GENCAT@
GLIBC21 = @GLIBC21@
GMSGFMT = @GMSGFMT@
GNOMEVFS_CFLAGS = @GNOMEVFS_CFLAGS@
GNOMEVFS_LIBS = @GNOMEVFS_LIBS@
GNUTLS_CFLAGS = @GNUTLS_CFLAGS@
GNUTLS_LIBS = @GNUTLS_LIBS@
GREP = @GREP@
GTK2_CFLAGS = @GTK2_CFLAGS@
GTK2_LIBS = @GTK2_LIBS@
HAL_CFLAGS = @HAL_CFLAGS@
HAL_LIBS = @HAL_LIBS@
HAS_MIDL_COMPILER_FALSE = @HAS_MIDL_COMPILER_FALSE@
HAS_MIDL_COMPILER_TRUE = @HAS_MIDL_COMPILER_TRUE@
HAS_WIDL_COMPILER_FALSE = @HAS_WIDL_COMPILER_FALSE@
HAS_WIDL_COMPILER_TRUE = @HAS_WIDL_COMPILER_TRUE@
HAVE_BEOS_FALSE = @HAVE_BEOS_FALSE@
HAVE_BEOS_TRUE = @HAVE_BEOS_TRUE@
HAVE_BUILTINS_FALSE = @HAVE_BUILTINS_FALSE@
HAVE_BUILTINS_TRUE = @HAVE_BUILTINS_TRUE@
HAVE_DARWIN_FALSE = @HAVE_DARWIN_FALSE@
HAVE_DARWIN_TRUE = @HAVE_DARWIN_TRUE@
HAVE_PLUGINS_FALSE = @HAVE_PLUGINS_FALSE@
HAVE_PLUGINS_TRUE = @HAVE_PLUGINS_TRUE@
HAVE_WIN32_FALSE = @HAVE_WIN32_FALSE@
HAVE_WIN32_TRUE = @HAVE_WIN32_TRUE@
HAVE_WINCE_FALSE = @HAVE_WINCE_FALSE@
HAVE_WINCE_TRUE = @HAVE_WINCE_TRUE@
INCLUDED_LIBINTL = @INCLUDED_LIBINTL@
INSTALL_DATA = @INSTALL_DATA@
INSTALL_PROGRAM = @INSTALL_PROGRAM@
INSTALL_SCRIPT = @INSTALL_SCRIPT@
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
INSTOBJEXT = @INSTOBJEXT@
INTLBISON = @INTLBISON@
INTLLIBS = @INTLLIBS@
INTLOBJS = @INTLOBJS@
INTL_LIBTOOL_SUFFIX_PREFIX = @INTL_LIBTOOL_SUFFIX_PREFIX@
JAVA = @JAVA@
JAVAC = @JAVAC@
LD = @LD@
LDFLAGS = @LDFLAGS@
LIBCDDB_CFLAGS = @LIBCDDB_CFLAGS@
LIBCDDB_LIBS = @LIBCDDB_LIBS@
LIBCDIO_CFLAGS = @LIBCDIO_CFLAGS@
LIBCDIO_LIBS = @LIBCDIO_LIBS@
LIBCDIO_PARANOIA_CFLAGS = @LIBCDIO_PARANOIA_CFLAGS@
LIBCDIO_PARANOIA_LIBS = @LIBCDIO_PARANOIA_LIBS@
LIBEXT = @LIBEXT@
LIBICONV = @LIBICONV@
LIBINTL = @LIBINTL@
LIBOBJS = @LIBOBJS@
LIBS = @LIBS@
LIBTOOL = @LIBTOOL@
LN_S = @LN_S@
LOADER_FALSE = @LOADER_FALSE@
LOADER_TRUE = @LOADER_TRUE@
LTLIBICONV = @LTLIBICONV@
LTLIBINTL = @LTLIBINTL@
LTLIBOBJS = @LTLIBOBJS@
MACOSX_DEPLOYMENT_TARGET = @MACOSX_DEPLOYMENT_TARGET@
MAINT = @MAINT@
MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@
MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@
MAKEINFO = @MAKEINFO@
MIDL = @MIDL@
MKINSTALLDIRS = @MKINSTALLDIRS@
MOC = @MOC@
MOZILLA_CONFIG = @MOZILLA_CONFIG@
MOZILLA_SDK_PATH = @MOZILLA_SDK_PATH@
MSGFMT = @MSGFMT@
MSGMERGE = @MSGMERGE@
NOTIFY_CFLAGS = @NOTIFY_CFLAGS@
NOTIFY_LIBS = @NOTIFY_LIBS@
OBJC = @OBJC@
OBJCDEPMODE = @OBJCDEPMODE@
OBJCFLAGS = @OBJCFLAGS@
OBJDUMP = @OBJDUMP@
OBJEXT = @OBJEXT@
PACKAGE = @PACKAGE@
PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
PACKAGE_NAME = @PACKAGE_NAME@
PACKAGE_STRING = @PACKAGE_STRING@
PACKAGE_TARNAME = @PACKAGE_TARNAME@
PACKAGE_VERSION = @PACKAGE_VERSION@
PATH_SEPARATOR = @PATH_SEPARATOR@
PKG_CONFIG = @PKG_CONFIG@
POSTPROC_CFLAGS = @POSTPROC_CFLAGS@
POSTPROC_LIBS = @POSTPROC_LIBS@
POSUB = @POSUB@
RANLIB = @RANLIB@
SDL11_CONFIG = @SDL11_CONFIG@
SDL12_CONFIG = @SDL12_CONFIG@
SDL_CONFIG = @SDL_CONFIG@
SEAMONKEY_CONFIG = @SEAMONKEY_CONFIG@
SET_MAKE = @SET_MAKE@
SHELL = @SHELL@
SHOUT_CFLAGS = @SHOUT_CFLAGS@
SHOUT_LIBS = @SHOUT_LIBS@
STRIP = @STRIP@
SVG_CFLAGS = @SVG_CFLAGS@
SVG_LIBS = @SVG_LIBS@
SYMPREF = @SYMPREF@
SYS = @SYS@
USE_INCLUDED_LIBINTL = @USE_INCLUDED_LIBINTL@
USE_LIBTOOL_FALSE = @USE_LIBTOOL_FALSE@
USE_LIBTOOL_TRUE = @USE_LIBTOOL_TRUE@
USE_NLS = @USE_NLS@
VCDINFO_CFLAGS = @VCDINFO_CFLAGS@
VCDINFO_LIBS = @VCDINFO_LIBS@
VERSION = @VERSION@
VERSION_MAJOR = @VERSION_MAJOR@
VERSION_MINOR = @VERSION_MINOR@
VERSION_REVISION = @VERSION_REVISION@
VLC_CONFIG = @VLC_CONFIG@
VLC_ENTRY = @VLC_ENTRY@
WIDL = @WIDL@
WINDRES = @WINDRES@
WINE_SDK_PATH = @WINE_SDK_PATH@
WX_CONFIG = @WX_CONFIG@
XGETTEXT = @XGETTEXT@
XMKMF = @XMKMF@
XML2_CONFIG = @XML2_CONFIG@
XPIDL = @XPIDL@
XPIDL_INCL = @XPIDL_INCL@
XULRUNNER_CONFIG = @XULRUNNER_CONFIG@
X_CFLAGS = @X_CFLAGS@
X_EXTRA_LIBS = @X_EXTRA_LIBS@
X_LIBS = @X_LIBS@
X_PRE_LIBS = @X_PRE_LIBS@
ac_ct_CC = @ac_ct_CC@
ac_ct_CXX = @ac_ct_CXX@
ac_ct_F77 = @ac_ct_F77@
am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@
am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@
am__fastdepOBJC_FALSE = @am__fastdepOBJC_FALSE@
am__fastdepOBJC_TRUE = @am__fastdepOBJC_TRUE@
am__include = @am__include@
am__leading_dot = @am__leading_dot@
am__quote = @am__quote@
bindir = @bindir@
build = @build@
build_alias = @build_alias@
build_cpu = @build_cpu@
build_os = @build_os@
build_vendor = @build_vendor@
datadir = @datadir@
datarootdir = @datarootdir@
docdir = @docdir@
dvidir = @dvidir@
exec_prefix = @exec_prefix@
host = @host@
host_alias = @host_alias@
host_cpu = @host_cpu@
host_os = @host_os@
host_vendor = @host_vendor@
htmldir = @htmldir@
includedir = @includedir@
infodir = @infodir@
install_sh = @install_sh@
libdir = @libdir@
libexecdir = @libexecdir@
localedir = @localedir@
localstatedir = @localstatedir@
mandir = @mandir@
oldincludedir = @oldincludedir@
pdfdir = @pdfdir@
pic = @pic@
prefix = @prefix@
program_transform_name = @program_transform_name@
psdir = @psdir@
sbindir = @sbindir@
sharedstatedir = @sharedstatedir@
sysconfdir = @sysconfdir@
target = @target@
target_alias = @target_alias@
target_cpu = @target_cpu@
target_os = @target_os@
target_vendor = @target_vendor@
uudecode = @uudecode@

NULL = 

# 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.
#  - intl should come before modules and . because all the code uses gettext
#  - modules should come before . because vlc needs the builtins
#  - . should come before mozilla/bindings because the plugin needs libvlc.a
#  - po should come before . because VLC.app needs the pofiles
#  - loader should come before modules because some plugins need it
SUBDIRS = intl loader src modules po . mozilla bindings activex share m4 doc
DIST_SUBDIRS = $(SUBDIRS)  ipkg


###############################################################################
# MacOS X project
###############################################################################

###############################################################################
# Various utilities ( editor syntax files, ... )
##############################################################################

###############################################################################
# MS Visual Studio and eMbedded Visual Studio projects
###############################################################################
EXTRA_DIST = \
	HACKING \
	INSTALL.win32 \
	INSTALL.wince \
	vlc.exe.manifest \
	MAINTAINERS \
	README.MacOSX.rtf \
	bootstrap \
	toolbox \
	vlc-api.pl \
	vlc-config.in.in \
	vlc.spec \
	vlc.spec.mdk \
	vlc.win32.nsi.in \
	$(NULL)\
\
	extras/MacOSX/Resources/English.lproj/MainMenu.nib/classes.nib \
	extras/MacOSX/Resources/English.lproj/MainMenu.nib/info.nib \
	extras/MacOSX/Resources/English.lproj/MainMenu.nib/keyedobjects.nib \
	extras/MacOSX/Resources/English.lproj/About.nib/classes.nib \
	extras/MacOSX/Resources/English.lproj/About.nib/info.nib \
	extras/MacOSX/Resources/English.lproj/About.nib/keyedobjects.nib \
	extras/MacOSX/Resources/English.lproj/Open.nib/classes.nib \
	extras/MacOSX/Resources/English.lproj/Open.nib/info.nib \
	extras/MacOSX/Resources/English.lproj/Open.nib/keyedobjects.nib \
	extras/MacOSX/Resources/English.lproj/Preferences.nib/classes.nib \
	extras/MacOSX/Resources/English.lproj/Preferences.nib/info.nib \
	extras/MacOSX/Resources/English.lproj/Preferences.nib/keyedobjects.nib \
	extras/MacOSX/Resources/English.lproj/Wizard.nib/classes.nib \
	extras/MacOSX/Resources/English.lproj/Wizard.nib/info.nib \
	extras/MacOSX/Resources/English.lproj/Wizard.nib/keyedobjects.nib \
	extras/MacOSX/Resources/English.lproj/Bookmarks.nib/classes.nib \
	extras/MacOSX/Resources/English.lproj/Bookmarks.nib/info.nib \
	extras/MacOSX/Resources/English.lproj/Bookmarks.nib/keyedobjects.nib \
	extras/MacOSX/Resources/English.lproj/Extended.nib/classes.nib \
	extras/MacOSX/Resources/English.lproj/Extended.nib/info.nib \
	extras/MacOSX/Resources/English.lproj/Extended.nib/keyedobjects.nib \
	extras/MacOSX/Resources/English.lproj/Update.nib/classes.nib \
	extras/MacOSX/Resources/English.lproj/Update.nib/info.nib \
	extras/MacOSX/Resources/English.lproj/Update.nib/keyedobjects.nib \
	extras/MacOSX/Resources/English.lproj/Interaction.nib/classes.nib \
	extras/MacOSX/Resources/English.lproj/Interaction.nib/info.nib \
	extras/MacOSX/Resources/English.lproj/Interaction.nib/keyedobjects.nib \
	extras/MacOSX/Resources/English.lproj/InfoPlist.strings \
	extras/MacOSX/Resources/a52.icns \
	extras/MacOSX/Resources/aac.icns \
	extras/MacOSX/Resources/asf.icns \
	extras/MacOSX/Resources/asx.icns \
	extras/MacOSX/Resources/avi.icns \
	extras/MacOSX/Resources/bin.icns \
	extras/MacOSX/Resources/cue.icns \
	extras/MacOSX/Resources/dat.icns \
	extras/MacOSX/Resources/divx.icns \
	extras/MacOSX/Resources/dv.icns \
	extras/MacOSX/Resources/generic.icns \
	extras/MacOSX/Resources/m3u.icns \
	extras/MacOSX/Resources/mov.icns \
	extras/MacOSX/Resources/mp3.icns \
	extras/MacOSX/Resources/mp4.icns \
	extras/MacOSX/Resources/mpeg.icns \
	extras/MacOSX/Resources/mpeg1.icns \
	extras/MacOSX/Resources/mpeg2.icns \
	extras/MacOSX/Resources/mpeg4.icns \
	extras/MacOSX/Resources/mpg.icns \
	extras/MacOSX/Resources/ogg.icns \
	extras/MacOSX/Resources/ogm.icns \
	extras/MacOSX/Resources/pls.icns \
	extras/MacOSX/Resources/srt.icns \
	extras/MacOSX/Resources/sub.icns \
	extras/MacOSX/Resources/vlc.icns \
	extras/MacOSX/Resources/vob.icns \
	extras/MacOSX/Resources/wma.icns \
	extras/MacOSX/Resources/wmv.icns \
	extras/MacOSX/Resources/pause.png \
	extras/MacOSX/Resources/pause_blue.png \
	extras/MacOSX/Resources/play.png \
	extras/MacOSX/Resources/play_blue.png \
	extras/MacOSX/Resources/stop.png \
	extras/MacOSX/Resources/stop_blue.png \
	extras/MacOSX/Resources/display.png \
	extras/MacOSX/Resources/display_slider.png \
	extras/MacOSX/Resources/display_track.png \
	extras/MacOSX/Resources/equalizerdrawer_active.png \
	extras/MacOSX/Resources/equalizerdrawer_blue.png \
	extras/MacOSX/Resources/fullscreen_active.png \
	extras/MacOSX/Resources/fullscreen_blue.png \
	extras/MacOSX/Resources/next_active.png \
	extras/MacOSX/Resources/next_blue.png \
	extras/MacOSX/Resources/playlistdrawer_active.png \
	extras/MacOSX/Resources/playlistdrawer_blue.png \
	extras/MacOSX/Resources/previous_active.png \
	extras/MacOSX/Resources/previous_blue.png \
	extras/MacOSX/Resources/skip_forward_active.png \
	extras/MacOSX/Resources/skip_forward_blue.png \
	extras/MacOSX/Resources/skip_previous_active.png \
	extras/MacOSX/Resources/skip_previous_blue.png \
	extras/MacOSX/Resources/volume_high.png \
	extras/MacOSX/Resources/volume_low.png \
	extras/MacOSX/Resources/volumeslider_blue.png \
	extras/MacOSX/Resources/volumeslider_normal.png \
	extras/MacOSX/Resources/volumetrack.png \
	extras/MacOSX/Resources/about_bg.png \
	extras/MacOSX/Resources/skip_forward_active_embedded.png \
	extras/MacOSX/Resources/play_embedded.png \
	extras/MacOSX/Resources/pause_embedded.png \
	extras/MacOSX/Resources/skip_previous_active_embedded.png \
	extras/MacOSX/Resources/pause_embedded_blue.png \
	extras/MacOSX/Resources/play_embedded_blue.png \
	extras/MacOSX/Resources/skip_forward_embedded_blue.png \
	extras/MacOSX/Resources/skip_previous_embedded_blue.png \
	extras/MacOSX/Resources/vlc.scriptSuite \
	extras/MacOSX/Resources/vlc.scriptTerminology \
	extras/MacOSX/Resources/README \
	extras/MacOSX/Resources/add_embedded.png \
	extras/MacOSX/Resources/add_embedded_blue.png \
	extras/MacOSX/Resources/repeat_embedded.png \
	extras/MacOSX/Resources/repeat_embedded_blue.png \
	extras/MacOSX/Resources/repeat_single_embedded_blue.png \
	extras/MacOSX/Resources/shuffle_embedded.png \
	extras/MacOSX/Resources/shuffle_embedded_blue.png \
	extras/MacOSX/Resources/fs_volume_slider_knob_highlight.png \
	extras/MacOSX/Resources/fs_volume_slider_knob.png \
	extras/MacOSX/Resources/fs_volume_slider_bar.png \
	extras/MacOSX/Resources/fs_volume_mute_highlight.png \
	extras/MacOSX/Resources/fs_volume_mute.png \
	extras/MacOSX/Resources/fs_volume_max_highlight.png \
	extras/MacOSX/Resources/fs_volume_max.png \
	extras/MacOSX/Resources/fs_time_slider_knob_highlight.png \
	extras/MacOSX/Resources/fs_time_slider_knob.png \
	extras/MacOSX/Resources/fs_time_slider.png \
	extras/MacOSX/Resources/fs_stop_highlight.png \
	extras/MacOSX/Resources/fs_stop.png \
	extras/MacOSX/Resources/fs_skip_previous_highlight.png \
	extras/MacOSX/Resources/fs_skip_previous.png \
	extras/MacOSX/Resources/fs_skip_next_highlight.png \
	extras/MacOSX/Resources/fs_skip_next.png \
	extras/MacOSX/Resources/fs_rewind_highlight.png \
	extras/MacOSX/Resources/fs_rewind.png \
	extras/MacOSX/Resources/fs_play_highlight.png \
	extras/MacOSX/Resources/fs_play.png \
	extras/MacOSX/Resources/fs_pause_highlight.png \
	extras/MacOSX/Resources/fs_pause.png \
	extras/MacOSX/Resources/fs_forward_highlight.png \
	extras/MacOSX/Resources/fs_forward.png \
	extras/MacOSX/Resources/fs_exit_fullscreen_highlight.png \
	extras/MacOSX/Resources/fs_exit_fullscreen.png \
	extras/MacOSX/Resources/fs_background.png \
	extras/MacOSX/fullscreen_panel.svg \
	extras/MacOSX/vlc.pbproj/project.pbxproj \
	extras/MacOSX/Delete_Preferences.app/Contents/Info.plist \
	extras/MacOSX/Delete_Preferences.app/Contents/PkgInfo \
	extras/MacOSX/Delete_Preferences.app/Contents/MacOS/applet \
	extras/MacOSX/Delete_Preferences.app/Contents/Resources/description.rtfd/TXT.rtf \
	extras/MacOSX/Delete_Preferences.app/Contents/Resources/applet.icns \
	extras/MacOSX/Delete_Preferences.app/Contents/Resources/applet.rsrc \
	extras/MacOSX/Delete_Preferences.app/Contents/Resources/Scripts/main.scpt \
	extras/MacOSX/plugin/English.lproj/InfoPlist.strings \
	extras/MacOSX/plugin/InstallerInfo.plist \
	extras/MacOSX/plugin/Info.plist \
	extras/MacOSX/plugin/pbdevelopment.plist \
	extras/MacOSX/plugin/InstallerDescription.plist \
	$(NULL)\
\
	extras/Makefile \
	extras/zsh.cpp \
	extras/emacs.init \
	extras/vlc.vim \
	extras/make.pl \
	extras/valgrind.suppressions \
	$(NULL)\
\
	msvc/vlc.dsw \
	msvc/libvlc.dsp.in \
	msvc/plugins.dsp.in \
	msvc/vlc.dsp.in \
	msvc/config.h.in \
	msvc/modules_builtin_msvc.h \
	evc/vlc.vcw \
	evc/libvlc.vcp.in \
	evc/vlc.vcp.in \
	evc/plugins.vcp.in \
	evc/errno.h \
	evc/config.h.in \
	evc/modules_builtin_evc.h \
	$(NULL)


BUILT_SOURCES_distclean = vlc-config compile vlc.win32.nsi
BUILT_SOURCES_clean = macosx-sdk

BUILT_SOURCES = $(BUILT_SOURCES_distclean) $(BUILT_SOURCES_clean)

SUFFIXES = 

DISTCHECK_CONFIGURE_FLAGS = --disable-dvd --disable-mad --disable-libmpeg2 \
	--disable-ffmpeg --disable-faad --disable-skins2\
$(am__append_1)

# Tell aclocal to use -I m4. Wonder if it really works.
ACLOCAL_AMFLAGS = -I m4


###############################################################################
# Building libvlc
###############################################################################
bin_SCRIPTS = vlc-config

CLEANFILES = $(BUILT_SOURCES_clean) stamp-builtin
DISTCLEANFILES = $(BUILT_SOURCES_distclean) vlc-config.in compile


###############################################################################
# Building vlc
###############################################################################
bin_PROGRAMS = vlc

vlc_SOURCES = src/vlc.c
# Ugly kludge so that automake defines $(CXXLINK)
EXTRA_vlc_SOURCES = extras/zsh.cpp

# Work around a bug in the arm-wince-pe linker
@HAVE_WINCE_TRUE@vlc_WORKAROUNDLDFLAGS = $(LIBVLC)

# We use DEPENDENCIES_vlc instead of vlc_DEPENDENCIES because of an
# old automake-1.5 bug (automake/279).
DEPENDENCIES_vlc = src/$(LIB_libvlc) $(DATA_win32_rc) $(am__append_2)

vlc_LDADD = $(DATA_win32_rc) $(LIBVLC) $(am__append_3)

vlc_CFLAGS = `$(VLC_CONFIG) --cflags vlc`
@USE_LIBTOOL_TRUE@vlc_LDFLAGS = `$(VLC_CONFIG) --libs vlc` -version-info 0:0:0
@BUILD_SHARED_TRUE@@USE_LIBTOOL_FALSE@vlc_LDFLAGS = `$(VLC_CONFIG) --libs vlc` -Wl,-rpath $(libdir) -L$(top_builddir)/src -lvlc
@BUILD_SHARED_FALSE@@USE_LIBTOOL_FALSE@vlc_LDFLAGS = $(vlc_WORKAROUNDLFDLAGS) `$(VLC_CONFIG) --libs vlc builtin`
@USE_LIBTOOL_TRUE@LIB_libvlc = libvlc.la
@BUILD_SHARED_TRUE@@HAVE_WIN32_TRUE@@USE_LIBTOOL_FALSE@LIB_libvlc = libvlc.dll.a
@BUILD_SHARED_TRUE@@HAVE_WIN32_FALSE@@USE_LIBTOOL_FALSE@LIB_libvlc = libvlc$(LIBEXT)
@BUILD_SHARED_FALSE@@USE_LIBTOOL_FALSE@LIB_libvlc = libvlc.a
@USE_LIBTOOL_TRUE@LIBVLC = src/$(LIB_libvlc)
@BUILD_SHARED_TRUE@@USE_LIBTOOL_FALSE@LIBVLC = 
@BUILD_SHARED_FALSE@@USE_LIBTOOL_FALSE@LIBVLC = src/$(LIB_libvlc)

@HAVE_BEOS_TRUE@noinst_DATA = vlc-bundle

# Create the MacOS X app
@HAVE_DARWIN_TRUE@vlc_app_DATA = VLC.app
@HAVE_DARWIN_TRUE@vlc_appdir = $(bindir)

@HAVE_WIN32_TRUE@DATA_win32_rc = $(noinst_share_vlc_win32_rc_DATA)
@HAVE_WIN32_TRUE@noinst_share_vlc_win32_rc_DATA = share/vlc_win32_rc.$(OBJEXT)
@HAVE_WIN32_TRUE@noinst_share_vlc_win32_rcdir = $(libdir)

remove_distdir_woody = \
  { test ! -d $(PACKAGE)-woody-$(VERSION) \
    || { find $(PACKAGE)-woody-$(VERSION) -type d ! -perm -200 \
           -exec chmod u+w {} ';' \
         && rm -fr $(PACKAGE)-woody-$(VERSION); }; }

subdir = .
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
mkinstalldirs = $(SHELL) $(top_srcdir)/autotools/mkinstalldirs
CONFIG_HEADER = config.h
CONFIG_CLEAN_FILES = vlc.win32.nsi intl/Makefile
bin_PROGRAMS = vlc$(EXEEXT)
PROGRAMS = $(bin_PROGRAMS)

am_vlc_OBJECTS = vlc-vlc.$(OBJEXT)
vlc_OBJECTS = $(am_vlc_OBJECTS)
@BUILD_SHARED_FALSE@@HAVE_WIN32_FALSE@@USE_LIBTOOL_TRUE@vlc_DEPENDENCIES = \
@BUILD_SHARED_FALSE@@HAVE_WIN32_FALSE@@USE_LIBTOOL_TRUE@	src/$(LIB_libvlc)
@BUILD_SHARED_FALSE@@HAVE_WIN32_FALSE@@USE_LIBTOOL_FALSE@vlc_DEPENDENCIES = \
@BUILD_SHARED_FALSE@@HAVE_WIN32_FALSE@@USE_LIBTOOL_FALSE@	src/$(LIB_libvlc)
@BUILD_SHARED_FALSE@@HAVE_WIN32_TRUE@@USE_LIBTOOL_TRUE@vlc_DEPENDENCIES = \
@BUILD_SHARED_FALSE@@HAVE_WIN32_TRUE@@USE_LIBTOOL_TRUE@	share/vlc_win32_rc.$(OBJEXT) \
@BUILD_SHARED_FALSE@@HAVE_WIN32_TRUE@@USE_LIBTOOL_TRUE@	src/$(LIB_libvlc)
@BUILD_SHARED_FALSE@@HAVE_WIN32_TRUE@@USE_LIBTOOL_FALSE@vlc_DEPENDENCIES = \
@BUILD_SHARED_FALSE@@HAVE_WIN32_TRUE@@USE_LIBTOOL_FALSE@	share/vlc_win32_rc.$(OBJEXT) \
@BUILD_SHARED_FALSE@@HAVE_WIN32_TRUE@@USE_LIBTOOL_FALSE@	src/$(LIB_libvlc)
@BUILD_SHARED_TRUE@@HAVE_WIN32_FALSE@@USE_LIBTOOL_TRUE@vlc_DEPENDENCIES = \
@BUILD_SHARED_TRUE@@HAVE_WIN32_FALSE@@USE_LIBTOOL_TRUE@	src/$(LIB_libvlc)
@BUILD_SHARED_TRUE@@HAVE_WIN32_FALSE@@USE_LIBTOOL_FALSE@vlc_DEPENDENCIES =
@BUILD_SHARED_TRUE@@HAVE_WIN32_TRUE@@USE_LIBTOOL_TRUE@vlc_DEPENDENCIES = \
@BUILD_SHARED_TRUE@@HAVE_WIN32_TRUE@@USE_LIBTOOL_TRUE@	share/vlc_win32_rc.$(OBJEXT) \
@BUILD_SHARED_TRUE@@HAVE_WIN32_TRUE@@USE_LIBTOOL_TRUE@	src/$(LIB_libvlc)
@BUILD_SHARED_TRUE@@HAVE_WIN32_TRUE@@USE_LIBTOOL_FALSE@vlc_DEPENDENCIES = \
@BUILD_SHARED_TRUE@@HAVE_WIN32_TRUE@@USE_LIBTOOL_FALSE@	share/vlc_win32_rc.$(OBJEXT)
SCRIPTS = $(bin_SCRIPTS)


DEFAULT_INCLUDES =  -I. -I$(srcdir) -I.
depcomp = $(SHELL) $(top_srcdir)/autotools/depcomp
am__depfiles_maybe = depfiles
@AMDEP_TRUE@DEP_FILES = ./$(DEPDIR)/vlc-vlc.Po ./$(DEPDIR)/zsh.Po
COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) \
	$(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
CCLD = $(CC)
LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
	$(AM_LDFLAGS) $(LDFLAGS) -o $@
CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
	$(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
LTCXXCOMPILE = $(LIBTOOL) --mode=compile $(CXX) $(DEFS) \
	$(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
	$(AM_CXXFLAGS) $(CXXFLAGS)
CXXLD = $(CXX)
CXXLINK = $(LIBTOOL) --mode=link $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) \
	$(AM_LDFLAGS) $(LDFLAGS) -o $@
DIST_SOURCES = $(vlc_SOURCES) $(EXTRA_vlc_SOURCES)
DATA = $(noinst_DATA) $(noinst_share_vlc_win32_rc_DATA) $(vlc_app_DATA)


RECURSIVE_TARGETS = info-recursive dvi-recursive pdf-recursive \
	ps-recursive install-info-recursive uninstall-info-recursive \
	all-recursive install-data-recursive install-exec-recursive \
	installdirs-recursive install-recursive uninstall-recursive \
	check-recursive installcheck-recursive
DIST_COMMON = README $(srcdir)/Makefile.in $(srcdir)/configure \
	ABOUT-NLS AUTHORS COPYING ChangeLog INSTALL Makefile.am NEWS \
	THANKS aclocal.m4 autotools/compile autotools/config.guess \
	autotools/config.rpath autotools/config.sub autotools/depcomp \
	autotools/install-sh autotools/ltmain.sh autotools/missing \
	autotools/mkinstalldirs config.h.in configure configure.ac \
	vlc.win32.nsi.in
SOURCES = $(vlc_SOURCES) $(EXTRA_vlc_SOURCES)

all: $(BUILT_SOURCES) config.h
	$(MAKE) $(AM_MAKEFLAGS) all-recursive

.SUFFIXES:
.SUFFIXES: .c .cpp .lo .o .obj

am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
 configure.lineno
$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am  $(top_srcdir)/configure.ac $(ACLOCAL_M4)
	cd $(top_srcdir) && \
	  $(AUTOMAKE) --gnu  Makefile
Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in  $(top_builddir)/config.status
	cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)

$(top_builddir)/config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
	$(SHELL) ./config.status --recheck
$(srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(srcdir)/configure.ac $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES)
	cd $(srcdir) && $(AUTOCONF)

$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ configure.ac m4/ac_prog_java.m4 m4/ac_prog_java_cc.m4 m4/ac_prog_java_works.m4 m4/ac_prog_javac.m4 m4/ac_prog_javac_works.m4 m4/ac_prog_javah.m4 m4/codeset.m4 m4/gettext.m4 m4/glibc21.m4 m4/iconv.m4 m4/intdiv0.m4 m4/inttypes-pri.m4 m4/inttypes.m4 m4/inttypes_h.m4 m4/isc-posix.m4 m4/lcmessage.m4 m4/lib-ld.m4 m4/lib-link.m4 m4/lib-prefix.m4 m4/private.m4 m4/progtest.m4 m4/stdint_h.m4 m4/uintmax_t.m4 m4/ulonglong.m4 m4/vlc.m4
	cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)

config.h: stamp-h1
	@if test ! -f $@; then \
	  rm -f stamp-h1; \
	  $(MAKE) stamp-h1; \
	else :; fi

stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status
	@rm -f stamp-h1
	cd $(top_builddir) && $(SHELL) ./config.status config.h

$(srcdir)/config.h.in: @MAINTAINER_MODE_TRUE@ $(top_srcdir)/configure.ac $(ACLOCAL_M4) 
	cd $(top_srcdir) && $(AUTOHEADER)
	touch $(srcdir)/config.h.in

distclean-hdr:
	-rm -f config.h stamp-h1
vlc.win32.nsi: $(top_builddir)/config.status vlc.win32.nsi.in
	cd $(top_builddir) && $(SHELL) ./config.status $@
intl/Makefile: $(top_builddir)/config.status $(top_srcdir)/intl/Makefile.in
	cd $(top_builddir) && $(SHELL) ./config.status $@
binPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
install-binPROGRAMS: $(bin_PROGRAMS)
	@$(NORMAL_INSTALL)
	$(mkinstalldirs) $(DESTDIR)$(bindir)
	@list='$(bin_PROGRAMS)'; for p in $$list; do \
	  p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
	  if test -f $$p \
	     || test -f $$p1 \
	  ; then \
	    f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
	   echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f"; \
	   $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f || exit 1; \
	  else :; fi; \
	done

uninstall-binPROGRAMS:
	@$(NORMAL_UNINSTALL)
	@list='$(bin_PROGRAMS)'; for p in $$list; do \
	  f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
	  echo " rm -f $(DESTDIR)$(bindir)/$$f"; \
	  rm -f $(DESTDIR)$(bindir)/$$f; \
	done

clean-binPROGRAMS:
	@list='$(bin_PROGRAMS)'; for p in $$list; do \
	  f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
	  echo " rm -f $$p $$f"; \
	  rm -f $$p $$f ; \
	done
binSCRIPT_INSTALL = $(INSTALL_SCRIPT)
install-binSCRIPTS: $(bin_SCRIPTS)
	@$(NORMAL_INSTALL)
	$(mkinstalldirs) $(DESTDIR)$(bindir)
	@list='$(bin_SCRIPTS)'; for p in $$list; do \
	  if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
	  if test -f $$d$$p; then \
	    f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \
	    echo " $(binSCRIPT_INSTALL) $$d$$p $(DESTDIR)$(bindir)/$$f"; \
	    $(binSCRIPT_INSTALL) $$d$$p $(DESTDIR)$(bindir)/$$f; \
	  else :; fi; \
	done

uninstall-binSCRIPTS:
	@$(NORMAL_UNINSTALL)
	@list='$(bin_SCRIPTS)'; for p in $$list; do \
	  f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \
	  echo " rm -f $(DESTDIR)$(bindir)/$$f"; \
	  rm -f $(DESTDIR)$(bindir)/$$f; \
	done

mostlyclean-compile:
	-rm -f *.$(OBJEXT) core *.core

distclean-compile:
	-rm -f *.tab.c

@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/vlc-vlc.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/zsh.Po@am__quote@

.c.o:
@am__fastdepCC_TRUE@	if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" \
@am__fastdepCC_TRUE@	  -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<; \
@am__fastdepCC_TRUE@	then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; \
@am__fastdepCC_TRUE@	else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; \
@am__fastdepCC_TRUE@	fi
@AMDEP_TRUE@@am__fastdepCC_FALSE@	source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCC_FALSE@	depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCC_FALSE@	$(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCC_FALSE@	$(COMPILE) -c `test -f '$<' || echo '$(srcdir)/'`$<

.c.obj:
@am__fastdepCC_TRUE@	if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" \
@am__fastdepCC_TRUE@	  -c -o $@ `if test -f '$<'; then $(CYGPATH_W) '$<'; else $(CYGPATH_W) '$(srcdir)/$<'; fi`; \
@am__fastdepCC_TRUE@	then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; \
@am__fastdepCC_TRUE@	else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; \
@am__fastdepCC_TRUE@	fi
@AMDEP_TRUE@@am__fastdepCC_FALSE@	source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCC_FALSE@	depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCC_FALSE@	$(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCC_FALSE@	$(COMPILE) -c `if test -f '$<'; then $(CYGPATH_W) '$<'; else $(CYGPATH_W) '$(srcdir)/$<'; fi`

.c.lo:
@am__fastdepCC_TRUE@	if $(LTCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" \
@am__fastdepCC_TRUE@	  -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<; \
@am__fastdepCC_TRUE@	then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Plo"; \
@am__fastdepCC_TRUE@	else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; \
@am__fastdepCC_TRUE@	fi
@AMDEP_TRUE@@am__fastdepCC_FALSE@	source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCC_FALSE@	depfile='$(DEPDIR)/$*.Plo' tmpdepfile='$(DEPDIR)/$*.TPlo' @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCC_FALSE@	$(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCC_FALSE@	$(LTCOMPILE) -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<

vlc-vlc.o: src/vlc.c
@am__fastdepCC_TRUE@	if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(vlc_CFLAGS) $(CFLAGS) -MT vlc-vlc.o -MD -MP -MF "$(DEPDIR)/vlc-vlc.Tpo" \
@am__fastdepCC_TRUE@	  -c -o vlc-vlc.o `test -f 'src/vlc.c' || echo '$(srcdir)/'`src/vlc.c; \
@am__fastdepCC_TRUE@	then mv -f "$(DEPDIR)/vlc-vlc.Tpo" "$(DEPDIR)/vlc-vlc.Po"; \
@am__fastdepCC_TRUE@	else rm -f "$(DEPDIR)/vlc-vlc.Tpo"; exit 1; \
@am__fastdepCC_TRUE@	fi
@AMDEP_TRUE@@am__fastdepCC_FALSE@	source='src/vlc.c' object='vlc-vlc.o' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCC_FALSE@	depfile='$(DEPDIR)/vlc-vlc.Po' tmpdepfile='$(DEPDIR)/vlc-vlc.TPo' @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCC_FALSE@	$(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCC_FALSE@	$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(vlc_CFLAGS) $(CFLAGS) -c -o vlc-vlc.o `test -f 'src/vlc.c' || echo '$(srcdir)/'`src/vlc.c

vlc-vlc.obj: src/vlc.c
@am__fastdepCC_TRUE@	if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(vlc_CFLAGS) $(CFLAGS) -MT vlc-vlc.obj -MD -MP -MF "$(DEPDIR)/vlc-vlc.Tpo" \
@am__fastdepCC_TRUE@	  -c -o vlc-vlc.obj `if test -f 'src/vlc.c'; then $(CYGPATH_W) 'src/vlc.c'; else $(CYGPATH_W) '$(srcdir)/src/vlc.c'; fi`; \
@am__fastdepCC_TRUE@	then mv -f "$(DEPDIR)/vlc-vlc.Tpo" "$(DEPDIR)/vlc-vlc.Po"; \
@am__fastdepCC_TRUE@	else rm -f "$(DEPDIR)/vlc-vlc.Tpo"; exit 1; \
@am__fastdepCC_TRUE@	fi
@AMDEP_TRUE@@am__fastdepCC_FALSE@	source='src/vlc.c' object='vlc-vlc.obj' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCC_FALSE@	depfile='$(DEPDIR)/vlc-vlc.Po' tmpdepfile='$(DEPDIR)/vlc-vlc.TPo' @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCC_FALSE@	$(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCC_FALSE@	$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(vlc_CFLAGS) $(CFLAGS) -c -o vlc-vlc.obj `if test -f 'src/vlc.c'; then $(CYGPATH_W) 'src/vlc.c'; else $(CYGPATH_W) '$(srcdir)/src/vlc.c'; fi`

vlc-vlc.lo: src/vlc.c
@am__fastdepCC_TRUE@	if $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(vlc_CFLAGS) $(CFLAGS) -MT vlc-vlc.lo -MD -MP -MF "$(DEPDIR)/vlc-vlc.Tpo" \
@am__fastdepCC_TRUE@	  -c -o vlc-vlc.lo `test -f 'src/vlc.c' || echo '$(srcdir)/'`src/vlc.c; \
@am__fastdepCC_TRUE@	then mv -f "$(DEPDIR)/vlc-vlc.Tpo" "$(DEPDIR)/vlc-vlc.Plo"; \
@am__fastdepCC_TRUE@	else rm -f "$(DEPDIR)/vlc-vlc.Tpo"; exit 1; \
@am__fastdepCC_TRUE@	fi
@AMDEP_TRUE@@am__fastdepCC_FALSE@	source='src/vlc.c' object='vlc-vlc.lo' libtool=yes @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCC_FALSE@	depfile='$(DEPDIR)/vlc-vlc.Plo' tmpdepfile='$(DEPDIR)/vlc-vlc.TPlo' @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCC_FALSE@	$(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCC_FALSE@	$(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(vlc_CFLAGS) $(CFLAGS) -c -o vlc-vlc.lo `test -f 'src/vlc.c' || echo '$(srcdir)/'`src/vlc.c

.cpp.o:
@am__fastdepCXX_TRUE@	if $(CXXCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" \
@am__fastdepCXX_TRUE@	  -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<; \
@am__fastdepCXX_TRUE@	then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; \
@am__fastdepCXX_TRUE@	else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; \
@am__fastdepCXX_TRUE@	fi
@AMDEP_TRUE@@am__fastdepCXX_FALSE@	source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCXX_FALSE@	depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCXX_FALSE@	$(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCXX_FALSE@	$(CXXCOMPILE) -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<

.cpp.obj:
@am__fastdepCXX_TRUE@	if $(CXXCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" \
@am__fastdepCXX_TRUE@	  -c -o $@ `if test -f '$<'; then $(CYGPATH_W) '$<'; else $(CYGPATH_W) '$(srcdir)/$<'; fi`; \
@am__fastdepCXX_TRUE@	then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; \
@am__fastdepCXX_TRUE@	else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; \
@am__fastdepCXX_TRUE@	fi
@AMDEP_TRUE@@am__fastdepCXX_FALSE@	source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCXX_FALSE@	depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCXX_FALSE@	$(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCXX_FALSE@	$(CXXCOMPILE) -c -o $@ `if test -f '$<'; then $(CYGPATH_W) '$<'; else $(CYGPATH_W) '$(srcdir)/$<'; fi`

.cpp.lo:
@am__fastdepCXX_TRUE@	if $(LTCXXCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" \
@am__fastdepCXX_TRUE@	  -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<; \
@am__fastdepCXX_TRUE@	then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Plo"; \
@am__fastdepCXX_TRUE@	else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; \
@am__fastdepCXX_TRUE@	fi
@AMDEP_TRUE@@am__fastdepCXX_FALSE@	source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCXX_FALSE@	depfile='$(DEPDIR)/$*.Plo' tmpdepfile='$(DEPDIR)/$*.TPlo' @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCXX_FALSE@	$(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCXX_FALSE@	$(LTCXXCOMPILE) -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<

zsh.o: extras/zsh.cpp
@am__fastdepCXX_TRUE@	if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT zsh.o -MD -MP -MF "$(DEPDIR)/zsh.Tpo" \
@am__fastdepCXX_TRUE@	  -c -o zsh.o `test -f 'extras/zsh.cpp' || echo '$(srcdir)/'`extras/zsh.cpp; \
@am__fastdepCXX_TRUE@	then mv -f "$(DEPDIR)/zsh.Tpo" "$(DEPDIR)/zsh.Po"; \
@am__fastdepCXX_TRUE@	else rm -f "$(DEPDIR)/zsh.Tpo"; exit 1; \
@am__fastdepCXX_TRUE@	fi
@AMDEP_TRUE@@am__fastdepCXX_FALSE@	source='extras/zsh.cpp' object='zsh.o' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCXX_FALSE@	depfile='$(DEPDIR)/zsh.Po' tmpdepfile='$(DEPDIR)/zsh.TPo' @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCXX_FALSE@	$(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCXX_FALSE@	$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o zsh.o `test -f 'extras/zsh.cpp' || echo '$(srcdir)/'`extras/zsh.cpp

zsh.obj: extras/zsh.cpp
@am__fastdepCXX_TRUE@	if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT zsh.obj -MD -MP -MF "$(DEPDIR)/zsh.Tpo" \
@am__fastdepCXX_TRUE@	  -c -o zsh.obj `if test -f 'extras/zsh.cpp'; then $(CYGPATH_W) 'extras/zsh.cpp'; else $(CYGPATH_W) '$(srcdir)/extras/zsh.cpp'; fi`; \
@am__fastdepCXX_TRUE@	then mv -f "$(DEPDIR)/zsh.Tpo" "$(DEPDIR)/zsh.Po"; \
@am__fastdepCXX_TRUE@	else rm -f "$(DEPDIR)/zsh.Tpo"; exit 1; \
@am__fastdepCXX_TRUE@	fi
@AMDEP_TRUE@@am__fastdepCXX_FALSE@	source='extras/zsh.cpp' object='zsh.obj' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCXX_FALSE@	depfile='$(DEPDIR)/zsh.Po' tmpdepfile='$(DEPDIR)/zsh.TPo' @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCXX_FALSE@	$(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCXX_FALSE@	$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o zsh.obj `if test -f 'extras/zsh.cpp'; then $(CYGPATH_W) 'extras/zsh.cpp'; else $(CYGPATH_W) '$(srcdir)/extras/zsh.cpp'; fi`

zsh.lo: extras/zsh.cpp
@am__fastdepCXX_TRUE@	if $(LIBTOOL) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT zsh.lo -MD -MP -MF "$(DEPDIR)/zsh.Tpo" \
@am__fastdepCXX_TRUE@	  -c -o zsh.lo `test -f 'extras/zsh.cpp' || echo '$(srcdir)/'`extras/zsh.cpp; \
@am__fastdepCXX_TRUE@	then mv -f "$(DEPDIR)/zsh.Tpo" "$(DEPDIR)/zsh.Plo"; \
@am__fastdepCXX_TRUE@	else rm -f "$(DEPDIR)/zsh.Tpo"; exit 1; \
@am__fastdepCXX_TRUE@	fi
@AMDEP_TRUE@@am__fastdepCXX_FALSE@	source='extras/zsh.cpp' object='zsh.lo' libtool=yes @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCXX_FALSE@	depfile='$(DEPDIR)/zsh.Plo' tmpdepfile='$(DEPDIR)/zsh.TPlo' @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCXX_FALSE@	$(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCXX_FALSE@	$(LIBTOOL) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o zsh.lo `test -f 'extras/zsh.cpp' || echo '$(srcdir)/'`extras/zsh.cpp

mostlyclean-libtool:
	-rm -f *.lo

clean-libtool:
	-rm -rf .libs _libs

distclean-libtool:
	-rm -f libtool
uninstall-info-am:
noinst_share_vlc_win32_rcDATA_INSTALL = $(INSTALL_DATA)
install-noinst_share_vlc_win32_rcDATA: $(noinst_share_vlc_win32_rc_DATA)
	@$(NORMAL_INSTALL)
	$(mkinstalldirs) $(DESTDIR)$(noinst_share_vlc_win32_rcdir)
	@list='$(noinst_share_vlc_win32_rc_DATA)'; for p in $$list; do \
	  if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
	  f="`echo $$p | sed -e 's|^.*/||'`"; \
	  echo " $(noinst_share_vlc_win32_rcDATA_INSTALL) $$d$$p $(DESTDIR)$(noinst_share_vlc_win32_rcdir)/$$f"; \
	  $(noinst_share_vlc_win32_rcDATA_INSTALL) $$d$$p $(DESTDIR)$(noinst_share_vlc_win32_rcdir)/$$f; \
	done

uninstall-noinst_share_vlc_win32_rcDATA:
	@$(NORMAL_UNINSTALL)
	@list='$(noinst_share_vlc_win32_rc_DATA)'; for p in $$list; do \
	  f="`echo $$p | sed -e 's|^.*/||'`"; \
	  echo " rm -f $(DESTDIR)$(noinst_share_vlc_win32_rcdir)/$$f"; \
	  rm -f $(DESTDIR)$(noinst_share_vlc_win32_rcdir)/$$f; \
	done
vlc_appDATA_INSTALL = $(INSTALL_DATA)
install-vlc_appDATA: $(vlc_app_DATA)
	@$(NORMAL_INSTALL)
	$(mkinstalldirs) $(DESTDIR)$(vlc_appdir)
	@list='$(vlc_app_DATA)'; for p in $$list; do \
	  if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
	  f="`echo $$p | sed -e 's|^.*/||'`"; \
	  echo " $(vlc_appDATA_INSTALL) $$d$$p $(DESTDIR)$(vlc_appdir)/$$f"; \
	  $(vlc_appDATA_INSTALL) $$d$$p $(DESTDIR)$(vlc_appdir)/$$f; \
	done

uninstall-vlc_appDATA:
	@$(NORMAL_UNINSTALL)
	@list='$(vlc_app_DATA)'; for p in $$list; do \
	  f="`echo $$p | sed -e 's|^.*/||'`"; \
	  echo " rm -f $(DESTDIR)$(vlc_appdir)/$$f"; \
	  rm -f $(DESTDIR)$(vlc_appdir)/$$f; \
	done

# This directory's subdirectories are mostly independent; you can cd
# into them and run `make' without going through this Makefile.
# To change the values of `make' variables: instead of editing Makefiles,
# (1) if the variable is set in `config.status', edit `config.status'
#     (which will cause the Makefiles to be regenerated when you run `make');
# (2) otherwise, pass the desired values on the `make' command line.
$(RECURSIVE_TARGETS):
	@set fnord $$MAKEFLAGS; amf=$$2; \
	dot_seen=no; \
	target=`echo $@ | sed s/-recursive//`; \
	list='$(SUBDIRS)'; for subdir in $$list; do \
	  echo "Making $$target in $$subdir"; \
	  if test "$$subdir" = "."; then \
	    dot_seen=yes; \
	    local_target="$$target-am"; \
	  else \
	    local_target="$$target"; \
	  fi; \
	  (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
	   || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
	done; \
	if test "$$dot_seen" = "no"; then \
	  $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
	fi; test -z "$$fail"

mostlyclean-recursive clean-recursive distclean-recursive \
maintainer-clean-recursive:
	@set fnord $$MAKEFLAGS; amf=$$2; \
	dot_seen=no; \
	case "$@" in \
	  distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
	  *) list='$(SUBDIRS)' ;; \
	esac; \
	rev=''; for subdir in $$list; do \
	  if test "$$subdir" = "."; then :; else \
	    rev="$$subdir $$rev"; \
	  fi; \
	done; \
	rev="$$rev ."; \
	target=`echo $@ | sed s/-recursive//`; \
	for subdir in $$rev; do \
	  echo "Making $$target in $$subdir"; \
	  if test "$$subdir" = "."; then \
	    local_target="$$target-am"; \
	  else \
	    local_target="$$target"; \
	  fi; \
	  (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
	   || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
	done && test -z "$$fail"
tags-recursive:
	list='$(SUBDIRS)'; for subdir in $$list; do \
	  test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
	done
ctags-recursive:
	list='$(SUBDIRS)'; for subdir in $$list; do \
	  test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
	done

ETAGS = etags
ETAGSFLAGS =

CTAGS = ctags
CTAGSFLAGS =

tags: TAGS

ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
	list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
	unique=`for i in $$list; do \
	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
	  done | \
	  $(AWK) '    { files[$$0] = 1; } \
	       END { for (i in files) print i; }'`; \
	mkid -fID $$unique

TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
		$(TAGS_FILES) $(LISP)
	tags=; \
	here=`pwd`; \
	if (etags --etags-include --version) >/dev/null 2>&1; then \
	  include_option=--etags-include; \
	else \
	  include_option=--include; \
	fi; \
	list='$(SUBDIRS)'; for subdir in $$list; do \
	  if test "$$subdir" = .; then :; else \
	    test -f $$subdir/TAGS && \
	      tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \
	  fi; \
	done; \
	list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
	unique=`for i in $$list; do \
	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
	  done | \
	  $(AWK) '    { files[$$0] = 1; } \
	       END { for (i in files) print i; }'`; \
	test -z "$(ETAGS_ARGS)$$tags$$unique" \
	  || $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
	     $$tags $$unique

ctags: CTAGS
CTAGS: ctags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
		$(TAGS_FILES) $(LISP)
	tags=; \
	here=`pwd`; \
	list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
	unique=`for i in $$list; do \
	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
	  done | \
	  $(AWK) '    { files[$$0] = 1; } \
	       END { for (i in files) print i; }'`; \
	test -z "$(CTAGS_ARGS)$$tags$$unique" \
	  || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
	     $$tags $$unique

GTAGS:
	here=`$(am__cd) $(top_builddir) && pwd` \
	  && cd $(top_srcdir) \
	  && gtags -i $(GTAGS_ARGS) $$here

distclean-tags:
	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)

top_distdir = .
distdir = $(PACKAGE)-$(VERSION)

am__remove_distdir = \
  { test ! -d $(distdir) \
    || { find $(distdir) -type d ! -perm -200 -exec chmod u+w {} ';' \
         && rm -fr $(distdir); }; }

GZIP_ENV = --best
distuninstallcheck_listfiles = find . -type f -print
distcleancheck_listfiles = find . -type f -print

distdir: $(DISTFILES)
	@case `sed 15q $(srcdir)/NEWS` in \
	*"$(VERSION)"*) : ;; \
	*) \
	  echo "NEWS not updated; not releasing" 1>&2; \
	  exit 1;; \
	esac
	$(am__remove_distdir)
	mkdir $(distdir)
	$(mkinstalldirs) $(distdir)/. $(distdir)/activex $(distdir)/autotools $(distdir)/evc $(distdir)/extras $(distdir)/extras/MacOSX $(distdir)/extras/MacOSX/Delete_Preferences.app/Contents $(distdir)/extras/MacOSX/Delete_Preferences.app/Contents/MacOS $(distdir)/extras/MacOSX/Delete_Preferences.app/Contents/Resources $(distdir)/extras/MacOSX/Delete_Preferences.app/Contents/Resources/Scripts $(distdir)/extras/MacOSX/Delete_Preferences.app/Contents/Resources/description.rtfd $(distdir)/extras/MacOSX/Resources $(distdir)/extras/MacOSX/Resources/English.lproj $(distdir)/extras/MacOSX/Resources/English.lproj/About.nib $(distdir)/extras/MacOSX/Resources/English.lproj/Bookmarks.nib $(distdir)/extras/MacOSX/Resources/English.lproj/Extended.nib $(distdir)/extras/MacOSX/Resources/English.lproj/Interaction.nib $(distdir)/extras/MacOSX/Resources/English.lproj/MainMenu.nib $(distdir)/extras/MacOSX/Resources/English.lproj/Open.nib $(distdir)/extras/MacOSX/Resources/English.lproj/Preferences.nib $(distdir)/extras/MacOSX/Resources/English.lproj/Update.nib $(distdir)/extras/MacOSX/Resources/English.lproj/Wizard.nib $(distdir)/extras/MacOSX/plugin $(distdir)/extras/MacOSX/plugin/English.lproj $(distdir)/extras/MacOSX/vlc.pbproj $(distdir)/intl $(distdir)/msvc $(distdir)/po
	@srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
	topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
	list='$(DISTFILES)'; for file in $$list; do \
	  case $$file in \
	    $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
	    $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
	  esac; \
	  if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
	    dir="/$$dir"; \
	    $(mkinstalldirs) "$(distdir)$$dir"; \
	  else \
	    dir=''; \
	  fi; \
	  if test -d $$d/$$file; then \
	    if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
	      cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
	    fi; \
	    cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
	  else \
	    test -f $(distdir)/$$file \
	    || cp -p $$d/$$file $(distdir)/$$file \
	    || exit 1; \
	  fi; \
	done
	list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
	  if test "$$subdir" = .; then :; else \
	    test -d $(distdir)/$$subdir \
	    || mkdir $(distdir)/$$subdir \
	    || exit 1; \
	    (cd $$subdir && \
	      $(MAKE) $(AM_MAKEFLAGS) \
	        top_distdir="$(top_distdir)" \
	        distdir=../$(distdir)/$$subdir \
	        distdir) \
	      || exit 1; \
	  fi; \
	done
	$(MAKE) $(AM_MAKEFLAGS) \
	  top_distdir="$(top_distdir)" distdir="$(distdir)" \
	  dist-hook
	-find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \
	  ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
	  ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
	  ! -type d ! -perm -444 -exec $(SHELL) $(install_sh) -c -m a+r {} {} \; \
	|| chmod -R a+r $(distdir)
dist-gzip: distdir
	$(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
	$(am__remove_distdir)

dist-bzip2: distdir
	$(AMTAR) chof - $(distdir) | bzip2 -9 -c >$(distdir).tar.bz2
	$(am__remove_distdir)

dist dist-all: distdir
	$(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
	$(AMTAR) chof - $(distdir) | bzip2 -9 -c >$(distdir).tar.bz2
	$(am__remove_distdir)

# This target untars the dist file and tries a VPATH configuration.  Then
# it guarantees that the distribution is self-contained by making another
# tarfile.
distcheck: dist
	$(am__remove_distdir)
	GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(AMTAR) xf -
	chmod -R a-w $(distdir); chmod a+w $(distdir)
	mkdir $(distdir)/_build
	mkdir $(distdir)/_inst
	chmod a-w $(distdir)
	dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
	  && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
	  && cd $(distdir)/_build \
	  && ../configure --srcdir=.. --prefix="$$dc_install_base" \
	    --with-included-gettext \
	    $(DISTCHECK_CONFIGURE_FLAGS) \
	  && $(MAKE) $(AM_MAKEFLAGS) \
	  && $(MAKE) $(AM_MAKEFLAGS) dvi \
	  && $(MAKE) $(AM_MAKEFLAGS) check \
	  && $(MAKE) $(AM_MAKEFLAGS) install \
	  && $(MAKE) $(AM_MAKEFLAGS) installcheck \
	  && $(MAKE) $(AM_MAKEFLAGS) uninstall \
	  && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
	        distuninstallcheck \
	  && chmod -R a-w "$$dc_install_base" \
	  && ({ \
	       (cd ../.. && $(mkinstalldirs) "$$dc_destdir") \
	       && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
	       && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
	       && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
	            distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
	      } || { rm -rf "$$dc_destdir"; exit 1; }) \
	  && rm -rf "$$dc_destdir" \
	  && $(MAKE) $(AM_MAKEFLAGS) dist-gzip \
	  && rm -f $(distdir).tar.gz \
	  && $(MAKE) $(AM_MAKEFLAGS) distcleancheck
	$(am__remove_distdir)
	@echo "$(distdir).tar.gz is ready for distribution" | \
	  sed 'h;s/./=/g;p;x;p;x'
distuninstallcheck:
	@cd $(distuninstallcheck_dir) \
	&& test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \
	   || { echo "ERROR: files left after uninstall:" ; \
	        if test -n "$(DESTDIR)"; then \
	          echo "  (check DESTDIR support)"; \
	        fi ; \
	        $(distuninstallcheck_listfiles) ; \
	        exit 1; } >&2
distcleancheck: distclean
	@if test '$(srcdir)' = . ; then \
	  echo "ERROR: distcleancheck can only run from a VPATH build" ; \
	  exit 1 ; \
	fi
	@test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
	  || { echo "ERROR: files left in build directory after distclean:" ; \
	       $(distcleancheck_listfiles) ; \
	       exit 1; } >&2
check-am: all-am
check: $(BUILT_SOURCES)
	$(MAKE) $(AM_MAKEFLAGS) check-recursive
all-am: Makefile $(PROGRAMS) $(SCRIPTS) $(DATA) config.h
installdirs: installdirs-recursive
installdirs-am:
	$(mkinstalldirs) $(DESTDIR)$(bindir) $(DESTDIR)$(bindir) $(DESTDIR)$(noinst_share_vlc_win32_rcdir) $(DESTDIR)$(vlc_appdir)

install: $(BUILT_SOURCES)
	$(MAKE) $(AM_MAKEFLAGS) install-recursive
install-exec: install-exec-recursive
install-data: install-data-recursive
uninstall: uninstall-recursive

install-am: all-am
	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am

installcheck: installcheck-recursive
install-strip:
	$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
	  install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
	  `test -z '$(STRIP)' || \
	    echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
mostlyclean-generic:

clean-generic:
	-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)

distclean-generic:
	-rm -f $(CONFIG_CLEAN_FILES)
	-test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES)

maintainer-clean-generic:
	@echo "This command is intended for maintainers to use"
	@echo "it deletes files that may require special tools to rebuild."
	-test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
clean: clean-recursive

clean-am: clean-binPROGRAMS clean-generic clean-libtool mostlyclean-am

distclean: distclean-recursive
	-rm -f $(am__CONFIG_DISTCLEAN_FILES)
	-rm -rf ./$(DEPDIR)
	-rm -f Makefile
distclean-am: clean-am distclean-compile distclean-generic distclean-hdr \
	distclean-libtool distclean-tags

dvi: dvi-recursive

dvi-am:

info: info-recursive

info-am:

install-data-am: install-noinst_share_vlc_win32_rcDATA \
	install-vlc_appDATA

install-exec-am: install-binPROGRAMS install-binSCRIPTS \
	install-exec-local

install-info: install-info-recursive

install-man:

installcheck-am:

maintainer-clean: maintainer-clean-recursive
	-rm -f $(am__CONFIG_DISTCLEAN_FILES)
	-rm -rf $(top_srcdir)/autom4te.cache
	-rm -rf ./$(DEPDIR)
	-rm -f Makefile
maintainer-clean-am: distclean-am maintainer-clean-generic

mostlyclean: mostlyclean-recursive

mostlyclean-am: mostlyclean-compile mostlyclean-generic \
	mostlyclean-libtool

pdf: pdf-recursive

pdf-am:

ps: ps-recursive

ps-am:

uninstall-am: uninstall-binPROGRAMS uninstall-binSCRIPTS \
	uninstall-info-am uninstall-local \
	uninstall-noinst_share_vlc_win32_rcDATA uninstall-vlc_appDATA

uninstall-info: uninstall-info-recursive

.PHONY: $(RECURSIVE_TARGETS) CTAGS GTAGS all all-am check check-am clean \
	clean-binPROGRAMS clean-generic clean-libtool clean-recursive \
	ctags ctags-recursive dist dist-all dist-bzip2 dist-gzip \
	distcheck distclean distclean-compile distclean-generic \
	distclean-hdr distclean-libtool distclean-recursive \
	distclean-tags distcleancheck distdir distuninstallcheck dvi \
	dvi-am dvi-recursive info info-am info-recursive install \
	install-am install-binPROGRAMS install-binSCRIPTS install-data \
	install-data-am install-data-recursive install-exec \
	install-exec-am install-exec-local install-exec-recursive \
	install-info install-info-am install-info-recursive install-man \
	install-noinst_share_vlc_win32_rcDATA install-recursive \
	install-strip install-vlc_appDATA installcheck installcheck-am \
	installdirs installdirs-am installdirs-recursive \
	maintainer-clean maintainer-clean-generic \
	maintainer-clean-recursive mostlyclean mostlyclean-compile \
	mostlyclean-generic mostlyclean-libtool mostlyclean-recursive \
	pdf pdf-am pdf-recursive ps ps-am ps-recursive tags \
	tags-recursive uninstall uninstall-am uninstall-binPROGRAMS \
	uninstall-binSCRIPTS uninstall-info-am uninstall-info-recursive \
	uninstall-local uninstall-noinst_share_vlc_win32_rcDATA \
	uninstall-recursive uninstall-vlc_appDATA


dist-hook:
	cd $(distdir) && srcdir=. $(SHELL) ./toolbox --update-vc
	distdir=$(distdir) srcdir=$(srcdir) $(SHELL) $(srcdir)/toolbox --dist-contrib
vlc-config: $(top_builddir)/config.status $(top_builddir)/vlc-config.in
	$(SHELL) ./config.status --file=$@
	chmod 0755 $@
	touch $@

vlc-config.in: vlc-config.in.in
	./config.status --recheck
	touch $@

# Shortcut for developpers to rebuild the core (libvlc + vlc)
# Don't use it if you don't know what it is about.
# Don't complain if it doesn't work. -- Courmisch
core:
	rm -f src/$(LIB_libvlc)
	$(MAKE) $(AM_MAKEFLAGS) vlc$(EXEEXT)

.PHONY: core

src/$(LIB_libvlc):
	cd src && $(MAKE) $(AM_MAKEFLAGS) $(LIB_libvlc)

vlc$(EXEEXT): $(vlc_OBJECTS) $(DEPENDENCIES_vlc)
	@rm -f vlc$(EXEEXT)
	@case `$(VLC_CONFIG) --linkage vlc builtin` in \
	  c++) cmd="$(CXXLINK)" ;; \
	  objc) cmd="$(OBJCLINK)" ;; \
	  c|*) cmd="$(LINK)" ;; \
	esac ; \
	cmd="$$cmd $(vlc_OBJECTS) $(vlc_LDADD) $(vlc_LDFLAGS)" ; \
	echo $$cmd ; \
	eval $$cmd
@HAVE_BEOS_TRUE@vlc-bundle: vlc
@HAVE_BEOS_TRUE@	rm -Rf $(top_builddir)/vlc-bundle ; mkdir -p $(top_builddir)/vlc-bundle
@HAVE_BEOS_TRUE@	cp $(top_builddir)/vlc $(top_builddir)/vlc-bundle/
@HAVE_BEOS_TRUE@	xres -o $(top_builddir)/vlc-bundle/vlc $(srcdir)/share/vlc_beos.rsrc
@HAVE_BEOS_TRUE@	for i in "" `$(VLC_CONFIG) --target plugin` ; do \
@HAVE_BEOS_TRUE@	  if test -n "$$i" ; then \
@HAVE_BEOS_TRUE@	    mkdir -p $(top_builddir)/vlc-bundle/plugins ; \
@HAVE_BEOS_TRUE@	    cp "$$i$(LIBEXT)" $(top_builddir)/vlc-bundle/plugins/ ; \
@HAVE_BEOS_TRUE@	  fi ; \
@HAVE_BEOS_TRUE@	done
@HAVE_BEOS_TRUE@	if test -d $(top_builddir)/extras/contrib/vlc-lib ; then \
@HAVE_BEOS_TRUE@	  mkdir -p $(top_builddir)/vlc-bundle/lib ; \
@HAVE_BEOS_TRUE@	  for i in $(top_builddir)/extras/contrib/vlc-lib/*.so ; do \
@HAVE_BEOS_TRUE@	    cp $$i $(top_builddir)/vlc-bundle/lib/ ; \
@HAVE_BEOS_TRUE@	  done ; \
@HAVE_BEOS_TRUE@	fi
@HAVE_BEOS_TRUE@	for i in $(ALL_LINGUAS); do \
@HAVE_BEOS_TRUE@	  mkdir -p "$(top_builddir)/vlc-bundle/locale/$$i/LC_MESSAGES" ; \
@HAVE_BEOS_TRUE@	  cp "$(top_builddir)/po/$$i.gmo" \
@HAVE_BEOS_TRUE@	    "$(top_builddir)/vlc-bundle/locale/$$i/LC_MESSAGES/vlc.mo" || true ; \
@HAVE_BEOS_TRUE@	done
@HAVE_BEOS_TRUE@	find $(top_builddir)/vlc-bundle -type f -exec mimeset -f "{}" \;

# Install the symlinks
install-exec-local: install-binPROGRAMS
	for i in "" $(ALIASES) ; do if test -n "$$i" ; then \
	  rm -f "$(DESTDIR)$(bindir)/$$i" && \
	  ln -sf vlc "$(DESTDIR)$(bindir)/$$i" ; \
	fi ; done

# the opposite of install-{data,exec}-local
uninstall-local:
	for i in "" $(ALIASES) ; do if test -n "$$i" ; then \
	  rm -f "$(DESTDIR)$(bindir)/$$i" ; \
	fi ; done
# VLC-release.app is the old VLC.app target
@HAVE_DARWIN_TRUE@VLC-release.app: vlc
@HAVE_DARWIN_TRUE@	@if test -e "$(top_builddir)/tmp"; then \
@HAVE_DARWIN_TRUE@	  echo "Error: please remove $(top_builddir)/tmp, it is in the way"; \
@HAVE_DARWIN_TRUE@	  false; \
@HAVE_DARWIN_TRUE@	else \
@HAVE_DARWIN_TRUE@	  echo "OK."; mkdir -p "$(top_builddir)/tmp/extras"; \
@HAVE_DARWIN_TRUE@	fi
@HAVE_DARWIN_TRUE@	rm -Rf $(top_builddir)/VLC-release.app
@HAVE_DARWIN_TRUE@	cp -R $(srcdir)/extras/MacOSX $(top_builddir)/tmp/extras
@HAVE_DARWIN_TRUE@	for i in AUTHORS COPYING README.MacOSX.rtf THANKS; do \
@HAVE_DARWIN_TRUE@	  cp "$(srcdir)/$$i" $(top_builddir)/tmp; \
@HAVE_DARWIN_TRUE@	done
@HAVE_DARWIN_TRUE@	mkdir -p $(top_builddir)/tmp/modules/audio_output
@HAVE_DARWIN_TRUE@	mkdir -p $(top_builddir)/tmp/modules/gui/macosx
@HAVE_DARWIN_TRUE@	for i in \
@HAVE_DARWIN_TRUE@	    AppleRemote.h \
@HAVE_DARWIN_TRUE@	    AppleRemote.m \
@HAVE_DARWIN_TRUE@	    about.h \
@HAVE_DARWIN_TRUE@	    about.m \
@HAVE_DARWIN_TRUE@	    applescript.h \
@HAVE_DARWIN_TRUE@	    applescript.m \
@HAVE_DARWIN_TRUE@	    controls.h \
@HAVE_DARWIN_TRUE@	    controls.m \
@HAVE_DARWIN_TRUE@	    equalizer.h \
@HAVE_DARWIN_TRUE@	    equalizer.m \
@HAVE_DARWIN_TRUE@	    intf.h \
@HAVE_DARWIN_TRUE@	    intf.m \
@HAVE_DARWIN_TRUE@	    macosx.m \
@HAVE_DARWIN_TRUE@	    misc.h \
@HAVE_DARWIN_TRUE@	    misc.m \
@HAVE_DARWIN_TRUE@	    open.h \
@HAVE_DARWIN_TRUE@	    open.m \
@HAVE_DARWIN_TRUE@	    output.h \
@HAVE_DARWIN_TRUE@	    output.m \
@HAVE_DARWIN_TRUE@	    playlist.h \
@HAVE_DARWIN_TRUE@	    playlist.m \
@HAVE_DARWIN_TRUE@	    playlistinfo.h \
@HAVE_DARWIN_TRUE@	    playlistinfo.m \
@HAVE_DARWIN_TRUE@	    prefs_widgets.h \
@HAVE_DARWIN_TRUE@	    prefs_widgets.m \
@HAVE_DARWIN_TRUE@	    prefs.h \
@HAVE_DARWIN_TRUE@	    prefs.m \
@HAVE_DARWIN_TRUE@	    vout.h \
@HAVE_DARWIN_TRUE@	    voutqt.m \
@HAVE_DARWIN_TRUE@	    voutgl.m \
@HAVE_DARWIN_TRUE@	    wizard.h \
@HAVE_DARWIN_TRUE@	    wizard.m \
@HAVE_DARWIN_TRUE@	    extended.h \
@HAVE_DARWIN_TRUE@	    extended.m \
@HAVE_DARWIN_TRUE@	    bookmarks.h \
@HAVE_DARWIN_TRUE@	    bookmarks.m \
@HAVE_DARWIN_TRUE@	    update.h \
@HAVE_DARWIN_TRUE@	    update.m \
@HAVE_DARWIN_TRUE@	    interaction.h \
@HAVE_DARWIN_TRUE@	    interaction.m \
@HAVE_DARWIN_TRUE@	    embeddedwindow.h \
@HAVE_DARWIN_TRUE@	    embeddedwindow.m \
@HAVE_DARWIN_TRUE@	    vout.m; do \
@HAVE_DARWIN_TRUE@	  cp "$(srcdir)/modules/gui/macosx/$$i" \
@HAVE_DARWIN_TRUE@             $(top_builddir)/tmp/modules/gui/macosx; \
@HAVE_DARWIN_TRUE@	done
@HAVE_DARWIN_TRUE@	case $(target_triplet) in \
@HAVE_DARWIN_TRUE@	  *darwin6*) cd $(top_builddir)/tmp/extras/MacOSX && pbxbuild -target vlc | grep -v '^\([ \t]\|$$\)'; \
@HAVE_DARWIN_TRUE@	    cd ../../../; \
@HAVE_DARWIN_TRUE@	    cp -R $(top_builddir)/tmp/extras/MacOSX/build/VLC.bundle \
@HAVE_DARWIN_TRUE@	          $(top_builddir)/VLC-release.app;; \
@HAVE_DARWIN_TRUE@	  *darwin7*) cd $(top_builddir)/tmp/extras/MacOSX && xcodebuild -target vlc | grep -v '^\([ \t]\|$$\)'; \
@HAVE_DARWIN_TRUE@	    cd ../../../; \
@HAVE_DARWIN_TRUE@	    cp -R $(top_builddir)/tmp/extras/MacOSX/build/VLC.bundle \
@HAVE_DARWIN_TRUE@	          $(top_builddir)/VLC-release.app;; \
@HAVE_DARWIN_TRUE@	  *darwin8*) cd $(top_builddir)/tmp/extras/MacOSX && xcodebuild -target vlc | grep -v '^\([ \t]\|$$\)'; \
@HAVE_DARWIN_TRUE@	    cd ../../../; \
@HAVE_DARWIN_TRUE@	    cp -R $(top_builddir)/tmp/extras/MacOSX/build/Default/VLC.bundle \
@HAVE_DARWIN_TRUE@	          $(top_builddir)/VLC-release.app;; \
@HAVE_DARWIN_TRUE@	esac
@HAVE_DARWIN_TRUE@	rm -Rf $(top_builddir)/tmp
@HAVE_DARWIN_TRUE@	$(INSTALL) -d $(top_builddir)/VLC-release.app/Contents/MacOS
@HAVE_DARWIN_TRUE@	$(INSTALL) $(top_builddir)/vlc \
@HAVE_DARWIN_TRUE@		   $(top_builddir)/VLC-release.app/Contents/MacOS/VLC
@HAVE_DARWIN_TRUE@	ln -sf ./VLC $(top_builddir)/VLC-release.app/Contents/MacOS/clivlc
@HAVE_DARWIN_TRUE@	$(INSTALL) -d $(top_builddir)/VLC-release.app/Contents/MacOS/modules
@HAVE_DARWIN_TRUE@	for i in "" `$(VLC_CONFIG) --target plugin` ; do \
@HAVE_DARWIN_TRUE@	  if test -n "$$i" ; \
@HAVE_DARWIN_TRUE@	    then $(INSTALL) "$$i$(LIBEXT)" \
@HAVE_DARWIN_TRUE@			   "$(top_builddir)/VLC-release.app/Contents/MacOS/modules" ; \
@HAVE_DARWIN_TRUE@	  fi ; done
@HAVE_DARWIN_TRUE@	if test -d $(srcdir)/extras/contrib/vlc-lib; then \
@HAVE_DARWIN_TRUE@	  mkdir -p $(top_builddir)/VLC-release.app/Contents/MacOS/lib ; \
@HAVE_DARWIN_TRUE@	  for i in $(srcdir)/extras/contrib/vlc-lib/*.dylib ; do \
@HAVE_DARWIN_TRUE@	    $(INSTALL) -m 644 $${i} $(top_builddir)/VLC-release.app/Contents/MacOS/lib/`basename $${i}` ; \
@HAVE_DARWIN_TRUE@	  done ; \
@HAVE_DARWIN_TRUE@	fi
@HAVE_DARWIN_TRUE@	$(INSTALL) -d $(top_builddir)/VLC-release.app/Contents/MacOS/share/http/dialogs
@HAVE_DARWIN_TRUE@	$(INSTALL) -d $(top_builddir)/VLC-release.app/Contents/MacOS/share/http/js
@HAVE_DARWIN_TRUE@	$(INSTALL) -d $(top_builddir)/VLC-release.app/Contents/MacOS/share/http/old
@HAVE_DARWIN_TRUE@	$(INSTALL) -d $(top_builddir)/VLC-release.app/Contents/MacOS/share/http/old/admin
@HAVE_DARWIN_TRUE@	$(INSTALL) -d $(top_builddir)/VLC-release.app/Contents/MacOS/share/http/old/vlm
@HAVE_DARWIN_TRUE@	$(INSTALL) -d $(top_builddir)/VLC-release.app/Contents/MacOS/share/http/images
@HAVE_DARWIN_TRUE@	$(INSTALL) -d $(top_builddir)/VLC-release.app/Contents/MacOS/share/http/requests
@HAVE_DARWIN_TRUE@	for i in $(srcdir)/share/http/*.* ; do \
@HAVE_DARWIN_TRUE@	  $(INSTALL) -m 644 $${i} $(top_builddir)/VLC-release.app/Contents/MacOS/share/http/`basename $${i}` ; \
@HAVE_DARWIN_TRUE@	done ; \
@HAVE_DARWIN_TRUE@	for i in $(srcdir)/share/http/dialogs/* ; do \
@HAVE_DARWIN_TRUE@	  $(INSTALL) -m 644 $${i} $(top_builddir)/VLC-release.app/Contents/MacOS/share/http/dialogs/`basename $${i}` ; \
@HAVE_DARWIN_TRUE@	done ; \
@HAVE_DARWIN_TRUE@	for i in $(srcdir)/share/http/js/*.* ; do \
@HAVE_DARWIN_TRUE@	  $(INSTALL) -m 644 $${i} $(top_builddir)/VLC-release.app/Contents/MacOS/share/http/js/`basename $${i}` ; \
@HAVE_DARWIN_TRUE@	done ; \
@HAVE_DARWIN_TRUE@	for i in $(srcdir)/share/http/old/*.* ; do \
@HAVE_DARWIN_TRUE@	  $(INSTALL) -m 644 $${i} $(top_builddir)/VLC-release.app/Contents/MacOS/share/http/old/`basename $${i}` ; \
@HAVE_DARWIN_TRUE@	done ; \
@HAVE_DARWIN_TRUE@	for i in $(srcdir)/share/http/old/admin/*.* ; do \
@HAVE_DARWIN_TRUE@	  $(INSTALL) -m 644 $${i} $(top_builddir)/VLC-release.app/Contents/MacOS/share/http/old/admin/`basename $${i}` ; \
@HAVE_DARWIN_TRUE@	done ; \
@HAVE_DARWIN_TRUE@	for i in $(srcdir)/share/http/old/vlm/*.* ; do \
@HAVE_DARWIN_TRUE@	  $(INSTALL) -m 644 $${i} $(top_builddir)/VLC-release.app/Contents/MacOS/share/http/old/vlm/`basename $${i}` ; \
@HAVE_DARWIN_TRUE@	done ; \
@HAVE_DARWIN_TRUE@	for i in $(srcdir)/share/http/images/*.* ; do \
@HAVE_DARWIN_TRUE@	  $(INSTALL) -m 644 $${i} $(top_builddir)/VLC-release.app/Contents/MacOS/share/http/images/`basename $${i}` ; \
@HAVE_DARWIN_TRUE@	done ; \
@HAVE_DARWIN_TRUE@	for i in $(srcdir)/share/http/requests/*.* ; do \
@HAVE_DARWIN_TRUE@	  $(INSTALL) -m 644 $${i} $(top_builddir)/VLC-release.app/Contents/MacOS/share/http/requests/`basename $${i}` ; \
@HAVE_DARWIN_TRUE@	done ; \
@HAVE_DARWIN_TRUE@	$(INSTALL) -m 644 $(srcdir)/share/http/requests/readme $(top_builddir)/VLC-release.app/Contents/MacOS/share/http/requests/readme.txt
@HAVE_DARWIN_TRUE@	$(INSTALL) -d $(top_builddir)/VLC-release.app/Contents/MacOS/locale
@HAVE_DARWIN_TRUE@	for i in $(ALL_LINGUAS); do \
@HAVE_DARWIN_TRUE@	  mkdir -p $(top_builddir)/VLC-release.app/Contents/MacOS/locale/$${i}/LC_MESSAGES ; \
@HAVE_DARWIN_TRUE@	  cp $(srcdir)/po/$${i}.gmo $(top_builddir)/VLC-release.app/Contents/MacOS/locale/$${i}/LC_MESSAGES/vlc.mo || true ; \
@HAVE_DARWIN_TRUE@	  mkdir -p $(top_builddir)/VLC-release.app/Contents/Resources/$${i}.lproj ; \
@HAVE_DARWIN_TRUE@	  ln -sf ../English.lproj/InfoPlist.strings \
@HAVE_DARWIN_TRUE@	      $(top_builddir)/VLC-release.app/Contents/Resources/$${i}.lproj ; \
@HAVE_DARWIN_TRUE@	  ln -sf ../English.lproj/MainMenu.nib \
@HAVE_DARWIN_TRUE@	      $(top_builddir)/VLC-release.app/Contents/Resources/$${i}.lproj ; \
@HAVE_DARWIN_TRUE@	  ln -sf ../English.lproj/vlc.scriptTerminology \
@HAVE_DARWIN_TRUE@	      $(top_builddir)/VLC-release.app/Contents/Resources/$${i}.lproj ; \
@HAVE_DARWIN_TRUE@	done
@HAVE_DARWIN_TRUE@	printf "APPLVLC#" >| $(top_builddir)/VLC-release.app/Contents/PkgInfo

@HAVE_DARWIN_TRUE@VLC.app: vlc
@HAVE_DARWIN_TRUE@	@if test -e "$(top_builddir)/tmp"; then \
@HAVE_DARWIN_TRUE@	  echo "Error: please remove $(top_builddir)/tmp, it is in the way"; \
@HAVE_DARWIN_TRUE@	  false; \
@HAVE_DARWIN_TRUE@	else \
@HAVE_DARWIN_TRUE@	  echo "OK."; mkdir -p "$(top_builddir)/tmp/extras"; \
@HAVE_DARWIN_TRUE@	fi
@HAVE_DARWIN_TRUE@	rm -Rf $(top_builddir)/VLC.app
@HAVE_DARWIN_TRUE@	cp -R $(srcdir)/extras/MacOSX $(top_builddir)/tmp/extras
@HAVE_DARWIN_TRUE@	for i in AUTHORS COPYING README.MacOSX.rtf THANKS; do \
@HAVE_DARWIN_TRUE@	  cp "$(srcdir)/$$i" $(top_builddir)/tmp; \
@HAVE_DARWIN_TRUE@	done
@HAVE_DARWIN_TRUE@	mkdir -p $(top_builddir)/tmp/modules/audio_output
@HAVE_DARWIN_TRUE@	mkdir -p $(top_builddir)/tmp/modules/gui/macosx
@HAVE_DARWIN_TRUE@	for i in \
@HAVE_DARWIN_TRUE@	    AppleRemote.h \
@HAVE_DARWIN_TRUE@	    AppleRemote.m \
@HAVE_DARWIN_TRUE@	    about.h \
@HAVE_DARWIN_TRUE@	    about.m \
@HAVE_DARWIN_TRUE@	    applescript.h \
@HAVE_DARWIN_TRUE@	    applescript.m \
@HAVE_DARWIN_TRUE@	    controls.h \
@HAVE_DARWIN_TRUE@	    controls.m \
@HAVE_DARWIN_TRUE@	    equalizer.h \
@HAVE_DARWIN_TRUE@	    equalizer.m \
@HAVE_DARWIN_TRUE@	    intf.h \
@HAVE_DARWIN_TRUE@	    intf.m \
@HAVE_DARWIN_TRUE@	    macosx.m \
@HAVE_DARWIN_TRUE@	    misc.h \
@HAVE_DARWIN_TRUE@	    misc.m \
@HAVE_DARWIN_TRUE@	    open.h \
@HAVE_DARWIN_TRUE@	    open.m \
@HAVE_DARWIN_TRUE@	    output.h \
@HAVE_DARWIN_TRUE@	    output.m \
@HAVE_DARWIN_TRUE@	    playlist.h \
@HAVE_DARWIN_TRUE@	    playlist.m \
@HAVE_DARWIN_TRUE@	    playlistinfo.h \
@HAVE_DARWIN_TRUE@	    playlistinfo.m \
@HAVE_DARWIN_TRUE@	    prefs_widgets.h \
@HAVE_DARWIN_TRUE@	    prefs_widgets.m \
@HAVE_DARWIN_TRUE@	    prefs.h \
@HAVE_DARWIN_TRUE@	    prefs.m \
@HAVE_DARWIN_TRUE@	    vout.h \
@HAVE_DARWIN_TRUE@	    voutqt.m \
@HAVE_DARWIN_TRUE@	    voutgl.m \
@HAVE_DARWIN_TRUE@	    wizard.h \
@HAVE_DARWIN_TRUE@	    wizard.m \
@HAVE_DARWIN_TRUE@	    extended.h \
@HAVE_DARWIN_TRUE@	    extended.m \
@HAVE_DARWIN_TRUE@	    bookmarks.h \
@HAVE_DARWIN_TRUE@	    bookmarks.m \
@HAVE_DARWIN_TRUE@	    update.h \
@HAVE_DARWIN_TRUE@	    update.m \
@HAVE_DARWIN_TRUE@	    interaction.h \
@HAVE_DARWIN_TRUE@	    interaction.m \
@HAVE_DARWIN_TRUE@	    embeddedwindow.h \
@HAVE_DARWIN_TRUE@	    embeddedwindow.m \
@HAVE_DARWIN_TRUE@	    vout.m; do \
@HAVE_DARWIN_TRUE@	  cp "$(srcdir)/modules/gui/macosx/$$i" \
@HAVE_DARWIN_TRUE@             $(top_builddir)/tmp/modules/gui/macosx; \
@HAVE_DARWIN_TRUE@	done
@HAVE_DARWIN_TRUE@	case $(target_triplet) in \
@HAVE_DARWIN_TRUE@	  *darwin6*) cd $(top_builddir)/tmp/extras/MacOSX && pbxbuild -target vlc | grep -v '^\([ \t]\|$$\)'; \
@HAVE_DARWIN_TRUE@	    cd ../../../; \
@HAVE_DARWIN_TRUE@	    cp -R $(top_builddir)/tmp/extras/MacOSX/build/VLC.bundle \
@HAVE_DARWIN_TRUE@	          $(top_builddir)/VLC.app;; \
@HAVE_DARWIN_TRUE@	  *darwin7*) cd $(top_builddir)/tmp/extras/MacOSX && xcodebuild -target vlc | grep -v '^\([ \t]\|$$\)'; \
@HAVE_DARWIN_TRUE@	    cd ../../../; \
@HAVE_DARWIN_TRUE@	    cp -R $(top_builddir)/tmp/extras/MacOSX/build/VLC.bundle \
@HAVE_DARWIN_TRUE@	          $(top_builddir)/VLC.app;; \
@HAVE_DARWIN_TRUE@	  *darwin8*) cd $(top_builddir)/tmp/extras/MacOSX && xcodebuild -target vlc | grep -v '^\([ \t]\|$$\)'; \
@HAVE_DARWIN_TRUE@	    cd ../../../; \
@HAVE_DARWIN_TRUE@	    cp -R $(top_builddir)/tmp/extras/MacOSX/build/Default/VLC.bundle \
@HAVE_DARWIN_TRUE@	          $(top_builddir)/VLC.app;; \
@HAVE_DARWIN_TRUE@	esac
@HAVE_DARWIN_TRUE@	rm -Rf $(top_builddir)/tmp
@HAVE_DARWIN_TRUE@	$(INSTALL) -d $(top_builddir)/VLC.app/Contents/MacOS
@HAVE_DARWIN_TRUE@	$(INSTALL) $(top_builddir)/vlc \
@HAVE_DARWIN_TRUE@		   $(top_builddir)/VLC.app/Contents/MacOS/VLC
@HAVE_DARWIN_TRUE@	ln -sf ./VLC $(top_builddir)/VLC.app/Contents/MacOS/clivlc
@HAVE_DARWIN_TRUE@	$(INSTALL) -d $(top_builddir)/VLC.app/Contents/MacOS/modules
@HAVE_DARWIN_TRUE@	for i in "" `$(VLC_CONFIG) --target plugin` ; do \
@HAVE_DARWIN_TRUE@	  if test -n "$$i" ; \
@HAVE_DARWIN_TRUE@	    then ln -sfn "`pwd`/$$i$(LIBEXT)" \
@HAVE_DARWIN_TRUE@			   "$(top_builddir)/VLC.app/Contents/MacOS/modules" ; \
@HAVE_DARWIN_TRUE@	  fi ; done
@HAVE_DARWIN_TRUE@	if test -d $(srcdir)/extras/contrib/vlc-lib; then \
@HAVE_DARWIN_TRUE@	  mkdir -p $(top_builddir)/VLC.app/Contents/MacOS/lib ; \
@HAVE_DARWIN_TRUE@	  for i in $(srcdir)/extras/contrib/vlc-lib/*.dylib ; do \
@HAVE_DARWIN_TRUE@	    ln -sfn `pwd`/$${i} $(top_builddir)/VLC.app/Contents/MacOS/lib/`basename $${i}` ; \
@HAVE_DARWIN_TRUE@	  done ; \
@HAVE_DARWIN_TRUE@	fi
@HAVE_DARWIN_TRUE@	ln -sfn `pwd`/share $(top_builddir)/VLC.app/Contents/MacOS/
@HAVE_DARWIN_TRUE@	$(INSTALL) -d $(top_builddir)/VLC.app/Contents/MacOS/locale
@HAVE_DARWIN_TRUE@	for i in $(ALL_LINGUAS); do \
@HAVE_DARWIN_TRUE@	  mkdir -p $(top_builddir)/VLC.app/Contents/MacOS/locale/$${i}/LC_MESSAGES ; \
@HAVE_DARWIN_TRUE@	  ln -sfn `pwd`/po/$${i}.gmo $(top_builddir)/VLC.app/Contents/MacOS/locale/$${i}/LC_MESSAGES/vlc.mo || true ; \
@HAVE_DARWIN_TRUE@	  mkdir -p $(top_builddir)/VLC.app/Contents/Resources/$${i}.lproj ; \
@HAVE_DARWIN_TRUE@	  ln -sf ../English.lproj/InfoPlist.strings \
@HAVE_DARWIN_TRUE@	      $(top_builddir)/VLC.app/Contents/Resources/$${i}.lproj ; \
@HAVE_DARWIN_TRUE@	  ln -sf ../English.lproj/MainMenu.nib \
@HAVE_DARWIN_TRUE@	      $(top_builddir)/VLC.app/Contents/Resources/$${i}.lproj ; \
@HAVE_DARWIN_TRUE@	done
@HAVE_DARWIN_TRUE@	printf "APPLVLC#" >| $(top_builddir)/VLC.app/Contents/PkgInfo
@HAVE_WIN32_TRUE@share/vlc_win32_rc.$(OBJEXT): share/vlc_win32_rc.rc
@HAVE_WIN32_TRUE@	$(WINDRES) -DVERSION=$(VERSION) -DVERSION_NUMBER=`echo $(VERSION).0.0.0 | sed 's/\([0-9]*\)[^.]*\.*\([0-9]*\)[^.]*\.*\([0-9]*\)[^.]*\.*\([0-9]*\).*/\1,\2,\3,\4/'` --include-dir $(srcdir)/share -i $< -o $@

###############################################################################
# Building specific source packages
###############################################################################

dist-woody: distdir
	$(remove_distdir_woody)
	mv $(distdir) $(PACKAGE)-woody-$(VERSION)
	$(srcdir)/toolbox --make-woody $(PACKAGE)-woody-$(VERSION)
	$(AMTAR) chof - $(PACKAGE)-woody-$(VERSION) \
	  | GZIP=$(GZIP_ENV) gzip -c >$(PACKAGE)-woody-$(VERSION).tar.gz
	$(remove_distdir_woody)

###############################################################################
# Building architecture-specific binary packages
###############################################################################

# XXX: this rule is probably only useful to you if you have exactly
# the same setup as me. Contact sam@zoy.org if you need to use it.
#

package-win-common:
# Check that tmp isn't in the way
	@if test -e "$(top_builddir)/vlc-${VERSION}"; then \
	  echo "Error: please remove $(top_builddir)/vlc-${VERSION}, it is in the way"; \
	  false; \
	else \
	  echo "OK."; mkdir -p "$(top_builddir)/vlc-${VERSION}"; \
	fi

# Copy relevant files
	cp "$(top_builddir)/vlc$(EXEEXT)" "$(top_builddir)/vlc-${VERSION}/"
	cp "$(top_srcdir)/vlc.exe.manifest" "$(top_builddir)/vlc-${VERSION}/"
@BUILD_SHARED_TRUE@	cp "src/libvlc$(LIBEXT)" "vlc-${VERSION}/"

	for file in AUTHORS MAINTAINERS THANKS NEWS COPYING README ; \
	  do sed 's/@/_AT_/' < "$(srcdir)/$$file" > "$(top_builddir)/vlc-${VERSION}/$${file}.txt" ; \
	  unix2dos "$(top_builddir)/vlc-${VERSION}/$${file}.txt" ; done

	mkdir $(top_builddir)/vlc-${VERSION}/locale
	for i in $(ALL_LINGUAS); do \
	  mkdir -p "$(top_builddir)/vlc-${VERSION}/locale/$${i}/LC_MESSAGES" ; \
	  cp "$(srcdir)/po/$${i}.gmo" \
	    "$(top_builddir)/vlc-${VERSION}/locale/$${i}/LC_MESSAGES/vlc.mo" \
            || true ; \
	done

	mkdir -p "$(top_builddir)/vlc-${VERSION}/http/images"
	mkdir -p "$(top_builddir)/vlc-${VERSION}/http/requests"
	mkdir -p "$(top_builddir)/vlc-${VERSION}/http/js"
	mkdir -p "$(top_builddir)/vlc-${VERSION}/http/dialogs"
	mkdir -p "$(top_builddir)/vlc-${VERSION}/http/old"
	mkdir -p "$(top_builddir)/vlc-${VERSION}/http/old/vlm"
	mkdir -p "$(top_builddir)/vlc-${VERSION}/http/old/admin"
	cp $(srcdir)/share/http/*.html $(top_builddir)/vlc-${VERSION}/http/ ;
	unix2dos $(top_builddir)/vlc-${VERSION}/http/*.html ;
	cp $(srcdir)/share/http/*.css $(top_builddir)/vlc-${VERSION}/http/ ;
	unix2dos $(top_builddir)/vlc-${VERSION}/http/*.css ;
	cp $(srcdir)/share/http/js/*.js $(top_builddir)/vlc-${VERSION}/http/js/ ;
	unix2dos $(top_builddir)/vlc-${VERSION}/http/js/*.js ;
	cp $(srcdir)/share/http/dialogs/* $(top_builddir)/vlc-${VERSION}/http/dialogs/ ;
	unix2dos $(top_builddir)/vlc-${VERSION}/http/dialogs/* ;
	cp $(srcdir)/share/http/*.ico $(top_builddir)/vlc-${VERSION}/http/ ;
	cp $(srcdir)/share/http/images/*.png $(top_builddir)/vlc-${VERSION}/http/images/
	cp $(srcdir)/share/http/requests/*.xml $(top_builddir)/vlc-${VERSION}/http/requests/ ;
	unix2dos $(top_builddir)/vlc-${VERSION}/http/requests/*.xml ;
	cp $(srcdir)/share/http/requests/readme $(top_builddir)/vlc-${VERSION}/http/requests/readme.txt ;
	unix2dos $(top_builddir)/vlc-${VERSION}/http/requests/readme.txt ;

	cp $(srcdir)/share/http/old/*.html $(top_builddir)/vlc-${VERSION}/http/old/ ;
	unix2dos $(top_builddir)/vlc-${VERSION}/http/old/*.html ;
	cp $(srcdir)/share/http/old/*.css $(top_builddir)/vlc-${VERSION}/http/old/ ;
	cp $(srcdir)/share/http/old/*.png $(top_builddir)/vlc-${VERSION}/http/old/ ;
	cp $(srcdir)/share/http/old/vlm/*.html $(top_builddir)/vlc-${VERSION}/http/old/vlm/ ;
	unix2dos $(top_builddir)/vlc-${VERSION}/http/old/vlm/*.html ;
	cp $(srcdir)/share/http/old/admin/*.html $(top_builddir)/vlc-${VERSION}/http/old/admin/ ;
	unix2dos $(top_builddir)/vlc-${VERSION}/http/old/admin/*.html ;

	cp $(srcdir)/share/vlc48x48.ico $(top_builddir)/vlc-${VERSION}/ ;

@BUILD_MOZILLA_TRUE@	mkdir -p "$(top_builddir)/vlc-${VERSION}/mozilla"
@BUILD_MOZILLA_TRUE@	cp $(top_builddir)/mozilla/*$(LIBEXT) $(top_builddir)/vlc-${VERSION}/mozilla/ ;

@BUILD_ACTIVEX_TRUE@	mkdir -p "$(top_builddir)/vlc-${VERSION}/activex"
@BUILD_ACTIVEX_TRUE@	cp $(srcdir)/activex/README.TXT  $(top_builddir)/vlc-${VERSION}/activex/ ;
@BUILD_ACTIVEX_TRUE@	cp $(srcdir)/activex/test.html  $(top_builddir)/vlc-${VERSION}/activex/ ;
@BUILD_ACTIVEX_TRUE@	unix2dos $(top_builddir)/vlc-${VERSION}/activex/* ;

@BUILD_ACTIVEX_TRUE@	cp $(top_builddir)/activex/*$(LIBEXT) $(top_builddir)/vlc-${VERSION}/activex/ ;
# Rebase all those DLLs to speed up loading (need cygwin rebase)
	if rebase -b 0x42 /dev/null >/dev/null 2>&1; then \
		find $(top_builddir)/vlc-${VERSION} -type f -name '*.dll' -print | rebase -b 0x70000000 -T -; \
	fi

package-win-common-strip:
	$(STRIP) "$(top_builddir)/vlc-${VERSION}/vlc$(EXEEXT)"
@BUILD_SHARED_TRUE@	$(STRIP) "vlc-${VERSION}/libvlc$(LIBEXT)"
@BUILD_MOZILLA_TRUE@	$(STRIP) $(top_builddir)/vlc-${VERSION}/mozilla/*$(LIBEXT);
@BUILD_ACTIVEX_TRUE@	$(STRIP) $(top_builddir)/vlc-${VERSION}/activex/*$(LIBEXT);

package-win32-base-debug: package-win-common
# Copy relevant files
	cp "$(top_builddir)/vlc.win32.nsi" "$(top_builddir)/vlc-${VERSION}/"

	mkdir -p "$(top_builddir)/vlc-${VERSION}/plugins"
	for i in "" `$(VLC_CONFIG) --target plugin` ; do \
	  if test -n "$$i" ; then \
	    $(INSTALL) "$(top_builddir)/$$i$(LIBEXT)" \
            "$(top_builddir)/vlc-${VERSION}/plugins/" ; \
	  fi ; done

	mkdir -p $(top_builddir)/vlc-${VERSION}/skins/fonts
	for i in $(srcdir)/share/skins2/fonts/*.*; do \
	  cp $$i $(top_builddir)/vlc-${VERSION}/skins/fonts/ || true ; \
	done
	for i in $(srcdir)/share/skins2/*.*; do \
	  cp $$i $(top_builddir)/vlc-${VERSION}/skins/ || true ; \
	done

	mkdir -p "$(top_builddir)/vlc-${VERSION}/osdmenu"
	cp $(srcdir)/share/osdmenu/*.* "$(top_builddir)/vlc-${VERSION}/osdmenu"
	for dir in dvd dvd/selected dvd/unselect dvd/selection dvd/volume default default/selected default/selection default/volume;do \
		mkdir -p "$(top_builddir)/vlc-${VERSION}/osdmenu/$$dir"; \
		for file in $(srcdir)/share/osdmenu/$${dir}/*.*;do \
			 cp $$file "$(top_builddir)/vlc-${VERSION}/osdmenu/$$dir" || true; \
		done; \
	done
	unix2dos $(top_builddir)/vlc-${VERSION}/osdmenu/*.cfg;
	sed -i 's%share/osdmenu%osdmenu%g' $(top_builddir)/vlc-${VERSION}/osdmenu/*.cfg
	sed -i 's%/%\\%g' $(top_builddir)/vlc-${VERSION}/osdmenu/*.cfg 

package-win32-base: package-win32-base-debug package-win-common-strip
	for i in "" $(top_builddir)/vlc-${VERSION}/plugins/*$(LIBEXT) ; \
	  do if test -n "$$i" ; then $(STRIP) "$$i" ; fi ; done

package-win32-base-exe: package-win32-base
# Create package
	if makensis -VERSION >/dev/null 2>&1; then \
	    MAKENSIS="makensis -DVERSION=${VERSION}"; \
	elif [ -x "/cygdrive/c/Program Files/NSIS/makensis" ]; then \
	    MAKENSIS="/cygdrive/c/Program\ Files/NSIS/makensis /DVERSION=${VERSION}"; \
	elif wine --version >dev/null 2>&1; then \
	    MAKENSIS="wine C:/Program\ Files/NSIS/makensis.exe /DVERSION=${VERSION}"; \
	else \
	    echo 'Error: cannot locate makensis tool'; exit 1; \
	fi; \
	eval "$$MAKENSIS $(top_builddir)/vlc-${VERSION}/vlc.win32.nsi"

package-win32-base-exe-cygwin: package-win32-base-exe
# Create package

package-win32-base-exe-linux:
# Create package
	makensis -DVERSION=${VERSION} $(top_builddir)/vlc-${VERSION}/vlc.win32.nsi

package-win32-base-zip: package-win32-base
# Create package 
	zip -r vlc-${VERSION}-win32.zip vlc-${VERSION}

package-win32-base-7zip: package-win32-base
# Create package 
	7z a -t7z -m0=lzma -mx=9 -mfb=64 -md=32m -ms=on vlc-${VERSION}-win32.7z vlc-${VERSION}

package-win32-exe: package-win32-base package-win32-base-exe
# Clean up
	rm -Rf $(top_builddir)/vlc-${VERSION}

package-win32-exe-linux: package-win32-base package-win32-base-exe-linux
# Clean up
	rm -Rf $(top_builddir)/vlc-${VERSION}

package-win32-zip: package-win32-base-zip
# Clean up
	rm -Rf $(top_builddir)/vlc-${VERSION}

package-win32-7zip: package-win32-base-7zip
# Clean up
	rm -Rf $(top_builddir)/vlc-${VERSION}

package-win32: package-win32-base-exe package-win32-base-zip
# Clean up
	rm -Rf $(top_builddir)/vlc-${VERSION}

package-wince-base: package-win-common package-win-common-strip

package-wince-base-zip:
# Create package 
	zip -r vlc-${VERSION}-wince.zip vlc-${VERSION}

package-wince: package-wince-base  package-wince-base-zip
# Clean up
	rm -Rf $(top_builddir)/vlc-${VERSION}

package-beos:
# Check that tmp isn't in the way
	@if test -e $(srcdir)/tmp; then \
	  echo "Error: please remove $(srcdir)/tmp, it is in the way"; \
	  false ; \
	else \
	  echo "OK." ; mkdir $(srcdir)/tmp ; \
	fi

# Copy relevant files
	mkdir -p $(srcdir)/tmp/vlc ;
	cd $(srcdir) && cp -R vlc-bundle/* AUTHORS COPYING ChangeLog README \
	  THANKS NEWS tmp/vlc/ ;

# Create debug package
	xres -o $(srcdir)/tmp/vlc/vlc $(srcdir)/share/vlc_beos.rsrc ;
	find $(srcdir)/tmp/vlc -exec mimeset -f {} \; ;
	mv $(srcdir)/tmp/vlc $(srcdir)/tmp/vlc-${VERSION} ;
	(cd $(srcdir)/tmp ; zip -9 -r vlc-${VERSION}-BeOS-debug.zip vlc-${VERSION} )
	mv $(srcdir)/tmp/vlc-${VERSION}-BeOS-debug.zip $(srcdir)/ ;
	mv $(srcdir)/tmp/vlc-${VERSION} $(srcdir)/tmp/vlc ;

# Create normal package
	$(STRIP) --strip-debug --strip-unneeded $(srcdir)/tmp/vlc/vlc ;
	find $(srcdir)/tmp/vlc -name 'lib*.so' -exec $(STRIP) \
	  --strip-debug --strip-unneeded "{}" \; ;
	xres -o $(srcdir)/tmp/vlc/vlc $(srcdir)/share/vlc_beos.rsrc ;
	find $(srcdir)/tmp/vlc -exec mimeset -f {} \; ;
	mv $(srcdir)/tmp/vlc $(srcdir)/tmp/vlc-${VERSION} ;
	(cd $(srcdir)/tmp ; zip -9 -r vlc-${VERSION}-BeOS.zip vlc-${VERSION} )
	mv $(srcdir)/tmp/vlc-${VERSION}-BeOS.zip $(srcdir)/ ;

# Clean up
	rm -Rf $(srcdir)/tmp ;

package-macosx:
# Check that the temporary location isn't in the way
	@if test -e "$(top_builddir)/vlc-${VERSION}/"; then \
	  rm -Rf "$(top_builddir)/vlc-${VERSION}/" ; \
	fi

	echo "Create package directory: vlc-${VERSION}/";
	mkdir -p "$(top_builddir)/vlc-${VERSION}/";

# Copy relevant files 
	@if test -e "$(top_builddir)/VLC-release.app/"; then \
	  cp -R "$(top_builddir)/VLC-release.app" "$(top_builddir)/vlc-${VERSION}/VLC.app"; \
	else \
	  cp -R "$(top_builddir)/VLC.app" "$(top_builddir)/vlc-${VERSION}/VLC.app"; \
	fi
	cd "$(srcdir)" && cp AUTHORS COPYING ChangeLog README README.MacOSX.rtf THANKS NEWS $(top_builddir)/vlc-${VERSION}/ && cp -R extras/MacOSX/Delete_Preferences.app $(top_builddir)/vlc-${VERSION}/

# Create disk image 
	echo "Creating disk image" ;
	rm -f "$(top_builddir)/vlc-${VERSION}.dmg" ;
	hdiutil create -srcfolder "$(top_builddir)/vlc-${VERSION}" \
	  "$(top_builddir)/vlc-${VERSION}.dmg" -format UDZO \
	  -scrub -imagekey zlib-level=9 ;
	echo "Disk image creation completed:" ;
	ls -la "$(top_builddir)/vlc-${VERSION}.dmg" ; echo ;

# Clean up
	rm -Rf "$(top_builddir)/vlc-${VERSION}" ;

package-macosx-plugin:
# Create Installer
@BUILD_MOZILLA_TRUE@	rm -rf "$(top_builddir)/macosx-plugin-instdata/"; true
@BUILD_MOZILLA_TRUE@	mkdir -p "$(top_builddir)/macosx-plugin-instdata"
@BUILD_MOZILLA_TRUE@	cp -R "$(top_builddir)/mozilla/VLC Plugin.plugin" "$(top_builddir)/macosx-plugin-instdata"
@BUILD_MOZILLA_TRUE@	rm -rf "$(top_builddir)/VLC Internet Plug-In.pkg"
@BUILD_MOZILLA_TRUE@	/Developer/Tools/packagemaker -build -ds -p "$(top_builddir)/VLC Internet Plug-In.pkg" \
@BUILD_MOZILLA_TRUE@	-f "$(top_builddir)/macosx-plugin-instdata" \
@BUILD_MOZILLA_TRUE@	-i "$(srcdir)/extras/MacOSX/plugin/InstallerInfo.plist" \
@BUILD_MOZILLA_TRUE@	-d "$(srcdir)/extras/MacOSX/plugin/InstallerDescription.plist"; true
@BUILD_MOZILLA_TRUE@	rm -rf "$(top_builddir)/macosx-plugin-instdata/"

# Create disk image 
@BUILD_MOZILLA_TRUE@	rm -f "$(top_builddir)/vlc-plugin-${VERSION}.dmg"; true
@BUILD_MOZILLA_TRUE@	rm -rf "$(top_builddir)/vlc-plugin-${VERSION}/"; true
@BUILD_MOZILLA_TRUE@	mkdir -p "$(top_builddir)/vlc-plugin-${VERSION}/"
@BUILD_MOZILLA_TRUE@	mv "$(top_builddir)/VLC Internet Plug-In.pkg" "$(top_builddir)/vlc-plugin-${VERSION}/"
@BUILD_MOZILLA_TRUE@	hdiutil create -srcfolder "$(top_builddir)/vlc-plugin-${VERSION}" \
@BUILD_MOZILLA_TRUE@	  "$(top_builddir)/vlc-plugin-${VERSION}.dmg" -format UDZO \
@BUILD_MOZILLA_TRUE@	  -scrub -imagekey zlib-level=9 ;
@BUILD_MOZILLA_TRUE@	echo "Disk image creation completed:"
@BUILD_MOZILLA_TRUE@	rm -rf "$(top_builddir)/vlc-plugin-${VERSION}"

package-translations:
	@if test -e "$(srcdir)/vlc-translations-${VERSION}"; then \
	  echo "Error: please remove $(srcdir)/vlc-translations-${VERSION}, it is in the way"; \
	  false; \
	else \
	  echo "OK."; mkdir -p "$(srcdir)/vlc-translations-${VERSION}"; \
	fi
# Copy translations
	for i in $(ALL_LINGUAS); do \
	  cp "$(srcdir)/po/$${i}.po" \
	    "$(srcdir)/vlc-translations-${VERSION}/$${i}.po" \
	    || true ; \
	done
	cp "$(srcdir)/doc/translations.txt" \
	  "$(srcdir)/vlc-translations-${VERSION}/README.txt"

	echo "#!/bin/sh" >>"$(srcdir)/vlc-translations-$(VERSION)/convert.po.sh"
	echo "" >>"$(srcdir)/vlc-translations-$(VERSION)/convert.po.sh"
	echo 'if test $$# != 1; then' >>"$(srcdir)/vlc-translations-$(VERSION)/convert.po.sh"
	echo "	echo \"Usage: convert-po.sh <.po file>\"" >>"$(srcdir)/vlc-translations-$(VERSION)/convert.po.sh"
	echo "	exit 1" >>"$(srcdir)/vlc-translations-$(VERSION)/convert.po.sh"
	echo "fi" >>"$(srcdir)/vlc-translations-$(VERSION)/convert.po.sh"
	echo "" >>"$(srcdir)/vlc-translations-$(VERSION)/convert.po.sh"
	echo 'msgfmt --statistics -o vlc.mo $$1' >>"$(srcdir)/vlc-translations-$(VERSION)/convert.po.sh"

	$(AMTAR) chof - $(srcdir)/vlc-translations-$(VERSION) \
	  | GZIP=$(GZIP_ENV) gzip -c >$(srcdir)/vlc-translations-$(VERSION).tar.gz

###############################################################################
# PO translation files update
###############################################################################
.PHONY: update-po

update-po:
	rm -f $(top_srcdir)/po/POTFILES.in
	{ \
	  cd $(top_srcdir) ; \
	  echo "# automatically created by make update-po" ; \
	  echo "" ; \
	  echo "# main sources" ; \
	  find include src -name '*.[chm]' -o -name '*.[ch]pp' \
	    | grep -v '\(vlc_symbols\|misc/modules_\|src/misc/version.c\)' \
	    | sort ; \
	  echo "" ; \
	  echo "# modules" ; \
	  find modules -name '*.[chm]' -o -name '*.[ch]pp' \
	    | grep -v '\(\.moc\.\|gui/gtk2/\)' \
	    | sort ; \
	} > $(top_srcdir)/po/POTFILES.in
	rm -f $(top_srcdir)/po/vlc.pot
	cd po && $(MAKE) POTFILES vlc.pot update-po

#cd po && $(MAKE) update-po

###############################################################################
# Stamp rules
###############################################################################
stamp-builtin: FORCE
	@for dep in "" `$(VLC_CONFIG) --target builtin`; do \
	  if test "$${dep}" -nt "$(top_builddir)/vlc$(EXEEXT)"; then \
	    rm -f $@; \
	    break; \
	  fi; \
	done
	@if test ! -f $@; then printf "" > $@; fi

###############################################################################
# Enforce Mac OS X deployment target environment variable
###############################################################################
macosx-sdk: Makefile.in $(HEADERS_include) vlc-config vlc-api.pl
	export MACOSX_DEPLOYMENT_TARGET=$(MACOSX_DEPLOYMENT_TARGET)

###############################################################################
# Force rule
###############################################################################
FORCE:
# Tell versions [3.59,3.63) of GNU make to not export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded.
.NOEXPORT:
