Skip to content

Commit

Permalink
Required files for building Apple's IOADBFamily kernel extension on I…
Browse files Browse the repository at this point in the history
…ntel
  • Loading branch information
simon.stapleton committed Jun 14, 2009
0 parents commit 5a67931
Show file tree
Hide file tree
Showing 6 changed files with 2,304 additions and 0 deletions.
Binary file added IOADBFamily-6/English.lproj/InfoPlist.strings
Binary file not shown.
Binary file not shown.
344 changes: 344 additions & 0 deletions IOADBFamily-6/IOADBFamily.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
@@ -0,0 +1,344 @@
// !$*UTF8*$!
{
archiveVersion = 1;
classes = {
};
objectVersion = 44;
objects = {

/* Begin PBXBuildFile section */
32D94FC80562CBF700B6AF17 /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = 089C167DFE841241C02AAC07 /* InfoPlist.strings */; };
F467B3720FE564720056171D /* IOADBBus.cpp in Sources */ = {isa = PBXBuildFile; fileRef = F467B3610FE564720056171D /* IOADBBus.cpp */; };
F467B3730FE564720056171D /* IOADBBusPriv.h in Headers */ = {isa = PBXBuildFile; fileRef = F467B3620FE564720056171D /* IOADBBusPriv.h */; };
F467B3740FE564720056171D /* IOADBController.cpp in Sources */ = {isa = PBXBuildFile; fileRef = F467B3630FE564720056171D /* IOADBController.cpp */; };
F467B3750FE564720056171D /* IOADBControllerUserClient.cpp in Sources */ = {isa = PBXBuildFile; fileRef = F467B3640FE564720056171D /* IOADBControllerUserClient.cpp */; };
F467B3760FE564720056171D /* IOADBControllerUserClient.h in Headers */ = {isa = PBXBuildFile; fileRef = F467B3650FE564720056171D /* IOADBControllerUserClient.h */; };
F467B3770FE564720056171D /* IOADBDevice.cpp in Sources */ = {isa = PBXBuildFile; fileRef = F467B3660FE564720056171D /* IOADBDevice.cpp */; };
F467B3780FE564720056171D /* adb.h in Headers */ = {isa = PBXBuildFile; fileRef = F467B3690FE564720056171D /* adb.h */; };
F467B3790FE564720056171D /* IOADBBus.h in Headers */ = {isa = PBXBuildFile; fileRef = F467B36A0FE564720056171D /* IOADBBus.h */; };
F467B37A0FE564720056171D /* IOADBController.h in Headers */ = {isa = PBXBuildFile; fileRef = F467B36B0FE564720056171D /* IOADBController.h */; };
F467B37B0FE564720056171D /* IOADBDevice.h in Headers */ = {isa = PBXBuildFile; fileRef = F467B36C0FE564720056171D /* IOADBDevice.h */; };
F467B37C0FE564720056171D /* IOADBLib.h in Headers */ = {isa = PBXBuildFile; fileRef = F467B36D0FE564720056171D /* IOADBLib.h */; };
F467B37E0FE564720056171D /* IOPMUADBController.h in Headers */ = {isa = PBXBuildFile; fileRef = F467B3710FE564720056171D /* IOPMUADBController.h */; };
F467B3A10FE567440056171D /* IOPMUADBController.cpp in Sources */ = {isa = PBXBuildFile; fileRef = F467B3700FE564720056171D /* IOPMUADBController.cpp */; };
/* End PBXBuildFile section */

/* Begin PBXFileReference section */
089C167EFE841241C02AAC07 /* English */ = {isa = PBXFileReference; fileEncoding = 10; lastKnownFileType = text.plist.strings; name = English; path = English.lproj/InfoPlist.strings; sourceTree = "<group>"; };
32D94FCF0562CBF700B6AF17 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
32D94FD00562CBF700B6AF17 /* IOADBFamily.kext */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = IOADBFamily.kext; sourceTree = BUILT_PRODUCTS_DIR; };
8DA8362C06AD9B9200E5AC22 /* Kernel.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Kernel.framework; path = /System/Library/Frameworks/Kernel.framework; sourceTree = "<absolute>"; };
F467B3610FE564720056171D /* IOADBBus.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = IOADBBus.cpp; sourceTree = "<group>"; };
F467B3620FE564720056171D /* IOADBBusPriv.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = IOADBBusPriv.h; sourceTree = "<group>"; };
F467B3630FE564720056171D /* IOADBController.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = IOADBController.cpp; sourceTree = "<group>"; };
F467B3640FE564720056171D /* IOADBControllerUserClient.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = IOADBControllerUserClient.cpp; sourceTree = "<group>"; };
F467B3650FE564720056171D /* IOADBControllerUserClient.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = IOADBControllerUserClient.h; sourceTree = "<group>"; };
F467B3660FE564720056171D /* IOADBDevice.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = IOADBDevice.cpp; sourceTree = "<group>"; };
F467B3690FE564720056171D /* adb.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = adb.h; sourceTree = "<group>"; };
F467B36A0FE564720056171D /* IOADBBus.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = IOADBBus.h; sourceTree = "<group>"; };
F467B36B0FE564720056171D /* IOADBController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = IOADBController.h; sourceTree = "<group>"; };
F467B36C0FE564720056171D /* IOADBDevice.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = IOADBDevice.h; sourceTree = "<group>"; };
F467B36D0FE564720056171D /* IOADBLib.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = IOADBLib.h; sourceTree = "<group>"; };
F467B3700FE564720056171D /* IOPMUADBController.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = IOPMUADBController.cpp; sourceTree = "<group>"; };
F467B3710FE564720056171D /* IOPMUADBController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = IOPMUADBController.h; sourceTree = "<group>"; };
/* End PBXFileReference section */

/* Begin PBXFrameworksBuildPhase section */
32D94FCB0562CBF700B6AF17 /* Frameworks */ = {
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXFrameworksBuildPhase section */

/* Begin PBXGroup section */
089C166AFE841209C02AAC07 /* IOADBFamily-6 */ = {
isa = PBXGroup;
children = (
247142CAFF3F8F9811CA285C /* Source */,
8DA8362C06AD9B9200E5AC22 /* Kernel.framework */,
089C167CFE841241C02AAC07 /* Resources */,
19C28FB6FE9D52B211CA2CBB /* Products */,
);
name = "IOADBFamily-6";
sourceTree = "<group>";
};
089C167CFE841241C02AAC07 /* Resources */ = {
isa = PBXGroup;
children = (
32D94FCF0562CBF700B6AF17 /* Info.plist */,
089C167DFE841241C02AAC07 /* InfoPlist.strings */,
);
name = Resources;
sourceTree = "<group>";
};
19C28FB6FE9D52B211CA2CBB /* Products */ = {
isa = PBXGroup;
children = (
32D94FD00562CBF700B6AF17 /* IOADBFamily.kext */,
);
name = Products;
sourceTree = "<group>";
};
247142CAFF3F8F9811CA285C /* Source */ = {
isa = PBXGroup;
children = (
F467B3600FE564720056171D /* IOADBBus */,
F467B3670FE564720056171D /* IOKit */,
F467B36E0FE564720056171D /* platform */,
);
name = Source;
sourceTree = "<group>";
};
F467B3600FE564720056171D /* IOADBBus */ = {
isa = PBXGroup;
children = (
F467B3610FE564720056171D /* IOADBBus.cpp */,
F467B3620FE564720056171D /* IOADBBusPriv.h */,
F467B3630FE564720056171D /* IOADBController.cpp */,
F467B3640FE564720056171D /* IOADBControllerUserClient.cpp */,
F467B3650FE564720056171D /* IOADBControllerUserClient.h */,
F467B3660FE564720056171D /* IOADBDevice.cpp */,
);
path = IOADBBus;
sourceTree = "<group>";
};
F467B3670FE564720056171D /* IOKit */ = {
isa = PBXGroup;
children = (
F467B3680FE564720056171D /* adb */,
);
path = IOKit;
sourceTree = "<group>";
};
F467B3680FE564720056171D /* adb */ = {
isa = PBXGroup;
children = (
F467B3690FE564720056171D /* adb.h */,
F467B36A0FE564720056171D /* IOADBBus.h */,
F467B36B0FE564720056171D /* IOADBController.h */,
F467B36C0FE564720056171D /* IOADBDevice.h */,
F467B36D0FE564720056171D /* IOADBLib.h */,
);
path = adb;
sourceTree = "<group>";
};
F467B36E0FE564720056171D /* platform */ = {
isa = PBXGroup;
children = (
F467B36F0FE564720056171D /* drvApplePMU */,
);
path = platform;
sourceTree = "<group>";
};
F467B36F0FE564720056171D /* drvApplePMU */ = {
isa = PBXGroup;
children = (
F467B3700FE564720056171D /* IOPMUADBController.cpp */,
F467B3710FE564720056171D /* IOPMUADBController.h */,
);
path = drvApplePMU;
sourceTree = "<group>";
};
/* End PBXGroup section */

/* Begin PBXHeadersBuildPhase section */
32D94FC50562CBF700B6AF17 /* Headers */ = {
isa = PBXHeadersBuildPhase;
buildActionMask = 2147483647;
files = (
F467B3730FE564720056171D /* IOADBBusPriv.h in Headers */,
F467B3760FE564720056171D /* IOADBControllerUserClient.h in Headers */,
F467B3780FE564720056171D /* adb.h in Headers */,
F467B3790FE564720056171D /* IOADBBus.h in Headers */,
F467B37A0FE564720056171D /* IOADBController.h in Headers */,
F467B37B0FE564720056171D /* IOADBDevice.h in Headers */,
F467B37C0FE564720056171D /* IOADBLib.h in Headers */,
F467B37E0FE564720056171D /* IOPMUADBController.h in Headers */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXHeadersBuildPhase section */

/* Begin PBXNativeTarget section */
32D94FC30562CBF700B6AF17 /* IOADBFamily */ = {
isa = PBXNativeTarget;
buildConfigurationList = 1DEB91D908733DB10010E9CD /* Build configuration list for PBXNativeTarget "IOADBFamily" */;
buildPhases = (
32D94FC50562CBF700B6AF17 /* Headers */,
32D94FC70562CBF700B6AF17 /* Resources */,
32D94FC90562CBF700B6AF17 /* Sources */,
32D94FCB0562CBF700B6AF17 /* Frameworks */,
32D94FCC0562CBF700B6AF17 /* Rez */,
);
buildRules = (
);
comments = "Should work on both Intel and PowerPC under 10.4 or better. Getting Intel to build involves using the preprocessor to define kClamshellClosedEventMask as 0x00, this shouldn't cause problems as it's only used in IOPMUADBController, which is utterly irrelevant for Intel. An arguably better solution would be to simply not build this at all under intel.";
dependencies = (
);
name = IOADBFamily;
productInstallPath = "$(SYSTEM_LIBRARY_DIR)/Extensions";
productName = "IOADBFamily-6";
productReference = 32D94FD00562CBF700B6AF17 /* IOADBFamily.kext */;
productType = "com.apple.product-type.kernel-extension.iokit";
};
/* End PBXNativeTarget section */

/* Begin PBXProject section */
089C1669FE841209C02AAC07 /* Project object */ = {
isa = PBXProject;
buildConfigurationList = 1DEB91DD08733DB10010E9CD /* Build configuration list for PBXProject "IOADBFamily" */;
compatibilityVersion = "Xcode 3.0";
hasScannedForEncodings = 1;
mainGroup = 089C166AFE841209C02AAC07 /* IOADBFamily-6 */;
projectDirPath = "";
projectRoot = "";
targets = (
32D94FC30562CBF700B6AF17 /* IOADBFamily */,
);
};
/* End PBXProject section */

/* Begin PBXResourcesBuildPhase section */
32D94FC70562CBF700B6AF17 /* Resources */ = {
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
files = (
32D94FC80562CBF700B6AF17 /* InfoPlist.strings in Resources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXResourcesBuildPhase section */

/* Begin PBXRezBuildPhase section */
32D94FCC0562CBF700B6AF17 /* Rez */ = {
isa = PBXRezBuildPhase;
buildActionMask = 2147483647;
files = (
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXRezBuildPhase section */

/* Begin PBXSourcesBuildPhase section */
32D94FC90562CBF700B6AF17 /* Sources */ = {
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
F467B3720FE564720056171D /* IOADBBus.cpp in Sources */,
F467B3740FE564720056171D /* IOADBController.cpp in Sources */,
F467B3750FE564720056171D /* IOADBControllerUserClient.cpp in Sources */,
F467B3770FE564720056171D /* IOADBDevice.cpp in Sources */,
F467B3A10FE567440056171D /* IOPMUADBController.cpp in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXSourcesBuildPhase section */

/* Begin PBXVariantGroup section */
089C167DFE841241C02AAC07 /* InfoPlist.strings */ = {
isa = PBXVariantGroup;
children = (
089C167EFE841241C02AAC07 /* English */,
);
name = InfoPlist.strings;
sourceTree = "<group>";
};
/* End PBXVariantGroup section */

/* Begin XCBuildConfiguration section */
1DEB91DA08733DB10010E9CD /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
COPY_PHASE_STRIP = NO;
CURRENT_PROJECT_VERSION = 9.0.0;
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
GCC_DYNAMIC_NO_PIC = NO;
GCC_MODEL_TUNING = G5;
GCC_OPTIMIZATION_LEVEL = 0;
INFOPLIST_FILE = Info.plist;
INFOPLIST_PREPROCESS = YES;
INSTALL_PATH = "$(SYSTEM_LIBRARY_DIR)/Extensions";
MODULE_NAME = com.apple.iokit.IOADBFamily;
MODULE_VERSION = 1.0.0d1;
"OTHER_CFLAGS[arch=i386]" = "-DkClamshellClosedEventMask=0x00";
"OTHER_CFLAGS[arch=ppc]" = "-DKPI_10_4_0_PPC_COMPAT";
PRODUCT_NAME = IOADBFamily;
WRAPPER_EXTENSION = kext;
};
name = Debug;
};
1DEB91DB08733DB10010E9CD /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
CURRENT_PROJECT_VERSION = 9.0.0;
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
GCC_MODEL_TUNING = G5;
INFOPLIST_FILE = Info.plist;
INFOPLIST_PREPROCESS = YES;
INSTALL_PATH = "$(SYSTEM_LIBRARY_DIR)/Extensions";
MODULE_NAME = com.apple.iokit.IOADBFamily;
MODULE_VERSION = 1.0.0d1;
"OTHER_CFLAGS[arch=i386]" = "-DkClamshellClosedEventMask=0x00";
"OTHER_CFLAGS[arch=ppc]" = "-DKPI_10_4_0_PPC_COMPAT";
PRODUCT_NAME = IOADBFamily;
WRAPPER_EXTENSION = kext;
};
name = Release;
};
1DEB91DE08733DB10010E9CD /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
ARCHS = "$(ONLY_ACTIVE_ARCH_PRE_XCODE_3_1)";
GCC_C_LANGUAGE_STANDARD = c99;
GCC_OPTIMIZATION_LEVEL = 0;
GCC_WARN_ABOUT_RETURN_TYPE = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
ONLY_ACTIVE_ARCH_PRE_XCODE_3_1 = "$(NATIVE_ARCH)";
PREBINDING = NO;
SDKROOT = "$(DEVELOPER_SDK_DIR)/MacOSX10.4u.sdk";
};
name = Debug;
};
1DEB91DF08733DB10010E9CD /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
ARCHS = "$(ARCHS_STANDARD_32_BIT_PRE_XCODE_3_1)";
ARCHS_STANDARD_32_BIT_PRE_XCODE_3_1 = "ppc i386";
GCC_C_LANGUAGE_STANDARD = c99;
GCC_WARN_ABOUT_RETURN_TYPE = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
PREBINDING = NO;
SDKROOT = "$(DEVELOPER_SDK_DIR)/MacOSX10.4u.sdk";
};
name = Release;
};
/* End XCBuildConfiguration section */

/* Begin XCConfigurationList section */
1DEB91D908733DB10010E9CD /* Build configuration list for PBXNativeTarget "IOADBFamily" */ = {
isa = XCConfigurationList;
buildConfigurations = (
1DEB91DA08733DB10010E9CD /* Debug */,
1DEB91DB08733DB10010E9CD /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
1DEB91DD08733DB10010E9CD /* Build configuration list for PBXProject "IOADBFamily" */ = {
isa = XCConfigurationList;
buildConfigurations = (
1DEB91DE08733DB10010E9CD /* Debug */,
1DEB91DF08733DB10010E9CD /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
/* End XCConfigurationList section */
};
rootObject = 089C1669FE841209C02AAC07 /* Project object */;
}
Loading

0 comments on commit 5a67931

Please sign in to comment.