]> git.saurik.com Git - apple/libinfo.git/blob - xcodescripts/Libinfo.xcconfig
Libinfo-459.tar.gz
[apple/libinfo.git] / xcodescripts / Libinfo.xcconfig
1 #include "<DEVELOPER_DIR>/AppleInternal/XcodeConfig/SimulatorSupport.xcconfig"
2
3 INSTALLHDRS_SCRIPT_PHASE = YES
4
5 GCC_PREPROCESSOR_DEFINITIONS = __DARWIN_NON_CANCELABLE=1 __MigTypeCheck=1 INET6=1
6 GCC_PREPROCESSOR_DEFINITIONS[sdk=iphone*] = CONFIG_IPHONE $(GCC_PREPROCESSOR_DEFINITIONS)
7 GCC_PREPROCESSOR_DEFINITIONS[sdk=macosx*] = CONFIG_MAC DS_AVAILABLE SYNTH_ROOTFS $(GCC_PREPROCESSOR_DEFINITIONS)
8
9 INSTALL_PATH_ACTUAL = /usr/lib/system
10 INSTALL_PATH[sdk=macosx*] = $(INSTALL_PATH_ACTUAL)
11
12 EXECUTABLE_PREFIX = libsystem_
13 EXECUTABLE_PREFIX[sdk=iphonesimulator*] = libsystem_sim_
14
15 ORDER_FILE[sdk=macosx*] = $(SDKROOT)/$(APPLE_INTERNAL_DIR)/OrderFiles/libsystem_info.order
16 ORDER_FILE[sdk=iphoneos*] = $(SDKROOT)/$(APPLE_INTERNAL_DIR)/OrderFiles/libsystem_info.order
17
18 LINK_WITH_STANDARD_LIBRARIES = NO
19
20 LIBCOMPILER_RT_LDFLAGS = -lcompiler_rt
21 LIBCOMPILER_RT_LDFLAGS[sdk=iphonesimulator*] = -lcompiler_rt_sim
22 LIBMALLOC_LDFLAGS = -lsystem_malloc
23 LIBMALLOC_LDFLAGS[sdk=iphonesimulator*] = -Wl,-upward-lSystem
24 LIBPLATFORM_LDFLAGS = -lsystem_platform
25 LIBPLATFORM_LDFLAGS[sdk=iphonesimulator*] = -Wl,-upward-lSystem
26 LIBPTHREAD_LDFLAGS = -lsystem_pthread
27 LIBPTHREAD_LDFLAGS[sdk=iphonesimulator*] = -Wl,-upward-lSystem
28 LIBSYSCALL_LDFLAGS = -lsystem_kernel
29 LIBSYSCALL_LDFLAGS[sdk=iphonesimulator*] = -Wl,-upward-lSystem
30 LIBM_LDFLAGS = -lsystem_m
31 LIBM_LDFLAGS[sdk=iphonesimulator*] = -lsystem_sim_m
32 LIBDYLD_LDFLAGS = -ldyld
33 LIBDYLD_LDFLAGS[sdk=iphonesimulator*] = -ldyld_sim
34 LIBC_LDFLAGS = -lsystem_c
35 LIBC_LDFLAGS[sdk=iphonesimulator*] = -lsystem_sim_c
36 LIBDISPATCH_LDFLAGS = -ldispatch
37 LIBLAUNCH_LDFLAGS = -llaunch
38 LIBLAUNCH_LDFLAGS[sdk=iphonesimulator*] =
39 LIBASL_LDFLAGS = -lsystem_asl
40 LIBASL_LDFLAGS[sdk=iphonesimulator*] = -lsystem_sim_asl
41 LIBBLOCKS_LDFLAGS = -lsystem_blocks
42 LIBBLOCKS_LDFLAGS[sdk=iphonesimulator*] = -lsystem_sim_blocks
43 LIBDNSD_LDFLAGS = -lsystem_dnssd
44 LIBDNSD_LDFLAGS[sdk=iphonesimulator*] = -lsystem_sim_dnssd
45 LIBNOTIFY_LDFLAGS = -lsystem_notify
46 LIBNOTIFY_LDFLAGS[sdk=iphonesimulator*] = -lnotify_sim
47 LIBXPC_LDFLAGS = -lxpc
48 LIBNETWORK_LDFLAGS = -Wl,-upward-lsystem_network
49
50 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)