Commit c3a40bca authored by Sam Hocevar's avatar Sam Hocevar

* ./include/vlc_common.h, ./src/extras/libc.c: exported our custom libc

    functions to plugins.
  * ./bootstrap: enhanced the project file generation for plugins; we now
    parse makefiles to make this easier.
  * ./modules/**/Modules.am: reworked a few makefiles so that they are more
    easily parsed.
parent 60d79876
Frequentely Asked Questions for VideoLAN Client
$Id: FAQ,v 1.12 2002/10/11 23:44:25 massiot Exp $
$Id: FAQ,v 1.13 2002/11/20 08:58:20 sam Exp $
1. Using VLC
......@@ -71,8 +71,8 @@ For binary packages, remove old packages first and install the new ones
1.9 Debian: what should I put in my sources.list for videolan ?
-------------------------------------------------------------
deb ftp://ftp.videolan.org/pub/videolan/debian $(ARCH)/
deb-src ftp://ftp.videolan.org/pub/videolan/debian sources/
deb http://www.videolan.org/pub/videolan/debian $(ARCH)/
deb-src http://www.videolan.org/pub/videolan/debian sources/
1.10 How can I save my VLC configuration ?
----------------------------------------
......
#! /bin/sh
## bootstrap file for vlc, the VideoLAN Client
## $Id: bootstrap,v 1.29 2002/11/19 17:38:06 sam Exp $
## $Id: bootstrap,v 1.30 2002/11/20 08:58:20 sam Exp $
##
## Authors: Samuel Hocevar <sam@zoy.org>
......@@ -84,11 +84,13 @@ then
LIBVLC_HEADERS=`make show-libvlc-headers | grep '^X: ' | cut -b3-`
LIBVLC_PKG_HEADERS=`make show-libvlc-pkg-headers | grep '^X: ' | cut -b3-`
# Clean up
rm -f evc/*.vcp msvc/*.dsp
# libvlc files
for target in evc/libvlc.vcp msvc/libvlc.dsp
do
echo "${target}"
rm -f ${target}
# Top of the project file
perl -pe 'if(/SOURCES/){last;}' < ${target}.in > ${target}
# The source files
......@@ -195,35 +197,42 @@ EOF
done
# plugins files
for dir in evc msvc
grep '^L_[^ ]*_pic =' Modules.am | while read a b c
do
test "${dir}" = "evc" && suf="vcp" || suf="dsp"
for plugin in dummy
makefile="`echo $c | sed -e 's@/[^/]*$@/Modules.am@'`"
plugin="`echo $a | sed 's/L_\(.*\)_pic/\1/'`"
# this is an attempt at getting a list of plugin sources... we take the
# production and remove everything that does not contain "module", which
# means you miss $(NULL), but other variables too.
cfiles=`awk 'BEGIN{a=0}{if(!a&&/^SOURCES_'${plugin}'[^-_a-zA-Z0-9]*=/){a=1;print$0;next;}if(a){if(/^[a-zA-Z]/){exit;}print $0}}' < ${makefile} | tr '\\ ' '\n\n' | sed -ne 's,/,\\\\,g; s/.*modules/modules/p'`
hfiles=`for i in ${cfiles} ; do echo $i ; done | grep '\.h$'`
cfiles=`for i in ${cfiles} ; do echo $i ; done | grep -v '\.h$'`
for dir in evc msvc
do
makefile="`grep '^L_'${plugin}'_pic =' Modules.am | sed -e 's@.* modules@modules@' -e 's@/[^/]*$@/Modules.am@'`"
test "${dir}" = "evc" && suf="vcp" || suf="dsp"
source="${dir}/plugins.${suf}.in"
target="${dir}/plugin_${plugin}.${suf}"
echo "${target}"
rm -f ${target}
perl -pe 'if(/SOURCES/){last;} s/PLUGIN/'${plugin}'/g' < ${source} > ${target}
# this is an attempt at getting a list of plugin sources
sed -ne 's/^SOURCES_'${plugin}'.*=//; t foo; /^[a-zA-Z]/q; :foo p' < ${makefile} | tr '\\ ' '\n\n' | sed -ne 's,/,\\\\,g; s/.*modules/modules/p' | while read source
for cfile in ${cfiles}
do
cat >> ${target} << EOF
# Begin Source File${M}
SOURCE="..\\${source}"${M}
SOURCE="..\\${cfile}"${M}
# End Source File${M}
EOF
done
# sed is really nicer for this... unfortunately it's broken under cygwin
# sed -ne '1,/SOURCES/d; /HEADERS/,$d; p' < ${source} >> ${target}
perl -e 'while(<>){if(/SOURCES/){last;}}while(<>){if(/HEADERS/){last;}print $_}' < ${source} >> ${target}
### header generation disabled
## cat >> ${target} << EOF
### Begin Source File${M}
##SOURCE="..\\test.h"${M}
### End Source File${M}
##EOF
for hfile in ${hfiles}
do
cat >> ${target} << EOF
# Begin Source File${M}
SOURCE="..\\${hfile}"${M}
# End Source File${M}
EOF
done
# sed -ne '1,/HEADERS/d; p' < ${source} >> ${target}
perl -e 'while(<>){if(/HEADERS/){last;}}while(<>){print $_}' < ${source} >> ${target}
done
......@@ -233,7 +242,6 @@ EOF
for target in evc/vlc.vcp msvc/vlc.dsp
do
echo "${target}"
rm -f ${target}
# Top of the project file
perl -pe 'if(/SOURCES/){last;}' < ${target}.in > ${target}
# The source files
......
This diff is collapsed.
......@@ -3,7 +3,7 @@
* Collection of useful common types and macros definitions
*****************************************************************************
* Copyright (C) 1998, 1999, 2000 VideoLAN
* $Id: vlc_common.h,v 1.38 2002/11/13 15:28:24 sam Exp $
* $Id: vlc_common.h,v 1.39 2002/11/20 08:58:20 sam Exp $
*
* Authors: Samuel Hocevar <sam@via.ecp.fr>
* Vincent Seguin <seguin@via.ecp.fr>
......@@ -469,39 +469,57 @@ static inline uint64_t U64_AT( void * _p )
#endif
/* strdup/strndup (defined in src/extras/libc.c) */
/* Stuff defined in src/extras/libc.c */
#ifndef HAVE_STRDUP
char * strdup( const char *s );
# define strdup vlc_strdup
VLC_EXPORT( char *, vlc_strdup, ( const char *s ) );
#elif !defined(__PLUGIN__)
# define vlc_strdup NULL
#endif
#ifndef HAVE_STRNDUP
char * strndup( const char *s, size_t n );
# define strndup vlc_strndup
VLC_EXPORT( char *, vlc_strndup, ( const char *s, size_t n ) );
#elif !defined(__PLUGIN__)
# define vlc_strndup NULL
#endif
/* atof (defined in src/extras/libc.c) */
#ifndef HAVE_ATOF
double atof( const char *nptr );
# define atof vlc_atof
VLC_EXPORT( double, vlc_atof, ( const char *nptr ) );
#elif !defined(__PLUGIN__)
# define vlc_atof NULL
#endif
/* getenv - always returns NULL */
#ifndef HAVE_GETENV
char *getenv( const char *name );
# define getenv vlc_getenv
VLC_EXPORT( char *, vlc_getenv, ( const char *name ) );
#elif !defined(__PLUGIN__)
# define vlc_getenv NULL
#endif
/* strncasecmp/strcasecmp (defined in src/extras/libc.c) */
#ifndef HAVE_STRCASECMP
# ifdef HAVE_STRICMP
# define strcasecmp stricmp
# else
int strcasecmp( const char *s1, const char *s2 );
# define vlc_strcasecmp NULL
# elif !defined(__PLUGIN__)
# define strcasecmp vlc_strcasecmp
VLC_EXPORT( int, vlc_strcasecmp, ( const char *s1, const char *s2 ) );
# endif
#elif !defined(__PLUGIN__)
# define vlc_strcasecmp NULL
#endif
#ifndef HAVE_STRNCASECMP
# ifdef HAVE_STRNICMP
# define strncasecmp strnicmp
# else
int strncasecmp( const char *s1, const char *s2, size_t n );
# define vlc_strncasecmp NULL
# elif !defined(__PLUGIN__)
# define strncasecmp vlc_strncasecmp
VLC_EXPORT( int, vlc_strncasecmp, ( const char *s1, const char *s2, size_t n ) );
# endif
#elif !defined(__PLUGIN__)
# define vlc_strncasecmp NULL
#endif
/* Format type specifiers for 64 bits numbers */
......@@ -581,7 +599,10 @@ typedef __int64 off_t;
/* lseek (defined in src/extras/libc.c) */
#ifndef HAVE_LSEEK
off_t lseek( int fildes, off_t offset, int whence );
# define lseek vlc_lseek
VLC_EXPORT( off_t, vlc_lseek, ( int fildes, off_t offset, int whence ) );
#elif !defined(__PLUGIN__)
# define vlc_lseek NULL
#endif
/*****************************************************************************
......
SOURCES_dvd = \
modules/access/dvd/dvd.c \
modules/access/dvd/dvd.h \
modules/access/dvd/access.c \
modules/access/dvd/demux.c \
modules/access/dvd/seek.c \
modules/access/dvd/seek.h \
modules/access/dvd/es.c \
modules/access/dvd/ifo.c \
modules/access/dvd/udf.c \
modules/access/dvd/summary.c
noinst_HEADERS += \
modules/access/dvd/dvdcss.h \
modules/access/dvd/es.h \
modules/access/dvd/dvd.h \
modules/access/dvd/ifo.c \
modules/access/dvd/ifo.h \
modules/access/dvd/seek.h \
modules/access/dvd/udf.c \
modules/access/dvd/udf.h \
modules/access/dvd/summary.c \
modules/access/dvd/summary.h \
modules/access/dvd/udf.h
modules/access/dvd/dvdcss.h \
$(NULL)
SOURCES_dvdplay = \
modules/access/dvdplay/dvd.c \
modules/access/dvdplay/dvd.h \
modules/access/dvdplay/access.c \
modules/access/dvdplay/access.h \
modules/access/dvdplay/demux.c \
modules/access/dvdplay/demux.h \
modules/access/dvdplay/intf.c \
modules/access/dvdplay/intf.h \
modules/access/dvdplay/es.c \
modules/access/dvdplay/tools.c
noinst_HEADERS += \
modules/access/dvdplay/access.h \
modules/access/dvdplay/demux.h \
modules/access/dvdplay/dvd.h \
modules/access/dvdplay/es.h \
modules/access/dvdplay/intf.h \
modules/access/dvdplay/tools.h
modules/access/dvdplay/tools.c \
modules/access/dvdplay/tools.h \
$(NULL)
SOURCES_dvdread = \
modules/access/dvdread/dvdread.c \
modules/access/dvdread/input.c
modules/access/dvdread/input.c \
modules/access/dvdread/input.h \
$(NULL)
noinst_HEADERS += \
modules/access/dvdread/input.h
SOURCES_access_mms = modules/access/mms/mms.c
noinst_HEADERS += modules/access/mms/mms.h \
modules/access/mms/var_buffer.h \
modules/access/mms/asf.h
SOURCES_access_mms = \
modules/access/mms/mms.c \
modules/access/mms/mms.h \
modules/access/mms/var_buffer.h \
modules/access/mms/asf.h \
$(NULL)
SOURCES_satellite = \
modules/access/satellite/satellite.c \
modules/access/satellite/access.c \
modules/access/satellite/dvb.c
modules/access/satellite/dvb.c \
modules/access/satellite/dvb.h \
$(NULL)
noinst_HEADERS += \
modules/access/satellite/dvb.h
SOURCES_vcd = \
modules/access/vcd/vcd.c \
modules/access/vcd/cdrom.c
noinst_HEADERS += \
modules/access/vcd/vcd.h \
modules/access/vcd/cdrom.h
modules/access/vcd/cdrom.c \
modules/access/vcd/cdrom.h \
$(NULL)
SOURCES_a52old = \
modules/codec/a52old/a52old.c \
modules/codec/a52old/adec.h \
modules/codec/a52old/internal.h \
modules/codec/a52old/decoder.c \
modules/codec/a52old/decoder.h \
modules/codec/a52old/parse.c \
modules/codec/a52old/exponent.c \
modules/codec/a52old/exponent.h \
modules/codec/a52old/bit_allocate.c \
modules/codec/a52old/mantissa.c \
modules/codec/a52old/rematrix.c \
modules/codec/a52old/imdct.c
noinst_HEADERS += \
modules/codec/a52old/adec.h \
modules/codec/a52old/decoder.h \
modules/codec/a52old/exponent.h \
modules/codec/a52old/internal.h \
modules/codec/a52old/mantissa.h \
modules/codec/a52old/rematrix.c \
modules/codec/a52old/imdct.c \
modules/codec/a52old/imdct.h \
modules/codec/a52old/downmix.h
modules/codec/a52old/downmix.h \
$(NULL)
SOURCES_downmix = \
modules/codec/a52old/downmix/downmix.c \
modules/codec/a52old/downmix/downmix_c.c
modules/codec/a52old/downmix/downmix_c.c \
modules/codec/a52old/downmix/downmix_common.h \
$(NULL)
SOURCES_downmixsse = \
modules/codec/a52old/downmix/downmix.c \
modules/codec/a52old/downmix/downmix_sse.c
modules/codec/a52old/downmix/downmix_sse.c \
modules/codec/a52old/downmix/downmix_common.h \
$(NULL)
SOURCES_downmix3dn = \
modules/codec/a52old/downmix/downmix.c \
modules/codec/a52old/downmix/downmix_3dn.c
noinst_HEADERS += \
modules/codec/a52old/downmix/downmix_common.h
modules/codec/a52old/downmix/downmix_3dn.c \
modules/codec/a52old/downmix/downmix_common.h \
$(NULL)
SOURCES_cinepak = modules/codec/cinepak/cinepak.c
noinst_HEADERS += modules/codec/cinepak/cinepak.h
SOURCES_cinepak = \
modules/codec/cinepak/cinepak.c \
modules/codec/cinepak/cinepak.h \
$(NULL)
SOURCES_faad = modules/codec/faad/decoder.c
noinst_HEADERS += modules/codec/faad/decoder.h
SOURCES_faad = \
modules/codec/faad/decoder.c \
modules/codec/faad/decoder.h \
$(NULL)
SOURCES_ffmpeg = modules/codec/ffmpeg/ffmpeg.c \
modules/codec/ffmpeg/video.c \
modules/codec/ffmpeg/audio.c
noinst_HEADERS += modules/codec/ffmpeg/ffmpeg.h \
modules/codec/ffmpeg/video.h \
modules/codec/ffmpeg/audio.h
SOURCES_ffmpeg = \
modules/codec/ffmpeg/ffmpeg.c \
modules/codec/ffmpeg/ffmpeg.h \
modules/codec/ffmpeg/video.c \
modules/codec/ffmpeg/video.h \
modules/codec/ffmpeg/audio.c \
modules/codec/ffmpeg/audio.h \
$(NULL)
SOURCES_postprocessing_c = \
modules/codec/ffmpeg/postprocessing/postprocessing.c \
modules/codec/ffmpeg/postprocessing/postprocessing_c.c
modules/codec/ffmpeg/postprocessing/postprocessing_c.c \
$(NULL)
SOURCES_postprocessing_mmx = \
modules/codec/ffmpeg/postprocessing/postprocessing.c \
modules/codec/ffmpeg/postprocessing/postprocessing_mmx.c
modules/codec/ffmpeg/postprocessing/postprocessing_mmx.c \
$(NULL)
SOURCES_postprocessing_mmxext = \
modules/codec/ffmpeg/postprocessing/postprocessing.c \
modules/codec/ffmpeg/postprocessing/postprocessing_mmxext.c
modules/codec/ffmpeg/postprocessing/postprocessing_mmxext.c \
$(NULL)
noinst_HEADERS += \
modules/codec/ffmpeg/postprocessing/postprocessing.h \
modules/codec/ffmpeg/postprocessing/postprocessing_common.h
modules/codec/ffmpeg/postprocessing/postprocessing_common.h \
$(NULL)
SOURCES_mad = \
modules/codec/mad/decoder.c \
modules/codec/mad/libmad.c
noinst_HEADERS += \
modules/codec/mad/decoder.h \
modules/codec/mad/libmad.c \
modules/codec/mad/libmad.h \
modules/codec/mad/decoder.h
$(NULL)
SOURCES_mpeg_audio = \
modules/codec/mpeg_audio/decoder.c \
modules/codec/mpeg_audio/decoder.h \
modules/codec/mpeg_audio/layer1.c \
modules/codec/mpeg_audio/layer2.c \
modules/codec/mpeg_audio/math.c \
modules/codec/mpeg_audio/generic.c
noinst_HEADERS += \
modules/codec/mpeg_audio/layer1.h \
modules/codec/mpeg_audio/layer2.c \
modules/codec/mpeg_audio/layer2.h \
modules/codec/mpeg_audio/decoder.h \
modules/codec/mpeg_audio/math.c \
modules/codec/mpeg_audio/math.h \
modules/codec/mpeg_audio/generic.c \
modules/codec/mpeg_audio/generic.h \
modules/codec/mpeg_audio/math.h
$(NULL)
SOURCES_mpeg_video = \
modules/codec/mpeg_video/parser.c \
modules/codec/mpeg_video/parser.h \
modules/codec/mpeg_video/headers.c \
modules/codec/mpeg_video/blocks.c \
modules/codec/mpeg_video/blocks.h \
modules/codec/mpeg_video/synchro.c \
modules/codec/mpeg_video/pool.c \
modules/codec/mpeg_video/decoder.c
noinst_HEADERS += \
modules/codec/mpeg_video/decoder.h \
modules/codec/mpeg_video/parser.h \
modules/codec/mpeg_video/blocks.h \
modules/codec/mpeg_video/pool.h \
modules/codec/mpeg_video/plugins.h
modules/codec/mpeg_video/decoder.c \
modules/codec/mpeg_video/decoder.h \
modules/codec/mpeg_video/plugins.h \
$(NULL)
SOURCES_idct = modules/codec/mpeg_video/idct/idct.c
SOURCES_idctclassic = modules/codec/mpeg_video/idct/idctclassic.c
SOURCES_idctmmx = modules/codec/mpeg_video/idct/idctmmx.c
SOURCES_idctmmxext = modules/codec/mpeg_video/idct/idctmmxext.c
SOURCES_idctaltivec = modules/codec/mpeg_video/idct/idctaltivec.c
SOURCES_idct = \
modules/codec/mpeg_video/idct/idct.c \
modules/codec/mpeg_video/idct/idct.h \
modules/codec/mpeg_video/idct/idct_decl.h \
modules/codec/mpeg_video/idct/idct_sparse.h \
modules/codec/mpeg_video/idct/block_c.h \
$(NULL)
noinst_HEADERS += \
SOURCES_idctclassic = \
modules/codec/mpeg_video/idct/idctclassic.c \
modules/codec/mpeg_video/idct/idct.h \
modules/codec/mpeg_video/idct/idct_decl.h \
modules/codec/mpeg_video/idct/idct_sparse.h \
modules/codec/mpeg_video/idct/block_c.h \
$(NULL)
SOURCES_idctmmx = \
modules/codec/mpeg_video/idct/idctmmx.c \
modules/codec/mpeg_video/idct/idct.h \
modules/codec/mpeg_video/idct/idct_decl.h \
modules/codec/mpeg_video/idct/idct_sparse.h \
modules/codec/mpeg_video/idct/block_mmx.h \
$(NULL)
SOURCES_idctmmxext = \
modules/codec/mpeg_video/idct/idctmmxext.c \
modules/codec/mpeg_video/idct/idct.h \
modules/codec/mpeg_video/idct/idct_decl.h \
modules/codec/mpeg_video/idct/idct_sparse.h
modules/codec/mpeg_video/idct/idct_sparse.h \
modules/codec/mpeg_video/idct/block_mmx.h \
$(NULL)
SOURCES_idctaltivec = \
modules/codec/mpeg_video/idct/idctaltivec.c \
modules/codec/mpeg_video/idct/idct.h \
$(NULL)
......@@ -3,7 +3,6 @@ SOURCES_spudec = \
modules/codec/spudec/parse.c \
modules/codec/spudec/render.c \
modules/codec/spudec/text.c \
modules/codec/spudec/subtitler.c
noinst_HEADERS += \
modules/codec/spudec/spudec.h
modules/codec/spudec/subtitler.c \
modules/codec/spudec/spudec.h \
$(NULL)
SOURCES_asf = \
modules/demux/asf/asf.c \
modules/demux/asf/libasf.c
noinst_HEADERS += \
modules/demux/asf/asf.h \
modules/demux/asf/libasf.h
modules/demux/asf/libasf.c \
modules/demux/asf/libasf.h \
$(NULL)
SOURCES_avi = \
modules/demux/avi/avi.c \
modules/demux/avi/libavi.c
noinst_HEADERS += \
modules/demux/avi/avi.h \
modules/demux/avi/libavi.h
modules/demux/avi/libavi.c \
modules/demux/avi/libavi.h \
$(NULL)
SOURCES_mp4 = \
modules/demux/mp4/mp4.c \
modules/demux/mp4/libmp4.c
noinst_HEADERS += \
modules/demux/mp4/mp4.h \
modules/demux/mp4/libmp4.h
modules/demux/mp4/libmp4.c \
modules/demux/mp4/libmp4.h \
$(NULL)
SOURCES_mpeg_system = modules/demux/mpeg/system.c
SOURCES_es = modules/demux/mpeg/es.c
SOURCES_ps = modules/demux/mpeg/ps.c
SOURCES_ts = modules/demux/mpeg/ts.c
SOURCES_ts_dvbpsi = modules/demux/mpeg/ts.c
SOURCES_audio = modules/demux/mpeg/audio.c
noinst_HEADERS += modules/demux/mpeg/system.h
SOURCES_mpeg_system = \
modules/demux/mpeg/system.c \
modules/demux/mpeg/system.h \
$(NULL)
SOURCES_es = \
modules/demux/mpeg/es.c \
$(NULL)
SOURCES_ps = \
modules/demux/mpeg/ps.c \
$(NULL)
SOURCES_ts = \
modules/demux/mpeg/ts.c \
$(NULL)
SOURCES_ts_dvbpsi = \
modules/demux/mpeg/ts.c \
$(NULL)
SOURCES_audio = \
modules/demux/mpeg/audio.c \
$(NULL)
SOURCES_id3 = modules/demux/util/id3.c
SOURCES_id3tag = modules/demux/util/id3tag.c
SOURCES_demuxsub = modules/demux/util/sub.c
SOURCES_id3 = \
modules/demux/util/id3.c \
$(NULL)
noinst_HEADERS += \
modules/demux/util/sub.h
SOURCES_id3tag = \
modules/demux/util/id3tag.c \
$(NULL)
SOURCES_demuxsub = \
modules/demux/util/sub.c \
modules/demux/util/sub.h \
$(NULL)
SOURCES_wav = \
modules/demux/wav/wav.c
noinst_HEADERS += \
modules/demux/wav/wav.h
modules/demux/wav/wav.c \
modules/demux/wav/wav.h \
$(NULL)
......@@ -4,24 +4,23 @@ SOURCES_beos = \
modules/gui/beos/VideoOutput.cpp \
modules/gui/beos/Interface.cpp \
modules/gui/beos/InterfaceWindow.cpp \
modules/gui/beos/InterfaceWindow.h \
modules/gui/beos/ListViews.cpp \
modules/gui/beos/ListViews.h \
modules/gui/beos/DrawingTidbits.cpp \
modules/gui/beos/DrawingTidbits.h \
modules/gui/beos/TransportButton.cpp \
modules/gui/beos/TransportButton.h \
modules/gui/beos/PlayListWindow.cpp \
modules/gui/beos/PlayListWindow.h \
modules/gui/beos/PreferencesWindow.cpp \
modules/gui/beos/PreferencesWindow.h \
modules/gui/beos/MediaControlView.cpp \
modules/gui/beos/VlcWrapper.cpp
noinst_HEADERS += \
modules/gui/beos/Bitmaps.h \
modules/gui/beos/DrawingTidbits.h \
modules/gui/beos/InterfaceWindow.h \
modules/gui/beos/ListViews.h \
modules/gui/beos/MediaControlView.h \
modules/gui/beos/VlcWrapper.cpp \
modules/gui/beos/VlcWrapper.h \
modules/gui/beos/Bitmaps.h \
modules/gui/beos/MsgVals.h \
modules/gui/beos/PlayListWindow.h \
modules/gui/beos/PreferencesWindow.h \
modules/gui/beos/TransportButton.h \
modules/gui/beos/VideoWindow.h \
modules/gui/beos/VlcWrapper.h
$(NULL)
SOURCES_familiar = \
modules/gui/familiar/familiar.c \
modules/gui/familiar/familiar.h \
modules/gui/familiar/interface.c \
modules/gui/familiar/interface.h \
modules/gui/familiar/support.c \
modules/gui/familiar/callbacks.c
noinst_HEADERS += \
modules/gui/familiar/support.h \
modules/gui/familiar/callbacks.c \
modules/gui/familiar/callbacks.h \
modules/gui/familiar/familiar.h \
modules/gui/familiar/interface.h \
modules/gui/familiar/support.h
$(NULL)
EXTRA_DIST += modules/gui/familiar/familiar.glade
......@@ -2,19 +2,18 @@ SOURCES_macosx = \
modules/gui/macosx/macosx.m \
modules/gui/macosx/aout.m \
modules/gui/macosx/vout.m \
modules/gui/macosx/vout.h \
modules/gui/macosx/intf.m \
modules/gui/macosx/open.m \
modules/gui/macosx/prefs.m \
modules/gui/macosx/playlist.m \
modules/gui/macosx/controls.m \
modules/gui/macosx/asystm.m
noinst_HEADERS += \
modules/gui/macosx/intf.h \
modules/gui/macosx/open.m \
modules/gui/macosx/open.h \
modules/gui/macosx/prefs.m \
modules/gui/macosx/prefs.h \
modules/gui/macosx/playlist.m \
modules/gui/macosx/playlist.h \
modules/gui/macosx/vout.h \
modules/gui/macosx/controls.m \
modules/gui/macosx/asystm.m \
modules/gui/macosx/asystm.h \
modules/gui/macosx/adev_discovery.h \
modules/gui/macosx/asystm.h
$(NULL)
SOURCES_wxwindows = \
modules/gui/wxwindows/wxwindows.cpp \
modules/gui/wxwindows/wxwindows.h \
modules/gui/wxwindows/interface.cpp \
modules/gui/wxwindows/timer.cpp
noinst_HEADERS += \
modules/gui/wxwindows/wxwindows.h
modules/gui/wxwindows/timer.cpp \
$(NULL)
EXTRA_DIST += \
modules/gui/wxwindows/bitmaps/file.xpm \
......
SOURCES_dummy = \
modules/misc/dummy/dummy.c \
modules/misc/dummy/dummy.h \
modules/misc/dummy/aout.c \
modules/misc/dummy/vout.c \
modules/misc/dummy/interface.c \
modules/misc/dummy/input.c \
modules/misc/dummy/decoder.c
modules/misc/dummy/decoder.c \
$(NULL)
noinst_HEADERS += \
modules/misc/dummy/dummy.h
SOURCES_memcpy = modules/misc/memcpy/memcpy.c
SOURCES_memcpymmx = modules/misc/memcpy/memcpy.c
SOURCES_memcpymmxext = modules/misc/memcpy/memcpy.c
SOURCES_memcpy3dn = modules/misc/memcpy/memcpy.c
SOURCES_memcpyaltivec = modules/misc/memcpy/memcpyaltivec.c
SOURCES_memcpy = \
modules/misc/memcpy/memcpy.c \
$(NULL)
noinst_HEADERS += modules/misc/memcpy/fastmemcpy.h
SOURCES_memcpymmx = \
modules/misc/memcpy/memcpy.c \
modules/misc/memcpy/fastmemcpy.h \
$(NULL)
SOURCES_memcpymmxext = \
modules/misc/memcpy/memcpy.c \
modules/misc/memcpy/fastmemcpy.h \
$(NULL)
SOURCES_memcpy3dn = \
modules/misc/memcpy/memcpy.c \
modules/misc/memcpy/fastmemcpy.h \
$(NULL)
SOURCES_memcpyaltivec = \
modules/misc/memcpy/memcpyaltivec.c \
$(NULL)
SOURCES_i420_rgb = \
modules/video_chroma/i420_rgb.c \
modules/video_chroma/i420_rgb.h \
modules/video_chroma/i420_rgb8.c \
modules/video_chroma/i420_rgb16.c
modules/video_chroma/i420_rgb16.c \
$(NULL)
SOURCES_i420_rgb_mmx = \
modules/video_chroma/i420_rgb.c \
modules/video_chroma/i420_rgb16.c
modules/video_chroma/i420_rgb.h \
modules/video_chroma/i420_rgb16.c \
modules/video_chroma/i420_rgb_mmx.h \
$(NULL)
SOURCES_i420_yuy2 = \
modules/video_chroma/i420_yuy2.c \
modules/video_chroma/i420_yuy2.h \
$(NULL)
SOURCES_i420_yuy2 = modules/video_chroma/i420_yuy2.c
SOURCES_i420_yuy2_mmx = modules/video_chroma/i420_yuy2.c
SOURCES_i420_yuy2_mmx = \
modules/video_chroma/i420_yuy2.c \
modules/video_chroma/i420_yuy2.h \
$(NULL)
SOURCES_i422_yuy2 = modules/video_chroma/i422_yuy2.c
SOURCES_i422_yuy2_mmx = modules/video_chroma/i422_yuy2.c
SOURCES_i422_yuy2 = \
modules/video_chroma/i422_yuy2.c \
modules/video_chroma/i422_yuy2.h \
$(NULL)
SOURCES_i420_ymga = modules/video_chroma/i420_ymga.c
SOURCES_i420_ymga_mmx = modules/video_chroma/i420_ymga.c
SOURCES_i422_yuy2_mmx = \
modules/video_chroma/i422_yuy2.c \
modules/video_chroma/i422_yuy2.h \
$(NULL)
SOURCES_i420_ymga = \
modules/video_chroma/i420_ymga.c
$(NULL)
SOURCES_i420_ymga_mmx = \
modules/video_chroma/i420_ymga.c
$(NULL)
noinst_HEADERS += \
modules/video_chroma/i420_rgb.h \
modules/video_chroma/i420_rgb_c.h \
modules/video_chroma/i420_rgb_mmx.h \
modules/video_chroma/i420_yuy2.h \
modules/video_chroma/i422_yuy2.h
SOURCES_vout_directx = \
modules/video_output/directx/directx.c \
modules/video_output/directx/events.c
modules/video_output/directx/vout.h \
modules/video_output/directx/events.c \
$(NULL)
noinst_HEADERS += \
modules/video_output/directx/vout.h
SOURCES_qte = \
modules/video_output/qte/qte.cpp
noinst_HEADERS += \
modules/video_output/qte/qte.h
modules/video_output/qte/qte.cpp \
modules/video_output/qte/qte.h \
$(NULL)
SOURCES_x11 = \
modules/video_output/x11/x11.c \
modules/video_output/x11/xcommon.c
modules/video_output/x11/xcommon.c \
modules/video_output/x11/xcommon.h \
$(NULL)
SOURCES_xvideo = \
modules/video_output/x11/xvideo.c \
modules/video_output/x11/xcommon.c
modules/video_output/x11/xcommon.c \
modules/video_output/x11/xcommon.h \
$(NULL)
noinst_HEADERS += \
modules/video_output/x11/xcommon.h
......@@ -2,7 +2,7 @@
* libc.c: Extra libc function for some systems.
*****************************************************************************
* Copyright (C) 2002 VideoLAN
* $Id: libc.c,v 1.3 2002/11/13 20:51:04 sam Exp $
* $Id: libc.c,v 1.4 2002/11/20 08:58:24 sam Exp $
*
* Authors: Jon Lech Johansen <jon-vl@nanocrew.net>
* Samuel Hocevar <sam@zoy.org>
......@@ -30,7 +30,7 @@
* getenv: just in case, but it should never be called
*****************************************************************************/
#ifndef HAVE_GETENV
char *getenv( const char *name )
char *vlc_getenv( const char *name )
{
return NULL;
}
......@@ -40,7 +40,7 @@ char *getenv( const char *name )
* strdup: returns a malloc'd copy of a string
*****************************************************************************/
#ifndef HAVE_STRDUP
char *strdup( const char *string )
char *vlc_strdup( const char *string )
{
return strndup( string, strlen( string ) );
}
......@@ -51,7 +51,7 @@ char *strdup( const char *string )
* Does anyone know whether or not it will be present in Jaguar?
*****************************************************************************/
#ifndef HAVE_STRNDUP
char *strndup( const char *string, size_t n )
char *vlc_strndup( const char *string, size_t n )
{
char *psz;
size_t len = strlen( string );
......@@ -65,7 +65,7 @@ char *strndup( const char *string, size_t n )
psz[ len ] = 0;
}
return( psz );
return psz;
}
#endif
......@@ -73,7 +73,7 @@ char *strndup( const char *string, size_t n )
* strcasecmp: compare two strings ignoring case
*****************************************************************************/
#if !defined( HAVE_STRCASECMP ) && !defined( HAVE_STRICMP )
int strcasecmp( const char *s1, const char *s2 )
int vlc_strcasecmp( const char *s1, const char *s2 )
{
int i_delta = 0;
......@@ -100,7 +100,7 @@ int strcasecmp( const char *s1, const char *s2 )
* strncasecmp: compare n chars from two strings ignoring case
*****************************************************************************/
#if !defined( HAVE_STRNCASECMP ) && !defined( HAVE_STRNICMP )
int strncasecmp( const char *s1, const char *s2, size_t n )
int vlc_strncasecmp( const char *s1, const char *s2, size_t n )
{
int i_delta = 0;
......@@ -127,7 +127,7 @@ int strncasecmp( const char *s1, const char *s2, size_t n )
* atof: convert a string to a double.
*****************************************************************************/
#ifndef HAVE_ATOF
double atof( const char *nptr )
double vlc_atof( const char *nptr )
{
double f_result;
wchar_t *psz_tmp;
......@@ -148,7 +148,7 @@ double atof( const char *nptr )
* FIXME: this cast sucks!
*****************************************************************************/
#if !defined( HAVE_LSEEK )
off_t lseek( int fildes, off_t offset, int whence )
off_t vlc_lseek( int fildes, off_t offset, int whence )
{
return SetFilePointer( (HANDLE)fildes, (long)offset, NULL, whence );
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment