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
4b11c6e4
Commit
4b11c6e4
authored
Aug 08, 2007
by
Damien Fouilleul
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mozilla: fix VLC Plugin.plugin target for MacOS X, added support for libvlc.dylib, etc..
parent
a55589a0
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
31 additions
and
14 deletions
+31
-14
mozilla/Makefile.am
mozilla/Makefile.am
+31
-14
No files found.
mozilla/Makefile.am
View file @
4b11c6e4
...
...
@@ -72,7 +72,7 @@ CPPFLAGS_mozilla_EXTRA = -I. -I$(top_builddir) -I$(srcdir)/../include -c \
-DNO_X11
=
1
-DUSE_SYSTEM_CONSOLE
=
1
-pipe
-fmessage-length
=
0
\
-include
mozilla-config.h
LDFLAGS_mozilla_EXTRA
=
-no-undefined
-bundle
-Wl
,-read_only_relocs
-Wl
,suppress
\
-Wl
,-headerpad_max_install_names
-shrext
$(LIBEXT)
-
framework
Carbon
-Wl
,-headerpad_max_install_names
-shrext
$(LIBEXT)
-
Wl
,-framework,Carbon
-Wl
,-framework,System
npvlc_la_SOURCES
=
$(SOURCES_mozilla_common)
$(SOURCES_support)
npvlc_la_CFLAGS
=
`
$(VLC_CONFIG)
--cflags
mozilla
`
$(CPPFLAGS_mozilla_EXTRA)
...
...
@@ -107,25 +107,42 @@ endef
VLC\ Plugin.plugin
:
npvlc.rsrc $(lib_LTLIBRARIES)
rm
-Rf
"
$@
"
$(INSTALL)
-d
"./
$@
/Contents/MacOS"
$(INSTALL)
.libs/npvlc.dylib
"./
$@
/Contents/MacOS/VLC Plugin"
dylib
=
"./
$@
/Contents/MacOS/VLC Plugin"
;
$(FIXEXECPATH)
;
$(INSTALL)
-d
"./
$@
/Contents/Resources"
$(INSTALL)
npvlc.rsrc
"./
$@
/Contents/Resources/VLC Plugin.rsrc"
cp
-r
"
$(top_srcdir)
/extras/MacOSX/plugin/English.lproj"
"./
$@
/Contents/Resources/"
$(INSTALL)
"
$(top_srcdir)
/extras/MacOSX/plugin/Info.plist"
"./
$@
/Contents/Info.plist"
$(INSTALL)
-d
"./
$@
/Contents/MacOS/modules"
$(INSTALL)
-d
"
$(srcdir)
/
$@
/Contents/MacOS"
$(INSTALL)
"
$(srcdir)
/.libs/npvlc.dylib"
"
$(srcdir)
/
$@
/Contents/MacOS/VLC Plugin"
$(INSTALL)
-d
"
$(srcdir)
/
$@
/Contents/MacOS/lib"
;
\
install_name_tool
-change
"
$(libdir)
/libvlc.1.dylib"
\
"@executable_path/lib/libvlc.dylib"
\
"
$(srcdir)
/
$@
/Contents/MacOS/VLC Plugin"
install_name_tool
-change
"
$(libdir)
/libvlc-control.0.dylib"
\
"@executable_path/lib/libvlc-control.dylib"
\
"
$(srcdir)
/
$@
/Contents/MacOS/VLC Plugin"
$(INSTALL)
"
$(top_builddir)
/src/.libs/libvlc.1.dylib"
\
"
$(srcdir)
/
$@
/Contents/MacOS/lib/libvlc.dylib"
$(INSTALL)
"
$(top_builddir)
/src/.libs/libvlc-control.0.dylib"
\
"
$(srcdir)
/
$@
/Contents/MacOS/lib/libvlc-control.dylib"
install_name_tool
-change
"
$(libdir)
/libvlc.1.dylib"
\
"@executable_path/lib/libvlc.dylib"
\
"
$(srcdir)
/
$@
/Contents/MacOS/lib/libvlc-control.dylib"
dylib
=
"
$(srcdir)
/
$@
/Contents/MacOS/VLC Plugin"
;
$(FIXEXECPATH)
;
dylib
=
"
$(srcdir)
/
$@
/Contents/MacOS/lib/libvlc.dylib"
;
$(FIXEXECPATH)
;
dylib
=
"
$(srcdir)
/
$@
/Contents/MacOS/lib/libvlc-control.dylib"
;
$(FIXEXECPATH)
;
$(INSTALL)
-d
"
$(srcdir)
/
$@
/Contents/Resources"
$(INSTALL)
npvlc.rsrc
"
$(srcdir)
/
$@
/Contents/Resources/VLC Plugin.rsrc"
cp
-r
"
$(top_srcdir)
/extras/MacOSX/plugin/English.lproj"
"
$(srcdir)
/
$@
/Contents/Resources/"
$(INSTALL)
"
$(top_srcdir)
/extras/MacOSX/plugin/Info.plist"
"
$(srcdir)
/
$@
/Contents/Info.plist"
$(INSTALL)
-d
"
$(srcdir)
/
$@
/Contents/MacOS/modules"
for
i
in
""
`
$(VLC_CONFIG)
--target
plugin
`
;
do
\
if
test
-n
"
$$
i"
;
then
\
dylib
=
"./
$@
/Contents/MacOS/modules/
`
basename
$$
i
$(LIBEXT)
`
"
;
\
$(INSTALL)
"
$$
i
$(LIBEXT)
"
"
$$
dylib"
;
\
dylib
=
"
$(srcdir)
/
$@
/Contents/MacOS/modules/
`
basename
$$
i
$(LIBEXT)
`
"
;
\
$(INSTALL)
"
`
dirname
$$
i
`
/.libs/
`
basename
$$
i
`
$(LIBEXT)
"
"
$$
dylib"
;
\
install_name_tool
-change
"
$(libdir)
/libvlc.1.dylib"
\
"@executable_path/lib/libvlc.dylib"
"
$$
dylib"
;
\
$(FIXEXECPATH)
;
\
fi
;
\
done
if
test
-d
$(top_srcdir)
/extras/contrib/vlc-lib
;
then
\
$(INSTALL)
-d
"./
$@
/Contents/MacOS/lib"
;
\
for
i
in
$(top_srcdir)
/extras/contrib/vlc-lib/
*
.dylib
;
do
\
dylib
=
"
.
/
$@
/Contents/MacOS/lib/
`
basename
$
${i}
`
"
;
\
dylib
=
"
$(srcdir)
/
$@
/Contents/MacOS/lib/
`
basename
$
${i}
`
"
;
\
$(INSTALL)
-m
644
"
$
${i}
"
"
$$
dylib"
;
\
$(FIXEXECPATH)
;
\
done
;
\
...
...
@@ -133,7 +150,7 @@ VLC\ Plugin.plugin: npvlc.rsrc $(lib_LTLIBRARIES)
# uncomment if dependencies on XPCOM libs is sought
# if test -d "$(MOZILLA_SDK_PATH)/lib"; then \
# for i in "$(MOZILLA_SDK_PATH)"/lib/*.dylib ; do \
# dylib="
.
/$@/Contents/MacOS/`basename $${i}`" ; \
# dylib="
$(srcdir)
/$@/Contents/MacOS/`basename $${i}`" ; \
# $(INSTALL) -m 644 "$${i}" "$$dylib" ; \
# $(FIXEXECPATH); \
# done ; \
...
...
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