X-Git-Url: https://git.openafs.org/?p=openafs.git;a=blobdiff_plain;f=src%2Fplatform%2FDARWIN%2FMakefile.in;h=a472af6bc3d5d96cae6b566d3440ac3ba17d6299;hp=612ab1fa0a921e4c287150090827bf0072be874f;hb=8b395497d5a464c57c65ba73ca757d47e4ff109a;hpb=b1d57791d4eadd3e0bc5de5b8654e7964b662b3e diff --git a/src/platform/DARWIN/Makefile.in b/src/platform/DARWIN/Makefile.in index 612ab1f..a472af6 100644 --- a/src/platform/DARWIN/Makefile.in +++ b/src/platform/DARWIN/Makefile.in @@ -21,7 +21,16 @@ afscell/build/Release/afscell.bundle: afscell afscell/InstallerSections.plist: afscell OpenAFS.prefPane: - xcodebuild -project AFSPreference/OpenAFS.xcodeproj + @case ${SYS_NAME} in \ + *_darwin_100 ) \ + xcodebuild -sdk macosx10.6 -project AFSPreference/OpenAFS.xcodeproj ;; \ + *_darwin_90 ) \ + xcodebuild -sdk macosx10.5 -project AFSPreference/OpenAFS.xcodeproj ;; \ + *_darwin_80 ) \ + xcodebuild -sdk macosx10.4 -project AFSPreference/OpenAFS.xcodeproj ;; \ + * ) \ + echo Not building AFS prefPane for ${SYS_NAME} ;; \ + esac afscell: cd afscell && xcodebuild