Lines Matching +full:- +full:- +full:disable +full:- +full:dependency +full:- +full:tracking
22 # SPDX-License-Identifier: curl
33 # 10.5 is the *ONLY* SDK that support PPC64 :( -- 10.6 do not have ppc64 support
45 VERSION=`/usr/bin/sed -ne 's/^#define LIBCURL_VERSION "\(.*\)"/\1/p' include/curl/curlver.h`
46 FRAMEWORK_VERSION=Versions/Release-$VERSION
49 # version to Versions/Release-7.20.1 etc.
50 # now a simple rsync -vaP libcurl.framework /Library/Frameworks will install it
54 DEVELOPER_PATH=`xcode-select --print-path`
57 if test -d "$DEVELOPER_PATH/Platforms/MacOSX.platform/Developer/SDKs"; then
62 OLD_SDK=`ls $SDK_PATH|head -1`
63 NEW_SDK=`ls -r $SDK_PATH|head -1`
65 if test "0"$USE_OLD -gt 0
72 MACVER=`echo $SDK32|sed -e s/[a-zA-Z]//g -e s/.\$//`
75 MINVER32='-mmacosx-version-min='$MACVER
76 if test $PPC_NEEDED -gt 0; then
77 ARCHES32='-arch i386 -arch ppc'
79 ARCHES32='-arch i386'
82 if test $PPC64_NEEDED -gt 0
85 ARCHES64='-arch x86_64 -arch ppc64'
86 SDK64=`ls $SDK_PATH | grep "10\.5" | head -1`
88 ARCHES64='-arch x86_64'
90 OLD_SDK64=`ls $SDK_PATH | grep -v "10\.[0-4]" | head -1`
91 NEW_SDK64=`ls -r $SDK_PATH | grep -v "10\.[0-4][^0-9]" | head -1`
92 if test $USE_OLD -gt 0
101 MACVER64=`echo $SDK64|sed -e s/[a-zA-Z]//g -e s/.\$//`
103 MINVER64='-mmacosx-version-min='$MACVER64
105 if test ! -z $SDK32; then
106 echo "----Configuring libcurl for 32 bit universal framework..."
108 ./configure --disable-dependency-tracking --disable-static --with-gssapi --with-secure-transport \
109 CFLAGS="-Os -isysroot $SDK32_DIR $ARCHES32" \
110 LDFLAGS="-Wl,-syslibroot,$SDK32_DIR $ARCHES32 -Wl,-headerpad_max_install_names" \
113 echo "----Building 32 bit libcurl..."
114 make -j `sysctl -n hw.logicalcpu_max`
116 echo "----Creating 32 bit framework..."
117 rm -r libcurl.framework
118 mkdir -p libcurl.framework/${FRAMEWORK_VERSION}/Resources
120 …install_name_tool -id @rpath/libcurl.framework/${FRAMEWORK_VERSION}/libcurl libcurl.framework/${FR…
122 mkdir -p libcurl.framework/${FRAMEWORK_VERSION}/Headers/curl
125 ln -fs ${FRAMEWORK_VERSION}/libcurl libcurl
126 ln -fs ${FRAMEWORK_VERSION}/Resources Resources
127 ln -fs ${FRAMEWORK_VERSION}/Headers Headers
129 ln -fs $(basename "${FRAMEWORK_VERSION}") Current
132 if test -d $SDK64_DIR; then
136 echo "----Configuring libcurl for 64 bit universal framework..."
137 … ./configure --disable-dependency-tracking --disable-static --with-gssapi --with-secure-transport \
138 CFLAGS="-Os -isysroot $SDK64_DIR $ARCHES64" \
139 LDFLAGS="-Wl,-syslibroot,$SDK64_DIR $ARCHES64 -Wl,-headerpad_max_install_names" \
142 echo "----Building 64 bit libcurl..."
143 make -j `sysctl -n hw.logicalcpu_max`
145 echo "----Appending 64 bit framework to 32 bit framework..."
147 …install_name_tool -id @rpath/libcurl.framework/${FRAMEWORK_VERSION}/libcurl libcurl.framework/${FR…
150 …ORK_VERSION}/libcurl32 libcurl.framework/${FRAMEWORK_VERSION}/libcurl64 -create -output libcurl.fr…
155 lipo -info libcurl.framework/${FRAMEWORK_VERSION}/libcurl