Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
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-1.1
Commits
84d0f814
Commit
84d0f814
authored
May 15, 2008
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Rename the shared libraries
parent
70388797
Changes
14
Hide whitespace changes
Inline
Side-by-side
Showing
14 changed files
with
83 additions
and
83 deletions
+83
-83
Makefile.am
Makefile.am
+3
-3
bindings/cil/src/exception.cs
bindings/cil/src/exception.cs
+5
-5
bindings/cil/src/libvlc.cs
bindings/cil/src/libvlc.cs
+15
-15
bindings/cil/tests/testvlc.cs
bindings/cil/tests/testvlc.cs
+1
-1
bindings/java/core/src/main/java/org/videolan/jvlc/internal/LibVlc.java
...core/src/main/java/org/videolan/jvlc/internal/LibVlc.java
+1
-1
bindings/python/setup.py
bindings/python/setup.py
+3
-3
configure.ac
configure.ac
+2
-2
modules/common.am
modules/common.am
+2
-2
projects/activex/Makefile.am
projects/activex/Makefile.am
+2
-2
projects/mozilla/Makefile.am
projects/mozilla/Makefile.am
+15
-15
src/Makefile.am
src/Makefile.am
+31
-31
src/libvlccore.sym
src/libvlccore.sym
+0
-0
src/vlc-control.pc.in
src/vlc-control.pc.in
+2
-2
src/vlc-plugin.pc.in
src/vlc-plugin.pc.in
+1
-1
No files found.
Makefile.am
View file @
84d0f814
...
@@ -309,7 +309,7 @@ DISTCLEANFILES = $(BUILT_SOURCES_distclean) vlc-config.in compile ChangeLog
...
@@ -309,7 +309,7 @@ DISTCLEANFILES = $(BUILT_SOURCES_distclean) vlc-config.in compile ChangeLog
# Don't use it if you don't know what it is about.
# Don't use it if you don't know what it is about.
# Don't complain if it doesn't work. -- Courmisch
# Don't complain if it doesn't work. -- Courmisch
libvlc
:
libvlc
:
cd
src
&&
$(MAKE)
$(AM_MAKEFLAGS)
libvlc.la
cd
src
&&
$(MAKE)
$(AM_MAKEFLAGS)
libvlc
core
.la
core
:
core
:
cd
src
&&
$(MAKE)
$(AM_MAKEFLAGS)
vlc
$(EXEEXT)
cd
src
&&
$(MAKE)
$(AM_MAKEFLAGS)
vlc
$(EXEEXT)
...
@@ -671,8 +671,8 @@ package-win-common:
...
@@ -671,8 +671,8 @@ package-win-common:
# Copy relevant files
# Copy relevant files
cp
"$(top_builddir)/src/.libs/vlc$(EXEEXT)"
"$(top_builddir)/vlc-$(VERSION)/"
cp
"$(top_builddir)/src/.libs/vlc$(EXEEXT)"
"$(top_builddir)/vlc-$(VERSION)/"
cp
"$(top_srcdir)/extras/package/win32/vlc.exe.manifest"
"$(top_builddir)/vlc-$(VERSION)/"
cp
"$(top_srcdir)/extras/package/win32/vlc.exe.manifest"
"$(top_builddir)/vlc-$(VERSION)/"
cp
"$(top_builddir)/src/.libs/libvlccore$(LIBEXT)"
"vlc-$(VERSION)/"
cp
"$(top_builddir)/src/.libs/libvlc$(LIBEXT)"
"vlc-$(VERSION)/"
cp
"$(top_builddir)/src/.libs/libvlc$(LIBEXT)"
"vlc-$(VERSION)/"
cp
"$(top_builddir)/src/.libs/libvlc-control$(LIBEXT)"
"vlc-$(VERSION)/"
for
file
in
AUTHORS
MAINTAINERS
THANKS
;
\
for
file
in
AUTHORS
MAINTAINERS
THANKS
;
\
do
sed
's/@/_AT_/'
<
"$(srcdir)/$$file"
>
"$(top_builddir)/vlc-$(VERSION)/$${file}.txt"
;
done;
do
sed
's/@/_AT_/'
<
"$(srcdir)/$$file"
>
"$(top_builddir)/vlc-$(VERSION)/$${file}.txt"
;
done;
...
@@ -774,8 +774,8 @@ endif
...
@@ -774,8 +774,8 @@ endif
package-win-common-strip
:
package-win-common-strip
:
$(STRIP)
"
$(top_builddir)
/vlc-
$(VERSION)
/vlc
$(EXEEXT)
"
$(STRIP)
"
$(top_builddir)
/vlc-
$(VERSION)
/vlc
$(EXEEXT)
"
$(STRIP)
"vlc-
$(VERSION)
/libvlccore
$(LIBEXT)
"
$(STRIP)
"vlc-
$(VERSION)
/libvlc
$(LIBEXT)
"
$(STRIP)
"vlc-
$(VERSION)
/libvlc
$(LIBEXT)
"
$(STRIP)
"vlc-
$(VERSION)
/libvlc-control
$(LIBEXT)
"
if
BUILD_MOZILLA
if
BUILD_MOZILLA
$(STRIP)
$(top_builddir)/vlc-$(VERSION)/mozilla/npvlc$(LIBEXT);
$(STRIP)
$(top_builddir)/vlc-$(VERSION)/mozilla/npvlc$(LIBEXT);
endif
endif
...
...
bindings/cil/src/exception.cs
View file @
84d0f814
/*
/*
* libvlc.cs - libvlc
-control
CIL bindings
* libvlc.cs - libvlc CIL bindings
*
*
* $Id$
* $Id$
*/
*/
...
@@ -68,14 +68,14 @@ namespace VideoLAN.LibVLC
...
@@ -68,14 +68,14 @@ namespace VideoLAN.LibVLC
int
code
;
int
code
;
IntPtr
message
;
IntPtr
message
;
[
DllImport
(
"libvlc
-control
.dll"
,
EntryPoint
=
"libvlc_exception_init"
)]
[
DllImport
(
"libvlc.dll"
,
EntryPoint
=
"libvlc_exception_init"
)]
static
extern
void
Init
(
NativeException
e
);
static
extern
void
Init
(
NativeException
e
);
[
DllImport
(
"libvlc
-control
.dll"
,
EntryPoint
=
"libvlc_exception_clear"
)]
[
DllImport
(
"libvlc.dll"
,
EntryPoint
=
"libvlc_exception_clear"
)]
static
extern
void
Clear
(
NativeException
e
);
static
extern
void
Clear
(
NativeException
e
);
/*[DllImport ("libvlc
-control
.dll",
/*[DllImport ("libvlc.dll",
EntryPoint="libvlc_exception_raised")]
EntryPoint="libvlc_exception_raised")]
static extern int Raised (NativeException e);*/
static extern int Raised (NativeException e);*/
[
DllImport
(
"libvlc
-control
.dll"
,
[
DllImport
(
"libvlc.dll"
,
EntryPoint
=
"libvlc_exception_get_message"
)]
EntryPoint
=
"libvlc_exception_get_message"
)]
static
extern
IntPtr
GetMessage
(
NativeException
e
);
static
extern
IntPtr
GetMessage
(
NativeException
e
);
...
...
bindings/cil/src/libvlc.cs
View file @
84d0f814
/**
/**
* @file libvlc.cs
* @file libvlc.cs
* @brief libvlc
-control
CIL bindings
* @brief libvlc CIL bindings
*
*
* $Id$
* $Id$
*/
*/
...
@@ -71,11 +71,11 @@ namespace VideoLAN.LibVLC
...
@@ -71,11 +71,11 @@ namespace VideoLAN.LibVLC
{
{
}
}
[
DllImport
(
"libvlc
-control
.dll"
,
EntryPoint
=
"libvlc_new"
)]
[
DllImport
(
"libvlc.dll"
,
EntryPoint
=
"libvlc_new"
)]
internal
static
extern
internal
static
extern
InstanceHandle
Create
(
int
argc
,
U8String
[]
argv
,
NativeException
ex
);
InstanceHandle
Create
(
int
argc
,
U8String
[]
argv
,
NativeException
ex
);
[
DllImport
(
"libvlc
-control
.dll"
,
EntryPoint
=
"libvlc_release"
)]
[
DllImport
(
"libvlc.dll"
,
EntryPoint
=
"libvlc_release"
)]
static
extern
void
Destroy
(
IntPtr
ptr
,
NativeException
ex
);
static
extern
void
Destroy
(
IntPtr
ptr
,
NativeException
ex
);
/**
/**
...
@@ -115,7 +115,7 @@ namespace VideoLAN.LibVLC
...
@@ -115,7 +115,7 @@ namespace VideoLAN.LibVLC
return
new
MediaDescriptor
(
dh
);
return
new
MediaDescriptor
(
dh
);
}
}
[
DllImport
(
"libvlc
-control
.dll"
,
EntryPoint
=
"libvlc_playlist_loop"
)]
[
DllImport
(
"libvlc.dll"
,
EntryPoint
=
"libvlc_playlist_loop"
)]
static
extern
void
PlaylistLoop
(
InstanceHandle
self
,
bool
b
,
static
extern
void
PlaylistLoop
(
InstanceHandle
self
,
bool
b
,
NativeException
ex
);
NativeException
ex
);
/** Sets the playlist loop flag. */
/** Sets the playlist loop flag. */
...
@@ -128,7 +128,7 @@ namespace VideoLAN.LibVLC
...
@@ -128,7 +128,7 @@ namespace VideoLAN.LibVLC
}
}
}
}
[
DllImport
(
"libvlc
-control
.dll"
,
EntryPoint
=
"libvlc_playlist_play"
)]
[
DllImport
(
"libvlc.dll"
,
EntryPoint
=
"libvlc_playlist_play"
)]
static
extern
void
PlaylistPlay
(
InstanceHandle
self
,
int
id
,
int
optc
,
static
extern
void
PlaylistPlay
(
InstanceHandle
self
,
int
id
,
int
optc
,
U8String
[]
optv
,
NativeException
ex
);
U8String
[]
optv
,
NativeException
ex
);
/** Plays the next playlist item (if not already playing). */
/** Plays the next playlist item (if not already playing). */
...
@@ -138,7 +138,7 @@ namespace VideoLAN.LibVLC
...
@@ -138,7 +138,7 @@ namespace VideoLAN.LibVLC
ex
.
Raise
();
ex
.
Raise
();
}
}
[
DllImport
(
"libvlc
-control
.dll"
,
EntryPoint
=
"libvlc_playlist_pause"
)]
[
DllImport
(
"libvlc.dll"
,
EntryPoint
=
"libvlc_playlist_pause"
)]
static
extern
void
PlaylistPause
(
InstanceHandle
self
,
static
extern
void
PlaylistPause
(
InstanceHandle
self
,
NativeException
ex
);
NativeException
ex
);
/** Toggles pause (starts playing if stopped, pauses if playing). */
/** Toggles pause (starts playing if stopped, pauses if playing). */
...
@@ -148,7 +148,7 @@ namespace VideoLAN.LibVLC
...
@@ -148,7 +148,7 @@ namespace VideoLAN.LibVLC
ex
.
Raise
();
ex
.
Raise
();
}
}
[
DllImport
(
"libvlc
-control
.dll"
,
[
DllImport
(
"libvlc.dll"
,
EntryPoint
=
"libvlc_playlist_isplaying"
)]
EntryPoint
=
"libvlc_playlist_isplaying"
)]
static
extern
int
PlaylistIsPlaying
(
InstanceHandle
self
,
static
extern
int
PlaylistIsPlaying
(
InstanceHandle
self
,
NativeException
ex
);
NativeException
ex
);
...
@@ -163,7 +163,7 @@ namespace VideoLAN.LibVLC
...
@@ -163,7 +163,7 @@ namespace VideoLAN.LibVLC
}
}
}
}
[
DllImport
(
"libvlc
-control
.dll"
,
EntryPoint
=
"libvlc_playlist_stop"
)]
[
DllImport
(
"libvlc.dll"
,
EntryPoint
=
"libvlc_playlist_stop"
)]
static
extern
void
PlaylistStop
(
InstanceHandle
self
,
static
extern
void
PlaylistStop
(
InstanceHandle
self
,
NativeException
ex
);
NativeException
ex
);
/** Stops playing. */
/** Stops playing. */
...
@@ -173,7 +173,7 @@ namespace VideoLAN.LibVLC
...
@@ -173,7 +173,7 @@ namespace VideoLAN.LibVLC
ex
.
Raise
();
ex
.
Raise
();
}
}
[
DllImport
(
"libvlc
-control
.dll"
,
EntryPoint
=
"libvlc_playlist_next"
)]
[
DllImport
(
"libvlc.dll"
,
EntryPoint
=
"libvlc_playlist_next"
)]
static
extern
void
PlaylistNext
(
InstanceHandle
self
,
static
extern
void
PlaylistNext
(
InstanceHandle
self
,
NativeException
ex
);
NativeException
ex
);
/** Switches to next playlist item, and starts playing it. */
/** Switches to next playlist item, and starts playing it. */
...
@@ -183,7 +183,7 @@ namespace VideoLAN.LibVLC
...
@@ -183,7 +183,7 @@ namespace VideoLAN.LibVLC
ex
.
Raise
();
ex
.
Raise
();
}
}
[
DllImport
(
"libvlc
-control
.dll"
,
EntryPoint
=
"libvlc_playlist_prev"
)]
[
DllImport
(
"libvlc.dll"
,
EntryPoint
=
"libvlc_playlist_prev"
)]
static
extern
void
PlaylistPrev
(
InstanceHandle
self
,
static
extern
void
PlaylistPrev
(
InstanceHandle
self
,
NativeException
ex
);
NativeException
ex
);
/** Switches to previous playlist item, and starts playing it. */
/** Switches to previous playlist item, and starts playing it. */
...
@@ -193,7 +193,7 @@ namespace VideoLAN.LibVLC
...
@@ -193,7 +193,7 @@ namespace VideoLAN.LibVLC
ex
.
Raise
();
ex
.
Raise
();
}
}
[
DllImport
(
"libvlc
-control
.dll"
,
EntryPoint
=
"libvlc_playlist_clear"
)]
[
DllImport
(
"libvlc.dll"
,
EntryPoint
=
"libvlc_playlist_clear"
)]
static
extern
void
PlaylistClear
(
InstanceHandle
self
,
static
extern
void
PlaylistClear
(
InstanceHandle
self
,
NativeException
ex
);
NativeException
ex
);
/** Clears the whole playlist. */
/** Clears the whole playlist. */
...
@@ -207,7 +207,7 @@ namespace VideoLAN.LibVLC
...
@@ -207,7 +207,7 @@ namespace VideoLAN.LibVLC
items
.
Clear
();
items
.
Clear
();
}
}
[
DllImport
(
"libvlc
-control
.dll"
,
[
DllImport
(
"libvlc.dll"
,
EntryPoint
=
"libvlc_playlist_add_extended"
)]
EntryPoint
=
"libvlc_playlist_add_extended"
)]
static
extern
int
PlaylistAdd
(
InstanceHandle
self
,
U8String
uri
,
static
extern
int
PlaylistAdd
(
InstanceHandle
self
,
U8String
uri
,
U8String
name
,
int
optc
,
U8String
name
,
int
optc
,
...
@@ -264,7 +264,7 @@ namespace VideoLAN.LibVLC
...
@@ -264,7 +264,7 @@ namespace VideoLAN.LibVLC
return
Add
(
mrl
,
null
,
new
string
[
0
]);
return
Add
(
mrl
,
null
,
new
string
[
0
]);
}
}
[
DllImport
(
"libvlc
-control
.dll"
,
[
DllImport
(
"libvlc.dll"
,
EntryPoint
=
"libvlc_playlist_delete_item"
)]
EntryPoint
=
"libvlc_playlist_delete_item"
)]
static
extern
int
PlaylistDelete
(
InstanceHandle
self
,
int
id
,
static
extern
int
PlaylistDelete
(
InstanceHandle
self
,
int
id
,
NativeException
e
);
NativeException
e
);
...
@@ -320,13 +320,13 @@ namespace VideoLAN.LibVLC
...
@@ -320,13 +320,13 @@ namespace VideoLAN.LibVLC
{
{
}
}
[
DllImport
(
"libvlc
-control
.dll"
,
[
DllImport
(
"libvlc.dll"
,
EntryPoint
=
"libvlc_media_new"
)]
EntryPoint
=
"libvlc_media_new"
)]
public
static
extern
public
static
extern
DescriptorHandle
Create
(
InstanceHandle
inst
,
U8String
mrl
,
DescriptorHandle
Create
(
InstanceHandle
inst
,
U8String
mrl
,
NativeException
ex
);
NativeException
ex
);
[
DllImport
(
"libvlc
-control
.dll"
,
[
DllImport
(
"libvlc.dll"
,
EntryPoint
=
"libvlc_media_release"
)]
EntryPoint
=
"libvlc_media_release"
)]
public
static
extern
void
Release
(
IntPtr
ptr
);
public
static
extern
void
Release
(
IntPtr
ptr
);
...
...
bindings/cil/tests/testvlc.cs
View file @
84d0f814
/*
/*
* testvlc.cs - tests for libvlc
-control
CIL bindings
* testvlc.cs - tests for libvlc CIL bindings
*
*
* $Id$
* $Id$
*/
*/
...
...
bindings/java/core/src/main/java/org/videolan/jvlc/internal/LibVlc.java
View file @
84d0f814
...
@@ -38,7 +38,7 @@ import com.sun.jna.Union;
...
@@ -38,7 +38,7 @@ import com.sun.jna.Union;
public
interface
LibVlc
extends
Library
public
interface
LibVlc
extends
Library
{
{
LibVlc
INSTANCE
=
(
LibVlc
)
Native
.
loadLibrary
(
"vlc
-control
"
,
LibVlc
.
class
);
LibVlc
INSTANCE
=
(
LibVlc
)
Native
.
loadLibrary
(
"vlc"
,
LibVlc
.
class
);
LibVlc
SYNC_INSTANCE
=
(
LibVlc
)
Native
.
synchronizedLibrary
(
INSTANCE
);
LibVlc
SYNC_INSTANCE
=
(
LibVlc
)
Native
.
synchronizedLibrary
(
INSTANCE
);
...
...
bindings/python/setup.py
View file @
84d0f814
...
@@ -71,7 +71,7 @@ def get_cflags():
...
@@ -71,7 +71,7 @@ def get_cflags():
def
get_ldflags
():
def
get_ldflags
():
vlcconfig
=
get_vlcconfig
()
vlcconfig
=
get_vlcconfig
()
if
vlcconfig
is
None
:
if
vlcconfig
is
None
:
return
[
'-lvlc
-control
'
]
return
[
'-lvlc'
]
else
:
else
:
ldflags
=
[]
ldflags
=
[]
if
os
.
sys
.
platform
==
'darwin'
:
if
os
.
sys
.
platform
==
'darwin'
:
...
@@ -81,9 +81,9 @@ def get_ldflags():
...
@@ -81,9 +81,9 @@ def get_ldflags():
if
os
.
sys
.
platform
==
'darwin'
:
if
os
.
sys
.
platform
==
'darwin'
:
ldflags
.
append
(
'-lstdc++'
)
ldflags
.
append
(
'-lstdc++'
)
if
not
libtool
:
if
not
libtool
:
# vlc-config is broken and gives a -lvlc
-control
which
# vlc-config is broken and gives a -lvlc which
# does not exist if libtool is disabled.
# does not exist if libtool is disabled.
ldflags
.
remove
(
'-lvlc
-control
'
)
ldflags
.
remove
(
'-lvlc'
)
return
ldflags
return
ldflags
#source_files = [ 'vlc_module.c', 'vlc_mediacontrol.c',
#source_files = [ 'vlc_module.c', 'vlc_mediacontrol.c',
...
...
configure.ac
View file @
84d0f814
...
@@ -6291,8 +6291,8 @@ dnl
...
@@ -6291,8 +6291,8 @@ dnl
dnl Pic and shared libvlc stuff
dnl Pic and shared libvlc stuff
dnl
dnl
AS_IF([test "${SYS}" = "mingw32"], [
AS_IF([test "${SYS}" = "mingw32"], [
FILE_LIBVLCCORE_DLL="!define LIBVLCCORE_DLL libvlccore.dll"
FILE_LIBVLC_DLL="!define LIBVLC_DLL libvlc.dll"
FILE_LIBVLC_DLL="!define LIBVLC_DLL libvlc.dll"
FILE_LIBVLC_CONTROL_DLL="!define LIBVLC_CONTROL_DLL libvlc-control.dll"
])
])
dnl
dnl
...
@@ -6352,8 +6352,8 @@ AC_SUBST(WINE_SDK_PATH)
...
@@ -6352,8 +6352,8 @@ AC_SUBST(WINE_SDK_PATH)
AC_SUBST(LIBEXT)
AC_SUBST(LIBEXT)
AC_SUBST(AM_CPPFLAGS)
AC_SUBST(AM_CPPFLAGS)
AC_SUBST(MACOSX_DEPLOYMENT_TARGET)
AC_SUBST(MACOSX_DEPLOYMENT_TARGET)
AC_SUBST(FILE_LIBVLCCORE_DLL)
AC_SUBST(FILE_LIBVLC_DLL)
AC_SUBST(FILE_LIBVLC_DLL)
AC_SUBST(FILE_LIBVLC_CONTROL_DLL)
dnl Create vlc-config.in
dnl Create vlc-config.in
VLC_OUTPUT_VLC_CONFIG_IN
VLC_OUTPUT_VLC_CONFIG_IN
...
...
modules/common.am
View file @
84d0f814
...
@@ -13,7 +13,7 @@ BUILT_SOURCES =
...
@@ -13,7 +13,7 @@ BUILT_SOURCES =
CLEANFILES = $(BUILT_SOURCES)
CLEANFILES = $(BUILT_SOURCES)
if HAVE_PLUGINS
if HAVE_PLUGINS
LTLIBVLC
= $(top_builddir)/src/libvlc
.la
LTLIBVLC
CORE = $(top_builddir)/src/libvlccore
.la
AM_CFLAGS = `$(VLC_CONFIG) --cflags plugin $@`
AM_CFLAGS = `$(VLC_CONFIG) --cflags plugin $@`
AM_CXXFLAGS = `$(VLC_CONFIG) --cxxflags plugin $@`
AM_CXXFLAGS = `$(VLC_CONFIG) --cxxflags plugin $@`
...
@@ -22,7 +22,7 @@ AM_LDFLAGS = -rpath '$(libvlcdir)' \
...
@@ -22,7 +22,7 @@ AM_LDFLAGS = -rpath '$(libvlcdir)' \
-avoid-version -module -no-undefined \
-avoid-version -module -no-undefined \
-shrext $(LIBEXT) \
-shrext $(LIBEXT) \
`$(VLC_CONFIG) --ldflags plugin $@`
`$(VLC_CONFIG) --ldflags plugin $@`
AM_LIBADD = `$(VLC_CONFIG) -libs plugin $@` $(LTLIBVLC)
AM_LIBADD = `$(VLC_CONFIG) -libs plugin $@` $(LTLIBVLC
CORE
)
if HAVE_COMPILER_EXPORT
if HAVE_COMPILER_EXPORT
AM_LDFLAGS += -export-dynamic
AM_LDFLAGS += -export-dynamic
...
...
projects/activex/Makefile.am
View file @
84d0f814
...
@@ -66,8 +66,8 @@ if BUILD_ACTIVEX
...
@@ -66,8 +66,8 @@ if BUILD_ACTIVEX
lib_LTLIBRARIES
=
axvlc.la
lib_LTLIBRARIES
=
axvlc.la
LIBRARIES_libvlc
=
$(top_builddir)
/src/libvlc
-control
.la
\
LIBRARIES_libvlc
=
$(top_builddir)
/src/libvlc.la
\
$(top_builddir)
/src/libvlc.la
$(top_builddir)
/src/libvlc
core
.la
axvlc_la_SOURCES
=
$(SOURCES_activex)
axvlc_la_SOURCES
=
$(SOURCES_activex)
axvlc_la_CFLAGS
=
`
$(VLC_CONFIG)
--cflags
activex
`
axvlc_la_CFLAGS
=
`
$(VLC_CONFIG)
--cflags
activex
`
...
...
projects/mozilla/Makefile.am
View file @
84d0f814
...
@@ -23,8 +23,8 @@ DIST_sources = $(SOURCES_mozilla_common) \
...
@@ -23,8 +23,8 @@ DIST_sources = $(SOURCES_mozilla_common) \
if
BUILD_MOZILLA
if
BUILD_MOZILLA
LIBRARIES_libvlc
=
$(top_builddir)
/src/libvlc
-control
.la
\
LIBRARIES_libvlc
=
$(top_builddir)
/src/libvlc.la
\
$(top_builddir)
/src/libvlc.la
$(top_builddir)
/src/libvlc
core
.la
if
HAVE_WIN32
if
HAVE_WIN32
...
@@ -111,22 +111,22 @@ VLC\ Plugin.plugin: npvlc.rsrc $(lib_LTLIBRARIES)
...
@@ -111,22 +111,22 @@ VLC\ Plugin.plugin: npvlc.rsrc $(lib_LTLIBRARIES)
$(INSTALL)
-d
"
$@
/Contents/MacOS/lib"
$(INSTALL)
-d
"
$@
/Contents/MacOS/lib"
$(INSTALL)
".libs/npvlc.dylib"
"
$@
/Contents/MacOS/VLC Plugin"
$(INSTALL)
".libs/npvlc.dylib"
"
$@
/Contents/MacOS/VLC Plugin"
$(INSTALL)
-d
"
$(srcdir)
/
$@
/Contents/MacOS/lib"
;
\
$(INSTALL)
-d
"
$(srcdir)
/
$@
/Contents/MacOS/lib"
;
\
install_name_tool
-change
"
$(libdir)
/libvlc
.1
.dylib"
\
install_name_tool
-change
"
$(libdir)
/libvlc
core.0
.dylib"
\
"@executable_path/lib/libvlc.dylib"
\
"@executable_path/lib/libvlc
core
.dylib"
\
"
$@
/Contents/MacOS/VLC Plugin"
"
$@
/Contents/MacOS/VLC Plugin"
install_name_tool
-change
"
$(libdir)
/libvlc
-control.1
.dylib"
\
install_name_tool
-change
"
$(libdir)
/libvlc
.2
.dylib"
\
"@executable_path/lib/libvlc
-control
.dylib"
\
"@executable_path/lib/libvlc.dylib"
\
"
$@
/Contents/MacOS/VLC Plugin"
"
$@
/Contents/MacOS/VLC Plugin"
$(INSTALL)
"
$(top_builddir)
/src/.libs/libvlc.1.dylib"
\
$(INSTALL)
"
$(top_builddir)
/src/.libs/libvlccore.0.dylib"
\
"
$@
/Contents/MacOS/lib/libvlccore.dylib"
$(INSTALL)
"
$(top_builddir)
/src/.libs/libvlc.2.dylib"
\
"
$@
/Contents/MacOS/lib/libvlc.dylib"
install_name_tool
-change
"
$(libdir)
/libvlccore.0.dylib"
\
"@executable_path/lib/libvlccore.dylib"
\
"
$@
/Contents/MacOS/lib/libvlc.dylib"
"
$@
/Contents/MacOS/lib/libvlc.dylib"
$(INSTALL)
"
$(top_builddir)
/src/.libs/libvlc-control.1.dylib"
\
"
$@
/Contents/MacOS/lib/libvlc-control.dylib"
install_name_tool
-change
"
$(libdir)
/libvlc.1.dylib"
\
"@executable_path/lib/libvlc.dylib"
\
"
$@
/Contents/MacOS/lib/libvlc-control.dylib"
dylib
=
"
$@
/Contents/MacOS/VLC Plugin"
;
$(FIXEXECPATH)
;
dylib
=
"
$@
/Contents/MacOS/VLC Plugin"
;
$(FIXEXECPATH)
;
dylib
=
"
$@
/Contents/MacOS/lib/libvlccore.dylib"
;
$(FIXEXECPATH)
;
dylib
=
"
$@
/Contents/MacOS/lib/libvlc.dylib"
;
$(FIXEXECPATH)
;
dylib
=
"
$@
/Contents/MacOS/lib/libvlc.dylib"
;
$(FIXEXECPATH)
;
dylib
=
"
$@
/Contents/MacOS/lib/libvlc-control.dylib"
;
$(FIXEXECPATH)
;
$(INSTALL)
-d
"
$@
/Contents/Resources"
$(INSTALL)
-d
"
$@
/Contents/Resources"
$(INSTALL)
npvlc.rsrc
"
$@
/Contents/Resources/VLC Plugin.rsrc"
$(INSTALL)
npvlc.rsrc
"
$@
/Contents/Resources/VLC Plugin.rsrc"
cp
-r
"
$(top_srcdir)
/extras/package/macosx/plugin/English.lproj"
"
$@
/Contents/Resources/"
cp
-r
"
$(top_srcdir)
/extras/package/macosx/plugin/English.lproj"
"
$@
/Contents/Resources/"
...
@@ -137,8 +137,8 @@ VLC\ Plugin.plugin: npvlc.rsrc $(lib_LTLIBRARIES)
...
@@ -137,8 +137,8 @@ VLC\ Plugin.plugin: npvlc.rsrc $(lib_LTLIBRARIES)
if
test
-n
"
$$
i"
;
then
\
if
test
-n
"
$$
i"
;
then
\
dylib
=
"
$@
/Contents/MacOS/modules/
`
basename
$$
i
`
"
;
\
dylib
=
"
$@
/Contents/MacOS/modules/
`
basename
$$
i
`
"
;
\
$(INSTALL)
"
$$
i"
"
$$
dylib"
;
\
$(INSTALL)
"
$$
i"
"
$$
dylib"
;
\
install_name_tool
-change
"
$(libdir)
/libvlc
.1
.dylib"
\
install_name_tool
-change
"
$(libdir)
/libvlc
core.0
.dylib"
\
"@executable_path/lib/libvlc.dylib"
"
$$
dylib"
;
\
"@executable_path/lib/libvlc
core
.dylib"
"
$$
dylib"
;
\
$(FIXEXECPATH)
;
\
$(FIXEXECPATH)
;
\
fi
;
\
fi
;
\
done
done
...
...
src/Makefile.am
View file @
84d0f814
...
@@ -8,7 +8,7 @@ NULL =
...
@@ -8,7 +8,7 @@ NULL =
EXTRA_DIST
=
extras/COPYING modules/builtin.h.in
\
EXTRA_DIST
=
extras/COPYING modules/builtin.h.in
\
vlc-control.pc.in
\
vlc-control.pc.in
\
vlc-plugin.pc.in
\
vlc-plugin.pc.in
\
libvlc.sym
libvlc
core
.sym
BUILT_SOURCES
=
modules/builtin.h misc/revision.c ../include/vlc_about.h
BUILT_SOURCES
=
modules/builtin.h misc/revision.c ../include/vlc_about.h
CLEANFILES
=
$(BUILT_SOURCES)
CLEANFILES
=
$(BUILT_SOURCES)
...
@@ -159,47 +159,46 @@ CLEANFILES += $(pkgconfig_DATA)
...
@@ -159,47 +159,46 @@ CLEANFILES += $(pkgconfig_DATA)
nice
:
nice
:
$(top_builddir)
/compile
$(top_builddir)
/compile
lib_LTLIBRARIES
=
libvlc
.la libvlc-control
.la
lib_LTLIBRARIES
=
libvlc
core.la libvlc
.la
AM_LDFLAGS
=
-no-undefined
-no-install
AM_LDFLAGS
=
-no-undefined
-no-install
if
HAVE_WIN32
if
HAVE_WIN32
AM_LDFLAGS
+=
-avoid-version
AM_LDFLAGS
+=
-avoid-version
endif
endif
libvlc_la_SOURCES
=
$(SOURCES_libvlc)
libvlc
core
_la_SOURCES
=
$(SOURCES_libvlc)
nodist_libvlc_la_SOURCES
=
misc/revision.c
nodist_libvlc
core
_la_SOURCES
=
misc/revision.c
libvlc_la_CFLAGS
=
`
$(VLC_CONFIG)
--cflags
libvlc
`
\
libvlc
core
_la_CFLAGS
=
`
$(VLC_CONFIG)
--cflags
libvlc
`
\
-DMODULE_STRING
=
\"
main
\"
\
-DMODULE_STRING
=
\"
main
\"
\
-DLOCALEDIR
=
\"
$(localedir)
\"
\
-DLOCALEDIR
=
\"
$(localedir)
\"
\
-DSYSCONFDIR
=
\"
$(sysconfdir)
\"
\
-DSYSCONFDIR
=
\"
$(sysconfdir)
\"
\
-DDATA_PATH
=
\"
$(pkgdatadir)
\"
\
-DDATA_PATH
=
\"
$(pkgdatadir)
\"
\
-DLIBDIR
=
\"
$(libdir)
\"
\
-DLIBDIR
=
\"
$(libdir)
\"
\
-DPLUGIN_PATH
=
\"
$(pkglibdir)
\"
-DPLUGIN_PATH
=
\"
$(pkglibdir)
\"
libvlc_la_CXXFLAGS
=
`
$(VLC_CONFIG)
--cxxflags
libvlc
`
libvlc
core
_la_CXXFLAGS
=
`
$(VLC_CONFIG)
--cxxflags
libvlc
`
libvlc_la_OBJCFLAGS
=
`
$(VLC_CONFIG)
--objcflags
libvlc
`
libvlc
core
_la_OBJCFLAGS
=
`
$(VLC_CONFIG)
--objcflags
libvlc
`
libvlc_la_LDFLAGS
=
`
$(VLC_CONFIG)
--ldflags
libvlc
`
$(AM_LDFLAGS)
\
libvlc
core
_la_LDFLAGS
=
`
$(VLC_CONFIG)
--ldflags
libvlc
`
$(AM_LDFLAGS)
\
-version-info
1
:0:0
-version-info
0
:0:0
if
HAVE_COMPILER_EXPORT
if
HAVE_COMPILER_EXPORT
libvlc_la_LDFLAGS
+=
-export-dynamic
libvlc
core
_la_LDFLAGS
+=
-export-dynamic
else
else
libvlc
_la_LDFLAGS
+=
-export-symbols
$(srcdir)
/libvlc
.sym
libvlc
core_la_LDFLAGS
+=
-export-symbols
$(srcdir)
/libvlccore
.sym
endif
endif
libvlc_la_LIBADD
=
`
$(VLC_CONFIG)
-libs
libvlc
`
$(AM_LIBADD)
$(LTLIBINTL)
libvlccore_la_LIBADD
=
`
$(VLC_CONFIG)
-libs
libvlc
`
$(AM_LIBADD)
$(LTLIBINTL)
libvlccore_la_DEPENDENCIES
=
libvlccore.sym
libvlc_la_DEPENDENCIES
=
libvlc.sym
libvlc_
control_
la_SOURCES
=
$(SOURCES_libvlc_control)
libvlc_la_SOURCES
=
$(SOURCES_libvlc_control)
libvlc_
control_la_LIBADD
=
libvlc
.la
libvlc_
la_LIBADD
=
libvlccore
.la
libvlc_
control_
la_CFLAGS
=
`
$(VLC_CONFIG)
--cflags
libvlc
`
\
libvlc_la_CFLAGS
=
`
$(VLC_CONFIG)
--cflags
libvlc
`
\
-DMODULE_STRING
=
\"
control
\"
-DMODULE_STRING
=
\"
control
\"
libvlc_
control_la_LDFLAGS
=
$(AM_LDFLAGS)
-version-info
1
:0:0
libvlc_
la_LDFLAGS
=
$(AM_LDFLAGS)
-version-info
2
:0:0
if
HAVE_COMPILER_EXPORT
if
HAVE_COMPILER_EXPORT
libvlc_
control_
la_LDFLAGS
+=
-export-dynamic
libvlc_la_LDFLAGS
+=
-export-dynamic
else
else
libvlc_
control_
la_LDFLAGS
+=
-export-symbols-regex
'^_?(libvlc|mediacontrol)_.*'
libvlc_la_LDFLAGS
+=
-export-symbols-regex
'^_?(libvlc|mediacontrol)_.*'
endif
endif
EXTRA_libvlc_la_SOURCES
=
\
EXTRA_libvlc
core
_la_SOURCES
=
\
$(SOURCES_libvlc_beos)
\
$(SOURCES_libvlc_beos)
\
$(SOURCES_libvlc_darwin)
\
$(SOURCES_libvlc_darwin)
\
$(SOURCES_libvlc_linux)
\
$(SOURCES_libvlc_linux)
\
...
@@ -210,34 +209,34 @@ EXTRA_libvlc_la_SOURCES = \
...
@@ -210,34 +209,34 @@ EXTRA_libvlc_la_SOURCES = \
$(SOURCES_libvlc_sout)
\
$(SOURCES_libvlc_sout)
\
$(NULL)
$(NULL)
if
HAVE_BEOS
if
HAVE_BEOS
libvlc_la_SOURCES
+=
$(SOURCES_libvlc_beos)
libvlc
core
_la_SOURCES
+=
$(SOURCES_libvlc_beos)
else
else
if
HAVE_DARWIN
if
HAVE_DARWIN
libvlc_la_SOURCES
+=
$(SOURCES_libvlc_darwin)
libvlc
core
_la_SOURCES
+=
$(SOURCES_libvlc_darwin)
else
else
if
HAVE_LINUX
if
HAVE_LINUX
libvlc_la_SOURCES
+=
$(SOURCES_libvlc_linux)
libvlc
core
_la_SOURCES
+=
$(SOURCES_libvlc_linux)
else
else
if
HAVE_WIN32
if
HAVE_WIN32
libvlc_la_SOURCES
+=
$(SOURCES_libvlc_win32)
libvlc
core
_la_SOURCES
+=
$(SOURCES_libvlc_win32)
else
else
if
HAVE_WINCE
if
HAVE_WINCE
libvlc_la_SOURCES
+=
$(SOURCES_libvlc_win32)
libvlc
core
_la_SOURCES
+=
$(SOURCES_libvlc_win32)
else
else
libvlc_la_SOURCES
+=
$(SOURCES_libvlc_other)
libvlc
core
_la_SOURCES
+=
$(SOURCES_libvlc_other)
endif
endif
endif
endif
endif
endif
endif
endif
endif
endif
if
BUILD_DIRENT
if
BUILD_DIRENT
libvlc_la_SOURCES
+=
$(SOURCES_libvlc_dirent)
libvlc
core
_la_SOURCES
+=
$(SOURCES_libvlc_dirent)
endif
endif
if
BUILD_GETOPT
if
BUILD_GETOPT
libvlc_la_SOURCES
+=
$(SOURCES_libvlc_getopt)
libvlc
core
_la_SOURCES
+=
$(SOURCES_libvlc_getopt)
endif
endif
if
ENABLE_SOUT
if
ENABLE_SOUT
libvlc_la_SOURCES
+=
$(SOURCES_libvlc_sout)
libvlc
core
_la_SOURCES
+=
$(SOURCES_libvlc_sout)
endif
endif
SOURCES_libvlc_beos
=
\
SOURCES_libvlc_beos
=
\
...
@@ -440,7 +439,8 @@ vlc_DEPENDENCIES = $(DATA_win32_rc) libvlc.la
...
@@ -440,7 +439,8 @@ vlc_DEPENDENCIES = $(DATA_win32_rc) libvlc.la
vlc_CFLAGS
=
`
$(VLC_CONFIG)
--cflags
vlc
`
vlc_CFLAGS
=
`
$(VLC_CONFIG)
--cflags
vlc
`
vlc_LDFLAGS
=
`
$(VLC_CONFIG)
--ldflags
vlc
`
vlc_LDFLAGS
=
`
$(VLC_CONFIG)
--ldflags
vlc
`
vlc_LDADD
=
$(DATA_win32_rc)
libvlc.la
$(LTLIBINTL)
`
$(VLC_CONFIG)
-libs
vlc
`
vlc_LDADD
=
$(DATA_win32_rc)
libvlccore.la
$(LTLIBINTL)
\
`
$(VLC_CONFIG)
-libs
vlc
`
if
BUILD_VLC
if
BUILD_VLC
vlc$(EXEEXT)
:
$(vlc_OBJECTS) $(vlc_DEPENDENCIES)
vlc$(EXEEXT)
:
$(vlc_OBJECTS) $(vlc_DEPENDENCIES)
...
...
src/libvlc.sym
→
src/libvlc
core
.sym
View file @
84d0f814
File moved
src/vlc-control.pc.in
View file @
84d0f814
...
@@ -7,5 +7,5 @@ Name: LibVLC control API
...
@@ -7,5 +7,5 @@ Name: LibVLC control API
Description: VLC media player external control library
Description: VLC media player external control library
Version: @VERSION@
Version: @VERSION@
Cflags: -I${includedir}
Cflags: -I${includedir}
Libs: -L${libdir} -lvlc
-control
Libs: -L${libdir} -lvlc
Libs.private: -lvlc
Libs.private: -lvlc
core
src/vlc-plugin.pc.in
View file @
84d0f814
...
@@ -12,4 +12,4 @@ Cflags: -I${includedir} -I${includedir}/vlc/plugins \
...
@@ -12,4 +12,4 @@ Cflags: -I${includedir} -I${includedir}/vlc/plugins \
-D_LARGEFILE64_SOURCE \
-D_LARGEFILE64_SOURCE \
-D_REENTRANT \
-D_REENTRANT \
-D_THREAD_SAFE
-D_THREAD_SAFE
Libs: -L${libdir} -lvlc
Libs: -L${libdir} -lvlc
core
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