Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
6ed527e8
Commit
6ed527e8
authored
Dec 10, 2006
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use shared libvlc on Win32
parent
98b71c25
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
7 additions
and
52 deletions
+7
-52
Makefile.am
Makefile.am
+1
-9
activex/Makefile.am
activex/Makefile.am
+2
-21
configure.ac
configure.ac
+2
-13
mozilla/Makefile.am
mozilla/Makefile.am
+0
-5
src/Makefile.am
src/Makefile.am
+2
-4
No files found.
Makefile.am
View file @
6ed527e8
...
...
@@ -286,13 +286,9 @@ LIB_libvlc = libvlc.la
LIBVLC
=
src/
$(LIB_libvlc)
vlc_LDFLAGS
=
else
if
BUILD_SHARED
vlc_LDFLAGS
=
`
$(VLC_CONFIG)
--libs
vlc
`
-Wl
,-rpath
$(libdir)
-L
$(top_builddir)
/src
-lvlc
if
HAVE_WIN32
vlc_LDFLAGS
=
`
$(VLC_CONFIG)
--libs
vlc
`
-Wl
,-rpath
$(libdir)
-L
$(top_builddir)
/src
-lvlc
LIB_libvlc
=
libvlc.dll.a
else
LIB_libvlc
=
libvlc
$(LIBEXT)
endif
LIBVLC
=
else
vlc_LDFLAGS
=
$(vlc_WORKAROUNDLFDLAGS)
`
$(VLC_CONFIG)
--libs
vlc
builtin
`
...
...
@@ -670,9 +666,7 @@ package-win-common:
# Copy relevant files
cp
"$(top_builddir)/vlc$(EXEEXT)"
"$(top_builddir)/vlc-${VERSION}/"
cp
"$(top_srcdir)/vlc.exe.manifest"
"$(top_builddir)/vlc-${VERSION}/"
if
BUILD_SHARED
cp
"src/libvlc$(LIBEXT)"
"vlc-${VERSION}/"
endif
for
file
in
AUTHORS
MAINTAINERS
THANKS
NEWS
COPYING
README
;
\
do
sed
's/@/_AT_/'
<
"$(srcdir)/$$file"
>
"$(top_builddir)/vlc-${VERSION}/$${file}.txt"
;
\
...
...
@@ -739,9 +733,7 @@ endif
package-win-common-strip
:
$(STRIP)
"
$(top_builddir)
/vlc-
${VERSION}
/vlc
$(EXEEXT)
"
if
BUILD_SHARED
$(STRIP)
"vlc-
${VERSION}
/libvlc
$(LIBEXT)
"
endif
if
BUILD_MOZILLA
$(STRIP)
$(top_builddir)/vlc-${VERSION}/mozilla/*$(LIBEXT);
endif
...
...
activex/Makefile.am
View file @
6ed527e8
...
...
@@ -64,11 +64,7 @@ DIST_misc = \
test.html
\
$(NULL)
if
BUILD_SHARED
LIBRARIES_libvlc
=
$(top_builddir)
/src/libvlc.dll.a
else
LIBRARIES_libvlc
=
$(top_builddir)
/src/libvlc.a
endif
if
BUILD_ACTIVEX
...
...
@@ -76,7 +72,7 @@ noinst_LIBRARIES_activex = libaxvlc.a
axvlc_DATA
=
axvlc
$(LIBEXT)
axvlcdir
=
$(libdir)
LDFLAGS_activex
=
`
$(VLC_CONFIG)
--libs
activex libvlc
builtin
`
LDFLAGS_activex
=
`
$(VLC_CONFIG)
--libs
activex libvlc
`
libaxvlc_a_SOURCES
=
$(SOURCES_activex)
$(SOURCE_dll)
libaxvlc_a_CFLAGS
=
`
$(VLC_CONFIG)
--cflags
activex
`
...
...
@@ -84,7 +80,7 @@ libaxvlc_a_CXXFLAGS = `$(VLC_CONFIG) --cxxflags activex`
libaxvlc_a_DEPENDENCIES
=
axvlc.def
$(DATA_axvlc_rc)
$(LIBRARIES_libvlc)
axvlc$(LIBEXT)
:
$(libaxvlc_a_OBJECTS)
\
$(libaxvlc_a_DEPENDENCIES)
stamp-builtin
$(libaxvlc_a_DEPENDENCIES)
$(CXXLINK)
$(libaxvlc_a_OBJECTS)
$(DATA_axvlc_rc)
\
$(srcdir)
/axvlc.def
\
$(LIBRARIES_libvlc)
-shared
$(LIBRARIES_libvlc)
$(LDFLAGS_activex)
\
...
...
@@ -133,21 +129,6 @@ clean-tlb:
endif
###############################################################################
# Stamp rules
###############################################################################
clean-stamp
:
rm
-f
stamp-builtin
if
BUILD_SHARED
stamp-builtin
:
else
stamp-builtin
:
$(shell ${VLC_CONFIG} --target builtin)
endif
@
touch
$@
###############################################################################
# Clean rules
###############################################################################
...
...
configure.ac
View file @
6ed527e8
...
...
@@ -279,7 +279,7 @@ m4_defun([AC_PROG_F77],[])
AC_PROG_LIBTOOL
AC_ARG_ENABLE(libtool,
[ --enable-libtool use libtool (default
dis
abled)])
[ --enable-libtool use libtool (default
en
abled)])
AM_CONDITIONAL(USE_LIBTOOL, [test "x${enable_libtool}" != "xno"])
...
...
@@ -1444,15 +1444,6 @@ AC_ARG_ENABLE(release,
[ --enable-release activate extra optimizations (default disabled)])
test "${enable_release}" != "yes" && enable_release="no"
dnl
dnl Is the shared libvlc forced ?
dnl
AC_ARG_ENABLE(shared-libvlc,
[ --enable-shared-libvlc Win32 libvlc.dll build (default disabled)])
AS_IF([test "${enable_libtool}" != "no" && test "${enable_shared_libvlc}"], [
AC_MSG_ERROR([--enable-shared-libvlc and --enable-libtool are mutually exclusive])
])
dnl
dnl Stream output
dnl
...
...
@@ -5547,9 +5538,7 @@ AS_IF([${plugin_support}], [
dnl
dnl Pic and shared libvlc stuff
dnl
AS_IF([test "x${enable_shared_libvlc}" = "x"], [enable_shared_libvlc=no])
AM_CONDITIONAL(BUILD_SHARED, [test "${enable_shared_libvlc}" != "no"])
AS_IF([test "${enable_shared_libvlc}" != "no" || test "${enable_libtool}" != "no"], [
AS_IF([test "${SYS}" = "mingw32" || test "${enable_libtool}" != "no"], [
AC_DEFINE(HAVE_SHARED_LIBVLC, 1, [Define to 1 if libvlc is built as a shared library.])
FILE_LIBVLC_DLL="!define LIBVLC_DLL libvlc.dll"
VLC_ADD_PLUGINS([${BUILTINS}])
...
...
mozilla/Makefile.am
View file @
6ed527e8
...
...
@@ -23,13 +23,8 @@ SOURCES_mozilla_common = \
DIST_sources
=
$(SOURCES_mozilla_common)
\
support/npwin.cpp support/npmac.cpp support/npunix.c
if
BUILD_SHARED
LIBRARIES_libvlc_pic
=
-Wl
,-rpath
'
$(libdir)
'
-L
$(top_builddir)
/src
-lvlc
LIBRARIES_libvlc_nopic
=
$(LIBRARIES_libvlc_pic)
else
LIBRARIES_libvlc_pic
=
$(top_builddir)
/src/libvlc.a
LIBRARIES_libvlc_nopic
=
$(top_builddir)
/src/libvlc.a
endif
if
BUILD_MOZILLA
...
...
src/Makefile.am
View file @
6ed527e8
...
...
@@ -154,9 +154,7 @@ pic = pic
endif
if
HAVE_WIN32
if
BUILD_SHARED
DATA_noinst_libvlc
=
libvlc
$(LIBEXT)
libvlc
$(LIBEXT)
.a
endif
libvlc.dll.a
:
libvlc$(LIBEXT)
$(DLLTOOL)
--export-all-symbols
-l
$@
-D
$<
$(libvlc_a_OBJECTS)
...
...
@@ -330,7 +328,7 @@ SOURCES_libvlc_control = \
control/mediacontrol_audio_video.c
if
!USE_LIBTOOL
if
!
BUILD_SHARED
if
!
HAVE_WIN32
CLEANFILES
+=
misc/version.c
endif
...
...
@@ -351,7 +349,7 @@ misc/version.c: FORCE
###############################################################################
if
!USE_LIBTOOL
if
!
BUILD_SHARED
if
!
HAVE_WIN32
stamp-api
:
Makefile.in $(HEADERS_include) ../vlc-api.pl
(
cd
$(srcdir)
&&
cat
$(HEADERS_include)
)
|
\
top_srcdir
=
"
$(top_srcdir)
"
perl
$(top_srcdir)
/vlc-api.pl
...
...
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