Changeset 3394

Show
Ignore:
Timestamp:
01/03/06 19:08:18 (3 years ago)
Author:
morris
Message:

Build universal

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • WiredServer/trunk/WiredServer.xcconfig

    r2975 r3394  
    2222GCC_WARN_FOUR_CHARACTER_CONSTANTS = YES 
    2323GCC_WARN_SIGN_COMPARE = YES 
     24GCC_WARN_ALLOW_INCOMPLETE_PROTOCOL = YES 
     25MACOSX_DEPLOYMENT_TARGET_i386 = 10.4 
     26MACOSX_DEPLOYMENT_TARGET_ppc = 10.3 
     27SDKROOT_i386 = /Developer/SDKs/MacOSX10.4u.sdk 
     28SDKROOT_ppc = /Developer/SDKs/MacOSX10.4u.sdk 
    2429WARNING_CFLAGS =  
    25 GCC_WARN_ALLOW_INCOMPLETE_PROTOCOL = YES 
  • WiredServer/trunk/WiredServer.xcodeproj/project.pbxproj

    r3337 r3394  
    730730                        runOnlyForDeploymentPostprocessing = 0; 
    731731                        shellPath = /bin/sh; 
    732                         shellScript = "cd ../ZankaAdditions/\n/usr/bin/xcodebuild -target \"Zanka Additions\" -configuration $BUILD_STYLE SYMROOT=$SYMROOT OBJROOT=$OBJROOT $ACTION || exit 1"; 
     732                        shellScript = "cd ../ZankaAdditions/\n/usr/bin/xcodebuild -target \"Zanka Additions\" -configuration \"$BUILD_STYLE\" SYMROOT=\"$SYMROOT\" OBJROOT=\"$OBJROOT\" $ACTION || exit 1"; 
    733733                }; 
    734734                A5D97272078E375B00CD982E /* Run Script (Localize) */ = { 
     
    857857 
    858858/* Begin XCBuildConfiguration section */ 
    859                 A50335B50864C9AC00CE6911 /* Debug */ = { 
     859                A50335B50864C9AC00CE6911 /* Debug (Native) */ = { 
    860860                        isa = XCBuildConfiguration; 
    861861                        buildSettings = { 
     
    874874                                ); 
    875875                        }; 
    876                         name = Debug
    877                 }; 
    878                 A50335B60864C9AC00CE6911 /* Test */ = { 
     876                        name = "Debug (Native)"
     877                }; 
     878                A50335B60864C9AC00CE6911 /* Test (Universal) */ = { 
    879879                        isa = XCBuildConfiguration; 
    880880                        buildSettings = { 
     
    891891                                ); 
    892892                        }; 
    893                         name = Test
    894                 }; 
    895                 A50335B70864C9AC00CE6911 /* Release */ = { 
     893                        name = "Test (Universal)"
     894                }; 
     895                A50335B70864C9AC00CE6911 /* Release (Universal) */ = { 
    896896                        isa = XCBuildConfiguration; 
    897897                        buildSettings = { 
     
    910910                                ); 
    911911                        }; 
    912                         name = Release
    913                 }; 
    914                 A5BE6CEC0864B5A000DA5C89 /* Debug */ = { 
     912                        name = "Release (Universal)"
     913                }; 
     914                A5BE6CEC0864B5A000DA5C89 /* Debug (Native) */ = { 
    915915                        isa = XCBuildConfiguration; 
    916916                        buildSettings = { 
     
    926926                                WRAPPER_EXTENSION = prefPane; 
    927927                        }; 
    928                         name = Debug
    929                 }; 
    930                 A5BE6CED0864B5A000DA5C89 /* Test */ = { 
     928                        name = "Debug (Native)"
     929                }; 
     930                A5BE6CED0864B5A000DA5C89 /* Test (Universal) */ = { 
    931931                        isa = XCBuildConfiguration; 
    932932                        buildSettings = { 
     
    942942                                WRAPPER_EXTENSION = prefPane; 
    943943                        }; 
    944                         name = Test
    945                 }; 
    946                 A5BE6CEE0864B5A000DA5C89 /* Release */ = { 
     944                        name = "Test (Universal)"
     945                }; 
     946                A5BE6CEE0864B5A000DA5C89 /* Release (Universal) */ = { 
    947947                        isa = XCBuildConfiguration; 
    948948                        buildSettings = { 
     
    958958                                WRAPPER_EXTENSION = prefPane; 
    959959                        }; 
    960                         name = Release
    961                 }; 
    962                 A5BE6CF60864B5A000DA5C89 /* Debug */ = { 
     960                        name = "Release (Universal)"
     961                }; 
     962                A5BE6CF60864B5A000DA5C89 /* Debug (Native) */ = { 
    963963                        isa = XCBuildConfiguration; 
    964964                        buildSettings = { 
     
    979979                                ZERO_LINK = YES; 
    980980                        }; 
    981                         name = Debug
    982                 }; 
    983                 A5BE6CF70864B5A000DA5C89 /* Test */ = { 
     981                        name = "Debug (Native)"
     982                }; 
     983                A5BE6CF70864B5A000DA5C89 /* Test (Universal) */ = { 
    984984                        isa = XCBuildConfiguration; 
    985985                        buildSettings = { 
     
    10001000                                ZERO_LINK = NO; 
    10011001                        }; 
    1002                         name = Test
    1003                 }; 
    1004                 A5BE6CF80864B5A000DA5C89 /* Release */ = { 
     1002                        name = "Test (Universal)"
     1003                }; 
     1004                A5BE6CF80864B5A000DA5C89 /* Release (Universal) */ = { 
    10051005                        isa = XCBuildConfiguration; 
    10061006                        buildSettings = { 
     
    10211021                                ZERO_LINK = NO; 
    10221022                        }; 
    1023                         name = Release
    1024                 }; 
    1025                 A5BE6CFB0864B5A000DA5C89 /* Debug */ = { 
     1023                        name = "Release (Universal)"
     1024                }; 
     1025                A5BE6CFB0864B5A000DA5C89 /* Debug (Native) */ = { 
    10261026                        isa = XCBuildConfiguration; 
    10271027                        buildSettings = { 
     
    10421042                                ZERO_LINK = YES; 
    10431043                        }; 
    1044                         name = Debug
    1045                 }; 
    1046                 A5BE6CFC0864B5A000DA5C89 /* Test */ = { 
     1044                        name = "Debug (Native)"
     1045                }; 
     1046                A5BE6CFC0864B5A000DA5C89 /* Test (Universal) */ = { 
    10471047                        isa = XCBuildConfiguration; 
    10481048                        buildSettings = { 
     
    10631063                                ZERO_LINK = NO; 
    10641064                        }; 
    1065                         name = Test
    1066                 }; 
    1067                 A5BE6CFD0864B5A000DA5C89 /* Release */ = { 
     1065                        name = "Test (Universal)"
     1066                }; 
     1067                A5BE6CFD0864B5A000DA5C89 /* Release (Universal) */ = { 
    10681068                        isa = XCBuildConfiguration; 
    10691069                        buildSettings = { 
     
    10841084                                ZERO_LINK = NO; 
    10851085                        }; 
    1086                         name = Release
    1087                 }; 
    1088                 A5BE6D000864B5A000DA5C89 /* Debug */ = { 
     1086                        name = "Release (Universal)"
     1087                }; 
     1088                A5BE6D000864B5A000DA5C89 /* Debug (Native) */ = { 
    10891089                        isa = XCBuildConfiguration; 
    10901090                        baseConfigurationReference = A5BE6D1A0864B5FB00DA5C89 /* WiredServer.xcconfig */; 
     
    10931093                                GCC_OPTIMIZATION_LEVEL = 0; 
    10941094                                GCC_PREPROCESSOR_DEFINITIONS = DEBUG; 
    1095                                 MACOSX_DEPLOYMENT_TARGET = 10.3; 
    1096                                 SDKROOT = /Developer/SDKs/MacOSX10.3.9.sdk; 
    10971095                                ZERO_LINK = YES; 
    10981096                        }; 
    1099                         name = Debug
    1100                 }; 
    1101                 A5BE6D010864B5A000DA5C89 /* Test */ = { 
     1097                        name = "Debug (Native)"
     1098                }; 
     1099                A5BE6D010864B5A000DA5C89 /* Test (Universal) */ = { 
    11021100                        isa = XCBuildConfiguration; 
    11031101                        baseConfigurationReference = A5BE6D1A0864B5FB00DA5C89 /* WiredServer.xcconfig */; 
    11041102                        buildSettings = { 
     1103                                ARCHS = ( 
     1104                                        ppc, 
     1105                                        i386, 
     1106                                ); 
    11051107                                COPY_PHASE_STRIP = NO; 
    11061108                                GCC_PREPROCESSOR_DEFINITIONS = TEST; 
    1107                                 MACOSX_DEPLOYMENT_TARGET = 10.3; 
    1108                                 SDKROOT = /Developer/SDKs/MacOSX10.3.9.sdk; 
    1109                         }; 
    1110                         name = Test; 
    1111                 }; 
    1112                 A5BE6D020864B5A000DA5C89 /* Release */ = { 
     1109                        }; 
     1110                        name = "Test (Universal)"; 
     1111                }; 
     1112                A5BE6D020864B5A000DA5C89 /* Release (Universal) */ = { 
    11131113                        isa = XCBuildConfiguration; 
    11141114                        baseConfigurationReference = A5BE6D1A0864B5FB00DA5C89 /* WiredServer.xcconfig */; 
    11151115                        buildSettings = { 
     1116                                ARCHS = ( 
     1117                                        ppc, 
     1118                                        i386, 
     1119                                ); 
    11161120                                GCC_GENERATE_DEBUGGING_SYMBOLS = NO; 
    11171121                                GCC_PREPROCESSOR_DEFINITIONS = RELEASE; 
    11181122                                GCC_WARN_UNINITIALIZED_AUTOS = YES; 
    1119                                 MACOSX_DEPLOYMENT_TARGET = 10.3; 
    1120                                 SDKROOT = /Developer/SDKs/MacOSX10.3.9.sdk; 
    1121                         }; 
    1122                         name = Release; 
    1123                 }; 
    1124                 A5BE6D3F0864B64300DA5C89 /* Debug */ = { 
     1123                        }; 
     1124                        name = "Release (Universal)"; 
     1125                }; 
     1126                A5BE6D3F0864B64300DA5C89 /* Debug (Native) */ = { 
    11251127                        isa = XCBuildConfiguration; 
    11261128                        buildSettings = { 
     
    11391141                                ); 
    11401142                        }; 
    1141                         name = Debug
    1142                 }; 
    1143                 A5BE6D400864B64300DA5C89 /* Test */ = { 
     1143                        name = "Debug (Native)"
     1144                }; 
     1145                A5BE6D400864B64300DA5C89 /* Test (Universal) */ = { 
    11441146                        isa = XCBuildConfiguration; 
    11451147                        buildSettings = { 
     
    11561158                                ); 
    11571159                        }; 
    1158                         name = Test
    1159                 }; 
    1160                 A5BE6D410864B64300DA5C89 /* Release */ = { 
     1160                        name = "Test (Universal)"
     1161                }; 
     1162                A5BE6D410864B64300DA5C89 /* Release (Universal) */ = { 
    11611163                        isa = XCBuildConfiguration; 
    11621164                        buildSettings = { 
     
    11751177                                ); 
    11761178                        }; 
    1177                         name = Release
     1179                        name = "Release (Universal)"
    11781180                }; 
    11791181/* End XCBuildConfiguration section */ 
     
    11831185                        isa = XCConfigurationList; 
    11841186                        buildConfigurations = ( 
    1185                                 A50335B50864C9AC00CE6911 /* Debug */, 
    1186                                 A50335B60864C9AC00CE6911 /* Test */, 
    1187                                 A50335B70864C9AC00CE6911 /* Release */, 
     1187                                A50335B50864C9AC00CE6911 /* Debug (Native) */, 
     1188                                A50335B60864C9AC00CE6911 /* Test (Universal) */, 
     1189                                A50335B70864C9AC00CE6911 /* Release (Universal) */, 
    11881190                        ); 
    11891191                        defaultConfigurationIsVisible = 0; 
    1190                         defaultConfigurationName = Debug
     1192                        defaultConfigurationName = "Debug (Native)"
    11911193                }; 
    11921194                A5BE6CEB0864B5A000DA5C89 /* Build configuration list for PBXNativeTarget "Wired Preference Pane" */ = { 
    11931195                        isa = XCConfigurationList; 
    11941196                        buildConfigurations = ( 
    1195                                 A5BE6CEC0864B5A000DA5C89 /* Debug */, 
    1196                                 A5BE6CED0864B5A000DA5C89 /* Test */, 
    1197                                 A5BE6CEE0864B5A000DA5C89 /* Release */, 
     1197                                A5BE6CEC0864B5A000DA5C89 /* Debug (Native) */, 
     1198                                A5BE6CED0864B5A000DA5C89 /* Test (Universal) */, 
     1199                                A5BE6CEE0864B5A000DA5C89 /* Release (Universal) */, 
    11981200                        ); 
    11991201                        defaultConfigurationIsVisible = 0; 
    1200                         defaultConfigurationName = Debug
     1202                        defaultConfigurationName = "Debug (Native)"
    12011203                }; 
    12021204                A5BE6CF50864B5A000DA5C89 /* Build configuration list for PBXAggregateTarget "Localization" */ = { 
    12031205                        isa = XCConfigurationList; 
    12041206                        buildConfigurations = ( 
    1205                                 A5BE6CF60864B5A000DA5C89 /* Debug */, 
    1206                                 A5BE6CF70864B5A000DA5C89 /* Test */, 
    1207                                 A5BE6CF80864B5A000DA5C89 /* Release */, 
     1207                                A5BE6CF60864B5A000DA5C89 /* Debug (Native) */, 
     1208                                A5BE6CF70864B5A000DA5C89 /* Test (Universal) */, 
     1209                                A5BE6CF80864B5A000DA5C89 /* Release (Universal) */, 
    12081210                        ); 
    12091211                        defaultConfigurationIsVisible = 0; 
    1210                         defaultConfigurationName = Debug
     1212                        defaultConfigurationName = "Debug (Native)"
    12111213                }; 
    12121214                A5BE6CFA0864B5A000DA5C89 /* Build configuration list for PBXAggregateTarget "Distribution" */ = { 
    12131215                        isa = XCConfigurationList; 
    12141216                        buildConfigurations = ( 
    1215                                 A5BE6CFB0864B5A000DA5C89 /* Debug */, 
    1216                                 A5BE6CFC0864B5A000DA5C89 /* Test */, 
    1217                                 A5BE6CFD0864B5A000DA5C89 /* Release */, 
     1217                                A5BE6CFB0864B5A000DA5C89 /* Debug (Native) */, 
     1218                                A5BE6CFC0864B5A000DA5C89 /* Test (Universal) */, 
     1219                                A5BE6CFD0864B5A000DA5C89 /* Release (Universal) */, 
    12181220                        ); 
    12191221                        defaultConfigurationIsVisible = 0; 
    1220                         defaultConfigurationName = Debug
     1222                        defaultConfigurationName = "Debug (Native)"
    12211223                }; 
    12221224                A5BE6CFF0864B5A000DA5C89 /* Build configuration list for PBXProject "WiredServer" */ = { 
    12231225                        isa = XCConfigurationList; 
    12241226                        buildConfigurations = ( 
    1225                                 A5BE6D000864B5A000DA5C89 /* Debug */, 
    1226                                 A5BE6D010864B5A000DA5C89 /* Test */, 
    1227                                 A5BE6D020864B5A000DA5C89 /* Release */, 
     1227                                A5BE6D000864B5A000DA5C89 /* Debug (Native) */, 
     1228                                A5BE6D010864B5A000DA5C89 /* Test (Universal) */, 
     1229                                A5BE6D020864B5A000DA5C89 /* Release (Universal) */, 
    12281230                        ); 
    12291231                        defaultConfigurationIsVisible = 0; 
    1230                         defaultConfigurationName = Debug
     1232                        defaultConfigurationName = "Debug (Native)"
    12311233                }; 
    12321234                A5BE6D3E0864B64300DA5C89 /* Build configuration list for PBXAggregateTarget "Zanka Additions" */ = { 
    12331235                        isa = XCConfigurationList; 
    12341236                        buildConfigurations = ( 
    1235                                 A5BE6D3F0864B64300DA5C89 /* Debug */, 
    1236                                 A5BE6D400864B64300DA5C89 /* Test */, 
    1237                                 A5BE6D410864B64300DA5C89 /* Release */, 
     1237                                A5BE6D3F0864B64300DA5C89 /* Debug (Native) */, 
     1238                                A5BE6D400864B64300DA5C89 /* Test (Universal) */, 
     1239                                A5BE6D410864B64300DA5C89 /* Release (Universal) */, 
    12381240                        ); 
    12391241                        defaultConfigurationIsVisible = 0; 
    1240                         defaultConfigurationName = Debug
     1242                        defaultConfigurationName = "Debug (Native)"
    12411243                }; 
    12421244/* End XCConfigurationList section */ 
  • WiredServer/trunk/install.sh

    r3337 r3394  
    44SVNURL="svn://svn.zankasoftware.com" 
    55 
    6 # create skeleton directories 
     6# Create skeleton directories 
    77mkdir -p "$ROOT/Library/PreferencePanes" 
    88mkdir -p "$ROOT/Library/StartupItems" 
     
    1717svn export "$SVNURL/libwired/trunk" libwired || exit 1 
    1818 
    19 rm -rf "$ROOT/Library/Wired" "$ROOT/usr/local/man" 
    20 ./configure --prefix="$ROOT/Library" --with-fake-prefix="/Library" --with-wireddir="Wired" --mandir="$ROOT/usr/local/man" --enable-warnings 
     19for i in $ARCHS; do 
     20        CFLAGS="-arch $i $CFLAGS" 
     21done 
     22 
     23export MACOSX_DEPLOYMENT_TARGET="10.3" 
     24export CFLAGS="$CFLAGS -isysroot /Developer/SDKs/MacOSX10.4u.sdk" 
     25 
     26./configure --prefix="$ROOT/Library" --with-fake-prefix="/Library" --with-wireddir="Wired" --mandir="$ROOT/usr/local/man" --enable-warnings || exit 1 
    2127make || exit 1 
    2228sudo make install || exit 1 
     
    2733cp -Rp "StartupItems/Wired" "$ROOT/Library/StartupItems/" 
    2834 
    29 # fix permissions 
     35# Fix permissions 
    3036sudo chmod 1775 "$ROOT" 
    3137sudo chown root:wheel "$ROOT" 
     
    4349sudo chown root:wheel "$ROOT/usr" "$ROOT/usr/local" 
    4450 
    45 # clean 
     51# Clean 
    4652find "$ROOT" \( -name .svn -o -name .DS_Store \) -print0 | sudo xargs -0 rm -rf 
    4753