2007-05-20 10:38:20 +02:00
|
|
|
###############################################################################
|
2006-02-19 14:11:21 +01:00
|
|
|
# Automake targets and declarations
|
|
|
|
###############################################################################
|
|
|
|
|
2006-03-10 18:21:33 +01:00
|
|
|
AUTOMAKE_OPTIONS = subdir-objects
|
2008-08-23 16:50:25 +02:00
|
|
|
SUBDIRS = . test
|
2006-03-10 18:21:33 +01:00
|
|
|
|
2006-02-19 14:11:21 +01:00
|
|
|
NULL =
|
2009-02-17 21:32:02 +01:00
|
|
|
EXTRA_DIST = extras/COPYING \
|
2008-06-22 18:46:48 +02:00
|
|
|
misc/beos_specific.cpp \
|
2008-06-01 22:13:13 +02:00
|
|
|
libvlc.pc.in \
|
2008-03-27 17:09:56 +01:00
|
|
|
vlc-plugin.pc.in \
|
2008-05-27 18:45:29 +02:00
|
|
|
libvlc.sym \
|
2008-05-15 18:40:44 +02:00
|
|
|
libvlccore.sym
|
2006-02-19 14:11:21 +01:00
|
|
|
|
2009-02-17 21:32:02 +01:00
|
|
|
BUILT_SOURCES = ../include/vlc_about.h
|
2008-02-08 17:13:58 +01:00
|
|
|
CLEANFILES = $(BUILT_SOURCES)
|
2006-02-19 14:11:21 +01:00
|
|
|
|
2008-03-19 19:59:09 +01:00
|
|
|
SUFFIXES = .pc.in .pc
|
|
|
|
|
2006-02-19 14:11:21 +01:00
|
|
|
###############################################################################
|
|
|
|
# Headers
|
|
|
|
###############################################################################
|
|
|
|
|
2008-05-01 22:00:05 +02:00
|
|
|
pluginsincludedir = $(pkgincludedir)/plugins
|
2006-02-19 14:11:21 +01:00
|
|
|
|
2008-05-01 22:00:46 +02:00
|
|
|
pkginclude_HEADERS = \
|
2006-02-19 14:11:21 +01:00
|
|
|
../include/vlc/vlc.h \
|
2008-03-26 21:52:11 +01:00
|
|
|
../include/vlc/deprecated.h \
|
2006-02-19 14:11:21 +01:00
|
|
|
../include/vlc/libvlc.h \
|
2008-03-26 21:52:11 +01:00
|
|
|
../include/vlc/libvlc_events.h \
|
2009-05-25 09:14:43 +02:00
|
|
|
../include/vlc/libvlc_media.h \
|
|
|
|
../include/vlc/libvlc_media_discoverer.h \
|
|
|
|
../include/vlc/libvlc_media_library.h \
|
|
|
|
../include/vlc/libvlc_media_list.h \
|
|
|
|
../include/vlc/libvlc_media_list_player.h \
|
|
|
|
../include/vlc/libvlc_media_list_view.h \
|
|
|
|
../include/vlc/libvlc_media_player.h \
|
|
|
|
../include/vlc/libvlc_structures.h \
|
2008-03-26 21:52:11 +01:00
|
|
|
../include/vlc/libvlc_vlm.h \
|
2006-02-19 14:11:21 +01:00
|
|
|
../include/vlc/mediacontrol.h \
|
|
|
|
../include/vlc/mediacontrol_structures.h \
|
|
|
|
$(NULL)
|
|
|
|
|
2008-05-01 22:00:05 +02:00
|
|
|
pluginsinclude_HEADERS = \
|
2008-05-26 20:01:00 +02:00
|
|
|
../include/vlc_access.h \
|
|
|
|
../include/vlc_acl.h \
|
2008-05-26 20:56:49 +02:00
|
|
|
../include/vlc_aout.h \
|
2008-05-01 22:00:05 +02:00
|
|
|
../include/vlc_arrays.h \
|
2009-03-12 16:27:37 +01:00
|
|
|
../include/vlc_avcodec.h \
|
2008-05-26 20:01:00 +02:00
|
|
|
../include/vlc_bits.h \
|
|
|
|
../include/vlc_block.h \
|
|
|
|
../include/vlc_block_helper.h \
|
|
|
|
../include/vlc_charset.h \
|
|
|
|
../include/vlc_codec.h \
|
2008-05-01 22:00:05 +02:00
|
|
|
../include/vlc_common.h \
|
|
|
|
../include/vlc_config.h \
|
2008-05-26 20:01:00 +02:00
|
|
|
../include/vlc_config_cat.h \
|
2008-05-01 22:00:05 +02:00
|
|
|
../include/vlc_configuration.h \
|
2009-03-05 19:42:47 +01:00
|
|
|
../include/vlc_dialog.h \
|
2008-05-26 20:56:49 +02:00
|
|
|
../include/vlc_demux.h \
|
2008-05-26 20:01:00 +02:00
|
|
|
../include/vlc_epg.h \
|
2008-05-26 20:56:49 +02:00
|
|
|
../include/vlc_es.h \
|
2008-05-26 20:01:00 +02:00
|
|
|
../include/vlc_es_out.h \
|
|
|
|
../include/vlc_events.h \
|
2008-05-26 20:56:49 +02:00
|
|
|
../include/vlc_filter.h \
|
2009-03-17 23:01:27 +01:00
|
|
|
../include/vlc_fourcc.h \
|
2008-05-26 20:01:00 +02:00
|
|
|
../include/vlc_gcrypt.h \
|
2009-07-22 01:06:38 +02:00
|
|
|
../include/vlc_http.h \
|
2008-05-26 20:01:00 +02:00
|
|
|
../include/vlc_httpd.h \
|
2008-05-26 20:56:49 +02:00
|
|
|
../include/vlc_image.h \
|
|
|
|
../include/vlc_input.h \
|
2009-01-17 17:59:40 +01:00
|
|
|
../include/vlc_input_item.h \
|
2008-05-02 18:06:43 +02:00
|
|
|
../include/vlc_main.h \
|
2008-05-26 20:01:00 +02:00
|
|
|
../include/vlc_md5.h \
|
2008-05-01 22:00:05 +02:00
|
|
|
../include/vlc_messages.h \
|
2008-05-26 20:01:00 +02:00
|
|
|
../include/vlc_meta.h \
|
2008-05-01 22:00:05 +02:00
|
|
|
../include/vlc_modules.h \
|
|
|
|
../include/vlc_mtime.h \
|
|
|
|
../include/vlc_objects.h \
|
2009-05-16 19:23:34 +02:00
|
|
|
../include/vlc_picture.h \
|
2009-05-31 21:55:37 +02:00
|
|
|
../include/vlc_picture_fifo.h \
|
|
|
|
../include/vlc_picture_pool.h \
|
2008-05-26 20:56:49 +02:00
|
|
|
../include/vlc_playlist.h \
|
2008-05-08 17:55:18 +02:00
|
|
|
../include/vlc_plugin.h \
|
2008-05-26 20:56:49 +02:00
|
|
|
../include/vlc_rand.h \
|
|
|
|
../include/vlc_services_discovery.h \
|
|
|
|
../include/vlc_sout.h \
|
2008-05-26 20:01:00 +02:00
|
|
|
../include/vlc_stream.h \
|
|
|
|
../include/vlc_strings.h \
|
2009-05-16 19:23:34 +02:00
|
|
|
../include/vlc_subpicture.h \
|
2008-05-01 22:00:05 +02:00
|
|
|
../include/vlc_threads.h \
|
2008-05-26 20:01:00 +02:00
|
|
|
../include/vlc_url.h \
|
2008-05-26 20:56:49 +02:00
|
|
|
../include/vlc_variables.h \
|
|
|
|
../include/vlc_vlm.h \
|
2009-06-06 15:51:53 +02:00
|
|
|
../include/vlc_video_splitter.h \
|
2008-05-26 20:56:49 +02:00
|
|
|
../include/vlc_vout.h \
|
2008-06-21 10:31:09 +02:00
|
|
|
../include/vlc_window.h \
|
2008-05-26 20:01:00 +02:00
|
|
|
../include/vlc_xml.h \
|
2008-05-01 22:00:05 +02:00
|
|
|
$(NULL)
|
2006-02-19 14:11:21 +01:00
|
|
|
|
2008-05-01 22:00:05 +02:00
|
|
|
noinst_HEADERS = \
|
2006-02-19 14:11:21 +01:00
|
|
|
../include/mmx.h \
|
2007-10-02 20:43:23 +02:00
|
|
|
../include/vlc_codec_synchro.h \
|
2007-08-17 18:33:59 +02:00
|
|
|
../include/vlc_codecs.h \
|
|
|
|
../include/vlc_devices.h \
|
2008-01-27 18:05:30 +01:00
|
|
|
../include/vlc_fixups.h \
|
2006-02-19 14:11:21 +01:00
|
|
|
../include/vlc_interface.h \
|
2006-08-29 11:14:34 +02:00
|
|
|
../include/vlc_intf_strings.h \
|
2008-05-26 20:18:54 +02:00
|
|
|
../include/vlc_iso_lang.h \
|
2006-02-19 14:11:21 +01:00
|
|
|
../include/vlc_keys.h \
|
2007-08-17 18:33:59 +02:00
|
|
|
../include/vlc_network.h \
|
2006-02-19 14:11:21 +01:00
|
|
|
../include/vlc_osd.h \
|
2008-01-24 18:34:52 +01:00
|
|
|
../include/vlc_pgpkey.h \
|
2007-08-17 18:33:59 +02:00
|
|
|
../include/vlc_tls.h \
|
2006-02-19 14:11:21 +01:00
|
|
|
../include/vlc_update.h \
|
|
|
|
../include/vlc_vod.h \
|
|
|
|
$(NULL)
|
|
|
|
|
2007-10-30 00:35:47 +01:00
|
|
|
../include/vlc_about.h: Makefile.am $(top_srcdir)/COPYING $(top_srcdir)/THANKS $(top_srcdir)/AUTHORS
|
|
|
|
rm -f -- "$@.tmp"
|
|
|
|
mkdir -p -- ../include
|
|
|
|
echo "/* Automatically generated file - DO NOT EDIT */" > "$@.tmp"
|
|
|
|
echo "static const char psz_license[] =" >> "$@.tmp"
|
2009-07-24 17:24:08 +02:00
|
|
|
sed 's/"/\\"/g;s/^.*$$/\"&\\n\"/' "$(top_srcdir)/COPYING" >> "$@.tmp"
|
2007-10-30 00:35:47 +01:00
|
|
|
echo ";" >> "$@.tmp"
|
|
|
|
echo "static const char psz_thanks[] =" >> "$@.tmp"
|
2009-07-24 17:24:08 +02:00
|
|
|
sed '/\$$Id:/d;s/"/\\"/g;s/<.*.> //;s/^.*$$/\"&\\n\"/' \
|
|
|
|
"$(top_srcdir)/THANKS" >> "$@.tmp"
|
2007-10-30 00:35:47 +01:00
|
|
|
echo ";" >> "$@.tmp"
|
|
|
|
echo "static const char psz_authors[] =" >> "$@.tmp"
|
2009-07-24 17:24:08 +02:00
|
|
|
sed -n '/^N: /{;s///;s/"/\\"/g;s/^.*$$/\"&\\n\"/;p;}' \
|
|
|
|
"$(top_srcdir)/AUTHORS" >> "$@.tmp"
|
2007-10-30 00:35:47 +01:00
|
|
|
echo ";" >> "$@.tmp"
|
2009-07-24 17:24:08 +02:00
|
|
|
|
2007-10-30 00:35:47 +01:00
|
|
|
mv -f -- "$@.tmp" "$@"
|
2008-02-25 18:32:54 +01:00
|
|
|
|
2008-03-02 19:02:34 +01:00
|
|
|
###############################################################################
|
|
|
|
# pkg-config integration
|
|
|
|
###############################################################################
|
|
|
|
|
|
|
|
pkgconfigdir = $(libdir)/pkgconfig
|
2008-06-01 22:13:13 +02:00
|
|
|
pkgconfig_DATA = libvlc.pc vlc-plugin.pc
|
2008-03-02 19:02:34 +01:00
|
|
|
CLEANFILES += $(pkgconfig_DATA)
|
|
|
|
|
2008-03-19 19:59:09 +01:00
|
|
|
.pc.in.pc: $(top_builddir)/config.status
|
|
|
|
cd "$(top_builddir)" && \
|
|
|
|
$(SHELL) ./config.status --file="src/$@"
|
|
|
|
|
2006-02-19 14:11:21 +01:00
|
|
|
###############################################################################
|
|
|
|
# Building libvlc
|
|
|
|
###############################################################################
|
|
|
|
|
2007-09-01 00:40:32 +02:00
|
|
|
nice:
|
|
|
|
$(top_builddir)/compile
|
|
|
|
|
2008-05-15 18:40:44 +02:00
|
|
|
lib_LTLIBRARIES = libvlccore.la libvlc.la
|
2007-07-19 18:32:23 +02:00
|
|
|
|
2008-08-02 08:33:36 +02:00
|
|
|
AM_LDFLAGS = -no-undefined
|
2007-07-19 18:32:23 +02:00
|
|
|
if HAVE_WIN32
|
2007-07-24 19:32:33 +02:00
|
|
|
AM_LDFLAGS += -avoid-version
|
2007-07-19 18:32:23 +02:00
|
|
|
endif
|
2009-01-03 01:34:30 +01:00
|
|
|
if HAVE_WINCE
|
|
|
|
AM_LDFLAGS += -avoid-version
|
|
|
|
endif
|
2006-02-19 14:11:21 +01:00
|
|
|
|
2008-05-15 18:40:44 +02:00
|
|
|
libvlccore_la_SOURCES = $(SOURCES_libvlc)
|
2009-02-23 18:11:03 +01:00
|
|
|
nodist_libvlccore_la_SOURCES = revision.c
|
2009-04-25 23:02:29 +02:00
|
|
|
libvlccore_la_CFLAGS = `$(VLC_CONFIG) --cflags libvlccore` \
|
2008-05-08 17:55:18 +02:00
|
|
|
-DMODULE_STRING=\"main\" \
|
2008-03-19 19:40:16 +01:00
|
|
|
-DLOCALEDIR=\"$(localedir)\" \
|
2008-05-05 22:53:12 +02:00
|
|
|
-DSYSCONFDIR=\"$(sysconfdir)\" \
|
2009-01-27 19:14:59 +01:00
|
|
|
-DDATA_PATH=\"$(vlcdatadir)\" \
|
2008-05-10 10:33:00 +02:00
|
|
|
-DLIBDIR=\"$(libdir)\" \
|
2009-01-27 19:14:59 +01:00
|
|
|
-DPLUGIN_PATH=\"$(vlclibdir)\"
|
2009-04-25 17:07:38 +02:00
|
|
|
libvlccore_la_LDFLAGS = `$(VLC_CONFIG) --ldflags libvlccore` $(AM_LDFLAGS) \
|
2009-04-10 19:14:10 +02:00
|
|
|
-no-undefined \
|
2008-05-24 09:39:07 +02:00
|
|
|
-export-symbols $(srcdir)/libvlccore.sym \
|
2009-05-16 12:47:52 +02:00
|
|
|
-version-info 3:0:0
|
2009-04-25 17:07:38 +02:00
|
|
|
libvlccore_la_LIBADD = `$(VLC_CONFIG) -libs libvlccore` $(AM_LIBADD) \
|
2009-04-10 19:14:10 +02:00
|
|
|
$(LTLIBINTL) ../compat/libcompat.la
|
2008-05-15 18:40:44 +02:00
|
|
|
libvlccore_la_DEPENDENCIES = libvlccore.sym
|
2008-08-02 20:04:36 +02:00
|
|
|
if HAVE_WIN32
|
2008-08-24 17:32:49 +02:00
|
|
|
libvlccore_la_DEPENDENCIES += libvlc_win32_rc.$(OBJEXT)
|
|
|
|
libvlccore_la_LDFLAGS += -Wl,libvlc_win32_rc.$(OBJEXT)
|
2008-08-02 20:04:36 +02:00
|
|
|
endif
|
2006-02-23 20:41:36 +01:00
|
|
|
|
2008-08-24 17:32:49 +02:00
|
|
|
libvlc_win32_rc.$(OBJEXT): $(top_builddir)/share/libvlc_win32_rc.rc
|
|
|
|
$(WINDRES) --include-dir $(top_srcdir)/share -i $< -o $@
|
|
|
|
|
2008-05-15 18:40:44 +02:00
|
|
|
libvlc_la_SOURCES = $(SOURCES_libvlc_control)
|
2009-06-03 21:25:37 +02:00
|
|
|
nodist_libvlc_la_SOURCES = revision.c
|
2009-04-25 17:07:38 +02:00
|
|
|
libvlc_la_LIBADD = `$(VLC_CONFIG) -libs libvlc` \
|
|
|
|
libvlccore.la ../compat/libcompat.la
|
2009-04-26 10:45:06 +02:00
|
|
|
libvlc_la_CFLAGS = `$(VLC_CONFIG) --cflags libvlc`
|
2009-04-25 17:07:38 +02:00
|
|
|
libvlc_la_LDFLAGS = $(AM_LDFLAGS) `$(VLC_CONFIG) --ldflags libvlc` \
|
2009-08-01 10:37:31 +02:00
|
|
|
-version-info 5:0:0 \
|
2008-05-27 18:45:29 +02:00
|
|
|
-export-symbols $(srcdir)/libvlc.sym
|
2008-05-31 17:38:59 +02:00
|
|
|
libvlc_la_DEPENDENCIES = libvlc.sym libvlccore.la
|
2008-08-02 20:04:36 +02:00
|
|
|
if HAVE_WIN32
|
2008-08-04 23:36:38 +02:00
|
|
|
libvlc_la_DEPENDENCIES += $(DATA_win32_rc_lib)
|
|
|
|
libvlc_la_LDFLAGS += -Wl,$(DATA_win32_rc_lib)
|
2008-08-02 20:04:36 +02:00
|
|
|
endif
|
|
|
|
|
2007-07-31 15:00:20 +02:00
|
|
|
|
2008-05-15 18:40:44 +02:00
|
|
|
EXTRA_libvlccore_la_SOURCES = \
|
2007-07-19 18:32:23 +02:00
|
|
|
$(SOURCES_libvlc_beos) \
|
|
|
|
$(SOURCES_libvlc_darwin) \
|
2008-05-10 10:33:00 +02:00
|
|
|
$(SOURCES_libvlc_linux) \
|
2007-07-19 18:32:23 +02:00
|
|
|
$(SOURCES_libvlc_win32) \
|
2008-05-10 10:33:00 +02:00
|
|
|
$(SOURCES_libvlc_other) \
|
2007-07-19 18:32:23 +02:00
|
|
|
$(SOURCES_libvlc_dirent) \
|
|
|
|
$(SOURCES_libvlc_getopt) \
|
2008-10-22 19:24:07 +02:00
|
|
|
$(SOURCES_libvlc_httpd) \
|
2008-05-01 19:04:27 +02:00
|
|
|
$(SOURCES_libvlc_sout) \
|
2008-07-02 18:16:17 +02:00
|
|
|
$(SOURCES_libvlc_vlm) \
|
2007-07-19 18:32:23 +02:00
|
|
|
$(NULL)
|
2006-02-19 14:11:21 +01:00
|
|
|
if HAVE_BEOS
|
2008-05-15 18:40:44 +02:00
|
|
|
libvlccore_la_SOURCES += $(SOURCES_libvlc_beos)
|
2008-05-10 10:33:00 +02:00
|
|
|
else
|
2006-02-19 14:11:21 +01:00
|
|
|
if HAVE_DARWIN
|
2008-05-15 18:40:44 +02:00
|
|
|
libvlccore_la_SOURCES += $(SOURCES_libvlc_darwin)
|
2008-05-10 10:33:00 +02:00
|
|
|
else
|
|
|
|
if HAVE_LINUX
|
2008-05-15 18:40:44 +02:00
|
|
|
libvlccore_la_SOURCES += $(SOURCES_libvlc_linux)
|
2008-05-10 10:33:00 +02:00
|
|
|
else
|
2006-02-19 14:11:21 +01:00
|
|
|
if HAVE_WIN32
|
2008-05-15 18:40:44 +02:00
|
|
|
libvlccore_la_SOURCES += $(SOURCES_libvlc_win32)
|
2008-05-10 10:33:00 +02:00
|
|
|
else
|
2006-02-19 14:11:21 +01:00
|
|
|
if HAVE_WINCE
|
2008-05-15 18:40:44 +02:00
|
|
|
libvlccore_la_SOURCES += $(SOURCES_libvlc_win32)
|
2008-05-10 14:41:01 +02:00
|
|
|
else
|
2008-05-15 18:40:44 +02:00
|
|
|
libvlccore_la_SOURCES += $(SOURCES_libvlc_other)
|
2006-02-19 14:11:21 +01:00
|
|
|
endif
|
2008-05-10 10:33:00 +02:00
|
|
|
endif
|
|
|
|
endif
|
|
|
|
endif
|
|
|
|
endif
|
2006-02-19 14:11:21 +01:00
|
|
|
if BUILD_DIRENT
|
2008-05-15 18:40:44 +02:00
|
|
|
libvlccore_la_SOURCES += $(SOURCES_libvlc_dirent)
|
2006-02-19 14:11:21 +01:00
|
|
|
endif
|
|
|
|
if BUILD_GETOPT
|
2008-05-15 18:40:44 +02:00
|
|
|
libvlccore_la_SOURCES += $(SOURCES_libvlc_getopt)
|
2006-02-23 22:41:05 +01:00
|
|
|
endif
|
2008-10-22 19:24:07 +02:00
|
|
|
if BUILD_HTTPD
|
|
|
|
libvlccore_la_SOURCES += $(SOURCES_libvlc_httpd)
|
|
|
|
endif
|
2008-05-01 19:04:27 +02:00
|
|
|
if ENABLE_SOUT
|
2008-05-15 18:40:44 +02:00
|
|
|
libvlccore_la_SOURCES += $(SOURCES_libvlc_sout)
|
2008-07-02 18:16:17 +02:00
|
|
|
if ENABLE_VLM
|
|
|
|
libvlccore_la_SOURCES += $(SOURCES_libvlc_vlm)
|
|
|
|
endif
|
2008-05-01 19:04:27 +02:00
|
|
|
endif
|
2006-02-23 22:41:05 +01:00
|
|
|
|
2006-02-19 14:11:21 +01:00
|
|
|
SOURCES_libvlc_beos = \
|
2009-05-16 21:58:19 +02:00
|
|
|
misc/pthread.c \
|
2006-02-19 14:11:21 +01:00
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
SOURCES_libvlc_darwin = \
|
2009-05-16 21:58:19 +02:00
|
|
|
misc/pthread.c \
|
2007-02-23 16:38:43 +01:00
|
|
|
misc/darwin_specific.c \
|
2006-02-19 14:11:21 +01:00
|
|
|
$(NULL)
|
|
|
|
|
2008-05-10 10:33:00 +02:00
|
|
|
SOURCES_libvlc_linux = \
|
2009-05-16 21:58:19 +02:00
|
|
|
misc/pthread.c \
|
2008-05-10 10:33:00 +02:00
|
|
|
misc/linux_specific.c \
|
|
|
|
$(NULL)
|
|
|
|
|
2006-02-19 14:11:21 +01:00
|
|
|
SOURCES_libvlc_win32 = \
|
2009-05-16 21:58:19 +02:00
|
|
|
misc/w32thread.c \
|
2006-02-19 14:11:21 +01:00
|
|
|
misc/win32_specific.c \
|
2008-05-03 19:52:53 +02:00
|
|
|
network/winsock.c \
|
2006-02-19 14:11:21 +01:00
|
|
|
$(NULL)
|
|
|
|
|
2009-05-16 21:58:19 +02:00
|
|
|
SOURCES_libvlc_other = \
|
|
|
|
misc/pthread.c \
|
|
|
|
misc/not_specific.c
|
2008-05-10 10:33:00 +02:00
|
|
|
|
2006-02-19 14:11:21 +01:00
|
|
|
SOURCES_libvlc_dirent = \
|
|
|
|
extras/dirent.c \
|
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
SOURCES_libvlc_getopt = \
|
|
|
|
extras/getopt.c \
|
|
|
|
extras/getopt.h \
|
|
|
|
extras/getopt1.c \
|
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
SOURCES_libvlc_common = \
|
|
|
|
libvlc.c \
|
|
|
|
libvlc.h \
|
2006-12-01 21:13:46 +01:00
|
|
|
libvlc-module.c \
|
2008-10-22 19:24:07 +02:00
|
|
|
missing.c \
|
2008-05-31 20:36:40 +02:00
|
|
|
version.c \
|
2009-03-05 19:42:47 +01:00
|
|
|
interface/dialog.c \
|
2006-02-19 14:11:21 +01:00
|
|
|
interface/interface.c \
|
|
|
|
interface/intf_eject.c \
|
2006-09-05 08:09:42 +02:00
|
|
|
playlist/playlist_internal.h \
|
2008-12-22 12:51:13 +01:00
|
|
|
playlist/art.c \
|
2009-01-07 18:44:07 +01:00
|
|
|
playlist/art.h \
|
2006-05-14 20:29:00 +02:00
|
|
|
playlist/thread.c \
|
|
|
|
playlist/control.c \
|
|
|
|
playlist/engine.c \
|
2008-12-22 12:51:13 +01:00
|
|
|
playlist/fetcher.c \
|
2009-01-07 18:44:07 +01:00
|
|
|
playlist/fetcher.h \
|
2006-02-19 14:11:21 +01:00
|
|
|
playlist/sort.c \
|
|
|
|
playlist/loadsave.c \
|
2008-12-22 12:51:13 +01:00
|
|
|
playlist/preparser.c \
|
2009-01-07 18:44:07 +01:00
|
|
|
playlist/preparser.h \
|
2006-05-14 20:29:00 +02:00
|
|
|
playlist/tree.c \
|
2006-02-19 14:11:21 +01:00
|
|
|
playlist/item.c \
|
2006-05-14 20:29:00 +02:00
|
|
|
playlist/search.c \
|
2006-02-19 14:11:21 +01:00
|
|
|
playlist/services_discovery.c \
|
2006-05-14 20:29:00 +02:00
|
|
|
input/item.c \
|
2006-02-19 14:11:21 +01:00
|
|
|
input/access.c \
|
|
|
|
input/clock.c \
|
|
|
|
input/control.c \
|
|
|
|
input/decoder.c \
|
2007-10-02 20:43:23 +02:00
|
|
|
input/decoder_synchro.c \
|
2006-02-19 14:11:21 +01:00
|
|
|
input/demux.c \
|
|
|
|
input/es_out.c \
|
2008-11-11 21:26:46 +01:00
|
|
|
input/es_out_timeshift.c \
|
2008-11-20 21:49:51 +01:00
|
|
|
input/event.c \
|
2006-02-19 14:11:21 +01:00
|
|
|
input/input.c \
|
2006-09-24 19:11:25 +02:00
|
|
|
input/meta.c \
|
2008-10-13 20:10:03 +02:00
|
|
|
input/access.h \
|
2008-10-13 19:52:33 +02:00
|
|
|
input/clock.h \
|
|
|
|
input/decoder.h \
|
2008-10-13 19:57:51 +02:00
|
|
|
input/demux.h \
|
2008-10-13 19:52:33 +02:00
|
|
|
input/es_out.h \
|
2008-11-11 21:26:46 +01:00
|
|
|
input/es_out_timeshift.h \
|
2008-11-20 21:49:51 +01:00
|
|
|
input/event.h \
|
2008-12-02 19:16:17 +01:00
|
|
|
input/item.h \
|
2008-10-13 20:20:54 +02:00
|
|
|
input/stream.h \
|
2006-02-19 14:11:21 +01:00
|
|
|
input/input_internal.h \
|
2008-11-22 11:37:58 +01:00
|
|
|
input/input_interface.h \
|
2007-03-11 20:40:05 +01:00
|
|
|
input/vlm_internal.h \
|
2009-03-08 20:25:52 +01:00
|
|
|
input/vlm_event.h \
|
2009-03-01 09:40:11 +01:00
|
|
|
input/resource.h \
|
|
|
|
input/resource.c \
|
2006-02-19 14:11:21 +01:00
|
|
|
input/stream.c \
|
2008-12-08 22:11:16 +01:00
|
|
|
input/stream_demux.c \
|
2008-12-08 22:34:33 +01:00
|
|
|
input/stream_filter.c \
|
2008-10-13 20:20:54 +02:00
|
|
|
input/stream_memory.c \
|
2006-02-19 14:11:21 +01:00
|
|
|
input/subtitles.c \
|
|
|
|
input/var.c \
|
|
|
|
video_output/video_output.c \
|
|
|
|
video_output/vout_pictures.c \
|
|
|
|
video_output/vout_pictures.h \
|
|
|
|
video_output/video_text.c \
|
|
|
|
video_output/video_widgets.c \
|
|
|
|
video_output/vout_subpictures.c \
|
|
|
|
video_output/vout_intf.c \
|
2008-09-28 08:59:04 +02:00
|
|
|
video_output/vout_internal.h \
|
2008-10-16 21:59:19 +02:00
|
|
|
video_output/vout_control.h \
|
2006-11-26 15:20:34 +01:00
|
|
|
audio_output/aout_internal.h \
|
2006-02-19 14:11:21 +01:00
|
|
|
audio_output/common.c \
|
|
|
|
audio_output/dec.c \
|
|
|
|
audio_output/filters.c \
|
2006-03-10 18:21:33 +01:00
|
|
|
audio_output/input.c \
|
2006-02-19 14:11:21 +01:00
|
|
|
audio_output/mixer.c \
|
|
|
|
audio_output/output.c \
|
|
|
|
audio_output/intf.c \
|
|
|
|
osd/osd.c \
|
|
|
|
osd/osd_text.c \
|
|
|
|
osd/osd_widgets.c \
|
|
|
|
network/acl.c \
|
|
|
|
network/getaddrinfo.c \
|
|
|
|
network/io.c \
|
|
|
|
network/tcp.c \
|
|
|
|
network/udp.c \
|
2008-06-06 17:14:56 +02:00
|
|
|
network/rootbind.c \
|
2006-02-19 14:11:21 +01:00
|
|
|
network/tls.c \
|
2007-02-12 18:27:59 +01:00
|
|
|
network/poll.c \
|
2006-11-22 21:00:19 +01:00
|
|
|
text/charset.c \
|
|
|
|
text/strings.c \
|
|
|
|
text/unicode.c \
|
2008-10-23 17:07:13 +02:00
|
|
|
text/filesystem.c \
|
2007-03-13 22:37:55 +01:00
|
|
|
text/wincp.c \
|
2006-11-22 21:00:19 +01:00
|
|
|
text/iso_lang.c \
|
|
|
|
text/iso-639_def.h \
|
2006-02-19 14:11:21 +01:00
|
|
|
misc/md5.c \
|
2007-09-01 17:32:45 +02:00
|
|
|
misc/rand.c \
|
2006-02-19 14:11:21 +01:00
|
|
|
misc/mtime.c \
|
|
|
|
misc/block.c \
|
2009-03-17 23:01:27 +01:00
|
|
|
misc/fourcc.c \
|
2008-08-20 23:47:07 +02:00
|
|
|
misc/es_format.c \
|
2007-04-14 17:19:03 +02:00
|
|
|
modules/modules.h \
|
|
|
|
modules/modules.c \
|
2007-12-12 17:43:52 +01:00
|
|
|
modules/cache.c \
|
2007-04-14 18:15:37 +02:00
|
|
|
modules/entry.c \
|
2007-12-12 17:43:52 +01:00
|
|
|
modules/os.c \
|
2006-02-19 14:11:21 +01:00
|
|
|
misc/threads.c \
|
|
|
|
misc/stats.c \
|
|
|
|
misc/cpu.c \
|
2008-03-26 21:20:47 +01:00
|
|
|
misc/action.c \
|
2008-01-23 22:50:58 +01:00
|
|
|
config/configuration.h \
|
2007-12-09 20:33:51 +01:00
|
|
|
config/core.c \
|
2008-05-22 18:04:15 +02:00
|
|
|
config/dirs.c \
|
2007-12-09 20:33:51 +01:00
|
|
|
config/chain.c \
|
|
|
|
config/file.c \
|
2008-02-07 23:51:30 +01:00
|
|
|
config/intf.c \
|
2007-12-09 20:33:51 +01:00
|
|
|
config/cmdline.c \
|
2007-08-13 21:08:15 +02:00
|
|
|
misc/events.c \
|
2006-02-19 14:11:21 +01:00
|
|
|
misc/image.c \
|
|
|
|
misc/messages.c \
|
|
|
|
misc/objects.c \
|
2006-11-26 15:20:34 +01:00
|
|
|
misc/variables.h \
|
2006-02-19 14:11:21 +01:00
|
|
|
misc/variables.c \
|
|
|
|
misc/error.c \
|
2008-06-01 15:53:45 +02:00
|
|
|
misc/update.h \
|
2006-02-19 14:11:21 +01:00
|
|
|
misc/update.c \
|
|
|
|
misc/xml.c \
|
2006-06-22 12:03:32 +02:00
|
|
|
misc/devices.c \
|
2006-02-19 14:11:21 +01:00
|
|
|
extras/libc.c \
|
2009-06-04 23:44:30 +02:00
|
|
|
misc/filter.c \
|
2008-06-03 22:44:06 +02:00
|
|
|
misc/filter_chain.c \
|
2009-07-22 01:06:38 +02:00
|
|
|
misc/http_auth.c \
|
2006-02-19 14:11:21 +01:00
|
|
|
$(NULL)
|
|
|
|
|
2008-10-22 19:24:07 +02:00
|
|
|
SOURCES_libvlc_httpd = \
|
|
|
|
network/httpd.c \
|
|
|
|
$(NULL)
|
|
|
|
|
2008-05-01 19:04:27 +02:00
|
|
|
SOURCES_libvlc_sout = \
|
|
|
|
stream_output/stream_output.c \
|
|
|
|
stream_output/stream_output.h \
|
|
|
|
stream_output/announce.c \
|
|
|
|
stream_output/sap.c \
|
|
|
|
stream_output/sdp.c \
|
|
|
|
$(NULL)
|
|
|
|
|
2008-07-02 18:16:17 +02:00
|
|
|
SOURCES_libvlc_vlm = \
|
|
|
|
input/vlm.c \
|
2009-03-08 20:25:52 +01:00
|
|
|
input/vlm_event.c \
|
2008-07-02 18:16:17 +02:00
|
|
|
input/vlmshell.c \
|
|
|
|
$(NULL)
|
|
|
|
|
2006-02-19 14:11:21 +01:00
|
|
|
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) \
|
|
|
|
$(NULL)
|
|
|
|
|
2006-11-11 18:48:01 +01:00
|
|
|
SOURCES_libvlc_control = \
|
2006-11-26 15:20:34 +01:00
|
|
|
control/libvlc_internal.h \
|
2009-06-02 09:24:42 +02:00
|
|
|
control/event_internal.h \
|
2009-05-25 10:47:38 +02:00
|
|
|
control/media_internal.h \
|
|
|
|
control/media_list_internal.h \
|
|
|
|
control/media_list_view_internal.h \
|
|
|
|
control/media_player_internal.h \
|
2006-11-11 18:48:01 +01:00
|
|
|
control/core.c \
|
|
|
|
control/log.c \
|
|
|
|
control/playlist.c \
|
|
|
|
control/vlm.c \
|
|
|
|
control/video.c \
|
|
|
|
control/audio.c \
|
2007-05-20 19:29:55 +02:00
|
|
|
control/event.c \
|
2009-06-02 09:24:42 +02:00
|
|
|
control/event_async.c \
|
2007-10-15 18:34:29 +02:00
|
|
|
control/flat_media_list_view.c \
|
2007-11-20 15:12:57 +01:00
|
|
|
control/hierarchical_media_list_view.c \
|
2007-12-30 02:17:15 +01:00
|
|
|
control/hierarchical_node_media_list_view.c \
|
2008-03-30 03:59:32 +02:00
|
|
|
control/media.c \
|
|
|
|
control/media_player.c \
|
2007-08-10 15:19:57 +02:00
|
|
|
control/media_list.c \
|
2007-09-05 20:12:06 +02:00
|
|
|
control/media_list_path.h \
|
2007-08-10 15:19:57 +02:00
|
|
|
control/media_list_player.c \
|
2007-09-20 11:08:03 +02:00
|
|
|
control/media_list_view.c \
|
2007-08-19 23:54:49 +02:00
|
|
|
control/media_library.c \
|
2006-11-26 15:20:34 +01:00
|
|
|
control/mediacontrol_internal.h \
|
2006-11-11 18:48:01 +01:00
|
|
|
control/mediacontrol_core.c \
|
|
|
|
control/mediacontrol_util.c \
|
2007-08-10 16:04:51 +02:00
|
|
|
control/mediacontrol_audio_video.c \
|
2008-03-25 23:24:38 +01:00
|
|
|
control/media_discoverer.c
|
2006-11-11 18:48:01 +01:00
|
|
|
|
2009-02-23 18:11:03 +01:00
|
|
|
###############################################################################
|
|
|
|
# GIT revision
|
|
|
|
###############################################################################
|
|
|
|
|
|
|
|
BUILT_SOURCES += stamp-revision
|
|
|
|
CLEANFILES += revision.txt revision.c
|
|
|
|
|
|
|
|
revision.c: revision.txt
|
|
|
|
rm -f -- revision.c
|
2009-06-04 08:00:26 +02:00
|
|
|
echo "const char psz_vlc_changeset[] = \"$$(cat revision.txt)\";" \
|
2009-02-23 18:11:03 +01:00
|
|
|
> revision.c
|
|
|
|
|
|
|
|
revision.txt:
|
|
|
|
$(MAKE) stamp-revision
|
|
|
|
touch revision.txt
|
|
|
|
|
|
|
|
stamp-revision:
|
|
|
|
rm -f -- revision.tmp
|
2009-06-03 22:31:27 +02:00
|
|
|
(git --git-dir="$(top_srcdir)/.git/" describe --tags --long \
|
|
|
|
--always || echo exported) > revision.tmp
|
2009-02-23 18:11:03 +01:00
|
|
|
diff revision.tmp revision.txt >/dev/null 2>&1 || \
|
|
|
|
mv -f -- revision.tmp revision.txt
|
|
|
|
|
2006-03-08 12:32:34 +01:00
|
|
|
###############################################################################
|
|
|
|
# Unit/regression test
|
|
|
|
###############################################################################
|
2008-01-24 18:53:34 +01:00
|
|
|
|
2008-05-01 18:11:07 +02:00
|
|
|
dist_check_SCRIPTS = check_symbols check_headers
|
2008-08-23 16:50:25 +02:00
|
|
|
TESTS = check_symbols
|
2008-01-24 18:53:34 +01:00
|
|
|
|
2009-07-06 22:25:53 +02:00
|
|
|
check_DATA = libvlc-headers.sym libvlc-sorted.sym
|
|
|
|
CLEANFILES += $(check_DATA)
|
|
|
|
|
|
|
|
libvlc-sorted.sym: libvlccore.sym
|
|
|
|
rm -f libvlc-sorted.sym
|
|
|
|
sort -fdu < "$(srcdir)/libvlccore.sym" > libvlc-sorted.sym
|
|
|
|
|
|
|
|
libvlc-headers.sym:
|
|
|
|
rm -f libvlc-headers.sym
|
|
|
|
cat ${srcdir}/../include/vlc_*.h ${srcdir}/control/*.h | \
|
|
|
|
sed -n -e 's/^[ ]*VLC_EXPORT[ ]*([^,]*,\([^,]*\),.*/\1/p' | \
|
|
|
|
sed -e 's/[^a-zA-Z0-9_]*//' | \
|
|
|
|
sort -fdu > libvlc-headers.sym
|
|
|
|
|
|
|
|
.PHONY: libvlc-headers.sym
|
|
|
|
|
2008-01-24 18:53:34 +01:00
|
|
|
check-local:
|
2008-05-01 22:00:46 +02:00
|
|
|
for h in `echo $(pkginclude_HEADERS) | sed -e s,\.\./include/,,g`; \
|
2008-01-24 18:53:34 +01:00
|
|
|
do \
|
|
|
|
echo grep - "#include <$$h>" $(srcdir)/test/headers.c ; \
|
|
|
|
if ! grep -- "#include <$$h>" $(srcdir)/test/headers.c ; \
|
|
|
|
then \
|
|
|
|
echo "Header $$h not included in test/headers.c!"; \
|
|
|
|
exit 1; \
|
|
|
|
fi ; \
|
|
|
|
done
|
2008-05-01 22:00:46 +02:00
|
|
|
$(srcdir)/check_headers $(pkginclude_HEADERS)
|
2008-05-26 19:24:45 +02:00
|
|
|
$(srcdir)/check_headers $(pluginsinclude_HEADERS)
|
2008-01-24 18:53:34 +01:00
|
|
|
|
2006-07-13 17:25:56 +02:00
|
|
|
FORCE:
|
2007-05-20 10:38:20 +02:00
|
|
|
@echo "Generated source cannot be phony. Go away." >&2
|
|
|
|
@exit 1
|
|
|
|
|
|
|
|
.PHONY: FORCE
|