Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(128557)

Unified Diff: Modules/makesetup

Issue 23670: Modifications to support iOS as a development platform
Patch Set: Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Modules/_ctypes/libffi_ios/x86/unix64_x86_64.S ('k') | Modules/mathmodule.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
--- a/Modules/makesetup Tue Mar 01 10:26:10 2016 +0200
+++ b/Modules/makesetup Wed Mar 02 00:01:35 2016 +0000
@@ -123,17 +123,17 @@ sed -e 's/[ ]*#.*//' -e '/^[ ]*$/d' |
while echo $line | grep '\\$' > /dev/null
do
read extraline
line=`echo $line| sed s/.$//`$extraline
done
# Output DEFS in reverse order so first definition overrides
case $line in
- *=*) DEFS="$line$NL$DEFS"; continue;;
+ [A-Z]*=*) DEFS="$line$NL$DEFS"; continue;;
'include '*) DEFS="$line$NL$DEFS"; continue;;
'*noobjects*')
case $noobjects in
yes) ;;
*) LOCALLIBS=$LIBS; LIBS=;;
esac
noobjects=yes;
continue;;
@@ -151,19 +151,22 @@ sed -e 's/[ ]*#.*//' -e '/^[ ]*$/d' |
do
case $skip in
libs) libs="$libs $arg"; skip=; continue;;
cpps) cpps="$cpps $arg"; skip=; continue;;
srcs) srcs="$srcs $arg"; skip=; continue;;
esac
case $arg in
-framework) libs="$libs $arg"; skip=libs;
- # OSX/OSXS/Darwin framework link cmd
+ # OSX/iOS/Darwin framework
;;
- -[IDUCfF]*) cpps="$cpps $arg";;
+ -F*) libs="$libs $arg"; skip=libs;
+ # OSX/iOS/Darwin framework directory
+ ;;
+ -[IDUCf]*) cpps="$cpps $arg";;
-Xcompiler) skip=cpps;;
-Xlinker) libs="$libs $arg"; skip=libs;;
-rpath) libs="$libs $arg"; skip=libs;;
--rpath) libs="$libs $arg"; skip=libs;;
-[A-Zl]*) libs="$libs $arg";;
*.a) libs="$libs $arg";;
*.so) libs="$libs $arg";;
*.sl) libs="$libs $arg";;
@@ -171,16 +174,17 @@ sed -e 's/[ ]*#.*//' -e '/^[ ]*$/d' |
*.def) libs="$libs $arg";;
*.o) srcs="$srcs `basename $arg .o`.c";;
*.[cC]) srcs="$srcs $arg";;
*.m) srcs="$srcs $arg";; # Objective-C src
*.cc) srcs="$srcs $arg";;
*.c++) srcs="$srcs $arg";;
*.cxx) srcs="$srcs $arg";;
*.cpp) srcs="$srcs $arg";;
+ *.S) srcs="$srcs $arg";;
\$*) libs="$libs $arg"
cpps="$cpps $arg";;
*.*) echo 1>&2 "bad word $arg in $line"
exit 1;;
-u) skip=libs; libs="$libs -u";;
[a-zA-Z_]*) mods="$mods $arg";;
*) echo 1>&2 "bad word $arg in $line"
exit 1;;
@@ -200,16 +204,17 @@ sed -e 's/[ ]*#.*//' -e '/^[ ]*$/d' |
do
case $src in
*.c) obj=`basename $src .c`.o; cc='$(CC)';;
*.cc) obj=`basename $src .cc`.o; cc='$(CXX)';;
*.c++) obj=`basename $src .c++`.o; cc='$(CXX)';;
*.C) obj=`basename $src .C`.o; cc='$(CXX)';;
*.cxx) obj=`basename $src .cxx`.o; cc='$(CXX)';;
*.cpp) obj=`basename $src .cpp`.o; cc='$(CXX)';;
+ *.S) obj=`basename $src .S`.o; cc='$(CC)';; # Assembly
*.m) obj=`basename $src .m`.o; cc='$(CC)';; # Obj-C
*) continue;;
esac
obj="$srcdir/$obj"
objs="$objs $obj"
case $src in
glmodule.c) ;;
/*) ;;
« no previous file with comments | « Modules/_ctypes/libffi_ios/x86/unix64_x86_64.S ('k') | Modules/mathmodule.c » ('j') | no next file with comments »

RSS Feeds Recent Issues | This issue
This is Rietveld 894c83f36cb7+