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
fdaea542
Commit
fdaea542
authored
Nov 17, 2010
by
Pierre d'Herbemont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
contrib: Remove ifdef recursion in .live target, and fix iOS build.
parent
50c315b8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
22 additions
and
23 deletions
+22
-23
extras/contrib/src/contrib-src.mak
extras/contrib/src/contrib-src.mak
+22
-23
No files found.
extras/contrib/src/contrib-src.mak
View file @
fdaea542
...
...
@@ -1282,34 +1282,33 @@ ifndef HAVE_WINCE
endif
endif
.live
:
live
ifdef
HAVE_WIN32
(
cd
$<
;
./genMakefiles mingw
&&
make
$(HOSTCC)
)
else
ifdef
HAVE_WINCE
(
cd
$<
;
sed
-e
's/-lws2_32/-lws2/g'
-i
.orig config.mingw
)
(
cd
$<
;
./genMakefiles mingw
&&
make
$(HOSTCC)
)
else
ifdef
HAVE_MACOSX
(
cd
$<
;
sed
-e
's%-DBSD=1%-DBSD=1\
$(EXTRA_CFLAGS)
\
$(EXTRA_LDFLAGS)
%'
-e
's%cc%
$(CC)
%'
-e
's%c++%
$(CXX)
\
$(EXTRA_LDFLAGS)
%'
-i
.orig config.macosx
)
(
cd
$<
;
./genMakefiles macosx
&&
make
)
else
(
cd
$<
;
sed
-e
's/=/= EXTRA_CPPFLAGS/'
-e
's%EXTRA_CPPFLAGS%-I/include%'
-i
.orig groupsock/Makefile.head
)
ifdef
HAVE_UCLIBC
ifdef
HAVE_BIGENDIAN
(
cd
$<
;
./genMakefiles armeb-uclibc
&&
make
$(HOSTCC)
)
endif
else
LIVE_TARGET-$(ENABLED)
=
linux
LIVE_TARGET-$(HAVE_WIN32)
=
mingw
LIVE_TARGET-$(HAVE_WINCE)
=
mingw
LIVE_TARGET-$(HAVE_DARWIN_OS)
=
macosx
ifeq
($(ARCH)$(HAVE_MAEMO),armel)
(
cd
$<
;
./genMakefiles armlinux
&&
make
$(HOSTCC)
)
else
(
cd
$<
;
sed
-e
's%-D_FILE_OFFSET_BITS=64%-D_FILE_OFFSET_BITS=64\ -fPIC\ -DPIC%'
-i
.orig config.linux
)
(
cd
$<
;
./genMakefiles linux
&&
make
$(HOSTCC)
)
endif
LIVE_TARGET-$(ENABLED)
=
armlinux
endif
ifdef
HAVE_BIGENDIAN
LIVE_TARGET-$(HAVE_UCLIBC)
=
armeb-uclib
endif
LIVE_PATCH-$(ENABLED)
=
LIVE_PATCH-$(HAVE_WINCE)
=
sed
-e
's/-lws2_32/-lws2/g'
-i
.orig config.mingw
LIVE_PATCH-$(HAVE_DARWIN_OS)
=
sed
-e
's%-DBSD=1%-DBSD=1\
$(EXTRA_CFLAGS)
\
$(EXTRA_LDFLAGS)
%'
-e
's%cc%
$(CC)
%'
-e
's%c++%
$(CXX)
\
$(EXTRA_LDFLAGS)
%'
-i
.orig config.macosx
LIVE_PATCH-$(HAVE_LINUX)
=
sed
-e
's/=/= EXTRA_CPPFLAGS/'
-e
's%EXTRA_CPPFLAGS%-I/include%'
-i
.orig groupsock/Makefile.head
ifndef
HAVE_UCLIBC
ifneq
($(ARCH)$(HAVE_MAEMO),armel)
LIVE_PATCH-$(HAVE_LINUX)
+=
;
sed
-e
's%-D_FILE_OFFSET_BITS=64%-D_FILE_OFFSET_BITS=64\ -fPIC\ -DPIC%'
-i
.orig config.linux
endif
endif
.live
:
live
(
cd
$<
;
$
(
LIVE_PATCH-1
)
)
(
cd
$<
;
./genMakefiles
$
(
LIVE_TARGET-1
)
&&
make
$(HOSTCC)
)
mkdir
-p
$(PREFIX)
/lib
$(PREFIX)
/include
cp
$<
/groupsock/libgroupsock.a
$(PREFIX)
/lib
cp
$<
/liveMedia/libliveMedia.a
$(PREFIX)
/lib
...
...
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