]> git.saurik.com Git - apple/libdispatch.git/blame - xcodeconfig/libdispatch.xcconfig
libdispatch-913.30.4.tar.gz
[apple/libdispatch.git] / xcodeconfig / libdispatch.xcconfig
CommitLineData
e85f4437 1//
517da941 2// Copyright (c) 2010-2013 Apple Inc. All rights reserved.
e85f4437
A
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"
45201a42 22#include "<DEVELOPER_DIR>/AppleInternal/XcodeConfig/PlatformSupport.xcconfig"
98cf8cd2 23
45201a42
A
24SDKROOT = macosx.internal
25SUPPORTED_PLATFORMS = macosx iphoneos iphonesimulator appletvos appletvsimulator watchos watchsimulator
e85f4437 26PRODUCT_NAME = libdispatch
e85f4437 27EXECUTABLE_PREFIX =
45201a42
A
28INSTALL_PATH = /usr/lib/system
29PUBLIC_HEADERS_FOLDER_PATH = /usr/include/dispatch
30PRIVATE_HEADERS_FOLDER_PATH = /usr/local/include/dispatch
31OS_PUBLIC_HEADERS_FOLDER_PATH = /usr/include/os
32OS_PRIVATE_HEADERS_FOLDER_PATH = /usr/local/include/os
beb15981
A
33HEADER_SEARCH_PATHS = $(PROJECT_DIR) $(PROJECT_DIR)/private $(PROJECT_DIR)/src
34LIBRARY_SEARCH_PATHS = $(SDKROOT)/usr/lib/system $(SDKROOT)/usr/local/lib
e85f4437
A
35INSTALLHDRS_SCRIPT_PHASE = YES
36ALWAYS_SEARCH_USER_PATHS = NO
98cf8cd2 37USE_HEADERMAP = NO
e85f4437
A
38BUILD_VARIANTS = normal debug profile
39ONLY_ACTIVE_ARCH = NO
517da941
A
40CLANG_LINK_OBJC_RUNTIME = NO
41GCC_C_LANGUAGE_STANDARD = gnu11
45201a42 42CLANG_CXX_LANGUAGE_STANDARD = gnu++11
6b746eb4 43ENABLE_STRICT_OBJC_MSGSEND = YES
45201a42 44GCC_ENABLE_CPP_EXCEPTIONS = NO
e85f4437
A
45GCC_STRICT_ALIASING = YES
46GCC_SYMBOLS_PRIVATE_EXTERN = YES
e85f4437
A
47GCC_ENABLE_PASCAL_STRINGS = NO
48GCC_WARN_SHADOW = YES
49GCC_WARN_64_TO_32_BIT_CONVERSION = YES
50GCC_WARN_ABOUT_RETURN_TYPE = YES
51GCC_WARN_ABOUT_MISSING_PROTOTYPES = YES
52GCC_WARN_ABOUT_MISSING_NEWLINE = YES
517da941 53GCC_WARN_ABOUT_MISSING_FIELD_INITIALIZERS = YES
6b746eb4 54GCC_WARN_INITIALIZER_NOT_FULLY_BRACKETED = YES
517da941 55GCC_WARN_SIGN_COMPARE = YES
6b746eb4
A
56GCC_WARN_STRICT_SELECTOR_MATCH = YES
57GCC_WARN_UNDECLARED_SELECTOR = YES
517da941 58GCC_WARN_UNINITIALIZED_AUTOS = YES
6b746eb4
A
59GCC_WARN_UNKNOWN_PRAGMAS = YES
60GCC_WARN_UNUSED_FUNCTION = YES
61GCC_WARN_UNUSED_LABEL = YES
62GCC_WARN_UNUSED_PARAMETER = YES
63GCC_WARN_UNUSED_VARIABLE = YES
64CLANG_WARN_ASSIGN_ENUM = YES
65CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES
66CLANG_WARN_DOCUMENTATION_COMMENTS = YES
67CLANG_WARN__DUPLICATE_METHOD_MATCH = YES
517da941
A
68CLANG_WARN_EMPTY_BODY = YES
69CLANG_WARN_IMPLICIT_SIGN_CONVERSION = YES
6b746eb4
A
70CLANG_WARN_INFINITE_RECURSION = YES
71CLANG_WARN_OBJC_IMPLICIT_ATOMIC_PROPERTIES = YES
72CLANG_WARN_OBJC_MISSING_PROPERTY_SYNTHESIS = YES
517da941 73CLANG_WARN_SUSPICIOUS_IMPLICIT_CONVERSION = YES
6b746eb4
A
74CLANG_WARN_SUSPICIOUS_MOVE = YES
75CLANG_WARN_UNREACHABLE_CODE = YES
e85f4437
A
76GCC_TREAT_WARNINGS_AS_ERRORS = YES
77GCC_OPTIMIZATION_LEVEL = s
beb15981 78GCC_NO_COMMON_BLOCKS = YES
6b746eb4
A
79GCC_PREPROCESSOR_DEFINITIONS = __DARWIN_NON_CANCELABLE=1 $(DISPATCH_PREPROCESSOR_DEFINITIONS)
80STATICLIB_PREPROCESSOR_DEFINITIONS = DISPATCH_VARIANT_STATIC=1 USE_OBJC=0 DISPATCH_USE_DTRACE=0
81WARNING_CFLAGS = -Wall -Wextra -Warray-bounds-pointer-arithmetic -Watomic-properties -Wcomma -Wconditional-uninitialized -Wcovered-switch-default -Wdate-time -Wdeprecated -Wdouble-promotion -Wduplicate-enum -Wexpansion-to-defined -Wfloat-equal -Widiomatic-parentheses -Wignored-qualifiers -Wimplicit-fallthrough -Wnullable-to-nonnull-conversion -Wobjc-interface-ivars -Wover-aligned -Wpacked -Wpointer-arith -Wselector -Wstatic-in-inline -Wsuper-class-method-mismatch -Wswitch-enum -Wtautological-compare -Wunguarded-availability -Wunused -Wno-unknown-warning-option $(NO_WARNING_CFLAGS)
82NO_WARNING_CFLAGS = -Wno-pedantic -Wno-bad-function-cast -Wno-c++-compat -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-cast-align -Wno-cast-qual -Wno-disabled-macro-expansion -Wno-documentation-unknown-command -Wno-format-nonliteral -Wno-missing-variable-declarations -Wno-old-style-cast -Wno-padded -Wno-reserved-id-macro -Wno-shift-sign-overflow -Wno-undef -Wno-unreachable-code-aggressive -Wno-unused-macros -Wno-used-but-marked-unused -Wno-vla
83OTHER_CFLAGS = -fverbose-asm -isystem $(SDKROOT)/System/Library/Frameworks/System.framework/PrivateHeaders $(PLATFORM_CFLAGS)
c093abd6
A
84OTHER_CFLAGS[arch=i386][sdk=macosx*] = $(OTHER_CFLAGS) -fno-unwind-tables -fno-asynchronous-unwind-tables -fno-exceptions
85OTHER_CFLAGS_normal = -momit-leaf-frame-pointer
6b746eb4 86OTHER_CFLAGS_profile = $(OTHER_CFLAGS_normal) -DDISPATCH_PROFILE=1 -DDISPATCH_PERF_MON=1
beb15981 87OTHER_CFLAGS_debug = -fstack-protector -fno-inline -O0 -DDISPATCH_DEBUG=1 -DOS_DEBUG=1
e85f4437 88GENERATE_PROFILING_CODE = NO
e85f4437 89DYLIB_CURRENT_VERSION = $(CURRENT_PROJECT_VERSION)
45201a42
A
90SIM_SUFFIX[sdk=*simulator*] = _sim
91DYLIB_LDFLAGS = -umbrella System -nodefaultlibs -ldyld -lcompiler_rt -lsystem$(SIM_SUFFIX)_kernel -lsystem$(SIM_SUFFIX)_platform -lsystem$(SIM_SUFFIX)_pthread -lsystem_malloc -lsystem_c -lsystem_blocks -lunwind
beb15981 92OBJC_LDFLAGS = -Wl,-upward-lobjc -Wl,-order_file,$(SRCROOT)/xcodeconfig/libdispatch.order
98cf8cd2 93ALIASES_LDFLAGS = -Wl,-alias_list,$(SRCROOT)/xcodeconfig/libdispatch.aliases
45201a42 94OTHER_LDFLAGS = $(OTHER_LDFLAGS) $(DYLIB_LDFLAGS) $(CR_LDFLAGS) $(OBJC_LDFLAGS) $(ALIASES_LDFLAGS) $(PLATFORM_LDFLAGS)
98cf8cd2 95OTHER_MIGFLAGS = -novouchers