]> git.saurik.com Git - apple/libdispatch.git/blob - xcodeconfig/libdispatch.xcconfig
libdispatch-187.5.tar.gz
[apple/libdispatch.git] / xcodeconfig / libdispatch.xcconfig
1 //
2 // Copyright (c) 2010-2011 Apple Inc. All rights reserved.
3 //
4 // @APPLE_APACHE_LICENSE_HEADER_START@
5 //
6 // Licensed under the Apache License, Version 2.0 (the "License");
7 // you may not use this file except in compliance with the License.
8 // You may obtain a copy of the License at
9 //
10 // http://www.apache.org/licenses/LICENSE-2.0
11 //
12 // Unless required by applicable law or agreed to in writing, software
13 // distributed under the License is distributed on an "AS IS" BASIS,
14 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 // See the License for the specific language governing permissions and
16 // limitations under the License.
17 //
18 // @APPLE_APACHE_LICENSE_HEADER_END@
19 //
20
21 #include "<DEVELOPER_DIR>/Makefiles/CoreOS/Xcode/BSD.xcconfig"
22 SUPPORTED_PLATFORMS = macosx iphoneos iphonesimulator
23 ARCHS[sdk=iphonesimulator*] = $(NATIVE_ARCH_32_BIT) // Override BSD.xcconfig ARCHS <rdar://problem/9303721>
24 PRODUCT_NAME = libdispatch
25 PRODUCT_NAME[sdk=iphonesimulator*] = libdispatch_sim
26 EXECUTABLE_PREFIX =
27 LD_DYLIB_INSTALL_NAME = /usr/lib/system/$(EXECUTABLE_NAME)
28 INSTALL_PATH = /usr/lib/system
29 INSTALL_PATH[sdk=iphonesimulator*] = $(SDKROOT)/usr/lib/system
30 PUBLIC_HEADERS_FOLDER_PATH = /usr/include/dispatch
31 PUBLIC_HEADERS_FOLDER_PATH[sdk=iphonesimulator*] = $(SDKROOT)/usr/include/dispatch
32 PRIVATE_HEADERS_FOLDER_PATH = /usr/local/include/dispatch
33 PRIVATE_HEADERS_FOLDER_PATH[sdk=iphonesimulator*] = $(SDKROOT)/usr/local/include/dispatch
34 HEADER_SEARCH_PATHS = $(SDKROOT)/System/Library/Frameworks/System.framework/PrivateHeaders $(PROJECT_DIR)
35 INSTALLHDRS_SCRIPT_PHASE = YES
36 ALWAYS_SEARCH_USER_PATHS = NO
37 BUILD_VARIANTS = normal debug profile
38 ONLY_ACTIVE_ARCH = NO
39 GCC_VERSION = com.apple.compilers.llvm.clang.1_0
40 GCC_STRICT_ALIASING = YES
41 GCC_SYMBOLS_PRIVATE_EXTERN = YES
42 GCC_CW_ASM_SYNTAX = NO
43 GCC_ENABLE_CPP_EXCEPTIONS = NO
44 GCC_ENABLE_CPP_RTTI = NO
45 GCC_ENABLE_OBJC_EXCEPTIONS = NO
46 GCC_ENABLE_PASCAL_STRINGS = NO
47 GCC_WARN_SHADOW = YES
48 GCC_WARN_64_TO_32_BIT_CONVERSION = YES
49 GCC_WARN_ABOUT_RETURN_TYPE = YES
50 GCC_WARN_ABOUT_MISSING_PROTOTYPES = YES
51 GCC_WARN_ABOUT_MISSING_NEWLINE = YES
52 GCC_WARN_UNUSED_VARIABLE = YES
53 GCC_TREAT_WARNINGS_AS_ERRORS = YES
54 GCC_OPTIMIZATION_LEVEL = s
55 GCC_THUMB_SUPPORT[arch=armv6] = NO
56 GCC_PREPROCESSOR_DEFINITIONS = __DARWIN_NON_CANCELABLE=1
57 GCC_PREPROCESSOR_DEFINITIONS[sdk=iphonesimulator*] = $(GCC_PREPROCESSOR_DEFINITIONS) USE_LIBDISPATCH_INIT_CONSTRUCTOR=1 DISPATCH_USE_PTHREAD_ATFORK=1 DISPATCH_USE_DIRECT_TSD=0
58 WARNING_CFLAGS = -Wall -Wextra -Waggregate-return -Wfloat-equal -Wpacked -Wmissing-declarations -Wstrict-overflow=4 -Wstrict-aliasing=2
59 OTHER_CFLAGS = -fno-unwind-tables -fno-asynchronous-unwind-tables -fno-exceptions -fdiagnostics-show-option -fverbose-asm -momit-leaf-frame-pointer
60 OTHER_CFLAGS_debug = -fstack-protector -fno-inline -O0 -DDISPATCH_DEBUG=1
61 OTHER_CFLAGS_profile = -DDISPATCH_PROFILE=1
62 GENERATE_PROFILING_CODE = NO
63 GENERATE_MASTER_OBJECT_FILE = NO
64 DYLIB_CURRENT_VERSION = $(CURRENT_PROJECT_VERSION)
65 UMBRELLA_LDFLAGS = -umbrella System
66 UMBRELLA_LDFLAGS[sdk=iphonesimulator*] =
67 OTHER_LDFLAGS = $(OTHER_LDFLAGS) $(UMBRELLA_LDFLAGS) $(CR_LDFLAGS)