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
e1cd30e4
Commit
e1cd30e4
authored
Nov 20, 2005
by
Gildas Bazin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* extras/contrib/bootstrap: more cleanup.
parent
d532369b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
27 additions
and
27 deletions
+27
-27
extras/contrib/bootstrap
extras/contrib/bootstrap
+27
-27
No files found.
extras/contrib/bootstrap
View file @
e1cd30e4
...
@@ -52,9 +52,7 @@ case $HOST in
...
@@ -52,9 +52,7 @@ case $HOST in
ppc-darwin
)
ppc-darwin
)
# Mac OS X < 10.4
# Mac OS X < 10.4
echo
"HAVE_DARWIN_OS = 1"
>>
config.mak
echo
"HAVE_DARWIN_OS = 1"
>>
config.mak
echo
"EXTRA_CFLAGS ="
>>
config.mak
EXTRA_CPPFLAGS
=
" -no-cpp-precomp"
echo
"EXTRA_CPPFLAGS = -no-cpp-precomp"
>>
config.mak
echo
"EXTRA_LDLAGS ="
>>
config.mak
echo
"PATH = /bin:/usr/bin"
>>
config.mak
echo
"PATH = /bin:/usr/bin"
>>
config.mak
;;
;;
powerpc-apple-darwin8
)
powerpc-apple-darwin8
)
...
@@ -65,53 +63,55 @@ case $HOST in
...
@@ -65,53 +63,55 @@ case $HOST in
echo
"HAVE_DARWIN_OS = 1"
>>
config.mak
echo
"HAVE_DARWIN_OS = 1"
>>
config.mak
echo
"ENVP = MACOSX_DEPLOYMENT_TARGET=10.3"
>>
config.mak
echo
"ENVP = MACOSX_DEPLOYMENT_TARGET=10.3"
>>
config.mak
echo
"MACOSX_SDK = /Developer/SDKs/MacOSX10.3.0.sdk"
>>
config.mak
echo
"MACOSX_SDK = /Developer/SDKs/MacOSX10.3.0.sdk"
>>
config.mak
#
echo "EXTRA_CFLAGS = -D\${ENVP} -isysroot \${MACOSX_SDK}" >> config.mak
#
EXTRA_CFLAGS=" -D\${ENVP} -isysroot \${MACOSX_SDK}"
echo
"EXTRA_CPPFLAGS = -no-cpp-precomp"
>>
config.mak
EXTRA_CPPFLAGS
=
" -no-cpp-precomp"
#
echo "EXTRA_LDFLAGS = -isysroot \${MACOSX_SDK} -Wl,-syslibroot,\${MACOSX_SDK}" >> config.mak
#
EXTRA_LDFLAGS=" -isysroot \${MACOSX_SDK} -Wl,-syslibroot,\${MACOSX_SDK}"
echo
"PATH = /bin:/usr/bin"
>>
config.mak
echo
"PATH = /bin:/usr/bin"
>>
config.mak
;;
;;
i586-pc-beos
)
i586-pc-beos
)
echo
"HAVE_BEOS = 1"
>>
config.mak
echo
"HAVE_BEOS = 1"
>>
config.mak
echo
"EXTRA_CFLAGS ="
>>
config.mak
echo
"EXTRA_CPPFLAGS ="
>>
config.mak
if
test
-f
/boot/beos/system/lib/libbind.so
;
then
if
test
-f
/boot/beos/system/lib/libbind.so
;
then
echo
"EXTRA_LDFLAGS = -lbind -lsocket"
>>
config.mak
EXTRA_LDFLAGS
=
" -lbind -lsocket"
else
else
echo
"EXTRA_LDFLAGS = -lnet"
>>
config.mak
EXTRA_LDFLAGS
=
" -lnet"
fi
fi
if
test
"
$HOST
"
=
"
$BUILD
"
;
then
if
test
"
$HOST
"
=
"
$BUILD
"
;
then
# Compiling on BeOS
# Compiling on BeOS
echo
"PATH = .:/boot/home/config/bin:/bin:/boot/apps:/boot/preferences:/boot/beos/apps:/boot/beos/preferences:/boot/develop/tools/gnupro/bin"
>>
config.mak
PATH
=
".:/boot/home/config/bin:/bin:/boot/apps"
echo
"LIBRARY_PATH = %A/lib:/boot/home/config/lib:/boot/beos/system/lib"
>>
config.mak
PATH
=
"
${
PATH
}
:/boot/preferences:/boot/beos/apps"
PATH
=
"
${
PATH
}
:/boot/beos/preferences"
PATH
=
"
${
PATH
}
:/boot/develop/tools/gnupro/bin"
echo
"PATH =
${
PATH
}
"
>>
config.mak
LIBRARY_PATH
=
"
${
LIBRARY_PATH
}
:%A/lib:/boot/home/config/lib"
LIBRARY_PATH
=
"
${
LIBRARY_PATH
}
:/boot/beos/system/lib"
echo
"LIBRARY_PATH =
${
LIBRARY_PATH
}
"
>>
config.mak
else
else
# Cross compiling from Linux
# Cross compiling from Linux
echo
"PATH = /opt/beos-tools/bin:/opt/cross-tools/bin:/usr/bin:/bin"
>>
config.mak
PATH
=
"/opt/beos-tools/bin:/opt/cross-tools/bin"
PATH
=
"
${
PATH
}
:/usr/bin:/bin"
echo
"PATH =
${
PATH
}
"
>>
config.mak
fi
fi
;;
;;
i586-mingw32msvc
)
i586-mingw32msvc
)
echo
"HAVE_WIN32 = 1"
>>
config.mak
echo
"HAVE_WIN32 = 1"
>>
config.mak
echo
"EXTRA_CFLAGS ="
>>
config.mak
echo
"EXTRA_CPPFLAGS ="
>>
config.mak
echo
"EXTRA_LDFLAGS ="
>>
config.mak
echo
"PKG_CONFIG_PATH =
\$
(PREFIX)/lib/pkgconfig"
>>
config.mak
echo
"PKG_CONFIG_PATH =
\$
(PREFIX)/lib/pkgconfig"
>>
config.mak
echo
"EXTRA_PATH ="
>>
config.mak
;;
;;
i686-pc-cygwin
)
i686-pc-cygwin
)
echo
"HAVE_WIN32 = 1"
>>
config.mak
echo
"HAVE_WIN32 = 1"
>>
config.mak
echo
"EXTRA_CFLAGS = -mno-cygwin"
>>
config.mak
EXTRA_CFLAGS
=
" -mno-cygwin"
echo
"EXTRA_CPPFLAGS = -mno-cygwin"
>>
config.mak
EXTRA_CPPFLAGS
=
" -mno-cygwin"
echo
"EXTRA_LDFLAGS = -mno-cygwin"
>>
config.mak
EXTRA_LDFLAGS
=
" -mno-cygwin"
echo
"PKG_CONFIG_PATH =
\$
(PREFIX)/lib/pkgconfig"
>>
config.mak
echo
"PKG_CONFIG_PATH =
\$
(PREFIX)/lib/pkgconfig"
>>
config.mak
echo
"EXTRA_PATH ="
>>
config.mak
;;
;;
*
)
*
)
echo
"EXTRA_CFLAGS ="
>>
config.mak
echo
"EXTRA_CPPFLAGS ="
>>
config.mak
echo
"EXTRA_LDFLAGS ="
>>
config.mak
echo
"EXTRA_PATH ="
>>
config.mak
;;
;;
esac
esac
echo
"EXTRA_CFLAGS =
$(
EXTRA_CFLAGS
)
"
>>
config.mak
echo
"EXTRA_CPPFLAGS =
$(
EXTRA_CPPFLAGS
)
"
>>
config.mak
echo
"EXTRA_LDFLAGS =
$(
EXTRA_LDFLAGS
)
"
>>
config.mak
echo
"EXTRA_PATH =
$(
EXTRA_PATH
)
"
>>
config.mak
if
which curl
>
/dev/null
;
then
if
which curl
>
/dev/null
;
then
echo
"WGET = curl -O"
>>
config.mak
echo
"WGET = curl -O"
>>
config.mak
elif
wget
--version
>
/dev/null 2>&1
;
then
elif
wget
--version
>
/dev/null 2>&1
;
then
...
...
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