X-Git-Url: https://git.saurik.com/apple/libinfo.git/blobdiff_plain/53dd3e4a0a3dbf9a0c0106497f12debec5517849..ff4fe4c30788b558815d52739e3b35d9bc21e831:/xcodescripts/Libinfo.xcconfig diff --git a/xcodescripts/Libinfo.xcconfig b/xcodescripts/Libinfo.xcconfig index e99d936..da29a65 100644 --- a/xcodescripts/Libinfo.xcconfig +++ b/xcodescripts/Libinfo.xcconfig @@ -1,3 +1,5 @@ +// Copyright (c) 2018 Apple Inc. All rights reserved. + #include "/Makefiles/CoreOS/Xcode/BSD.xcconfig" HEADER_SEARCH_PATHS = /usr/local/include $(SDKROOT)/System/Library/Frameworks/System.framework/PrivateHeaders @@ -35,13 +37,11 @@ LIBM_LDFLAGS = -lsystem_m LIBDYLD_LDFLAGS = -ldyld LIBC_LDFLAGS = -lsystem_c LIBDISPATCH_LDFLAGS = -ldispatch -LIBLAUNCH_LDFLAGS = -llaunch LIBASL_LDFLAGS = -lsystem_asl LIBBLOCKS_LDFLAGS = -lsystem_blocks LIBDNSD_LDFLAGS = -lsystem_dnssd LIBNOTIFY_LDFLAGS = -lsystem_notify LIBXPC_LDFLAGS = -lxpc -LIBNETWORK_LDFLAGS = -lsystem_network LIBTRACE_LDFLAGS = -lsystem_trace CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES; @@ -75,4 +75,12 @@ OTHER_CFLAGS = -DDEBUG=1 DYLIB_COMPATIBILITY_VERSION = 1 -OTHER_LDFLAGS = -all_load -umbrella System -L/usr/lib/system $(LIBCOMPILER_RT_LDFLAGS) $(LIBDYLD_LDFLAGS) $(LIBSYSCALL_LDFLAGS) $(LIBMALLOC_LDFLAGS) $(LIBPLATFORM_LDFLAGS) $(LIBPTHREAD_LDFLAGS) $(LIBC_LDFLAGS) $(LIBDISPATCH_LDFLAGS) $(LIBLAUNCH_LDFLAGS) $(LIBASL_LDFLAGS) $(LIBBLOCKS_LDFLAGS) $(LIBDNSD_LDFLAGS) $(LIBNOTIFY_LDFLAGS) $(LIBXPC_LDFLAGS) $(LIBNETWORK_LDFLAGS) $(LIBTRACE_LDFLAGS) +OTHER_LDFLAGS = -all_load -umbrella System -L/usr/lib/system $(LIBCOMPILER_RT_LDFLAGS) $(LIBDYLD_LDFLAGS) $(LIBSYSCALL_LDFLAGS) $(LIBMALLOC_LDFLAGS) $(LIBPLATFORM_LDFLAGS) $(LIBPTHREAD_LDFLAGS) $(LIBC_LDFLAGS) $(LIBDISPATCH_LDFLAGS) $(LIBASL_LDFLAGS) $(LIBBLOCKS_LDFLAGS) $(LIBDNSD_LDFLAGS) $(LIBNOTIFY_LDFLAGS) $(LIBXPC_LDFLAGS) $(LIBTRACE_LDFLAGS) + +// Text-Based API settings + +SUPPORTS_TEXT_BASED_API = YES +TAPI_VERIFY_MODE = Pedantic +OTHER_TAPI_FLAGS = -D LIBINFO_INSTALL_API=1 -extra-public-header $(SRCROOT)/Libinfo/pseudo_public.h -extra-public-header $(DSTROOT)/usr/include -extra-private-header $(DSTROOT)/usr/local/include -extra-private-header $(SRCROOT)/Libinfo/pseudo_private.h -umbrella System + +GCC_SYMBOLS_PRIVATE_EXTERN = YES