Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
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
Commits
552b8bf8
Commit
552b8bf8
authored
Aug 29, 2007
by
Pierre d'Herbemont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
propset snv:keywords "Id"
parent
4ef70aca
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
12 deletions
+14
-12
extras/MacOSX/Framework/Makefile
extras/MacOSX/Framework/Makefile
+14
-12
No files found.
extras/MacOSX/Framework/Makefile
View file @
552b8bf8
...
...
@@ -4,10 +4,12 @@ OBJCFLAGS=-fobjc-exceptions
LDFLAGS
=
-single_module
-read_only_relocs
suppress
# We should set this properly.
srcdir
=
../../..
LIBVLC
=
$(srcdir)
/src/.libs/libvlc.1.dylib
$(srcdir)
/src/.libs/libvlc-control.0.dylib
LIBVLC_HEADERS
=
$(srcdir)
/include
VLCCONFIG
=
$(srcdir)
/vlc-config
top_srcdir
=
../../..
top_builddir
=
../../..
LIBVLC
=
$(top_builddir)
/src/.libs/libvlc.1.dylib
$(top_builddir)
/src/.libs/libvlc-control.0.dylib
LIBVLC_HEADERS
=
$(top_srcdir)
/include
VLCCONFIG
=
$(top_srcdir)
/vlc-config
MODULES
=
$(
patsubst
%,
$(SRC_DIR)
/%,
$(_MODULES)
)
...
...
@@ -66,12 +68,12 @@ DIR = VLC.framework \
VLC.framework/Version/Current/Framework
\
VLC.framework/Version/Current/Headers
\
VLC.framework/lib/libvlc.dylib
:
$(
src
dir)/src/.libs/libvlc.dylib VLC.framework/lib
cp
-f
$(
src
dir)
/src/.libs/libvlc.1.dylib VLC.framework/lib/libvlc.dylib
&&
\
VLC.framework/lib/libvlc.dylib
:
$(
top_build
dir)/src/.libs/libvlc.dylib VLC.framework/lib
cp
-f
$(
top_build
dir)
/src/.libs/libvlc.1.dylib VLC.framework/lib/libvlc.dylib
&&
\
install_name_tool
-id
`
pwd
`
/VLC.framework/lib/libvlc.1.dylib
\
VLC.framework/lib/libvlc.dylib
VLC.framework/lib/libvlc-control.dylib
:
$(
src
dir)/src/.libs/libvlc-control.dylib VLC.framework/lib
VLC.framework/lib/libvlc-control.dylib
:
$(
top_build
dir)/src/.libs/libvlc-control.dylib VLC.framework/lib
mkdir
-p
VLC.framework/Version/Current/lib
&&
\
cp
-f
$<
$@
&&
\
install_name_tool
-id
`
pwd
`
/
$@
$@
&&
\
...
...
@@ -92,7 +94,7 @@ VLC.framework/Resources:
VLC.framework/modules
:
/usr/bin/install
-c
-d
./VLC.framework/Version/Current/modules
&&
\
for
i
in
`
top_builddir
=
"
$(
src
dir)
"
$(VLCCONFIG)
--target
plugin
`
;
do
\
for
i
in
`
top_builddir
=
"
$(
top_build
dir)
"
$(VLCCONFIG)
--target
plugin
`
;
do
\
if
test
-n
"
$$
i"
;
\
then
\
cp
"
`
pwd
`
/
`
dirname
$$
i
`
/.libs/
`
basename
$$
i
`
.dylib"
\
...
...
@@ -113,13 +115,13 @@ VLC.framework/modules:
VLC.framework/share
:
cp
-R
$(
src
dir)
/share ./VLC.framework/Version/Current
&&
\
cp
-R
$(
top_build
dir)
/share ./VLC.framework/Version/Current
&&
\
ln
-sf
Version/Current/share ./VLC.framework
VLC.framework/lib
:
mkdir
-p
VLC.framework/Version/Current/lib
&&
\
if
test
-d
$(
src
dir)
/extras/contrib/vlc-lib
;
then
\
for
i
in
$(
src
dir)
/extras/contrib/vlc-lib/
*
.dylib
;
do
\
if
test
-d
$(
top_build
dir)
/extras/contrib/vlc-lib
;
then
\
for
i
in
$(
top_build
dir)
/extras/contrib/vlc-lib/
*
.dylib
;
do
\
module
=
"VLC.framework/Version/Current/lib/
`
basename
$
${i}
`
"
;
\
cp
`
pwd
`
/
$
${i}
$
${module}
;
\
install_name_tool
-change
/usr/local/lib/libvlc.1 @loader_path/../lib/libvlc.dylib
\
...
...
@@ -137,7 +139,7 @@ VLC.framework/lib:
VLC.framework/VLC
:
ln
-sf
Version/Current/VLC VLC.framework
VLC.framework/Version/Current/VLC
:
$(OBJECTS)
$(LIBVLC)
VLC.framework/Headers VLC.framework/Resources VLC.framework/lib/libvlc-control.dylib VLC.framework/lib/libvlc.dylib VLC.framework/modules VLC.framework/share VLC.framework/VLC
VLC.framework/Version/Current/VLC
:
$(OBJECTS) VLC.framework/Headers VLC.framework/Resources VLC.framework/lib/libvlc-control.dylib VLC.framework/lib/libvlc.dylib VLC.framework/modules VLC.framework/share VLC.framework/VLC
mkdir
-p
VLC.framework/Version/Current/Framework
&&
\
$(CXX)
-dynamiclib
$(LDFLAGS)
$(OBJECTS)
$(FRAMEWORKS)
$(LIBVLC)
$(MODULES)
$(LIBS)
-install_name
@loader_path/../Frameworks/VLC.framework/Version/Current/VLC
-o
VLC.framework/Version/Current/VLC
&&
\
install_name_tool
-change
/usr/local/lib/libvlc-control.0.dylib
\
...
...
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