]> git.saurik.com Git - apple/libpthread.git/blame - xcodescripts/kext.xcconfig
libpthread-218.1.3.tar.gz
[apple/libpthread.git] / xcodescripts / kext.xcconfig
CommitLineData
f1a1da6c
A
1// pthread kext build options
2
2546420a
A
3BUILD_VARIANTS = normal development
4BUILD_VARIANTS[sdk=macosx*] = normal
5
6PTHREAD_VARIANT_ = $(CURRENT_VARIANT)
7PTHREAD_VARIANT_YES = development
8PTHREAD_VARIANT = $(PTHREAD_VARIANT_$(DEBUG))
9
10VALID_ARCHS[sdk=macosx*] = $(NATIVE_ARCH_ACTUAL)
f1a1da6c 11ARCHS = $(ARCHS_STANDARD_32_64_BIT)
964d3577 12SUPPORTED_PLATFORMS = macosx iphoneos appletvos watchos
f1a1da6c
A
13DYLIB_CURRENT_VERSION = $(RC_ProjectSourceVersion)
14INSTALL_PATH = $(SYSTEM_LIBRARY_DIR)/Extensions
15MODULE_NAME = com.apple.kec.pthread
16MODULE_START = pthread_start
17MODULE_STOP = pthread_stop
18MODULE_VERSION = 1.0.0d1
19DEAD_CODE_STRIPPING = NO
20INFOPLIST_FILE = kern/pthread-Info.plist
21PRODUCT_NAME = $(TARGET_NAME)
22WRAPPER_EXTENSION = kext
23ALWAYS_SEARCH_USER_PATHS = NO
24SRCROOT_SEARCH_PATHS = $(SRCROOT) $(SRCROOT)/pthread $(SRCROOT)/private
25HEADER_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)
26GCC_C_LANGUAGE_STANDARD = gnu99
27CLANG_CXX_LANGUAGE_STANDARD = gnu++0x
28CLANG_CXX_LIBRARY = libc++
29GCC_PRECOMPILE_PREFIX_HEADER = YES
2546420a
A
30
31GCC_OPTIMIZATION_LEVEL_normal = s
32GCC_OPTIMIZATION_LEVEL_development = 0
33GCC_OPTIMIZATION_LEVEL = $(GCC_OPTIMIZATION_LEVEL_$(PTHREAD_VARIANT))
34
35LLVM_LTO_normal = YES
36LLVM_LTO_development = NO
37LLVM_LTO = $(LLVM_LTO_$(PTHREAD_VARIANT))
38
964d3577 39GCC_PREPROCESSOR_DEFINITIONS_kext = XNU_KERNEL_PRIVATE MACH_KERNEL_PRIVATE ABSOLUTETIME_SCALAR_TYPE NEEDS_SCHED_CALL_T
2546420a
A
40GCC_PREPROCESSOR_DEFINITIONS_kext_development = MACH_ASSERT DEBUG
41GCC_PREPROCESSOR_DEFINITIONS = $(GCC_PREPROCESSOR_DEFINITIONS_kext) $(GCC_PREPROCESSOR_DEFINITIONS_kext_$(PTHREAD_VARIANT))
f1a1da6c
A
42
43GCC_TREAT_IMPLICIT_FUNCTION_DECLARATIONS_AS_ERRORS = YES
44GCC_TREAT_INCOMPATIBLE_POINTER_TYPE_WARNINGS_AS_ERRORS = YES
45
46// Warnings
47CLANG_WARN__DUPLICATE_METHOD_MATCH = YES
48CLANG_WARN_EMPTY_BODY = YES
49GCC_WARN_64_TO_32_BIT_CONVERSION = YES
50GCC_WARN_ABOUT_MISSING_FIELD_INITIALIZERS = YES
51GCC_WARN_ABOUT_MISSING_NEWLINE = YES
52GCC_WARN_ABOUT_MISSING_PROTOTYPES = YES
53GCC_WARN_ABOUT_RETURN_TYPE = YES
54GCC_WARN_INITIALIZER_NOT_FULLY_BRACKETED = YES
55GCC_WARN_SHADOW = YES
56GCC_WARN_SIGN_COMPARE = YES
57GCC_WARN_UNINITIALIZED_AUTOS = YES
58GCC_WARN_UNUSED_FUNCTION = YES
59GCC_WARN_UNUSED_LABEL = YES
60GCC_WARN_UNUSED_PARAMETER = YES
61GCC_WARN_UNUSED_VARIABLE = YES