]> git.saurik.com Git - apple/libdispatch.git/blame - xcodeconfig/libdispatch.xcconfig
libdispatch-339.1.9.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"
22SUPPORTED_PLATFORMS = macosx iphoneos iphonesimulator
23ARCHS[sdk=iphonesimulator*] = $(NATIVE_ARCH_32_BIT) // Override BSD.xcconfig ARCHS <rdar://problem/9303721>
24PRODUCT_NAME = libdispatch
e85f4437
A
25EXECUTABLE_PREFIX =
26LD_DYLIB_INSTALL_NAME = /usr/lib/system/$(EXECUTABLE_NAME)
27INSTALL_PATH = /usr/lib/system
28INSTALL_PATH[sdk=iphonesimulator*] = $(SDKROOT)/usr/lib/system
29PUBLIC_HEADERS_FOLDER_PATH = /usr/include/dispatch
30PUBLIC_HEADERS_FOLDER_PATH[sdk=iphonesimulator*] = $(SDKROOT)/usr/include/dispatch
31PRIVATE_HEADERS_FOLDER_PATH = /usr/local/include/dispatch
32PRIVATE_HEADERS_FOLDER_PATH[sdk=iphonesimulator*] = $(SDKROOT)/usr/local/include/dispatch
c093abd6
A
33OS_PUBLIC_HEADERS_FOLDER_PATH = /usr/include/os
34OS_PUBLIC_HEADERS_FOLDER_PATH[sdk=iphonesimulator*] = $(SDKROOT)/usr/include/os
35OS_PRIVATE_HEADERS_FOLDER_PATH = /usr/local/include/os
36OS_PRIVATE_HEADERS_FOLDER_PATH[sdk=iphonesimulator*] = $(SDKROOT)/usr/local/include/os
517da941
A
37HEADER_SEARCH_PATHS = $(PROJECT_DIR)
38LIBRARY_SEARCH_PATHS = $(SDKROOT)/usr/lib/system
e85f4437
A
39INSTALLHDRS_SCRIPT_PHASE = YES
40ALWAYS_SEARCH_USER_PATHS = NO
41BUILD_VARIANTS = normal debug profile
42ONLY_ACTIVE_ARCH = NO
517da941
A
43CLANG_LINK_OBJC_RUNTIME = NO
44GCC_C_LANGUAGE_STANDARD = gnu11
e85f4437
A
45GCC_STRICT_ALIASING = YES
46GCC_SYMBOLS_PRIVATE_EXTERN = YES
c093abd6 47GCC_ENABLE_OBJC_GC[sdk=macosx*] = supported
e85f4437
A
48GCC_ENABLE_PASCAL_STRINGS = NO
49GCC_WARN_SHADOW = YES
50GCC_WARN_64_TO_32_BIT_CONVERSION = YES
51GCC_WARN_ABOUT_RETURN_TYPE = YES
52GCC_WARN_ABOUT_MISSING_PROTOTYPES = YES
53GCC_WARN_ABOUT_MISSING_NEWLINE = YES
54GCC_WARN_UNUSED_VARIABLE = YES
517da941
A
55GCC_WARN_INITIALIZER_NOT_FULLY_BRACKETED = YES
56GCC_WARN_ABOUT_MISSING_FIELD_INITIALIZERS = YES
57GCC_WARN_SIGN_COMPARE = YES
58GCC_WARN_UNINITIALIZED_AUTOS = YES
59CLANG_WARN_EMPTY_BODY = YES
60CLANG_WARN_IMPLICIT_SIGN_CONVERSION = YES
61CLANG_WARN_SUSPICIOUS_IMPLICIT_CONVERSION = YES
62CLANG_WARN_DOCUMENTATION_COMMENTS = YES
e85f4437
A
63GCC_TREAT_WARNINGS_AS_ERRORS = YES
64GCC_OPTIMIZATION_LEVEL = s
e85f4437 65GCC_PREPROCESSOR_DEFINITIONS = __DARWIN_NON_CANCELABLE=1
517da941
A
66WARNING_CFLAGS = -Wall -Wextra -Waggregate-return -Wfloat-equal -Wpacked -Wmissing-declarations -Wstrict-overflow=4 -Wstrict-aliasing=2 -Wno-unknown-warning-option
67OTHER_CFLAGS = -fverbose-asm -isystem $(SDKROOT)/System/Library/Frameworks/System.framework/PrivateHeaders
c093abd6
A
68OTHER_CFLAGS[arch=i386][sdk=macosx*] = $(OTHER_CFLAGS) -fno-unwind-tables -fno-asynchronous-unwind-tables -fno-exceptions
69OTHER_CFLAGS_normal = -momit-leaf-frame-pointer
c093abd6 70OTHER_CFLAGS_profile = $(OTHER_CFLAGS_normal) -DDISPATCH_PROFILE=1
e85f4437 71OTHER_CFLAGS_debug = -fstack-protector -fno-inline -O0 -DDISPATCH_DEBUG=1
e85f4437 72GENERATE_PROFILING_CODE = NO
e85f4437 73DYLIB_CURRENT_VERSION = $(CURRENT_PROJECT_VERSION)
517da941
A
74UMBRELLA_LDFLAGS = -umbrella System -nodefaultlibs -ldyld -lcompiler_rt -lsystem_kernel -lsystem_platform -lsystem_pthread -lsystem_malloc -lsystem_c -lsystem_blocks -lunwind -Wl,-upward-lsystem_asl
75UMBRELLA_LDFLAGS[sdk=iphonesimulator*] = -umbrella System -nodefaultlibs -ldyld_sim -lcompiler_rt_sim -lsystem_sim_c -lsystem_sim_blocks -lunwind_sim -Wl,-upward-lSystem
c093abd6
A
76OBJC_LDFLAGS = -Wl,-upward-lobjc -Wl,-order_file,$(SRCROOT)/xcodeconfig/libdispatch.order -Wl,-alias_list,$(SRCROOT)/xcodeconfig/libdispatch.aliases -Wl,-unexported_symbols_list,$(SRCROOT)/xcodeconfig/libdispatch.unexport
77OBJC_LDFLAGS[sdk=macosx*] = $(OBJC_LDFLAGS) -Wl,-upward-lauto
78OBJC_LDFLAGS[arch=i386][sdk=macosx*] =
517da941
A
79OBJC_EXCLUDED_SOURCE_FILE_NAMES_i386_macosx = object.m data.m
80PLATFORM_LDFLAGS[sdk=macosx*] = -Wl,-alias_list,$(SRCROOT)/xcodeconfig/libdispatch_macosx.aliases
81OTHER_LDFLAGS = $(OTHER_LDFLAGS) $(UMBRELLA_LDFLAGS) $(CR_LDFLAGS) $(OBJC_LDFLAGS) $(PLATFORM_LDFLAGS)