Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-gpu
Commits
3e1fea39
Commit
3e1fea39
authored
May 10, 2008
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Build (linux|not)_specific.c as appropriate
parent
a7f65650
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
20 additions
and
23 deletions
+20
-23
configure.ac
configure.ac
+1
-0
src/Makefile.am
src/Makefile.am
+19
-3
src/libvlc.h
src/libvlc.h
+0
-20
No files found.
configure.ac
View file @
3e1fea39
...
...
@@ -346,6 +346,7 @@ case "${host_os}" in
esac
AM_CONDITIONAL(HAVE_BEOS, test "${SYS}" = "beos")
AM_CONDITIONAL(HAVE_DARWIN, test "${SYS}" = "darwin")
AM_CONDITIONAL(HAVE_LINUX, [test "${SYS}" = "linux"])
AM_CONDITIONAL(HAVE_WIN32, test "${SYS}" = "mingw32")
AM_CONDITIONAL(HAVE_WINCE, test "${SYS}" = "mingwce")
...
...
src/Makefile.am
View file @
3e1fea39
...
...
@@ -173,6 +173,7 @@ libvlc_la_CFLAGS = `$(VLC_CONFIG) --cflags libvlc` \
-DLOCALEDIR
=
\"
$(localedir)
\"
\
-DSYSCONFDIR
=
\"
$(sysconfdir)
\"
\
-DDATA_PATH
=
\"
$(pkgdatadir)
\"
\
-DLIBDIR
=
\"
$(libdir)
\"
\
-DPLUGIN_PATH
=
\"
$(pkglibdir)
\"
libvlc_la_CXXFLAGS
=
`
$(VLC_CONFIG)
--cxxflags
libvlc
`
libvlc_la_OBJCFLAGS
=
`
$(VLC_CONFIG)
--objcflags
libvlc
`
...
...
@@ -201,23 +202,32 @@ endif
EXTRA_libvlc_la_SOURCES
=
\
$(SOURCES_libvlc_beos)
\
$(SOURCES_libvlc_darwin)
\
$(SOURCES_libvlc_linux)
\
$(SOURCES_libvlc_win32)
\
$(SOURCES_libvlc_other)
\
$(SOURCES_libvlc_dirent)
\
$(SOURCES_libvlc_getopt)
\
$(SOURCES_libvlc_sout)
\
$(NULL)
if
HAVE_BEOS
libvlc_la_SOURCES
+=
$(SOURCES_libvlc_beos)
e
ndif
e
lse
if
HAVE_DARWIN
libvlc_la_SOURCES
+=
$(SOURCES_libvlc_darwin)
endif
else
if
HAVE_LINUX
libvlc_la_SOURCES
+=
$(SOURCES_libvlc_linux)
else
if
HAVE_WIN32
libvlc_la_SOURCES
+=
$(SOURCES_libvlc_win32)
e
ndif
e
lse
if
HAVE_WINCE
libvlc_la_SOURCES
+=
$(SOURCES_libvlc_win32)
endif
endif
endif
endif
endif
if
BUILD_DIRENT
libvlc_la_SOURCES
+=
$(SOURCES_libvlc_dirent)
endif
...
...
@@ -236,11 +246,17 @@ SOURCES_libvlc_darwin = \
misc/darwin_specific.c
\
$(NULL)
SOURCES_libvlc_linux
=
\
misc/linux_specific.c
\
$(NULL)
SOURCES_libvlc_win32
=
\
misc/win32_specific.c
\
network/winsock.c
\
$(NULL)
SOURCES_libvlc_other
=
misc/not_specific.c
SOURCES_libvlc_dirent
=
\
extras/dirent.c
\
$(NULL)
...
...
src/libvlc.h
View file @
3e1fea39
...
...
@@ -40,19 +40,6 @@ void system_Init ( libvlc_int_t *, int *, const char *[] );
void
system_Configure
(
libvlc_int_t
*
,
int
*
,
const
char
*
[]
);
void
system_End
(
libvlc_int_t
*
);
#if defined( SYS_BEOS )
/* Nothing at the moment, create beos_specific.h when needed */
#elif defined( __APPLE__ )
/* Nothing at the moment, create darwin_specific.h when needed */
#elif defined( WIN32 ) || defined( UNDER_CE )
#else
# define system_Init( a, b, c ) (void)0
# define system_Configure( a, b, c ) (void)0
# define system_End( a ) (void)0
#endif
/*
* Threads subsystem
*/
...
...
@@ -154,14 +141,7 @@ typedef struct libvlc_global_data_t
module_bank_t
*
p_module_bank
;
///< The module bank
/* Arch-specific variables */
#if defined( SYS_BEOS )
char
*
psz_vlcpath
;
#elif defined( __APPLE__ )
char
*
psz_vlcpath
;
#elif defined( WIN32 )
char
*
psz_vlcpath
;
#endif
}
libvlc_global_data_t
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment