2002-09-30 19:05:42 +08:00
|
|
|
###############################################################################
|
|
|
|
# Automake targets and declarations
|
|
|
|
###############################################################################
|
2002-08-26 07:18:05 +08:00
|
|
|
|
2003-03-26 07:32:00 +08:00
|
|
|
NULL =
|
|
|
|
|
2002-09-30 19:05:42 +08:00
|
|
|
# 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.
|
2003-07-31 19:02:01 +08:00
|
|
|
# - intl should come before modules and . because all the code uses gettext
|
|
|
|
# - modules should come before . because vlc needs the builtins
|
2005-11-26 23:36:28 +08:00
|
|
|
# - . should come before mozilla/bindings because the plugin needs libvlc_pic.a
|
2003-07-31 19:02:01 +08:00
|
|
|
# - po should come before . because VLC.app needs the pofiles
|
2005-06-29 02:02:01 +08:00
|
|
|
# - loader should come before modules because some plugins need it
|
2005-11-26 23:36:28 +08:00
|
|
|
SUBDIRS = intl loader modules po . mozilla bindings activex share m4 doc
|
2005-08-20 00:06:54 +08:00
|
|
|
DIST_SUBDIRS = $(SUBDIRS) debian ipkg lib
|
2002-08-26 07:18:05 +08:00
|
|
|
|
2003-03-26 07:32:00 +08:00
|
|
|
EXTRA_DIST = \
|
|
|
|
HACKING \
|
|
|
|
INSTALL.win32 \
|
2005-10-01 19:15:36 +08:00
|
|
|
INSTALL.wince \
|
2004-03-04 01:18:38 +08:00
|
|
|
vlc.exe.manifest \
|
2003-03-26 07:32:00 +08:00
|
|
|
MAINTAINERS \
|
|
|
|
README.MacOSX.rtf \
|
|
|
|
bootstrap \
|
|
|
|
src/extras/COPYING \
|
|
|
|
toolbox \
|
2005-06-02 20:47:30 +08:00
|
|
|
vlc-api.pl \
|
2003-06-27 21:50:13 +08:00
|
|
|
vlc-config.in.in \
|
2003-03-26 07:32:00 +08:00
|
|
|
vlc.spec \
|
2003-07-16 02:01:42 +08:00
|
|
|
vlc.spec.mdk \
|
2004-05-15 01:07:50 +08:00
|
|
|
vlc.win32.nsi \
|
2005-08-20 17:37:02 +08:00
|
|
|
src/misc/modules_builtin.h.in \
|
2003-03-26 07:32:00 +08:00
|
|
|
$(NULL)
|
|
|
|
|
2005-08-23 03:00:19 +08:00
|
|
|
BUILT_SOURCES_distclean = vlc-config
|
|
|
|
BUILT_SOURCES_clean = \
|
2005-08-20 00:06:54 +08:00
|
|
|
stamp-api \
|
|
|
|
src/misc/modules_builtin.h \
|
|
|
|
src/misc/version.c \
|
|
|
|
$(NULL)
|
|
|
|
|
2005-08-23 03:00:19 +08:00
|
|
|
BUILT_SOURCES = $(BUILT_SOURCES_distclean) $(BUILT_SOURCES_clean)
|
2005-08-22 21:09:25 +08:00
|
|
|
|
2002-09-30 19:05:42 +08:00
|
|
|
SUFFIXES =
|
|
|
|
|
|
|
|
# Tell aclocal to use -I m4. Wonder if it really works.
|
|
|
|
ACLOCAL_AMFLAGS = -I m4
|
|
|
|
|
2003-06-22 01:04:20 +08:00
|
|
|
# XXX: these flags could be set in configure.ac, but we set them here
|
2002-10-02 20:59:59 +08:00
|
|
|
# because old versions of automake don't support them in configure.ac.
|
2003-02-01 06:35:44 +08:00
|
|
|
AUTOMAKE_OPTIONS = dist-bzip2 subdir-objects
|
2002-10-02 20:59:59 +08:00
|
|
|
|
2002-09-30 19:05:42 +08:00
|
|
|
###############################################################################
|
|
|
|
# Headers
|
|
|
|
###############################################################################
|
|
|
|
|
|
|
|
pkgincludedir = $(includedir)/vlc
|
|
|
|
|
|
|
|
dist_pkginclude_HEADERS = \
|
|
|
|
include/vlc/vlc.h \
|
|
|
|
include/vlc/aout.h \
|
|
|
|
include/vlc/vout.h \
|
|
|
|
include/vlc/sout.h \
|
|
|
|
include/vlc/decoder.h \
|
|
|
|
include/vlc/input.h \
|
2002-11-10 00:34:53 +08:00
|
|
|
include/vlc/intf.h \
|
2005-06-02 05:58:13 +08:00
|
|
|
include/vlc/control.h \
|
2002-11-10 00:34:53 +08:00
|
|
|
$(NULL)
|
2002-09-30 19:05:42 +08:00
|
|
|
|
2005-06-02 20:47:30 +08:00
|
|
|
noinst_HEADERS = $(HEADERS_include)
|
2005-08-20 20:30:12 +08:00
|
|
|
noinst_DATA = $(DATA_noinst_beos) $(DATA_noinst_libvlc)
|
2002-09-30 19:05:42 +08:00
|
|
|
|
|
|
|
HEADERS_include = \
|
|
|
|
include/aout_internal.h \
|
|
|
|
include/audio_output.h \
|
|
|
|
include/beos_specific.h \
|
2003-08-23 20:59:31 +08:00
|
|
|
include/charset.h \
|
2002-11-04 23:04:45 +08:00
|
|
|
include/codecs.h \
|
2004-07-22 14:59:56 +08:00
|
|
|
include/configuration.h \
|
|
|
|
include/darwin_specific.h \
|
2002-09-30 19:05:42 +08:00
|
|
|
include/intf_eject.h \
|
|
|
|
include/iso_lang.h \
|
|
|
|
include/main.h \
|
|
|
|
include/mmx.h \
|
|
|
|
include/modules.h \
|
|
|
|
include/modules_inner.h \
|
|
|
|
include/mtime.h \
|
|
|
|
include/network.h \
|
|
|
|
include/os_specific.h \
|
2004-05-28 04:31:22 +08:00
|
|
|
include/snapshot.h \
|
2002-09-30 19:05:42 +08:00
|
|
|
include/stream_output.h \
|
Changes to the libvlc API:
* ./include/vlc/vlc.h: changed the naming conventions for libvlc. Now
exported functions start with VLC_ instead of vlc_ to avoid conflicts.
* ./include/vlc/vlc.h: removed the vlc_object_t, vlc_list_t, vlc_error_t
and vlc_t types; they are now internal types only.
* ./include/vlc/vlc.h: merged the reentrant and non-reentrant libvlc
calls. In non-reentrant mode, we just use 0 as the first argument. In
reentrant mode, we use an object's ID. (see below)
Internal changes:
* ./src/libvlc.c, ./src/misc/objects.c: instead of manipulating vlc_object_t
pointers, we manipulate their i_object_id. When needed, an object is
retrieved using vlc_object_get (I hope the lookup isn't too expensive,
that's why I designed the pp_objects layout to allow log2(n) seeks).
* ./src/misc/objects.c: activated the per-object variable storage. Unused
yet, unless you want to try "getfoo" and "setfoo blablah" in vlc -I rc.
* ./include/vlc_objects.h: moved the vlc_object_t and vlc_list_t definitions
here.
Misc:
* ./src/vlc.c, ./mozilla/vlcshell.cpp: removed inclusion of config.h in
code portions not part of libvlc; it was just required for the
COPYRIGHT_MESSAGE string which is now available from VLC_Version().
2002-10-12 06:32:56 +08:00
|
|
|
include/variables.h \
|
2002-09-30 19:05:42 +08:00
|
|
|
include/video_output.h \
|
2004-07-22 14:59:56 +08:00
|
|
|
include/vlc_access.h \
|
2005-07-13 00:00:43 +08:00
|
|
|
include/vlc_acl.h \
|
2003-11-19 04:15:38 +08:00
|
|
|
include/vlc_bits.h \
|
2003-11-21 06:10:56 +08:00
|
|
|
include/vlc_block.h \
|
2003-10-08 00:54:53 +08:00
|
|
|
include/vlc_block_helper.h \
|
2003-10-09 05:01:07 +08:00
|
|
|
include/vlc_codec.h \
|
2002-09-30 19:05:42 +08:00
|
|
|
include/vlc_common.h \
|
|
|
|
include/vlc_config.h \
|
|
|
|
include/vlc_cpu.h \
|
2004-07-22 14:59:56 +08:00
|
|
|
include/vlc_demux.h \
|
2003-07-01 21:13:48 +08:00
|
|
|
include/vlc_error.h \
|
2003-11-21 06:10:56 +08:00
|
|
|
include/vlc_es.h \
|
2004-07-22 14:59:56 +08:00
|
|
|
include/vlc_es_out.h \
|
2004-08-03 08:11:32 +08:00
|
|
|
include/vlc_filter.h \
|
2004-12-11 22:45:46 +08:00
|
|
|
include/vlc_config_cat.h \
|
2004-07-22 14:59:56 +08:00
|
|
|
include/vlc_httpd.h \
|
2004-11-05 06:54:17 +08:00
|
|
|
include/vlc_tls.h \
|
2005-05-31 18:51:03 +08:00
|
|
|
include/vlc_md5.h \
|
2004-12-14 00:47:18 +08:00
|
|
|
include/vlc_image.h \
|
2004-07-22 14:59:56 +08:00
|
|
|
include/vlc_input.h \
|
2003-06-24 23:50:47 +08:00
|
|
|
include/vlc_interface.h \
|
2003-10-18 02:45:20 +08:00
|
|
|
include/vlc_keys.h \
|
2002-09-30 19:05:42 +08:00
|
|
|
include/vlc_messages.h \
|
2004-01-31 17:52:22 +08:00
|
|
|
include/vlc_meta.h \
|
2002-09-30 19:05:42 +08:00
|
|
|
include/vlc_objects.h \
|
Forward port of branches/0.8.1-jpsaman-thedj revision 12070. The OSD menu subsystem consists of two parts a core part (src/osd, include/vlc_osd.h) and a subfilter (modules/video_filter/osdmenu.c). The OSD menu can be used locally or it can be streamed. It depends on the way the functionality is called from the vlc commandline. Currently there is only one way to make the subpictures appear on the video and that is through the rc-interface. The following commands are supported by it: "menu on" (show OSD menu), "menu off" (hide OSD menu), "menu left" (highlight button on the left), "menu right" (highlight button on the right), "menu up" (highlight button above), "menu down" (highlight button below) or "menu select" (perform hotkey action). When there is no button on the left, right, up or down then the menu-command will be ignored.
To stream use a commandline similar to this:
./vlc dvdsimple:///dev/dvd --sub-filter=osdmenu --osdmenu-file=share/osdmenu/default.cfg --extraintf rc --sout '#transcode{sfilter=osdmenu}:std{mux=ts,access=udp,url=127.0.0.1:1234}' -vvvv
For local playback a commandline like this is needed:
./vlc dvdsimple:///dev/dvd --sub-filter=osdmenu --osdmenu-file=share/osdmenu/default.cfg -vvvv
Have fun with the basic functionality - jpsaman.
2005-08-11 06:08:50 +08:00
|
|
|
include/vlc_osd.h \
|
2002-09-30 19:05:42 +08:00
|
|
|
include/vlc_playlist.h \
|
2004-09-15 23:50:54 +08:00
|
|
|
include/vlc_spu.h \
|
2004-07-22 14:59:56 +08:00
|
|
|
include/vlc_stream.h \
|
2005-06-02 20:47:30 +08:00
|
|
|
include/vlc_symbols.h \
|
2002-09-30 19:05:42 +08:00
|
|
|
include/vlc_threads_funcs.h \
|
2004-07-22 14:59:56 +08:00
|
|
|
include/vlc_threads.h \
|
2003-06-26 20:19:59 +08:00
|
|
|
include/vlc_video.h \
|
2004-07-22 14:59:56 +08:00
|
|
|
include/vlc_vlm.h \
|
2004-09-11 21:15:18 +08:00
|
|
|
include/vlc_vod.h \
|
2004-11-26 18:04:08 +08:00
|
|
|
include/vlc_xml.h \
|
2003-04-15 06:22:32 +08:00
|
|
|
include/vout_synchro.h \
|
2002-11-10 00:34:53 +08:00
|
|
|
include/win32_specific.h \
|
|
|
|
$(NULL)
|
2002-09-30 19:05:42 +08:00
|
|
|
|
2005-06-02 20:47:30 +08:00
|
|
|
src/misc/modules_builtin.h: Makefile src/misc/modules_builtin.h.in vlc-config
|
2003-07-08 21:09:30 +08:00
|
|
|
srcdir=$(srcdir) $(srcdir)/toolbox --update-includes
|
2005-08-20 20:30:12 +08:00
|
|
|
touch src/misc/modules_builtin.h
|
2002-09-30 19:05:42 +08:00
|
|
|
|
2005-08-23 01:42:53 +08:00
|
|
|
src/misc/modules.c: src/misc/modules_builtin.h
|
|
|
|
|
2005-08-17 22:39:07 +08:00
|
|
|
src/misc/version.c: FORCE
|
|
|
|
srcdir=$(srcdir) $(srcdir)/toolbox --update-version
|
|
|
|
|
2002-10-02 20:59:59 +08:00
|
|
|
# These dependencies are mandatory
|
2005-08-19 23:28:03 +08:00
|
|
|
$(SOURCES_libvlc): $(LIB_intl)
|
2002-10-02 20:59:59 +08:00
|
|
|
|
2002-10-16 23:10:39 +08:00
|
|
|
###############################################################################
|
|
|
|
# Optional libintl - FIXME, bad dependencies
|
|
|
|
###############################################################################
|
|
|
|
|
|
|
|
intl/libintl.a: FORCE
|
2003-07-01 20:50:56 +08:00
|
|
|
cd $(top_builddir)/intl && $(MAKE) $(AM_MAKEFLAGS)
|
2002-10-16 23:10:39 +08:00
|
|
|
|
|
|
|
if BUILD_INTL
|
|
|
|
LIB_intl = intl/libintl.a
|
|
|
|
endif
|
|
|
|
|
2002-09-30 19:05:42 +08:00
|
|
|
###############################################################################
|
|
|
|
# MacOS X project
|
|
|
|
###############################################################################
|
|
|
|
|
|
|
|
EXTRA_DIST += \
|
|
|
|
extras/MacOSX/Resources/English.lproj/MainMenu.nib/classes.nib \
|
|
|
|
extras/MacOSX/Resources/English.lproj/MainMenu.nib/info.nib \
|
2005-07-13 04:06:23 +08:00
|
|
|
extras/MacOSX/Resources/English.lproj/MainMenu.nib/keyedobjects.nib \
|
2005-01-21 21:41:52 +08:00
|
|
|
extras/MacOSX/Resources/English.lproj/About.nib/classes.nib \
|
|
|
|
extras/MacOSX/Resources/English.lproj/About.nib/info.nib \
|
2005-01-21 22:57:23 +08:00
|
|
|
extras/MacOSX/Resources/English.lproj/About.nib/keyedobjects.nib \
|
2005-01-21 21:41:52 +08:00
|
|
|
extras/MacOSX/Resources/English.lproj/Open.nib/classes.nib \
|
|
|
|
extras/MacOSX/Resources/English.lproj/Open.nib/info.nib \
|
2005-01-21 22:57:23 +08:00
|
|
|
extras/MacOSX/Resources/English.lproj/Open.nib/keyedobjects.nib \
|
2005-01-21 21:41:52 +08:00
|
|
|
extras/MacOSX/Resources/English.lproj/Preferences.nib/classes.nib \
|
|
|
|
extras/MacOSX/Resources/English.lproj/Preferences.nib/info.nib \
|
2005-01-21 22:57:23 +08:00
|
|
|
extras/MacOSX/Resources/English.lproj/Preferences.nib/keyedobjects.nib \
|
2005-06-20 03:37:42 +08:00
|
|
|
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 \
|
2005-08-10 22:19:59 +08:00
|
|
|
extras/MacOSX/Resources/English.lproj/Bookmarks.nib/classes.nib \
|
2005-08-08 01:54:45 +08:00
|
|
|
extras/MacOSX/Resources/English.lproj/Bookmarks.nib/info.nib \
|
|
|
|
extras/MacOSX/Resources/English.lproj/Bookmarks.nib/keyedobjects.nib \
|
2005-08-22 01:45:05 +08:00
|
|
|
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 \
|
2002-09-30 19:05:42 +08:00
|
|
|
extras/MacOSX/Resources/English.lproj/InfoPlist.strings \
|
2003-05-15 08:46:23 +08:00
|
|
|
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 \
|
2002-09-30 19:05:42 +08:00
|
|
|
extras/MacOSX/Resources/divx.icns \
|
2003-05-15 08:46:23 +08:00
|
|
|
extras/MacOSX/Resources/dv.icns \
|
2002-09-30 19:05:42 +08:00
|
|
|
extras/MacOSX/Resources/generic.icns \
|
2003-05-15 08:46:23 +08:00
|
|
|
extras/MacOSX/Resources/m3u.icns \
|
|
|
|
extras/MacOSX/Resources/mov.icns \
|
|
|
|
extras/MacOSX/Resources/mp3.icns \
|
|
|
|
extras/MacOSX/Resources/mp4.icns \
|
2002-09-30 19:05:42 +08:00
|
|
|
extras/MacOSX/Resources/mpeg.icns \
|
|
|
|
extras/MacOSX/Resources/mpeg1.icns \
|
|
|
|
extras/MacOSX/Resources/mpeg2.icns \
|
|
|
|
extras/MacOSX/Resources/mpeg4.icns \
|
2003-05-15 08:46:23 +08:00
|
|
|
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 \
|
2002-09-30 19:05:42 +08:00
|
|
|
extras/MacOSX/Resources/vlc.icns \
|
2003-05-15 08:46:23 +08:00
|
|
|
extras/MacOSX/Resources/vob.icns \
|
|
|
|
extras/MacOSX/Resources/wma.icns \
|
|
|
|
extras/MacOSX/Resources/wmv.icns \
|
2002-09-30 19:05:42 +08:00
|
|
|
extras/MacOSX/Resources/pause.png \
|
2003-11-17 14:31:22 +08:00
|
|
|
extras/MacOSX/Resources/pause_blue.png \
|
2002-09-30 19:05:42 +08:00
|
|
|
extras/MacOSX/Resources/play.png \
|
2003-11-17 14:31:22 +08:00
|
|
|
extras/MacOSX/Resources/play_blue.png \
|
2002-09-30 19:05:42 +08:00
|
|
|
extras/MacOSX/Resources/stop.png \
|
2003-11-17 14:31:22 +08:00
|
|
|
extras/MacOSX/Resources/stop_blue.png \
|
|
|
|
extras/MacOSX/Resources/display.png \
|
|
|
|
extras/MacOSX/Resources/display_slider.png \
|
|
|
|
extras/MacOSX/Resources/display_track.png \
|
2004-08-08 05:56:42 +08:00
|
|
|
extras/MacOSX/Resources/equalizerdrawer_active.png \
|
|
|
|
extras/MacOSX/Resources/equalizerdrawer_blue.png \
|
2003-11-17 14:31:22 +08:00
|
|
|
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 \
|
2003-04-10 04:53:28 +08:00
|
|
|
extras/MacOSX/Resources/about_bg.png \
|
2003-03-25 03:58:42 +08:00
|
|
|
extras/MacOSX/Resources/vlc.scriptSuite \
|
2005-03-28 18:32:40 +08:00
|
|
|
extras/MacOSX/Resources/vlc.scriptTerminology \
|
2003-04-06 23:43:02 +08:00
|
|
|
extras/MacOSX/Resources/README \
|
2002-11-10 00:34:53 +08:00
|
|
|
extras/MacOSX/vlc.pbproj/project.pbxproj \
|
2003-03-25 03:58:42 +08:00
|
|
|
extras/MacOSX/macosx-dmg \
|
2005-08-10 22:19:59 +08:00
|
|
|
extras/Makefile \
|
|
|
|
extras/zsh.cpp \
|
2002-11-10 00:34:53 +08:00
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
###############################################################################
|
2002-11-13 23:28:24 +08:00
|
|
|
# MS Visual Studio and eMbedded Visual Studio projects
|
2002-11-10 00:34:53 +08:00
|
|
|
###############################################################################
|
|
|
|
|
|
|
|
EXTRA_DIST += \
|
|
|
|
msvc/vlc.dsw \
|
2002-11-14 04:51:05 +08:00
|
|
|
msvc/libvlc.dsp.in \
|
|
|
|
msvc/plugins.dsp.in \
|
2002-12-13 18:09:14 +08:00
|
|
|
msvc/vlc.dsp.in \
|
2003-01-17 07:37:59 +08:00
|
|
|
msvc/config.h.in \
|
2002-11-10 00:34:53 +08:00
|
|
|
msvc/modules_builtin_msvc.h \
|
2002-11-13 23:28:24 +08:00
|
|
|
evc/vlc.vcw \
|
2002-11-14 04:51:05 +08:00
|
|
|
evc/libvlc.vcp.in \
|
2002-11-13 23:28:24 +08:00
|
|
|
evc/vlc.vcp.in \
|
2002-11-14 04:51:05 +08:00
|
|
|
evc/plugins.vcp.in \
|
2004-10-04 20:19:34 +08:00
|
|
|
evc/errno.h \
|
2003-01-17 07:37:59 +08:00
|
|
|
evc/config.h.in \
|
2002-11-14 04:51:05 +08:00
|
|
|
evc/modules_builtin_evc.h \
|
2002-11-10 00:34:53 +08:00
|
|
|
$(NULL)
|
|
|
|
|
2003-04-25 00:13:38 +08:00
|
|
|
dist-hook:
|
2005-08-13 22:15:09 +08:00
|
|
|
cd $(distdir) && srcdir=. $(SHELL) ./toolbox --update-vc
|
|
|
|
distdir=$(distdir) srcdir=$(srcdir) $(SHELL) $(srcdir)/toolbox --dist-contrib
|
2003-04-25 00:13:38 +08:00
|
|
|
|
2002-09-30 19:05:42 +08:00
|
|
|
###############################################################################
|
|
|
|
# Building libvlc
|
|
|
|
###############################################################################
|
|
|
|
|
|
|
|
bin_SCRIPTS = vlc-config
|
2005-02-07 00:02:24 +08:00
|
|
|
vlc-config: $(top_builddir)/config.status $(top_builddir)/vlc-config.in
|
2005-08-20 20:30:12 +08:00
|
|
|
$(SHELL) ./config.status --file=vlc-config
|
|
|
|
chmod 0755 vlc-config
|
2002-09-30 19:05:42 +08:00
|
|
|
|
2005-08-13 03:17:33 +08:00
|
|
|
vlc-config.in: vlc-config.in.in
|
|
|
|
./config.status --recheck
|
|
|
|
|
2005-08-20 20:30:12 +08:00
|
|
|
MOSTLYCLEANFILES = $(DATA_noinst_libvlc)
|
2005-08-23 03:00:19 +08:00
|
|
|
CLEANFILES = $(BUILT_SOURCES_clean) stamp-builtin
|
|
|
|
DISTCLEANFILES = $(BUILT_SOURCES_distclean) vlc-config.in
|
2005-03-02 05:24:25 +08:00
|
|
|
|
2005-08-20 20:30:12 +08:00
|
|
|
if HAVE_WIN32
|
|
|
|
lib_LIBRARIES = lib/libvlc.a
|
|
|
|
else
|
|
|
|
lib_LIBRARIES = lib/libvlc.a
|
2005-11-26 23:36:28 +08:00
|
|
|
if BUILD_PIC
|
2005-08-20 20:30:12 +08:00
|
|
|
lib_LIBRARIES += lib/libvlc_pic.a
|
2005-11-26 23:36:28 +08:00
|
|
|
else
|
2005-08-20 20:30:12 +08:00
|
|
|
endif
|
|
|
|
endif
|
2002-09-30 19:05:42 +08:00
|
|
|
|
|
|
|
lib_libvlc_a_SOURCES = $(SOURCES_libvlc)
|
2003-06-27 21:50:13 +08:00
|
|
|
lib_libvlc_a_CFLAGS = `$(VLC_CONFIG) --cflags vlc`
|
|
|
|
lib_libvlc_a_CXXFLAGS = `$(VLC_CONFIG) --cxxflags vlc`
|
|
|
|
lib_libvlc_a_OBJCFLAGS = `$(VLC_CONFIG) --objcflags vlc`
|
2002-09-30 19:05:42 +08:00
|
|
|
|
|
|
|
lib_libvlc_pic_a_SOURCES = $(SOURCES_libvlc)
|
2003-06-27 21:50:13 +08:00
|
|
|
lib_libvlc_pic_a_CFLAGS = `$(VLC_CONFIG) --cflags vlc pic`
|
|
|
|
lib_libvlc_pic_a_CXXFLAGS = `$(VLC_CONFIG) --cxxflags vlc pic`
|
|
|
|
lib_libvlc_pic_a_OBJCFLAGS = `$(VLC_CONFIG) --objcflags vlc pic`
|
2002-09-30 19:05:42 +08:00
|
|
|
|
|
|
|
if HAVE_BEOS
|
2002-11-11 02:04:24 +08:00
|
|
|
OPT_SOURCES_libvlc_beos = $(SOURCES_libvlc_beos)
|
2002-09-30 19:05:42 +08:00
|
|
|
endif
|
|
|
|
if HAVE_DARWIN
|
2002-11-11 02:04:24 +08:00
|
|
|
OPT_SOURCES_libvlc_darwin = $(SOURCES_libvlc_darwin)
|
2002-09-30 19:05:42 +08:00
|
|
|
endif
|
|
|
|
if HAVE_WIN32
|
2002-11-11 02:04:24 +08:00
|
|
|
OPT_SOURCES_libvlc_win32 = $(SOURCES_libvlc_win32)
|
2002-11-10 00:34:53 +08:00
|
|
|
endif
|
2005-02-16 05:09:09 +08:00
|
|
|
if HAVE_WINCE
|
|
|
|
OPT_SOURCES_libvlc_win32 = $(SOURCES_libvlc_win32)
|
|
|
|
endif
|
2002-11-10 00:34:53 +08:00
|
|
|
if BUILD_DIRENT
|
2002-11-11 02:04:24 +08:00
|
|
|
OPT_SOURCES_libvlc_dirent = $(SOURCES_libvlc_dirent)
|
2002-11-10 00:34:53 +08:00
|
|
|
endif
|
|
|
|
if BUILD_GETOPT
|
2002-11-11 02:04:24 +08:00
|
|
|
OPT_SOURCES_libvlc_getopt = $(SOURCES_libvlc_getopt)
|
2002-11-10 00:34:53 +08:00
|
|
|
endif
|
2005-08-20 20:30:12 +08:00
|
|
|
|
|
|
|
# Build libvlc as a shared library
|
|
|
|
if BUILD_SHARED
|
|
|
|
DATA_noinst_libvlc = libvlc$(LIBEXT)
|
|
|
|
if HAVE_WIN32
|
|
|
|
OBJECTS_libvlc_so = $(lib_libvlc_a_OBJECTS)
|
|
|
|
else
|
|
|
|
OBJECTS_libvlc_so = $(lib_libvlc_pic_a_OBJECTS)
|
2002-09-30 19:05:42 +08:00
|
|
|
endif
|
2003-10-20 18:37:56 +08:00
|
|
|
endif
|
2002-09-30 19:05:42 +08:00
|
|
|
|
2005-08-20 20:30:12 +08:00
|
|
|
libvlc$(LIBEXT): $(OBJECTS_libvlc_so)
|
|
|
|
@ldfl="`$(VLC_CONFIG) --libs plugin vlc $(pic) builtin`" ; \
|
|
|
|
case `$(VLC_CONFIG) --linkage vlc` in \
|
|
|
|
c++) ld="$(CXXLINK)" ;; \
|
|
|
|
objc) ld="$(OBJCLINK)" ;; \
|
|
|
|
c|*) ld="$(LINK)" ;; \
|
|
|
|
esac ; \
|
|
|
|
echo $$ld $(OBJECTS_libvlc_so) $$ldfl ; \
|
|
|
|
$$ld $(OBJECTS_libvlc_so) $$ldfl
|
|
|
|
|
2002-09-30 19:05:42 +08:00
|
|
|
EXTRA_DIST += \
|
2002-11-11 02:04:24 +08:00
|
|
|
$(SOURCES_libvlc_beos) \
|
|
|
|
$(SOURCES_libvlc_darwin) \
|
|
|
|
$(SOURCES_libvlc_win32) \
|
|
|
|
$(SOURCES_libvlc_dirent) \
|
|
|
|
$(SOURCES_libvlc_getopt) \
|
2002-11-10 00:34:53 +08:00
|
|
|
$(NULL)
|
|
|
|
|
2002-11-11 02:04:24 +08:00
|
|
|
SOURCES_libvlc_beos = \
|
2002-09-30 19:05:42 +08:00
|
|
|
src/misc/beos_specific.cpp \
|
2002-11-10 00:34:53 +08:00
|
|
|
$(NULL)
|
|
|
|
|
2002-11-11 02:04:24 +08:00
|
|
|
SOURCES_libvlc_darwin = \
|
2002-12-30 16:56:19 +08:00
|
|
|
src/misc/darwin_specific.m \
|
2002-11-10 00:34:53 +08:00
|
|
|
$(NULL)
|
|
|
|
|
2002-11-11 02:04:24 +08:00
|
|
|
SOURCES_libvlc_win32 = \
|
2002-11-10 00:34:53 +08:00
|
|
|
src/misc/win32_specific.c \
|
|
|
|
$(NULL)
|
|
|
|
|
2002-11-11 02:04:24 +08:00
|
|
|
SOURCES_libvlc_dirent = \
|
2002-11-10 00:34:53 +08:00
|
|
|
src/extras/dirent.c \
|
|
|
|
$(NULL)
|
|
|
|
|
2002-11-11 02:04:24 +08:00
|
|
|
SOURCES_libvlc_getopt = \
|
2002-11-10 00:34:53 +08:00
|
|
|
src/extras/getopt.c \
|
|
|
|
src/extras/getopt.h \
|
|
|
|
src/extras/getopt1.c \
|
|
|
|
$(NULL)
|
|
|
|
|
2002-11-11 02:04:24 +08:00
|
|
|
SOURCES_libvlc_common = \
|
2002-09-30 19:05:42 +08:00
|
|
|
src/libvlc.c \
|
|
|
|
src/libvlc.h \
|
|
|
|
src/interface/interface.c \
|
|
|
|
src/interface/intf_eject.c \
|
|
|
|
src/playlist/playlist.c \
|
* src/playlist/* && Makefile.am
- splitted the enormous playlist.c file
- implemented a better item group system: groups have a name
and must be created before use by
playlist_CreateGroup( p_playlist, "newgroupname")
* modules/misc/sap.c
- Create our own playlist group ("SAP") and use it
* modules/access/slp.c
- Create our own playlist group ("SLP") and use it
* modules/demux/util/id3tag.c
- Trigger playlist update when we have parsed our tag
* modules/gui/wxwindows/interface.cpp
- Fixed the about box by using vlc_wraptext
- Added the simple open and the streaming wizard icons
*** Icons need to be changed ! ***
- Added the visualization to the extended gui
* modules/gui/wxwindows/preferences.cpp && include/vlc_help.h
- Enlarged the window to fit the wrapped text
- Added help for audio encoders
* modules/gui/wxwindows/stream.cpp & open.cpp & include/vlc_interface.h
- Created a "streaming wizard" window (3-step streaming)
* modules/gui/wxwindows/iteminfo.cpp:
- Group change is now based on the name
* modules/gui/wxwindows/playlist.cpp
- Added author and group columns to the listview
- Redesigned the window
- Added the Sort menu with several criteria (title, author, group)
- Added up/down buttons to move an item in the playlist
- Added the group menu to enable/disable a group in an understandable way
TODO:
-----
* playlist core :
- Implement advanced sort capabilities (multi-criteria)
- File format to save the new features
- export playlist (to M3U, eg)
- more robust group creation (duplicates check, ...)
* wxWindows playlist:
The idea of a treeview seems impossible, because of wxWindow's treeview,
that don't allow multi-selection, and, as far as I know, multi-columns.
- Provide a frontend to advanced sort (when it's done :-) )
- Allow moving items by drag & drop (well, if possible, haven't checked yet)
- Allow moving several items at once
- Customizable listview (ability to remove/move columns)
- Find a solution to the focus problem
(when you change track, the selected one scrolls at the
bottom of the visible screen)
* wxWindows interface:
- New icons, our icons begin to get old and not so pretty
- Find a solution for the volume bar (nobody understands what it is)
2003-10-30 01:32:55 +08:00
|
|
|
src/playlist/sort.c \
|
|
|
|
src/playlist/loadsave.c \
|
2004-11-06 19:22:46 +08:00
|
|
|
src/playlist/view.c \
|
* src/playlist/* && Makefile.am
- splitted the enormous playlist.c file
- implemented a better item group system: groups have a name
and must be created before use by
playlist_CreateGroup( p_playlist, "newgroupname")
* modules/misc/sap.c
- Create our own playlist group ("SAP") and use it
* modules/access/slp.c
- Create our own playlist group ("SLP") and use it
* modules/demux/util/id3tag.c
- Trigger playlist update when we have parsed our tag
* modules/gui/wxwindows/interface.cpp
- Fixed the about box by using vlc_wraptext
- Added the simple open and the streaming wizard icons
*** Icons need to be changed ! ***
- Added the visualization to the extended gui
* modules/gui/wxwindows/preferences.cpp && include/vlc_help.h
- Enlarged the window to fit the wrapped text
- Added help for audio encoders
* modules/gui/wxwindows/stream.cpp & open.cpp & include/vlc_interface.h
- Created a "streaming wizard" window (3-step streaming)
* modules/gui/wxwindows/iteminfo.cpp:
- Group change is now based on the name
* modules/gui/wxwindows/playlist.cpp
- Added author and group columns to the listview
- Redesigned the window
- Added the Sort menu with several criteria (title, author, group)
- Added up/down buttons to move an item in the playlist
- Added the group menu to enable/disable a group in an understandable way
TODO:
-----
* playlist core :
- Implement advanced sort capabilities (multi-criteria)
- File format to save the new features
- export playlist (to M3U, eg)
- more robust group creation (duplicates check, ...)
* wxWindows playlist:
The idea of a treeview seems impossible, because of wxWindow's treeview,
that don't allow multi-selection, and, as far as I know, multi-columns.
- Provide a frontend to advanced sort (when it's done :-) )
- Allow moving items by drag & drop (well, if possible, haven't checked yet)
- Allow moving several items at once
- Customizable listview (ability to remove/move columns)
- Find a solution to the focus problem
(when you change track, the selected one scrolls at the
bottom of the visible screen)
* wxWindows interface:
- New icons, our icons begin to get old and not so pretty
- Find a solution for the volume bar (nobody understands what it is)
2003-10-30 01:32:55 +08:00
|
|
|
src/playlist/item.c \
|
2004-01-05 20:59:43 +08:00
|
|
|
src/playlist/item-ext.c \
|
2004-11-09 02:19:51 +08:00
|
|
|
src/playlist/services_discovery.c \
|
2004-06-23 04:19:31 +08:00
|
|
|
src/input/access.c \
|
|
|
|
src/input/clock.c \
|
2004-03-24 07:44:49 +08:00
|
|
|
src/input/control.c \
|
2004-06-23 04:19:31 +08:00
|
|
|
src/input/decoder.c \
|
|
|
|
src/input/demux.c \
|
2003-11-25 04:50:45 +08:00
|
|
|
src/input/es_out.c \
|
2004-06-23 04:19:31 +08:00
|
|
|
src/input/input.c \
|
|
|
|
src/input/input_internal.h \
|
2003-08-01 08:00:12 +08:00
|
|
|
src/input/stream.c \
|
2004-11-27 07:52:42 +08:00
|
|
|
src/input/mem_stream.c \
|
2003-09-22 11:40:06 +08:00
|
|
|
src/input/subtitles.c \
|
2004-06-23 04:19:31 +08:00
|
|
|
src/input/var.c \
|
2002-09-30 19:05:42 +08:00
|
|
|
src/video_output/video_output.c \
|
|
|
|
src/video_output/vout_pictures.c \
|
|
|
|
src/video_output/vout_pictures.h \
|
|
|
|
src/video_output/video_text.c \
|
2004-05-24 00:19:29 +08:00
|
|
|
src/video_output/video_widgets.c \
|
2002-09-30 19:05:42 +08:00
|
|
|
src/video_output/vout_subpictures.c \
|
2003-04-15 06:22:32 +08:00
|
|
|
src/video_output/vout_synchro.c \
|
2004-03-24 07:44:49 +08:00
|
|
|
src/video_output/vout_intf.c \
|
2002-09-30 19:05:42 +08:00
|
|
|
src/audio_output/common.c \
|
|
|
|
src/audio_output/dec.c \
|
|
|
|
src/audio_output/filters.c \
|
|
|
|
src/audio_output/input.c \
|
|
|
|
src/audio_output/mixer.c \
|
|
|
|
src/audio_output/output.c \
|
|
|
|
src/audio_output/intf.c \
|
|
|
|
src/stream_output/stream_output.c \
|
* ALL: Better announce system
- The SAP handler now runs in a separate thread.
- RTP sessions can be announced with sap (sdp=sap://,name=...)
TODO: Make this more configurable
- Better SDP generation (the timestamp problem is not resolved)
About this, there is a problem : as, for a RTP session, the URI
is the complete SDP, if the session is recreated, as the URI has
changed, a new item is added to the playlist
- Experimental flow control algorithm :
It does not follow the "Recommended" implementation, as it needs
to count the sessions (to achieve this, we should make this work
together with the SAP listener)
It is disabled by default (use --sap-flow-control to enable).
When it is disabled, sap announcement interval is set by --sap-interval
* src/misc/net.c : created net_ReadNonBlock
* sap.c : Fixed memory problem
2004-04-19 02:21:09 +08:00
|
|
|
src/stream_output/announce.c \
|
|
|
|
src/stream_output/sap.c \
|
2005-07-13 00:00:43 +08:00
|
|
|
src/stream_output/acl.c \
|
Forward port of branches/0.8.1-jpsaman-thedj revision 12070. The OSD menu subsystem consists of two parts a core part (src/osd, include/vlc_osd.h) and a subfilter (modules/video_filter/osdmenu.c). The OSD menu can be used locally or it can be streamed. It depends on the way the functionality is called from the vlc commandline. Currently there is only one way to make the subpictures appear on the video and that is through the rc-interface. The following commands are supported by it: "menu on" (show OSD menu), "menu off" (hide OSD menu), "menu left" (highlight button on the left), "menu right" (highlight button on the right), "menu up" (highlight button above), "menu down" (highlight button below) or "menu select" (perform hotkey action). When there is no button on the left, right, up or down then the menu-command will be ignored.
To stream use a commandline similar to this:
./vlc dvdsimple:///dev/dvd --sub-filter=osdmenu --osdmenu-file=share/osdmenu/default.cfg --extraintf rc --sout '#transcode{sfilter=osdmenu}:std{mux=ts,access=udp,url=127.0.0.1:1234}' -vvvv
For local playback a commandline like this is needed:
./vlc dvdsimple:///dev/dvd --sub-filter=osdmenu --osdmenu-file=share/osdmenu/default.cfg -vvvv
Have fun with the basic functionality - jpsaman.
2005-08-11 06:08:50 +08:00
|
|
|
src/osd/osd.c \
|
|
|
|
src/osd/osd_parser.c \
|
2005-08-28 00:40:23 +08:00
|
|
|
src/osd/osd_text.c \
|
|
|
|
src/osd/osd_widgets.c \
|
2003-08-23 20:59:31 +08:00
|
|
|
src/misc/charset.c \
|
2004-03-03 21:24:31 +08:00
|
|
|
src/misc/httpd.c \
|
2004-11-06 22:40:41 +08:00
|
|
|
src/misc/tls.c \
|
2005-05-31 18:51:03 +08:00
|
|
|
src/misc/md5.c \
|
2002-09-30 19:05:42 +08:00
|
|
|
src/misc/mtime.c \
|
2003-08-24 06:49:50 +08:00
|
|
|
src/misc/block.c \
|
2002-09-30 19:05:42 +08:00
|
|
|
src/misc/modules.c \
|
|
|
|
src/misc/threads.c \
|
2005-08-05 00:38:57 +08:00
|
|
|
src/misc/unicode.c \
|
2002-09-30 19:05:42 +08:00
|
|
|
src/misc/cpu.c \
|
|
|
|
src/misc/configuration.c \
|
2004-12-14 00:47:18 +08:00
|
|
|
src/misc/image.c \
|
2002-09-30 19:05:42 +08:00
|
|
|
src/misc/iso_lang.c \
|
2002-11-11 02:04:24 +08:00
|
|
|
src/misc/iso-639_def.h \
|
2002-09-30 19:05:42 +08:00
|
|
|
src/misc/messages.c \
|
|
|
|
src/misc/objects.c \
|
Changes to the libvlc API:
* ./include/vlc/vlc.h: changed the naming conventions for libvlc. Now
exported functions start with VLC_ instead of vlc_ to avoid conflicts.
* ./include/vlc/vlc.h: removed the vlc_object_t, vlc_list_t, vlc_error_t
and vlc_t types; they are now internal types only.
* ./include/vlc/vlc.h: merged the reentrant and non-reentrant libvlc
calls. In non-reentrant mode, we just use 0 as the first argument. In
reentrant mode, we use an object's ID. (see below)
Internal changes:
* ./src/libvlc.c, ./src/misc/objects.c: instead of manipulating vlc_object_t
pointers, we manipulate their i_object_id. When needed, an object is
retrieved using vlc_object_get (I hope the lookup isn't too expensive,
that's why I designed the pp_objects layout to allow log2(n) seeks).
* ./src/misc/objects.c: activated the per-object variable storage. Unused
yet, unless you want to try "getfoo" and "setfoo blablah" in vlc -I rc.
* ./include/vlc_objects.h: moved the vlc_object_t and vlc_list_t definitions
here.
Misc:
* ./src/vlc.c, ./mozilla/vlcshell.cpp: removed inclusion of config.h in
code portions not part of libvlc; it was just required for the
COPYRIGHT_MESSAGE string which is now available from VLC_Version().
2002-10-12 06:32:56 +08:00
|
|
|
src/misc/variables.c \
|
2002-10-15 00:46:56 +08:00
|
|
|
src/misc/error.c \
|
2004-01-05 22:10:58 +08:00
|
|
|
src/misc/net.c \
|
2005-05-22 19:19:55 +08:00
|
|
|
src/misc/getaddrinfo.c \
|
2004-03-21 23:09:21 +08:00
|
|
|
src/misc/vlm.c \
|
2004-11-26 18:04:08 +08:00
|
|
|
src/misc/xml.c \
|
2005-08-17 22:39:07 +08:00
|
|
|
src/misc/version.c \
|
2002-12-27 23:31:56 +08:00
|
|
|
src/extras/libc.c \
|
2005-06-02 05:58:13 +08:00
|
|
|
src/control/core.c \
|
|
|
|
src/control/util.c \
|
|
|
|
src/control/audio_video.c \
|
2002-11-11 02:04:24 +08:00
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
SOURCES_libvlc = \
|
|
|
|
$(SOURCES_libvlc_common) \
|
|
|
|
$(OPT_SOURCES_libvlc_beos) \
|
|
|
|
$(OPT_SOURCES_libvlc_darwin) \
|
|
|
|
$(OPT_SOURCES_libvlc_win32) \
|
|
|
|
$(OPT_SOURCES_libvlc_dirent) \
|
|
|
|
$(OPT_SOURCES_libvlc_getopt) \
|
2002-11-10 00:34:53 +08:00
|
|
|
$(NULL)
|
2002-09-30 19:05:42 +08:00
|
|
|
|
|
|
|
###############################################################################
|
|
|
|
# Building vlc
|
|
|
|
###############################################################################
|
|
|
|
|
2003-06-27 21:50:13 +08:00
|
|
|
bin_PROGRAMS = vlc
|
2002-09-30 19:05:42 +08:00
|
|
|
|
2002-11-10 00:34:53 +08:00
|
|
|
vlc_SOURCES = src/vlc.c
|
2002-09-30 19:05:42 +08:00
|
|
|
|
2005-05-11 19:30:12 +08:00
|
|
|
# Work around a bug in the arm-wince-pe linker
|
|
|
|
if HAVE_WINCE
|
2005-08-20 20:30:12 +08:00
|
|
|
vlc_WORKAROUNDLDFLAGS = $(LIB_libvlc)
|
|
|
|
endif
|
|
|
|
|
|
|
|
if BUILD_SHARED
|
|
|
|
### libvlc.so cannot be created into lib/
|
|
|
|
LIB_libvlc = libvlc$(LIBEXT)
|
|
|
|
LDFLAGS_libvlc =
|
|
|
|
#-Wl,-rpath $(libdir)
|
|
|
|
else
|
|
|
|
LIB_libvlc = lib/libvlc.a
|
|
|
|
LDFLAGS_libvlc = `$(VLC_CONFIG) --libs vlc builtin`
|
2005-05-11 19:30:12 +08:00
|
|
|
endif
|
|
|
|
|
2005-08-20 20:30:12 +08:00
|
|
|
vlc_LDFLAGS = $(LDFLAGS_libvlc) $(vlc_WORKAROUNDLDFLAGS)
|
|
|
|
vlc_LDADD = $(LIB_libvlc) $(DATA_win32_rc) $(LIB_intl)
|
2005-05-11 21:18:00 +08:00
|
|
|
vlc_CFLAGS = `$(VLC_CONFIG) --cflags vlc`
|
|
|
|
|
2002-10-02 21:26:14 +08:00
|
|
|
# We use DEPENDENCIES_vlc instead of vlc_DEPENDENCIES because of an
|
|
|
|
# old automake-1.5 bug (automake/279).
|
2005-08-20 20:30:12 +08:00
|
|
|
DEPENDENCIES_vlc = $(LIB_libvlc) $(DATA_win32_rc) $(LIB_intl)
|
2002-10-02 21:26:14 +08:00
|
|
|
|
2003-07-03 10:56:35 +08:00
|
|
|
vlc$(EXEEXT): $(vlc_OBJECTS) $(DEPENDENCIES_vlc) stamp-builtin
|
2005-08-20 20:30:12 +08:00
|
|
|
@rm -f vlc$(EXEEXT)
|
2003-07-03 19:23:09 +08:00
|
|
|
@case `$(VLC_CONFIG) --linkage vlc builtin` in \
|
2005-08-20 20:30:12 +08:00
|
|
|
c++) cmd="$(CXXLINK)" ;; \
|
|
|
|
objc) cmd="$(OBJCLINK)" ;; \
|
|
|
|
c|*) cmd="$(LINK)" ;; \
|
|
|
|
esac ; \
|
2005-08-20 20:52:45 +08:00
|
|
|
cmd="$$cmd $(vlc_OBJECTS) $(vlc_LDADD) $(vlc_LDFLAGS) $(LIBS)" ; \
|
2005-08-20 20:30:12 +08:00
|
|
|
echo $$cmd ; \
|
|
|
|
eval $$cmd
|
2003-04-18 23:25:51 +08:00
|
|
|
|
2002-09-30 19:05:42 +08:00
|
|
|
if HAVE_BEOS
|
2005-08-20 20:30:12 +08:00
|
|
|
DATA_noinst_beos = vlc-bundle
|
2004-07-23 06:59:50 +08:00
|
|
|
vlc-bundle: vlc
|
2004-08-21 18:46:32 +08:00
|
|
|
rm -Rf $(top_builddir)/vlc-bundle ; mkdir -p $(top_builddir)/vlc-bundle
|
|
|
|
cp $(top_builddir)/vlc $(top_builddir)/vlc-bundle/
|
|
|
|
xres -o $(top_builddir)/vlc-bundle/vlc $(srcdir)/share/vlc_beos.rsrc
|
2004-07-23 06:59:50 +08:00
|
|
|
for i in "" `$(VLC_CONFIG) --target plugin` ; do \
|
|
|
|
if test -n "$$i" ; then \
|
2004-08-21 18:46:32 +08:00
|
|
|
mkdir -p $(top_builddir)/vlc-bundle/plugins ; \
|
|
|
|
cp "$$i$(LIBEXT)" $(top_builddir)/vlc-bundle/plugins/ ; \
|
2004-07-23 06:59:50 +08:00
|
|
|
fi ; \
|
|
|
|
done
|
2004-08-21 18:46:32 +08:00
|
|
|
if test -d $(top_builddir)/extras/contrib/vlc-lib ; then \
|
|
|
|
mkdir -p $(top_builddir)/vlc-bundle/lib ; \
|
|
|
|
for i in $(top_builddir)/extras/contrib/vlc-lib/*.so ; do \
|
|
|
|
cp $$i $(top_builddir)/vlc-bundle/lib/ ; \
|
2004-07-23 06:59:50 +08:00
|
|
|
done ; \
|
|
|
|
fi
|
2003-04-18 23:25:51 +08:00
|
|
|
for i in $(ALL_LINGUAS); do \
|
2004-08-21 18:46:32 +08:00
|
|
|
mkdir -p "$(top_builddir)/vlc-bundle/locale/$$i/LC_MESSAGES" ; \
|
|
|
|
cp "$(top_builddir)/po/$$i.gmo" \
|
|
|
|
"$(top_builddir)/vlc-bundle/locale/$$i/LC_MESSAGES/vlc.mo" || true ; \
|
2003-04-18 23:25:51 +08:00
|
|
|
done
|
2004-08-21 18:46:32 +08:00
|
|
|
find $(top_builddir)/vlc-bundle -type f -exec mimeset -f "{}" \;
|
2002-09-30 19:05:42 +08:00
|
|
|
endif
|
|
|
|
|
2005-08-20 21:15:26 +08:00
|
|
|
# Install the symlinks and shared libvlc
|
2002-09-30 19:05:42 +08:00
|
|
|
install-exec-local:
|
2003-06-28 00:26:02 +08:00
|
|
|
for i in "" $(ALIASES) ; do if test -n "$$i" ; then \
|
2003-06-27 21:50:13 +08:00
|
|
|
rm -f "$(DESTDIR)$(bindir)/$$i" && \
|
|
|
|
ln -s vlc "$(DESTDIR)$(bindir)/$$i" ; \
|
2002-09-30 19:05:42 +08:00
|
|
|
fi ; done
|
2005-08-20 21:15:26 +08:00
|
|
|
test -z "$(DATA_noinst_libvlc)" || $(INSTALL_PROGRAM) "$(DATA_noinst_libvlc)" "$(DESTDIR)$(libdir)"
|
2002-09-30 19:05:42 +08:00
|
|
|
|
2005-06-25 13:39:06 +08:00
|
|
|
# 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
|
2005-08-20 21:15:26 +08:00
|
|
|
test -z "$(DATA_noinst_libvlc)" || rm -f "$(DESTDIR)$(libdir)/$(DATA_noinst_libvlc)"
|
2005-06-25 13:39:06 +08:00
|
|
|
|
2002-09-30 19:05:42 +08:00
|
|
|
if HAVE_DARWIN
|
|
|
|
# Create the MacOS X app
|
2003-02-11 23:35:29 +08:00
|
|
|
vlc_app_DATA = VLC.app
|
2002-09-30 19:05:42 +08:00
|
|
|
vlc_appdir = $(bindir)
|
2005-04-06 22:36:57 +08:00
|
|
|
# VLC-release.app is the old VLC.app target
|
|
|
|
VLC-release.app: vlc
|
|
|
|
@if test -e "$(top_builddir)/tmp"; then \
|
|
|
|
echo "Error: please remove $(top_builddir)/tmp, it is in the way"; \
|
|
|
|
false; \
|
|
|
|
else \
|
|
|
|
echo "OK."; mkdir -p "$(top_builddir)/tmp/extras"; \
|
|
|
|
fi
|
|
|
|
rm -Rf $(top_builddir)/VLC-release.app
|
2005-11-14 04:32:26 +08:00
|
|
|
cp -R $(srcdir)/extras/MacOSX $(top_builddir)/tmp/extras
|
2005-04-06 22:36:57 +08:00
|
|
|
for i in AUTHORS COPYING README.MacOSX.rtf THANKS; do \
|
|
|
|
cp "$(srcdir)/$$i" $(top_builddir)/tmp; \
|
|
|
|
done
|
|
|
|
mkdir -p $(top_builddir)/tmp/modules/audio_output
|
|
|
|
cp $(srcdir)/modules/audio_output/coreaudio.c \
|
|
|
|
$(top_builddir)/tmp/modules/audio_output/coreaudio.c
|
|
|
|
mkdir -p $(top_builddir)/tmp/modules/gui/macosx
|
|
|
|
for i in \
|
|
|
|
about.h \
|
|
|
|
about.m \
|
|
|
|
applescript.h \
|
|
|
|
applescript.m \
|
|
|
|
controls.h \
|
|
|
|
controls.m \
|
|
|
|
equalizer.h \
|
|
|
|
equalizer.m \
|
|
|
|
intf.h \
|
|
|
|
intf.m \
|
|
|
|
macosx.m \
|
|
|
|
misc.h \
|
|
|
|
misc.m \
|
|
|
|
open.h \
|
|
|
|
open.m \
|
|
|
|
output.h \
|
|
|
|
output.m \
|
|
|
|
playlist.h \
|
|
|
|
playlist.m \
|
|
|
|
playlistinfo.h \
|
|
|
|
playlistinfo.m \
|
|
|
|
prefs_widgets.h \
|
|
|
|
prefs_widgets.m \
|
|
|
|
prefs.h \
|
|
|
|
prefs.m \
|
|
|
|
vout.h \
|
|
|
|
voutqt.m \
|
|
|
|
voutgl.m \
|
2005-06-20 03:37:42 +08:00
|
|
|
wizard.h \
|
|
|
|
wizard.m \
|
2005-08-05 07:24:50 +08:00
|
|
|
extended.h \
|
|
|
|
extended.m \
|
2005-08-25 23:02:30 +08:00
|
|
|
bookmarks.h \
|
|
|
|
bookmarks.m \
|
2005-04-06 22:36:57 +08:00
|
|
|
vout.m; do \
|
|
|
|
cp "$(srcdir)/modules/gui/macosx/$$i" \
|
|
|
|
$(top_builddir)/tmp/modules/gui/macosx; \
|
|
|
|
done
|
2005-07-28 07:43:35 +08:00
|
|
|
case $(target_triplet) in \
|
|
|
|
*darwin6*) cd $(top_builddir)/tmp/extras/MacOSX && pbxbuild -target vlc | grep -v '^\([ \t]\|$$\)'; \
|
|
|
|
cd ../../../; \
|
2005-11-14 04:32:26 +08:00
|
|
|
cp -R $(top_builddir)/tmp/extras/MacOSX/build/VLC.bundle \
|
2005-07-28 07:43:35 +08:00
|
|
|
$(top_builddir)/VLC-release.app;; \
|
|
|
|
*darwin7*) cd $(top_builddir)/tmp/extras/MacOSX && xcodebuild -target vlc | grep -v '^\([ \t]\|$$\)'; \
|
|
|
|
cd ../../../; \
|
2005-11-14 04:32:26 +08:00
|
|
|
cp -R $(top_builddir)/tmp/extras/MacOSX/build/VLC.bundle \
|
2005-07-28 07:43:35 +08:00
|
|
|
$(top_builddir)/VLC-release.app;; \
|
2005-08-08 01:58:39 +08:00
|
|
|
*darwin8*) cd $(top_builddir)/tmp/extras/MacOSX && xcodebuild -target vlc | grep -v '^\([ \t]\|$$\)'; \
|
2005-07-28 07:43:35 +08:00
|
|
|
cd ../../../; \
|
2005-11-14 04:32:26 +08:00
|
|
|
cp -R $(top_builddir)/tmp/extras/MacOSX/build/Default/VLC.bundle \
|
2005-07-28 07:43:35 +08:00
|
|
|
$(top_builddir)/VLC-release.app;; \
|
|
|
|
esac
|
2005-04-06 22:36:57 +08:00
|
|
|
rm -Rf $(top_builddir)/tmp
|
|
|
|
$(INSTALL) -d $(top_builddir)/VLC-release.app/Contents/MacOS
|
|
|
|
$(INSTALL) $(top_builddir)/vlc \
|
|
|
|
$(top_builddir)/VLC-release.app/Contents/MacOS/VLC
|
|
|
|
ln -sf ./VLC $(top_builddir)/VLC-release.app/Contents/MacOS/clivlc
|
|
|
|
$(INSTALL) -d $(top_builddir)/VLC-release.app/Contents/MacOS/modules
|
|
|
|
for i in "" `$(VLC_CONFIG) --target plugin` ; do \
|
|
|
|
if test -n "$$i" ; \
|
|
|
|
then $(INSTALL) "$$i$(LIBEXT)" \
|
|
|
|
"$(top_builddir)/VLC-release.app/Contents/MacOS/modules" ; \
|
|
|
|
fi ; done
|
2005-08-17 19:58:44 +08:00
|
|
|
if test -d $(srcdir)/extras/contrib/vlc-lib; then \
|
2005-04-06 22:36:57 +08:00
|
|
|
mkdir -p $(top_builddir)/VLC-release.app/Contents/MacOS/lib ; \
|
2005-08-17 19:58:44 +08:00
|
|
|
for i in $(srcdir)/extras/contrib/vlc-lib/*.dylib ; do \
|
2005-04-06 22:36:57 +08:00
|
|
|
$(INSTALL) -m 644 $${i} $(top_builddir)/VLC-release.app/Contents/MacOS/lib/vlc_`basename $${i}` ; \
|
|
|
|
done ; \
|
|
|
|
fi
|
|
|
|
$(INSTALL) -d $(top_builddir)/VLC-release.app/Contents/MacOS/share
|
|
|
|
$(INSTALL) -d $(top_builddir)/VLC-release.app/Contents/MacOS/share/http
|
|
|
|
for i in $(srcdir)/share/http/* ; do \
|
|
|
|
$(INSTALL) -m 644 $${i} $(top_builddir)/VLC-release.app/Contents/MacOS/share/http/`basename $${i}` ; \
|
|
|
|
done ; \
|
|
|
|
$(INSTALL) -d $(top_builddir)/VLC-release.app/Contents/MacOS/share/http/vlm
|
|
|
|
for i in $(srcdir)/share/http/vlm/* ; do \
|
|
|
|
$(INSTALL) -m 644 $${i} $(top_builddir)/VLC-release.app/Contents/MacOS/share/http/vlm/`basename $${i}` ; \
|
|
|
|
done ; \
|
|
|
|
$(INSTALL) -d $(top_builddir)/VLC-release.app/Contents/MacOS/share/http/admin
|
|
|
|
for i in $(srcdir)/share/http/admin/* ; do \
|
|
|
|
$(INSTALL) -m 644 $${i} $(top_builddir)/VLC-release.app/Contents/MacOS/share/http/admin/`basename $${i}` ; \
|
|
|
|
done ; \
|
|
|
|
$(INSTALL) -m 644 $(srcdir)/share/http/admin/.access $(top_builddir)/VLC-release.app/Contents/MacOS/share/http/admin/.access
|
|
|
|
$(INSTALL) -d $(top_builddir)/VLC-release.app/Contents/MacOS/locale
|
|
|
|
for i in $(ALL_LINGUAS); do \
|
|
|
|
mkdir -p $(top_builddir)/VLC-release.app/Contents/MacOS/locale/$${i}/LC_MESSAGES ; \
|
|
|
|
cp $(srcdir)/po/$${i}.gmo $(top_builddir)/VLC-release.app/Contents/MacOS/locale/$${i}/LC_MESSAGES/vlc.mo || true ; \
|
|
|
|
mkdir -p $(top_builddir)/VLC-release.app/Contents/Resources/$${i}.lproj ; \
|
|
|
|
ln -sf ../English.lproj/InfoPlist.strings \
|
|
|
|
$(top_builddir)/VLC-release.app/Contents/Resources/$${i}.lproj ; \
|
|
|
|
ln -sf ../English.lproj/MainMenu.nib \
|
|
|
|
$(top_builddir)/VLC-release.app/Contents/Resources/$${i}.lproj ; \
|
|
|
|
ln -sf ../English.lproj/vlc.scriptTerminology \
|
|
|
|
$(top_builddir)/VLC-release.app/Contents/Resources/$${i}.lproj ; \
|
|
|
|
done
|
|
|
|
printf "APPLVLC#" >| $(top_builddir)/VLC-release.app/Contents/PkgInfo
|
|
|
|
|
2003-07-01 20:50:56 +08:00
|
|
|
VLC.app: vlc
|
2003-08-24 08:29:03 +08:00
|
|
|
@if test -e "$(top_builddir)/tmp"; then \
|
|
|
|
echo "Error: please remove $(top_builddir)/tmp, it is in the way"; \
|
|
|
|
false; \
|
|
|
|
else \
|
|
|
|
echo "OK."; mkdir -p "$(top_builddir)/tmp/extras"; \
|
|
|
|
fi
|
|
|
|
rm -Rf $(top_builddir)/VLC.app
|
2005-11-14 04:32:26 +08:00
|
|
|
cp -R $(srcdir)/extras/MacOSX $(top_builddir)/tmp/extras
|
2003-08-24 08:29:03 +08:00
|
|
|
for i in AUTHORS COPYING README.MacOSX.rtf THANKS; do \
|
|
|
|
cp "$(srcdir)/$$i" $(top_builddir)/tmp; \
|
|
|
|
done
|
|
|
|
mkdir -p $(top_builddir)/tmp/modules/audio_output
|
|
|
|
cp $(srcdir)/modules/audio_output/coreaudio.c \
|
|
|
|
$(top_builddir)/tmp/modules/audio_output/coreaudio.c
|
|
|
|
mkdir -p $(top_builddir)/tmp/modules/gui/macosx
|
|
|
|
for i in \
|
|
|
|
about.h \
|
|
|
|
about.m \
|
|
|
|
applescript.h \
|
|
|
|
applescript.m \
|
|
|
|
controls.h \
|
|
|
|
controls.m \
|
2004-08-08 05:56:42 +08:00
|
|
|
equalizer.h \
|
|
|
|
equalizer.m \
|
2003-08-24 08:29:03 +08:00
|
|
|
intf.h \
|
|
|
|
intf.m \
|
|
|
|
macosx.m \
|
|
|
|
misc.h \
|
|
|
|
misc.m \
|
|
|
|
open.h \
|
|
|
|
open.m \
|
|
|
|
output.h \
|
|
|
|
output.m \
|
|
|
|
playlist.h \
|
|
|
|
playlist.m \
|
2004-04-30 02:32:58 +08:00
|
|
|
playlistinfo.h \
|
|
|
|
playlistinfo.m \
|
2004-02-06 05:01:44 +08:00
|
|
|
prefs_widgets.h \
|
|
|
|
prefs_widgets.m \
|
2003-08-24 08:29:03 +08:00
|
|
|
prefs.h \
|
|
|
|
prefs.m \
|
|
|
|
vout.h \
|
2004-08-22 23:16:03 +08:00
|
|
|
voutqt.m \
|
|
|
|
voutgl.m \
|
2005-06-20 03:37:42 +08:00
|
|
|
wizard.h \
|
|
|
|
wizard.m \
|
2005-08-05 07:24:50 +08:00
|
|
|
extended.h \
|
|
|
|
extended.m \
|
2005-08-25 23:02:30 +08:00
|
|
|
bookmarks.h \
|
|
|
|
bookmarks.m \
|
2003-08-24 08:29:03 +08:00
|
|
|
vout.m; do \
|
|
|
|
cp "$(srcdir)/modules/gui/macosx/$$i" \
|
|
|
|
$(top_builddir)/tmp/modules/gui/macosx; \
|
|
|
|
done
|
2005-07-28 07:43:35 +08:00
|
|
|
case $(target_triplet) in \
|
|
|
|
*darwin6*) cd $(top_builddir)/tmp/extras/MacOSX && pbxbuild -target vlc | grep -v '^\([ \t]\|$$\)'; \
|
|
|
|
cd ../../../; \
|
2005-11-14 04:32:26 +08:00
|
|
|
cp -R $(top_builddir)/tmp/extras/MacOSX/build/VLC.bundle \
|
2005-07-28 07:43:35 +08:00
|
|
|
$(top_builddir)/VLC.app;; \
|
|
|
|
*darwin7*) cd $(top_builddir)/tmp/extras/MacOSX && xcodebuild -target vlc | grep -v '^\([ \t]\|$$\)'; \
|
|
|
|
cd ../../../; \
|
2005-11-14 04:32:26 +08:00
|
|
|
cp -R $(top_builddir)/tmp/extras/MacOSX/build/VLC.bundle \
|
2005-07-28 07:43:35 +08:00
|
|
|
$(top_builddir)/VLC.app;; \
|
2005-08-08 01:58:39 +08:00
|
|
|
*darwin8*) cd $(top_builddir)/tmp/extras/MacOSX && xcodebuild -target vlc | grep -v '^\([ \t]\|$$\)'; \
|
2005-07-28 07:43:35 +08:00
|
|
|
cd ../../../; \
|
2005-11-14 04:32:26 +08:00
|
|
|
cp -R $(top_builddir)/tmp/extras/MacOSX/build/Default/VLC.bundle \
|
2005-07-28 07:43:35 +08:00
|
|
|
$(top_builddir)/VLC.app;; \
|
|
|
|
esac
|
2003-08-24 08:29:03 +08:00
|
|
|
rm -Rf $(top_builddir)/tmp
|
|
|
|
$(INSTALL) -d $(top_builddir)/VLC.app/Contents/MacOS
|
|
|
|
$(INSTALL) $(top_builddir)/vlc \
|
|
|
|
$(top_builddir)/VLC.app/Contents/MacOS/VLC
|
2004-07-05 09:27:35 +08:00
|
|
|
ln -sf ./VLC $(top_builddir)/VLC.app/Contents/MacOS/clivlc
|
2003-08-24 08:29:03 +08:00
|
|
|
$(INSTALL) -d $(top_builddir)/VLC.app/Contents/MacOS/modules
|
2003-06-28 21:04:52 +08:00
|
|
|
for i in "" `$(VLC_CONFIG) --target plugin` ; do \
|
2003-08-24 08:29:03 +08:00
|
|
|
if test -n "$$i" ; \
|
2005-04-06 22:36:57 +08:00
|
|
|
then ln -sfn "`pwd`/$$i$(LIBEXT)" \
|
2003-08-24 08:29:03 +08:00
|
|
|
"$(top_builddir)/VLC.app/Contents/MacOS/modules" ; \
|
2003-06-27 21:50:13 +08:00
|
|
|
fi ; done
|
2005-08-17 19:58:44 +08:00
|
|
|
if test -d $(srcdir)/extras/contrib/vlc-lib; then \
|
2003-11-23 21:06:43 +08:00
|
|
|
mkdir -p $(top_builddir)/VLC.app/Contents/MacOS/lib ; \
|
2005-08-17 19:58:44 +08:00
|
|
|
for i in $(srcdir)/extras/contrib/vlc-lib/*.dylib ; do \
|
2005-04-06 22:36:57 +08:00
|
|
|
ln -sfn `pwd`/$${i} $(top_builddir)/VLC.app/Contents/MacOS/lib/vlc_`basename $${i}` ; \
|
2003-11-23 21:06:43 +08:00
|
|
|
done ; \
|
2003-11-15 09:21:48 +08:00
|
|
|
fi
|
2005-04-06 22:36:57 +08:00
|
|
|
ln -sfn `pwd`/share $(top_builddir)/VLC.app/Contents/MacOS/
|
2003-08-24 08:29:03 +08:00
|
|
|
$(INSTALL) -d $(top_builddir)/VLC.app/Contents/MacOS/locale
|
2003-03-21 15:54:24 +08:00
|
|
|
for i in $(ALL_LINGUAS); do \
|
2003-08-24 08:29:03 +08:00
|
|
|
mkdir -p $(top_builddir)/VLC.app/Contents/MacOS/locale/$${i}/LC_MESSAGES ; \
|
2005-04-06 22:36:57 +08:00
|
|
|
ln -sfn `pwd`/po/$${i}.gmo $(top_builddir)/VLC.app/Contents/MacOS/locale/$${i}/LC_MESSAGES/vlc.mo || true ; \
|
2003-08-24 08:29:03 +08:00
|
|
|
mkdir -p $(top_builddir)/VLC.app/Contents/Resources/$${i}.lproj ; \
|
|
|
|
ln -sf ../English.lproj/InfoPlist.strings \
|
|
|
|
$(top_builddir)/VLC.app/Contents/Resources/$${i}.lproj ; \
|
|
|
|
ln -sf ../English.lproj/MainMenu.nib \
|
|
|
|
$(top_builddir)/VLC.app/Contents/Resources/$${i}.lproj ; \
|
2002-12-27 08:17:49 +08:00
|
|
|
done
|
2003-08-24 08:29:03 +08:00
|
|
|
printf "APPLVLC#" >| $(top_builddir)/VLC.app/Contents/PkgInfo
|
2002-09-30 19:05:42 +08:00
|
|
|
endif
|
|
|
|
|
|
|
|
if HAVE_WIN32
|
2002-10-02 20:59:59 +08:00
|
|
|
DATA_win32_rc = $(noinst_share_vlc_win32_rc_DATA)
|
2002-09-30 19:05:42 +08:00
|
|
|
noinst_share_vlc_win32_rc_DATA = share/vlc_win32_rc.$(OBJEXT)
|
|
|
|
noinst_share_vlc_win32_rcdir = $(libdir)
|
|
|
|
share/vlc_win32_rc.$(OBJEXT): share/vlc_win32_rc.rc
|
2003-07-07 00:35:38 +08:00
|
|
|
$(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 $@
|
2002-09-30 19:05:42 +08:00
|
|
|
endif
|
|
|
|
|
2005-07-28 07:43:35 +08:00
|
|
|
|
2003-07-05 22:47:53 +08:00
|
|
|
###############################################################################
|
|
|
|
# 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)
|
|
|
|
|
|
|
|
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); }; }
|
|
|
|
|
2002-12-26 05:02:35 +08:00
|
|
|
###############################################################################
|
|
|
|
# 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.
|
|
|
|
#
|
2003-08-29 01:46:34 +08:00
|
|
|
package-win32-base:
|
2004-05-15 01:07:50 +08:00
|
|
|
# Check that tmp isn't in the way
|
2004-12-28 22:11:36 +08:00
|
|
|
@if test -e "$(top_builddir)/vlc-${VERSION}"; then \
|
|
|
|
echo "Error: please remove $(top_builddir)/vlc-${VERSION}, it is in the way"; \
|
2003-06-28 00:26:02 +08:00
|
|
|
false; \
|
2002-12-26 05:02:35 +08:00
|
|
|
else \
|
2004-12-28 22:11:36 +08:00
|
|
|
echo "OK."; mkdir -p "$(top_builddir)/vlc-${VERSION}"; \
|
2002-12-26 05:02:35 +08:00
|
|
|
fi
|
2004-05-15 01:07:50 +08:00
|
|
|
|
2002-12-26 05:02:35 +08:00
|
|
|
# Copy relevant files
|
2004-12-28 22:11:36 +08:00
|
|
|
cp "$(srcdir)/vlc.win32.nsi" "$(top_builddir)/vlc-${VERSION}/"
|
|
|
|
cp "$(top_builddir)/vlc$(EXEEXT)" "$(top_builddir)/vlc-${VERSION}/"
|
|
|
|
cp "$(top_srcdir)/vlc.exe.manifest" "$(top_builddir)/vlc-${VERSION}/"
|
|
|
|
$(STRIP) "$(top_builddir)/vlc-${VERSION}/vlc$(EXEEXT)"
|
2004-04-28 21:01:14 +08:00
|
|
|
|
2003-02-27 03:39:43 +08:00
|
|
|
for file in AUTHORS MAINTAINERS THANKS NEWS COPYING README ; \
|
2004-12-28 22:11:36 +08:00
|
|
|
do sed 's/@/_AT_/' < "$(srcdir)/$$file" > "$(top_builddir)/vlc-${VERSION}/$${file}.txt" ; \
|
|
|
|
unix2dos "$(top_builddir)/vlc-${VERSION}/$${file}.txt" ; done
|
2003-02-27 03:39:43 +08:00
|
|
|
|
2004-12-28 22:11:36 +08:00
|
|
|
mkdir -p "$(top_builddir)/vlc-${VERSION}/plugins"
|
2003-06-28 21:04:52 +08:00
|
|
|
for i in "" `$(VLC_CONFIG) --target plugin` ; do \
|
2003-06-28 00:26:02 +08:00
|
|
|
if test -n "$$i" ; then \
|
2004-12-28 22:11:36 +08:00
|
|
|
$(INSTALL) "$(top_builddir)/$$i$(LIBEXT)" \
|
|
|
|
"$(top_builddir)/vlc-${VERSION}/plugins/" ; \
|
2003-06-27 21:50:13 +08:00
|
|
|
fi ; done
|
2003-02-27 03:39:43 +08:00
|
|
|
|
2004-12-28 22:11:36 +08:00
|
|
|
for i in "" $(top_builddir)/vlc-${VERSION}/plugins/*$(LIBEXT) ; \
|
2004-08-09 16:16:22 +08:00
|
|
|
do if test -n "$$i" ; then $(STRIP) "$$i" ; fi ; done
|
2003-04-07 01:14:43 +08:00
|
|
|
|
2004-12-28 22:11:36 +08:00
|
|
|
mkdir $(top_builddir)/vlc-${VERSION}/locale
|
2003-02-27 03:39:43 +08:00
|
|
|
for i in $(ALL_LINGUAS); do \
|
2004-12-28 22:11:36 +08:00
|
|
|
mkdir -p "$(top_builddir)/vlc-${VERSION}/locale/$${i}/LC_MESSAGES" ; \
|
2003-06-28 00:26:02 +08:00
|
|
|
cp "$(srcdir)/po/$${i}.gmo" \
|
2004-12-28 22:11:36 +08:00
|
|
|
"$(top_builddir)/vlc-${VERSION}/locale/$${i}/LC_MESSAGES/vlc.mo" \
|
2003-08-29 01:46:34 +08:00
|
|
|
|| true ; \
|
2003-02-27 03:39:43 +08:00
|
|
|
done
|
|
|
|
|
2004-12-28 22:11:36 +08:00
|
|
|
mkdir -p $(top_builddir)/vlc-${VERSION}/skins/fonts
|
2004-03-23 04:54:35 +08:00
|
|
|
for i in $(srcdir)/share/skins2/fonts/*.*; do \
|
2004-12-28 22:11:36 +08:00
|
|
|
cp $$i $(top_builddir)/vlc-${VERSION}/skins/fonts/ || true ; \
|
2004-03-23 04:54:35 +08:00
|
|
|
done
|
2004-04-30 23:30:43 +08:00
|
|
|
for i in $(srcdir)/share/skins2/*.*; do \
|
2004-12-28 22:11:36 +08:00
|
|
|
cp $$i $(top_builddir)/vlc-${VERSION}/skins/ || true ; \
|
2004-04-30 23:30:43 +08:00
|
|
|
done
|
2003-04-07 01:14:43 +08:00
|
|
|
|
2005-08-12 21:04:38 +08:00
|
|
|
mkdir -p "$(top_builddir)/vlc-${VERSION}/osdmenu"
|
2005-10-01 18:57:40 +08:00
|
|
|
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; \
|
Forward port of branches/0.8.1-jpsaman-thedj revision 12070. The OSD menu subsystem consists of two parts a core part (src/osd, include/vlc_osd.h) and a subfilter (modules/video_filter/osdmenu.c). The OSD menu can be used locally or it can be streamed. It depends on the way the functionality is called from the vlc commandline. Currently there is only one way to make the subpictures appear on the video and that is through the rc-interface. The following commands are supported by it: "menu on" (show OSD menu), "menu off" (hide OSD menu), "menu left" (highlight button on the left), "menu right" (highlight button on the right), "menu up" (highlight button above), "menu down" (highlight button below) or "menu select" (perform hotkey action). When there is no button on the left, right, up or down then the menu-command will be ignored.
To stream use a commandline similar to this:
./vlc dvdsimple:///dev/dvd --sub-filter=osdmenu --osdmenu-file=share/osdmenu/default.cfg --extraintf rc --sout '#transcode{sfilter=osdmenu}:std{mux=ts,access=udp,url=127.0.0.1:1234}' -vvvv
For local playback a commandline like this is needed:
./vlc dvdsimple:///dev/dvd --sub-filter=osdmenu --osdmenu-file=share/osdmenu/default.cfg -vvvv
Have fun with the basic functionality - jpsaman.
2005-08-11 06:08:50 +08:00
|
|
|
done
|
2005-10-01 18:57:40 +08:00
|
|
|
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
|
Forward port of branches/0.8.1-jpsaman-thedj revision 12070. The OSD menu subsystem consists of two parts a core part (src/osd, include/vlc_osd.h) and a subfilter (modules/video_filter/osdmenu.c). The OSD menu can be used locally or it can be streamed. It depends on the way the functionality is called from the vlc commandline. Currently there is only one way to make the subpictures appear on the video and that is through the rc-interface. The following commands are supported by it: "menu on" (show OSD menu), "menu off" (hide OSD menu), "menu left" (highlight button on the left), "menu right" (highlight button on the right), "menu up" (highlight button above), "menu down" (highlight button below) or "menu select" (perform hotkey action). When there is no button on the left, right, up or down then the menu-command will be ignored.
To stream use a commandline similar to this:
./vlc dvdsimple:///dev/dvd --sub-filter=osdmenu --osdmenu-file=share/osdmenu/default.cfg --extraintf rc --sout '#transcode{sfilter=osdmenu}:std{mux=ts,access=udp,url=127.0.0.1:1234}' -vvvv
For local playback a commandline like this is needed:
./vlc dvdsimple:///dev/dvd --sub-filter=osdmenu --osdmenu-file=share/osdmenu/default.cfg -vvvv
Have fun with the basic functionality - jpsaman.
2005-08-11 06:08:50 +08:00
|
|
|
|
2004-12-28 22:11:36 +08:00
|
|
|
mkdir -p "$(top_builddir)/vlc-${VERSION}/http/admin"
|
|
|
|
mkdir -p "$(top_builddir)/vlc-${VERSION}/http/vlm"
|
|
|
|
cp $(srcdir)/share/http/*.html $(top_builddir)/vlc-${VERSION}/http/ ;
|
2005-10-01 18:57:40 +08:00
|
|
|
unix2dos $(top_builddir)/vlc-${VERSION}/http/*.html ;:
|
2004-12-28 22:11:36 +08:00
|
|
|
cp $(srcdir)/share/http/*.css $(top_builddir)/vlc-${VERSION}/http/ ;
|
2005-04-06 23:12:52 +08:00
|
|
|
unix2dos $(top_builddir)/vlc-${VERSION}/http/*.css ;
|
|
|
|
cp $(srcdir)/share/http/*.png $(top_builddir)/vlc-${VERSION}/http/
|
|
|
|
cp $(srcdir)/share/http/*.ico $(top_builddir)/vlc-${VERSION}/http/ ;
|
2003-08-29 01:46:34 +08:00
|
|
|
cp $(srcdir)/share/http/admin/*.html \
|
2004-12-28 22:11:36 +08:00
|
|
|
$(top_builddir)/vlc-${VERSION}/http/admin/ ;
|
2005-04-06 23:12:52 +08:00
|
|
|
unix2dos $(top_builddir)/vlc-${VERSION}/http/admin/*.html ;
|
2005-06-15 02:19:34 +08:00
|
|
|
cp $(srcdir)/share/http/admin/dboxfiles.html \
|
|
|
|
$(top_builddir)/vlc-${VERSION}/http/admin/ ;
|
2003-08-29 01:46:34 +08:00
|
|
|
cp $(srcdir)/share/http/admin/.access \
|
2004-12-28 22:11:36 +08:00
|
|
|
$(top_builddir)/vlc-${VERSION}/http/admin/ ;
|
2005-04-06 23:12:52 +08:00
|
|
|
unix2dos $(top_builddir)/vlc-${VERSION}/http/admin/.access ;
|
2004-05-06 16:14:03 +08:00
|
|
|
cp $(srcdir)/share/http/vlm/*.html \
|
2004-12-28 22:11:36 +08:00
|
|
|
$(top_builddir)/vlc-${VERSION}/http/vlm/ ;
|
2005-04-06 23:12:52 +08:00
|
|
|
unix2dos $(top_builddir)/vlc-${VERSION}/http/vlm/*.html ;
|
2003-08-29 01:46:34 +08:00
|
|
|
|
2005-11-24 04:53:56 +08:00
|
|
|
cp $(srcdir)/share/vlc48x48.ico $(top_builddir)/vlc-${VERSION}/ ;
|
2004-05-15 01:07:50 +08:00
|
|
|
|
2004-12-28 22:11:36 +08:00
|
|
|
mkdir -p "$(top_builddir)/vlc-${VERSION}/mozilla"
|
2003-10-21 05:48:46 +08:00
|
|
|
if BUILD_MOZILLA
|
2004-12-28 22:11:36 +08:00
|
|
|
cp $(top_builddir)/mozilla/*$(LIBEXT) $(top_builddir)/vlc-${VERSION}/mozilla/ ;
|
|
|
|
$(STRIP) $(top_builddir)/vlc-${VERSION}/mozilla/*$(LIBEXT);
|
|
|
|
cp $(top_builddir)/mozilla/vlcintf.xpt $(top_builddir)/vlc-${VERSION}/mozilla/ ;
|
2003-10-21 05:48:46 +08:00
|
|
|
endif
|
|
|
|
|
2005-01-28 22:17:38 +08:00
|
|
|
mkdir -p "$(top_builddir)/vlc-${VERSION}/activex"
|
|
|
|
if BUILD_ACTIVEX
|
2005-07-01 18:22:30 +08:00
|
|
|
cp $(srcdir)/activex/README.TXT $(top_builddir)/vlc-${VERSION}/activex/ ;
|
|
|
|
cp $(srcdir)/activex/test.html $(top_builddir)/vlc-${VERSION}/activex/ ;
|
2005-01-28 22:17:38 +08:00
|
|
|
unix2dos $(top_builddir)/vlc-${VERSION}/activex/* ;
|
|
|
|
|
|
|
|
cp $(top_builddir)/activex/*$(LIBEXT) $(top_builddir)/vlc-${VERSION}/activex/ ;
|
|
|
|
$(STRIP) $(top_builddir)/vlc-${VERSION}/activex/*$(LIBEXT);
|
|
|
|
endif
|
2005-04-18 20:58:14 +08:00
|
|
|
# Rebase all those DLLs to speed up loading (need cygwin rebase)
|
|
|
|
if [ -x rebase ]; then \
|
|
|
|
find $(top_builddir)/vlc-${VERSION} -type f -name '*.dll' -print | rebase -b 0x70000000 -T -; \
|
|
|
|
fi
|
2005-01-28 22:17:38 +08:00
|
|
|
|
2003-08-29 01:46:34 +08:00
|
|
|
package-win32-base-exe:
|
2004-12-28 22:11:36 +08:00
|
|
|
# Create package
|
2005-06-08 21:17:48 +08:00
|
|
|
wine C:/Program\ Files/NSIS/makensis.exe \
|
2004-12-28 22:11:36 +08:00
|
|
|
/DVERSION=${VERSION} $(top_builddir)/vlc-${VERSION}/vlc.win32.nsi
|
|
|
|
|
|
|
|
package-win32-base-exe-cygwin:
|
|
|
|
# Create package
|
|
|
|
C:/Program\ Files/NSIS/makensis.exe \
|
|
|
|
/DVERSION=${VERSION} $(top_builddir)/vlc-${VERSION}/vlc.win32.nsi
|
2003-07-22 01:29:58 +08:00
|
|
|
|
2005-02-08 22:33:40 +08:00
|
|
|
package-win32-base-exe-linux:
|
|
|
|
# Create package
|
|
|
|
makensis -DVERSION=${VERSION} $(top_builddir)/vlc-${VERSION}/vlc.win32.nsi
|
|
|
|
|
2003-08-29 01:46:34 +08:00
|
|
|
package-win32-base-zip:
|
2002-12-26 05:02:35 +08:00
|
|
|
# Create package
|
2003-08-29 03:26:29 +08:00
|
|
|
zip -r vlc-${VERSION}-win32.zip vlc-${VERSION}
|
2003-08-29 01:46:34 +08:00
|
|
|
|
|
|
|
package-win32-exe: package-win32-base package-win32-base-exe
|
|
|
|
# Clean up
|
2004-12-28 22:11:36 +08:00
|
|
|
rm -Rf $(top_builddir)/vlc-${VERSION}
|
2003-08-29 01:46:34 +08:00
|
|
|
|
2005-02-08 22:33:40 +08:00
|
|
|
package-win32-exe-linux: package-win32-base package-win32-base-exe-linux
|
|
|
|
# Clean up
|
|
|
|
rm -Rf $(top_builddir)/vlc-${VERSION}
|
|
|
|
|
2003-08-29 01:46:34 +08:00
|
|
|
package-win32-zip: package-win32-base package-win32-base-zip
|
|
|
|
# Clean up
|
2004-12-28 22:11:36 +08:00
|
|
|
rm -Rf $(top_builddir)/vlc-${VERSION}
|
2003-08-29 01:46:34 +08:00
|
|
|
|
|
|
|
package-win32: package-win32-base package-win32-base-exe package-win32-base-zip
|
2002-12-26 05:02:35 +08:00
|
|
|
# Clean up
|
2004-12-28 22:11:36 +08:00
|
|
|
rm -Rf $(top_builddir)/vlc-${VERSION}
|
2002-12-26 05:02:35 +08:00
|
|
|
|
2005-09-29 03:36:15 +08:00
|
|
|
package-wince-base:
|
|
|
|
# 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}/"
|
|
|
|
$(STRIP) "$(top_builddir)/vlc-${VERSION}/vlc$(EXEEXT)"
|
|
|
|
|
|
|
|
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/admin"
|
|
|
|
mkdir -p "$(top_builddir)/vlc-${VERSION}/http/vlm"
|
|
|
|
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/*.png $(top_builddir)/vlc-${VERSION}/http/
|
|
|
|
cp $(srcdir)/share/http/*.ico $(top_builddir)/vlc-${VERSION}/http/ ;
|
|
|
|
cp $(srcdir)/share/http/admin/*.html \
|
|
|
|
$(top_builddir)/vlc-${VERSION}/http/admin/ ;
|
|
|
|
unix2dos $(top_builddir)/vlc-${VERSION}/http/admin/*.html ;
|
|
|
|
cp $(srcdir)/share/http/admin/dboxfiles.html \
|
|
|
|
$(top_builddir)/vlc-${VERSION}/http/admin/ ;
|
|
|
|
cp $(srcdir)/share/http/admin/.access \
|
|
|
|
$(top_builddir)/vlc-${VERSION}/http/admin/ ;
|
|
|
|
unix2dos $(top_builddir)/vlc-${VERSION}/http/admin/.access ;
|
|
|
|
cp $(srcdir)/share/http/vlm/*.html \
|
|
|
|
$(top_builddir)/vlc-${VERSION}/http/vlm/ ;
|
|
|
|
unix2dos $(top_builddir)/vlc-${VERSION}/http/vlm/*.html ;
|
|
|
|
|
2005-11-24 04:53:56 +08:00
|
|
|
cp $(srcdir)/share/vlc48x48.ico $(top_builddir)/vlc-${VERSION}/ ;
|
2005-09-29 03:36:15 +08:00
|
|
|
|
|
|
|
if BUILD_MOZILLA
|
|
|
|
mkdir -p "$(top_builddir)/vlc-${VERSION}/mozilla"
|
|
|
|
cp $(top_builddir)/mozilla/*$(LIBEXT) $(top_builddir)/vlc-${VERSION}/mozilla/ ;
|
|
|
|
$(STRIP) $(top_builddir)/vlc-${VERSION}/mozilla/*$(LIBEXT);
|
|
|
|
cp $(top_builddir)/mozilla/vlcintf.xpt $(top_builddir)/vlc-${VERSION}/mozilla/ ;
|
|
|
|
endif
|
|
|
|
|
|
|
|
if BUILD_ACTIVEX
|
|
|
|
mkdir -p "$(top_builddir)/vlc-${VERSION}/activex"
|
|
|
|
cp $(srcdir)/activex/README.TXT $(top_builddir)/vlc-${VERSION}/activex/ ;
|
|
|
|
cp $(srcdir)/activex/test.html $(top_builddir)/vlc-${VERSION}/activex/ ;
|
|
|
|
unix2dos $(top_builddir)/vlc-${VERSION}/activex/* ;
|
|
|
|
|
|
|
|
cp $(top_builddir)/activex/*$(LIBEXT) $(top_builddir)/vlc-${VERSION}/activex/ ;
|
|
|
|
$(STRIP) $(top_builddir)/vlc-${VERSION}/activex/*$(LIBEXT);
|
|
|
|
endif
|
|
|
|
# Rebase all those DLLs to speed up loading (need cygwin rebase)
|
|
|
|
if [ -x rebase ]; then \
|
|
|
|
find $(top_builddir)/vlc-${VERSION} -type f -name '*.dll' -print | rebase -b 0x70000000 -T -; \
|
|
|
|
fi
|
|
|
|
|
|
|
|
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}
|
|
|
|
|
|
|
|
|
2002-12-26 05:02:35 +08:00
|
|
|
package-beos:
|
|
|
|
# Check that tmp isn't in the way
|
2003-05-24 20:35:06 +08:00
|
|
|
@if test -e $(srcdir)/tmp; then \
|
2003-06-28 00:26:02 +08:00
|
|
|
echo "Error: please remove $(srcdir)/tmp, it is in the way"; \
|
2003-12-17 16:53:54 +08:00
|
|
|
false ; \
|
2002-12-26 05:02:35 +08:00
|
|
|
else \
|
2003-12-17 16:53:54 +08:00
|
|
|
echo "OK." ; mkdir $(srcdir)/tmp ; \
|
2002-12-26 05:02:35 +08:00
|
|
|
fi
|
2003-04-23 00:36:16 +08:00
|
|
|
|
2002-12-26 05:02:35 +08:00
|
|
|
# Copy relevant files
|
2003-12-17 16:53:54 +08:00
|
|
|
mkdir -p $(srcdir)/tmp/vlc ;
|
2004-07-23 22:19:31 +08:00
|
|
|
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 ;
|
2003-04-23 00:36:16 +08:00
|
|
|
|
2004-07-23 22:19:31 +08:00
|
|
|
# Create normal package
|
2005-02-19 09:58:57 +08:00
|
|
|
$(STRIP) --strip-debug --strip-unneeded $(srcdir)/tmp/vlc/vlc ;
|
|
|
|
find $(srcdir)/tmp/vlc -name 'lib*.so' -exec $(STRIP) \
|
2004-07-23 22:19:31 +08:00
|
|
|
--strip-debug --strip-unneeded "{}" \; ;
|
2003-12-17 16:53:54 +08:00
|
|
|
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} ;
|
2003-05-24 23:11:00 +08:00
|
|
|
(cd $(srcdir)/tmp ; zip -9 -r vlc-${VERSION}-BeOS.zip vlc-${VERSION} )
|
2003-12-17 16:53:54 +08:00
|
|
|
mv $(srcdir)/tmp/vlc-${VERSION}-BeOS.zip $(srcdir)/ ;
|
2003-04-23 00:36:16 +08:00
|
|
|
|
2002-12-26 05:02:35 +08:00
|
|
|
# Clean up
|
2003-12-17 16:53:54 +08:00
|
|
|
rm -Rf $(srcdir)/tmp ;
|
2002-12-26 05:02:35 +08:00
|
|
|
|
|
|
|
package-macosx:
|
|
|
|
# Check that tmp isn't in the way
|
2003-08-24 08:29:03 +08:00
|
|
|
@if test -e "$(top_builddir)/tmp"; then \
|
|
|
|
echo "Error: please remove $(top_builddir)/tmp, it is in the way"; \
|
2003-06-28 00:26:02 +08:00
|
|
|
false; \
|
2002-12-26 05:02:35 +08:00
|
|
|
else \
|
2003-08-24 08:29:03 +08:00
|
|
|
echo "OK."; mkdir -p "$(top_builddir)/tmp"; \
|
2002-12-26 05:02:35 +08:00
|
|
|
fi
|
|
|
|
|
|
|
|
# Copy relevant files
|
2005-04-06 23:13:54 +08:00
|
|
|
cp -R "$(top_builddir)/VLC-release.app" "$(top_builddir)/tmp/VLC.app"
|
2005-11-14 04:32:26 +08:00
|
|
|
cd "$(srcdir)" && cp AUTHORS COPYING ChangeLog README README.MacOSX.rtf THANKS NEWS $(top_builddir)/tmp/ && cp -R extras/MacOSX/Delete\ Preferences.app $(top_builddir)/tmp/
|
2002-12-26 05:02:35 +08:00
|
|
|
|
|
|
|
# Create disk image
|
2004-05-15 10:36:05 +08:00
|
|
|
$(srcdir)/extras/MacOSX/macosx-dmg "vlc-${VERSION}" $(top_builddir)/tmp
|
2002-12-26 05:02:35 +08:00
|
|
|
|
|
|
|
# Clean up
|
2003-08-24 08:29:03 +08:00
|
|
|
rm -Rf $(top_builddir)/tmp
|
2002-12-26 05:02:35 +08:00
|
|
|
|
2004-02-06 05:01:44 +08:00
|
|
|
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
|
|
|
|
|
2005-08-13 21:14:19 +08:00
|
|
|
###############################################################################
|
|
|
|
# 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' \
|
2005-11-29 00:14:34 +08:00
|
|
|
| grep -v '\(vlc_symbols\|misc/modules_\|src/misc/version.c\)' \
|
2005-08-13 21:14:19 +08:00
|
|
|
| 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
|
2005-08-22 22:22:41 +08:00
|
|
|
cd po && $(MAKE) POTFILES vlc.pot update-po
|
2005-08-13 21:14:19 +08:00
|
|
|
|
|
|
|
#cd po && $(MAKE) update-po
|
|
|
|
|
2003-07-03 10:56:35 +08:00
|
|
|
###############################################################################
|
|
|
|
# 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
|
|
|
|
|
2005-08-19 23:28:03 +08:00
|
|
|
stamp-api: Makefile.in $(HEADERS_include) vlc-config vlc-api.pl
|
2005-08-13 22:44:12 +08:00
|
|
|
( cd $(srcdir) && cat $(HEADERS_include) ) | \
|
2005-08-13 23:20:45 +08:00
|
|
|
top_srcdir="$(top_srcdir)" perl $(top_srcdir)/vlc-api.pl
|
2005-06-02 02:09:42 +08:00
|
|
|
touch stamp-api
|
|
|
|
|
2002-10-16 23:10:39 +08:00
|
|
|
###############################################################################
|
|
|
|
# Force rule
|
|
|
|
###############################################################################
|
|
|
|
FORCE:
|