]> git.saurik.com Git - apple/libpthread.git/blame - xcodescripts/kext.xcconfig
libpthread-137.1.1.tar.gz
[apple/libpthread.git] / xcodescripts / kext.xcconfig
CommitLineData
f1a1da6c
A
1// pthread kext build options
2
3ARCHS = $(ARCHS_STANDARD_32_64_BIT)
964d3577 4SUPPORTED_PLATFORMS = macosx iphoneos appletvos watchos
f1a1da6c
A
5DYLIB_CURRENT_VERSION = $(RC_ProjectSourceVersion)
6INSTALL_PATH = $(SYSTEM_LIBRARY_DIR)/Extensions
7MODULE_NAME = com.apple.kec.pthread
8MODULE_START = pthread_start
9MODULE_STOP = pthread_stop
10MODULE_VERSION = 1.0.0d1
11DEAD_CODE_STRIPPING = NO
12INFOPLIST_FILE = kern/pthread-Info.plist
13PRODUCT_NAME = $(TARGET_NAME)
14WRAPPER_EXTENSION = kext
15ALWAYS_SEARCH_USER_PATHS = NO
16SRCROOT_SEARCH_PATHS = $(SRCROOT) $(SRCROOT)/pthread $(SRCROOT)/private
17HEADER_SEARCH_PATHS = $(SDKROOT)/System/Library/Frameworks/Kernel.framework/PrivateHeaders $(SDKROOT)/System/Library/Frameworks/Kernel.framework/Headers $(SDKROOT)/System/Library/Frameworks/System.framework/PrivateHeaders $(SDKROOT)/System/Library/Frameworks/System.framework/Headers $(SRCROOT_SEARCH_PATHS)
18GCC_C_LANGUAGE_STANDARD = gnu99
19CLANG_CXX_LANGUAGE_STANDARD = gnu++0x
20CLANG_CXX_LIBRARY = libc++
21GCC_PRECOMPILE_PREFIX_HEADER = YES
964d3577
A
22GCC_PREPROCESSOR_DEFINITIONS_kext = XNU_KERNEL_PRIVATE MACH_KERNEL_PRIVATE ABSOLUTETIME_SCALAR_TYPE NEEDS_SCHED_CALL_T
23GCC_PREPROCESSOR_DEFINITIONS = $(GCC_PREPROCESSOR_DEFINITIONS_kext)
f1a1da6c
A
24
25GCC_TREAT_IMPLICIT_FUNCTION_DECLARATIONS_AS_ERRORS = YES
26GCC_TREAT_INCOMPATIBLE_POINTER_TYPE_WARNINGS_AS_ERRORS = YES
27
28// Warnings
29CLANG_WARN__DUPLICATE_METHOD_MATCH = YES
30CLANG_WARN_EMPTY_BODY = YES
31GCC_WARN_64_TO_32_BIT_CONVERSION = YES
32GCC_WARN_ABOUT_MISSING_FIELD_INITIALIZERS = YES
33GCC_WARN_ABOUT_MISSING_NEWLINE = YES
34GCC_WARN_ABOUT_MISSING_PROTOTYPES = YES
35GCC_WARN_ABOUT_RETURN_TYPE = YES
36GCC_WARN_INITIALIZER_NOT_FULLY_BRACKETED = YES
37GCC_WARN_SHADOW = YES
38GCC_WARN_SIGN_COMPARE = YES
39GCC_WARN_UNINITIALIZED_AUTOS = YES
40GCC_WARN_UNUSED_FUNCTION = YES
41GCC_WARN_UNUSED_LABEL = YES
42GCC_WARN_UNUSED_PARAMETER = YES
43GCC_WARN_UNUSED_VARIABLE = YES