[sdks] Add Mono libraries and frameworks to iOS archive
[mono-project.git] / sdks / builds / ios.mk
blob8ebcb0e6f96e3cf5f171b07bcf72ca9f91c144dc
3 # Targets:
4 # - build-ios-<target>
5 # Build <target>
6 # - package-ios-<target>
7 # Install target into ../out/<target>
8 # - clean-ios-<target>
9 # Clean target
10 # Where <target> is: target32, target32s, target64, sim32, sim64, cross32, cross64
13 FRAMEWORKS_DIR = $(TOP)/sdks/out/ios-frameworks
14 LIBS_DIR = $(TOP)/sdks/out/ios-libs
15 ADDITIONAL_PACKAGE_DEPS += $(FRAMEWORKS_DIR) $(LIBS_DIR)
17 ios_ARCHIVE += ios-frameworks ios-libs
18 ios_PLATFORM_BIN=$(XCODE_DIR)/Toolchains/XcodeDefault.xctoolchain/usr/bin
21 # Device builds
23 # Parameters
24 # $(1): target (target32/target32s/target64)
25 # $(2): host triple
26 # $(3): host arch for compiler (armv7 or arm64)
28 # Flags:
29 # ios-$(1)_AC_VARS
30 # ios-$(1)_SYSROOT
31 # ios-$(1)_CONFIGURE_FLAGS
32 # ios-$(1)_CFLAGS
33 # ios-$(1)_CPPFLAGS
34 # ios-$(1)_CXXFLAGS
35 # ios-$(1)_LDFLAGS
36 # ios-$(1)_BITCODE_MARKER
38 # This handles tvos/watchos as well.
40 define iOSDeviceTemplate
42 _ios-$(1)_CC=$$(CCACHE) $$(ios_PLATFORM_BIN)/clang
43 _ios-$(1)_CXX=$$(CCACHE) $$(ios_PLATFORM_BIN)/clang++
45 _ios-$(1)_AC_VARS= \
46 ac_cv_c_bigendian=no \
47 ac_cv_func_fstatat=no \
48 ac_cv_func_readlinkat=no \
49 ac_cv_func_getpwuid_r=no \
50 ac_cv_func_posix_getpwuid_r=yes \
51 ac_cv_header_curses_h=no \
52 ac_cv_header_localcharset_h=no \
53 ac_cv_header_sys_user_h=no \
54 ac_cv_func_getentropy=no \
55 ac_cv_func_futimens=no \
56 ac_cv_func_utimensat=no \
57 ac_cv_func_shm_open_working_with_mmap=no \
58 mono_cv_sizeof_sunpath=104 \
59 mono_cv_uscore=yes
61 _ios-$(1)_CFLAGS= \
62 $$(ios-$(1)_SYSROOT) \
63 -arch $(3) \
64 -Wl,-application_extension \
65 -fexceptions \
66 $$(ios-$(1)_BITCODE_MARKER)
68 _ios-$(1)_CXXFLAGS= \
69 $$(ios-$(1)_SYSROOT) \
70 -arch $(3) \
71 -Wl,-application_extension \
72 $$(ios-$(1)_BITCODE_MARKER)
74 _ios-$(1)_CPPFLAGS= \
75 -DMONOTOUCH=1 \
76 $$(ios-$(1)_SYSROOT) \
77 -arch $(3) \
78 -DSMALL_CONFIG -D_XOPEN_SOURCE -DHOST_IOS -DHAVE_LARGE_FILE_SUPPORT=1 \
80 _ios-$(1)_LDFLAGS= \
81 -Wl,-no_weak_imports \
82 -arch $(3) \
83 -framework CoreFoundation \
84 -lobjc -lc++
86 _ios-$(1)_CONFIGURE_FLAGS = \
87 --disable-boehm \
88 --disable-btls \
89 --disable-executables \
90 --disable-icall-tables \
91 --disable-iconv \
92 --disable-mcs-build \
93 --disable-nls \
94 --disable-visibility-hidden \
95 --enable-dtrace=no \
96 --enable-icall-export \
97 --enable-maintainer-mode \
98 --enable-minimal=ssa,com,interpreter,jit,reflection_emit_save,reflection_emit,portability,assembly_remapping,attach,verifier,full_messages,appdomains,security,sgen_remset,sgen_marksweep_par,sgen_marksweep_fixed,sgen_marksweep_fixed_par,sgen_copying,logging,remoting,shared_perfcounters \
99 --enable-monotouch \
100 --with-lazy-gc-thread-creation=yes \
101 --with-tls=pthread \
102 --without-ikvm-native \
103 --without-sigaltstack \
104 --disable-cooperative-suspend \
105 --disable-hybrid-suspend \
106 --disable-crash-reporting
108 .stamp-ios-$(1)-toolchain:
109 touch $$@
111 $$(eval $$(call RuntimeTemplate,ios,$(1),$(2),yes))
113 ## Create special versions of the .dylibs:
115 # We have the following requirements:
117 # * libmonosgen-2.0.dylib: must have miphone-version-min=7.0 (otherwise iOS 9 won't load it; see bug #34267).
118 # * libmono-profiler-log.dylib: same as libmonosgen-2.0.dylib
119 # * libmono-native-compat.dylib: same as libmonosgen-2.0.dylib
120 # * Mono.framework/Mono: must have miphone-version-min=8.0, otherwise the native linker won't add a LC_ENCRYPTION_INFO load command,
121 # which the App Store requires (see bug #32820). This is not a problem for libmonosgen-2.0.dylib, because that library is only
122 # used for incremental builds, which are not published).
124 # So what we do is to take the static library (libmonosgen-2.0.a), extract all the object files, and re-link
125 # them the required times according to how many versions we need.
127 $$(TOP)/sdks/out/ios-$(1)-$$(CONFIGURATION)/lib/libmonosgen-2.0-minversion70.dylib: package-ios-$(1)
128 CC="$$(_ios-$(1)_CC)" $$(TOP)/sdks/builds/create-shared-library.sh $$(TOP)/sdks/out/ios-$(1)-$$(CONFIGURATION)/lib/libmonosgen-2.0.a $$@ -arch $(3) -miphoneos-version-min=7.0 $$(ios_sysroot)
130 $$(TOP)/sdks/out/ios-$(1)-$$(CONFIGURATION)/lib/libmono-profiler-log-minversion70.dylib: package-ios-$(1)
131 CC="$$(_ios-$(1)_CC)" $$(TOP)/sdks/builds/create-shared-library.sh $$(TOP)/sdks/out/ios-$(1)-$$(CONFIGURATION)/lib/libmono-profiler-log-static.a $$@ -arch $(3) -miphoneos-version-min=7.0 $$(ios_sysroot) -L$$(TOP)/sdks/out/ios-$(1)-$$(CONFIGURATION)/lib -lmonosgen-2.0
133 $$(TOP)/sdks/out/ios-$(1)-$$(CONFIGURATION)/lib/libmono-native-compat-minversion70.dylib: package-ios-$(1)
134 CC="$$(_ios-$(1)_CC)" $$(TOP)/sdks/builds/create-shared-library.sh $$(TOP)/sdks/out/ios-$(1)-$$(CONFIGURATION)/lib/libmono-native-compat.a $$@ -arch $(3) -miphoneos-version-min=7.0 $$(ios_sysroot) -L$$(TOP)/sdks/out/ios-$(1)-$$(CONFIGURATION)/lib -lmonosgen-2.0 -framework GSS
136 $$(TOP)/sdks/out/ios-$(1)-$$(CONFIGURATION)/lib/libmonosgen-2.0-minversion80.dylib: package-ios-$(1)
137 CC="$$(_ios-$(1)_CC)" $$(TOP)/sdks/builds/create-shared-library.sh $$(TOP)/sdks/out/ios-$(1)-$$(CONFIGURATION)/lib/libmonosgen-2.0.a $$@ -arch $(3) -miphoneos-version-min=8.0 $$(ios_sysroot)
139 endef
141 ios_sysroot = -isysroot $(XCODE_DIR)/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS$(IOS_VERSION).sdk
142 tvos_sysroot = -isysroot $(XCODE_DIR)/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS$(TVOS_VERSION).sdk
143 watchos_sysroot = -isysroot $(XCODE_DIR)/Platforms/WatchOS.platform/Developer/SDKs/WatchOS$(WATCHOS_VERSION).sdk
144 watchos5_sysroot = -isysroot $(XCODE_DIR)/Platforms/WatchOS.platform/Developer/SDKs/WatchOS$(WATCHOS5_VERSION).sdk
146 # explicitly disable dtrace, since it requires inline assembly, which is disabled on AppleTV (and mono's configure.ac doesn't know that (yet at least))
147 ios-targettv_CONFIGURE_FLAGS = --enable-dtrace=no --enable-llvm-runtime --with-bitcode=yes
148 ios-targetwatch_CONFIGURE_FLAGS = --enable-cooperative-suspend --enable-llvm-runtime --with-bitcode=yes
149 ios-targetwatch64_32_CONFIGURE_FLAGS = --enable-cooperative-suspend --enable-llvm-runtime --with-bitcode=yes
151 ios-target32_SYSROOT = $(ios_sysroot) -miphoneos-version-min=$(IOS_VERSION_MIN)
152 ios-target32s_SYSROOT = $(ios_sysroot) -miphoneos-version-min=$(IOS_VERSION_MIN)
153 ios-target64_SYSROOT = $(ios_sysroot) -miphoneos-version-min=$(IOS_VERSION_MIN)
154 ios-targettv_SYSROOT = $(tvos_sysroot) -mtvos-version-min=$(TVOS_VERSION_MIN)
155 ios-targetwatch_SYSROOT = $(watchos_sysroot) -mwatchos-version-min=$(WATCHOS_VERSION_MIN)
156 ios-targetwatch64_32_SYSROOT = $(watchos5_sysroot) -mwatchos-version-min=$(WATCHOS5_VERSION_MIN)
158 ios-target32_CPPFLAGS = -DHOST_IOS
159 ios-target32s_CPPFLAGS = -DHOST_IOS
160 ios-target64_CPPFLAGS = -DHOST_IOS
161 ios-targettv_CPPFLAGS = -DHOST_IOS -DHOST_TVOS
162 ios-targetwatch_CPPFLAGS = -DHOST_IOS -DHOST_WATCHOS
163 ios-targetwatch64_32_CPPFLAGS = -DHOST_IOS -DHOST_WATCHOS
165 ios-targettv_CFLAGS = -fembed-bitcode -fno-gnu-inline-asm
166 ios-targettv_CXXFLAGS = -fembed-bitcode -fno-gnu-inline-asm
167 ios-targetwatch_CFLAGS = -fembed-bitcode -fno-gnu-inline-asm
168 ios-targetwatch_CXXFLAGS = -fembed-bitcode -fno-gnu-inline-asm
169 ios-targetwatch64_32_CFLAGS = -fembed-bitcode -fno-gnu-inline-asm
170 ios-targetwatch64_32_CXXFLAGS = -fembed-bitcode -fno-gnu-inline-asm
172 ios-targettv_LDFLAGS = -Wl,-bitcode_bundle -framework CoreFoundation -lobjc -lc++
173 ios-targetwatch_LDFLAGS = -Wl,-bitcode_bundle -framework CoreFoundation -lobjc -lc++
174 ios-targetwatch64_32_LDFLAGS = -Wl,-bitcode_bundle -framework CoreFoundation -lobjc -lc++
176 ios-targettv_AC_VARS = \
177 ac_cv_func_system=no \
178 ac_cv_func_pthread_kill=no \
179 ac_cv_func_kill=no \
180 ac_cv_func_sigaction=no \
181 ac_cv_func_fork=no \
182 ac_cv_func_execv=no \
183 ac_cv_func_execve=no \
184 ac_cv_func_execvp=no \
185 ac_cv_func_signal=no
186 ios-targetwatch_AC_VARS = $(ios-targettv_AC_VARS)
187 ios-targetwatch64_32_AC_VARS = $(ios-targettv_AC_VARS)
189 # ios-target32_BITCODE_MARKER=-fembed-bitcode-marker
190 $(eval $(call iOSDeviceTemplate,target32,arm-apple-darwin10,armv7))
191 $(eval $(call iOSDeviceTemplate,target32s,arm-apple-darwin10,armv7s))
192 # ios-target64_BITCODE_MARKER=-fembed-bitcode-marker
193 $(eval $(call iOSDeviceTemplate,target64,aarch64-apple-darwin10,arm64))
194 $(eval $(call iOSDeviceTemplate,targettv,aarch64-apple-darwin10,arm64))
195 $(eval $(call iOSDeviceTemplate,targetwatch,armv7k-apple-darwin10,armv7k))
196 $(eval $(call iOSDeviceTemplate,targetwatch64_32,aarch64-apple-darwin10_ilp32,arm64_32))
199 # Simulator builds
201 # Parameters
202 # $(1): target (sim32 or sim64)
203 # $(2): host triple
204 # $(3): host arch (i386 or x86_64)
206 # Flags:
207 # ios-$(1)_SYSROOT
208 # ios-$(1)_AC_VARS
209 # ios-$(1)_CFLAGS
210 # ios-$(1)_CPPFLAGS
211 # ios-$(1)_CXXFLAGS
212 # ios-$(1)_LDFLAGS
214 # This handles tvos/watchos as well.
216 define iOSSimulatorTemplate
218 _ios-$(1)_CC=$$(CCACHE) $$(ios_PLATFORM_BIN)/clang
219 _ios-$(1)_CXX=$$(CCACHE) $$(ios_PLATFORM_BIN)/clang++
221 _ios-$(1)_AC_VARS= \
222 ac_cv_func_clock_nanosleep=no \
223 ac_cv_func_fstatat=no \
224 ac_cv_func_readlinkat=no \
225 ac_cv_func_system=no \
226 ac_cv_func_getentropy=no \
227 ac_cv_func_futimens=no \
228 ac_cv_func_utimensat=no \
229 ac_cv_func_shm_open_working_with_mmap=no \
230 mono_cv_uscore=yes
232 _ios-$(1)_CFLAGS= \
233 $$(ios-$(1)_SYSROOT) \
234 -arch $(3) \
235 -Wl,-application_extension
237 _ios-$(1)_CPPFLAGS= \
238 -DMONOTOUCH=1 \
239 $$(ios-$(1)_SYSROOT) \
240 -arch $(3) \
241 -Wl,-application_extension
243 _ios-$(1)_CXXFLAGS= \
244 $$(ios-$(1)_SYSROOT) \
245 -arch $(3) \
246 -Wl,-application_extension
248 _ios-$(1)_CONFIGURE_FLAGS= \
249 --disable-boehm \
250 --disable-btls \
251 --disable-executables \
252 --disable-iconv \
253 --disable-mcs-build \
254 --disable-nls \
255 --disable-visibility-hidden \
256 --enable-maintainer-mode \
257 --enable-minimal=com,remoting,shared_perfcounters \
258 --enable-monotouch \
259 --with-tls=pthread \
260 --without-ikvm-native \
261 --disable-cooperative-suspend \
262 --disable-hybrid-suspend \
263 --disable-crash-reporting
265 .stamp-ios-$(1)-toolchain:
266 touch $$@
268 $$(eval $$(call RuntimeTemplate,ios,$(1),$(2),yes))
270 endef
272 ios_sim_sysroot = -isysroot $(XCODE_DIR)/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator$(IOS_VERSION).sdk
273 tvos_sim_sysroot = -isysroot $(XCODE_DIR)/Platforms/AppleTVSimulator.platform/Developer/SDKs/AppleTVSimulator$(TVOS_VERSION).sdk
274 watchos_sim_sysroot = -isysroot $(XCODE_DIR)/Platforms/WatchSimulator.platform/Developer/SDKs/WatchSimulator$(WATCH_VERSION).sdk
276 ios-sim32_SYSROOT = $(ios_sim_sysroot) -mios-simulator-version-min=$(IOS_VERSION_MIN)
277 ios-sim64_SYSROOT = $(ios_sim_sysroot) -mios-simulator-version-min=$(IOS_VERSION_MIN)
278 ios-simtv_SYSROOT = $(tvos_sim_sysroot) -mtvos-simulator-version-min=$(TVOS_VERSION_MIN)
279 ios-simwatch_SYSROOT = $(watchos_sim_sysroot) -mwatchos-simulator-version-min=$(WATCHOS_VERSION_MIN)
281 ios-simwatch_CONFIGURE_FLAGS = --enable-cooperative-suspend
283 ios-sim32_CPPFLAGS = -DHOST_IOS
284 ios-sim64_CPPFLAGS = -DHOST_IOS
285 ios-simtv_CPPFLAGS = -DHOST_IOS -DHOST_TVOS
286 ios-simwatch_CPPFLAGS = -DHOST_IOS -DHOST_WATCHOS
288 ios-simtv_AC_VARS = \
289 ac_cv_func_pthread_kill=no \
290 ac_cv_func_kill=no \
291 ac_cv_func_sigaction=no \
292 ac_cv_func_fork=no \
293 ac_cv_func_execv=no \
294 ac_cv_func_execve=no \
295 ac_cv_func_execvp=no \
296 ac_cv_func_signal=no
297 ios-simwatch_AC_VARS = \
298 ac_cv_func_system=no \
299 ac_cv_func_pthread_kill=no \
300 ac_cv_func_kill=no \
301 ac_cv_func_sigaction=no \
302 ac_cv_func_fork=no \
303 ac_cv_func_execv=no \
304 ac_cv_func_execve=no \
305 ac_cv_func_execvp=no \
306 ac_cv_func_signal=no
308 $(eval $(call iOSSimulatorTemplate,sim32,i386-apple-darwin10,i386))
309 $(eval $(call iOSSimulatorTemplate,sim64,x86_64-apple-darwin10,x86_64))
310 $(eval $(call iOSSimulatorTemplate,simtv,x86_64-apple-darwin10,x86_64))
311 $(eval $(call iOSSimulatorTemplate,simwatch,i386-apple-darwin10,i386))
314 # Cross compiler builds
316 # Parameters:
317 # $(1): target (cross32 or cross64)
318 # $(2): host arch (i386 or x86_64)
319 # $(3): target arch (arm or aarch64)
320 # $(4): device target (target32, target64, ...)
321 # $(5): llvm (llvm32 or llvm64)
322 # $(6): offsets dumper abi
323 # $(7): xcode dir
325 # Flags:
326 # ios-$(1)_AC_VARS
327 # ios-$(1)_CFLAGS
328 # ios-$(1)_CXXFLAGS
329 # ios-$(1)_LDFLAGS
330 # ios-$(1)_CONFIGURE_FLAGS
331 define iOSCrossTemplate
333 _ios-$(1)_OFFSETS_DUMPER_ARGS=--gen-ios
334 _ios_$(1)_PLATFORM_BIN=$(7)/Toolchains/XcodeDefault.xctoolchain/usr/bin
336 _ios-$(1)_CC=$$(CCACHE) $$(_ios_$(1)_PLATFORM_BIN)/clang
337 _ios-$(1)_CXX=$$(CCACHE) $$(_ios_$(1)_PLATFORM_BIN)/clang++
339 _ios-$(1)_AC_VARS= \
340 ac_cv_func_shm_open_working_with_mmap=no
342 _ios-$(1)_CFLAGS= \
343 -isysroot $(7)/Platforms/MacOSX.platform/Developer/SDKs/MacOSX$$(MACOS_VERSION).sdk -mmacosx-version-min=$$(MACOS_VERSION_MIN) \
344 -Qunused-arguments
346 _ios-$(1)_CXXFLAGS= \
347 -isysroot $(7)/Platforms/MacOSX.platform/Developer/SDKs/MacOSX$$(MACOS_VERSION).sdk -mmacosx-version-min=$$(MACOS_VERSION_MIN) \
348 -Qunused-arguments \
349 -stdlib=libc++
351 _ios-$(1)_CPPFLAGS= \
352 -DMONOTOUCH=1
354 _ios-$(1)_LDFLAGS= \
355 -stdlib=libc++
357 _ios-$(1)_CONFIGURE_FLAGS= \
358 --disable-boehm \
359 --disable-btls \
360 --disable-iconv \
361 --disable-libraries \
362 --disable-mcs-build \
363 --disable-nls \
364 --enable-dtrace=no \
365 --enable-icall-symbol-map \
366 --enable-minimal=com,remoting \
367 --enable-monotouch \
368 --disable-crash-reporting
370 $$(eval $$(call CrossRuntimeTemplate,ios,$(1),$(2)-apple-darwin10,$(3),$(4),$(5),$(6)))
372 endef
374 $(eval $(call iOSCrossTemplate,cross32,i386,arm-darwin,target32,llvm36-llvm32,arm-apple-darwin10,$(XCODE32_DIR)))
375 $(eval $(call iOSCrossTemplate,cross64,x86_64,aarch64-darwin,target64,llvm-llvm64,aarch64-apple-darwin10,$(XCODE_DIR)))
376 ios-crosswatch_CONFIGURE_FLAGS=--enable-cooperative-suspend
377 $(eval $(call iOSCrossTemplate,crosswatch,i386,armv7k-unknown-darwin,targetwatch,llvm36-llvm32,armv7k-apple-darwin,$(XCODE32_DIR)))
378 $(eval $(call iOSCrossTemplate,crosswatch64_32,x86_64,aarch64-apple-darwin10_ilp32,targetwatch64_32,llvm-llvm64,armv7k-apple-darwin_ilp32,$(XCODE_DIR)))
379 # 64->arm32 cross compiler
380 $(eval $(call iOSCrossTemplate,cross32-64,x86_64,arm-darwin,target32,llvm-llvm64,arm-apple-darwin10,$(XCODE_DIR)))
384 # iOS Frameworks build
386 # Parameters:
388 define iOSFrameworksTemplate
390 endef
392 $(FRAMEWORKS_DIR): package-ios-target32 package-ios-target32s package-ios-target64 package-ios-targettv package-ios-targetwatch package-ios-sim32 package-ios-sim64 package-ios-simtv package-ios-simwatch $(TOP)/sdks/builds/ios-Mono.framework-Info.plist $(TOP)/sdks/builds/ios-Mono.framework-tvos.Info.plist $(TOP)/sdks/builds/ios-Mono.framework-watchos.Info.plist $(TOP)/sdks/out/ios-target32-$(CONFIGURATION)/lib/libmonosgen-2.0-minversion80.dylib $(TOP)/sdks/out/ios-target32s-$(CONFIGURATION)/lib/libmonosgen-2.0-minversion80.dylib $(TOP)/sdks/out/ios-target64-$(CONFIGURATION)/lib/libmonosgen-2.0-minversion80.dylib
393 rm -rf $(FRAMEWORKS_DIR)
395 ### Mono.framework for devices ###
396 mkdir -p $(FRAMEWORKS_DIR)/ios/Mono.framework/
397 mkdir -p $(FRAMEWORKS_DIR)/tvos/Mono.framework/
398 mkdir -p $(FRAMEWORKS_DIR)/watchos/Mono.framework/
399 $(ios_PLATFORM_BIN)/lipo $(TOP)/sdks/out/ios-target32-$(CONFIGURATION)/lib/libmonosgen-2.0-minversion80.dylib $(TOP)/sdks/out/ios-target32s-$(CONFIGURATION)/lib/libmonosgen-2.0-minversion80.dylib $(TOP)/sdks/out/ios-target64-$(CONFIGURATION)/lib/libmonosgen-2.0-minversion80.dylib -create -output $(FRAMEWORKS_DIR)/ios/Mono.framework/Mono
400 $(ios_PLATFORM_BIN)/lipo $(TOP)/sdks/out/ios-targettv-$(CONFIGURATION)/lib/libmonosgen-2.0.dylib -create -output $(FRAMEWORKS_DIR)/tvos/Mono.framework/Mono
401 $(ios_PLATFORM_BIN)/lipo $(TOP)/sdks/out/ios-targetwatch-$(CONFIGURATION)/lib/libmonosgen-2.0.dylib -create -output $(FRAMEWORKS_DIR)/watchos/Mono.framework/Mono
402 $(ios_PLATFORM_BIN)/install_name_tool -id @rpath/Mono.framework/Mono $(FRAMEWORKS_DIR)/ios/Mono.framework/Mono
403 $(ios_PLATFORM_BIN)/install_name_tool -id @rpath/Mono.framework/Mono $(FRAMEWORKS_DIR)/tvos/Mono.framework/Mono
404 $(ios_PLATFORM_BIN)/install_name_tool -id @rpath/Mono.framework/Mono $(FRAMEWORKS_DIR)/watchos/Mono.framework/Mono
405 $(ios_PLATFORM_BIN)/dsymutil -t 4 -o $(FRAMEWORKS_DIR)/ios/Mono.framework.dSYM $(FRAMEWORKS_DIR)/ios/Mono.framework/Mono
406 $(ios_PLATFORM_BIN)/dsymutil -t 4 -o $(FRAMEWORKS_DIR)/tvos/Mono.framework.dSYM $(FRAMEWORKS_DIR)/tvos/Mono.framework/Mono
407 $(ios_PLATFORM_BIN)/dsymutil -t 4 -o $(FRAMEWORKS_DIR)/watchos/Mono.framework.dSYM $(FRAMEWORKS_DIR)/watchos/Mono.framework/Mono
408 cp $(TOP)/sdks/builds/ios-Mono.framework-Info.plist $(FRAMEWORKS_DIR)/ios/Mono.framework/Info.plist
409 cp $(TOP)/sdks/builds/ios-Mono.framework-tvos.Info.plist $(FRAMEWORKS_DIR)/tvos/Mono.framework/Info.plist
410 cp $(TOP)/sdks/builds/ios-Mono.framework-watchos.Info.plist $(FRAMEWORKS_DIR)/watchos/Mono.framework/Info.plist
412 ### Mono.framework for simulators ###
413 mkdir -p $(FRAMEWORKS_DIR)/ios-sim/Mono.framework/
414 mkdir -p $(FRAMEWORKS_DIR)/tvos-sim/Mono.framework/
415 mkdir -p $(FRAMEWORKS_DIR)/watchos-sim/Mono.framework/
416 $(ios_PLATFORM_BIN)/lipo $(TOP)/sdks/out/ios-sim32-$(CONFIGURATION)/lib/libmonosgen-2.0.dylib $(TOP)/sdks/out/ios-sim64-$(CONFIGURATION)/lib/libmonosgen-2.0.dylib -create -output $(FRAMEWORKS_DIR)/ios-sim/Mono.framework/Mono
417 $(ios_PLATFORM_BIN)/lipo $(TOP)/sdks/out/ios-simtv-$(CONFIGURATION)/lib/libmonosgen-2.0.dylib -create -output $(FRAMEWORKS_DIR)/tvos-sim/Mono.framework/Mono
418 $(ios_PLATFORM_BIN)/lipo $(TOP)/sdks/out/ios-simwatch-$(CONFIGURATION)/lib/libmonosgen-2.0.dylib -create -output $(FRAMEWORKS_DIR)/watchos-sim/Mono.framework/Mono
419 $(ios_PLATFORM_BIN)/install_name_tool -id @rpath/Mono.framework/Mono $(FRAMEWORKS_DIR)/ios-sim/Mono.framework/Mono
420 $(ios_PLATFORM_BIN)/install_name_tool -id @rpath/Mono.framework/Mono $(FRAMEWORKS_DIR)/tvos-sim/Mono.framework/Mono
421 $(ios_PLATFORM_BIN)/install_name_tool -id @rpath/Mono.framework/Mono $(FRAMEWORKS_DIR)/watchos-sim/Mono.framework/Mono
422 $(ios_PLATFORM_BIN)/dsymutil -t 4 -o $(FRAMEWORKS_DIR)/ios-sim/Mono.framework.dSYM $(FRAMEWORKS_DIR)/ios-sim/Mono.framework/Mono
423 $(ios_PLATFORM_BIN)/dsymutil -t 4 -o $(FRAMEWORKS_DIR)/tvos-sim/Mono.framework.dSYM $(FRAMEWORKS_DIR)/tvos-sim/Mono.framework/Mono
424 $(ios_PLATFORM_BIN)/dsymutil -t 4 -o $(FRAMEWORKS_DIR)/watchos-sim/Mono.framework.dSYM $(FRAMEWORKS_DIR)/watchos-sim/Mono.framework/Mono
425 cp $(TOP)/sdks/builds/ios-Mono.framework-Info.plist $(FRAMEWORKS_DIR)/ios-sim/Mono.framework/Info.plist
426 cp $(TOP)/sdks/builds/ios-Mono.framework-tvos.Info.plist $(FRAMEWORKS_DIR)/tvos-sim/Mono.framework/Info.plist
427 cp $(TOP)/sdks/builds/ios-Mono.framework-watchos.Info.plist $(FRAMEWORKS_DIR)/watchos-sim/Mono.framework/Info.plist
430 $(LIBS_DIR): package-ios-target32 package-ios-target32s package-ios-target64 package-ios-targettv package-ios-targetwatch package-ios-sim32 package-ios-sim64 package-ios-simtv package-ios-simwatch $(TOP)/sdks/out/ios-target32-$(CONFIGURATION)/lib/libmonosgen-2.0-minversion70.dylib $(TOP)/sdks/out/ios-target32s-$(CONFIGURATION)/lib/libmonosgen-2.0-minversion70.dylib $(TOP)/sdks/out/ios-target64-$(CONFIGURATION)/lib/libmonosgen-2.0-minversion70.dylib $(TOP)/sdks/out/ios-target32-$(CONFIGURATION)/lib/libmono-profiler-log-minversion70.dylib $(TOP)/sdks/out/ios-target32s-$(CONFIGURATION)/lib/libmono-profiler-log-minversion70.dylib $(TOP)/sdks/out/ios-target64-$(CONFIGURATION)/lib/libmono-profiler-log-minversion70.dylib $(TOP)/sdks/out/ios-target32-$(CONFIGURATION)/lib/libmono-native-compat-minversion70.dylib $(TOP)/sdks/out/ios-target32s-$(CONFIGURATION)/lib/libmono-native-compat-minversion70.dylib $(TOP)/sdks/out/ios-target64-$(CONFIGURATION)/lib/libmono-native-compat-minversion70.dylib
431 rm -rf $(LIBS_DIR)
433 ### libs for devices ###
434 mkdir -p $(LIBS_DIR)/ios/
435 mkdir -p $(LIBS_DIR)/tvos/
436 mkdir -p $(LIBS_DIR)/watchos/
438 $(ios_PLATFORM_BIN)/lipo $(TOP)/sdks/out/ios-target32-$(CONFIGURATION)/lib/libmonosgen-2.0-minversion70.dylib $(TOP)/sdks/out/ios-target32s-$(CONFIGURATION)/lib/libmonosgen-2.0-minversion70.dylib $(TOP)/sdks/out/ios-target64-$(CONFIGURATION)/lib/libmonosgen-2.0-minversion70.dylib -create -output $(LIBS_DIR)/ios/libmonosgen-2.0.dylib
439 $(ios_PLATFORM_BIN)/lipo $(TOP)/sdks/out/ios-target32-$(CONFIGURATION)/lib/libmono-profiler-log-minversion70.dylib $(TOP)/sdks/out/ios-target32s-$(CONFIGURATION)/lib/libmono-profiler-log-minversion70.dylib $(TOP)/sdks/out/ios-target64-$(CONFIGURATION)/lib/libmono-profiler-log-minversion70.dylib -create -output $(LIBS_DIR)/ios/libmono-profiler-log.dylib
440 $(ios_PLATFORM_BIN)/lipo $(TOP)/sdks/out/ios-target32-$(CONFIGURATION)/lib/libmono-native-compat-minversion70.dylib $(TOP)/sdks/out/ios-target32s-$(CONFIGURATION)/lib/libmono-native-compat-minversion70.dylib $(TOP)/sdks/out/ios-target64-$(CONFIGURATION)/lib/libmono-native-compat-minversion70.dylib -create -output $(LIBS_DIR)/ios/libmono-native-compat.dylib
441 $(ios_PLATFORM_BIN)/lipo $(TOP)/sdks/out/ios-target32-$(CONFIGURATION)/lib/libmono-native-unified.dylib $(TOP)/sdks/out/ios-target32s-$(CONFIGURATION)/lib/libmono-native-unified.dylib $(TOP)/sdks/out/ios-target64-$(CONFIGURATION)/lib/libmono-native-unified.dylib -create -output $(LIBS_DIR)/ios/libmono-native-unified.dylib
442 $(ios_PLATFORM_BIN)/lipo $(TOP)/sdks/out/ios-target32-$(CONFIGURATION)/lib/libmono-ee-interp.a $(TOP)/sdks/out/ios-target32s-$(CONFIGURATION)/lib/libmono-ee-interp.a $(TOP)/sdks/out/ios-target64-$(CONFIGURATION)/lib/libmono-ee-interp.a -create -output $(LIBS_DIR)/ios/libmono-ee-interp.a
443 $(ios_PLATFORM_BIN)/lipo $(TOP)/sdks/out/ios-target32-$(CONFIGURATION)/lib/libmono-icall-table.a $(TOP)/sdks/out/ios-target32s-$(CONFIGURATION)/lib/libmono-icall-table.a $(TOP)/sdks/out/ios-target64-$(CONFIGURATION)/lib/libmono-icall-table.a -create -output $(LIBS_DIR)/ios/libmono-icall-table.a
444 $(ios_PLATFORM_BIN)/lipo $(TOP)/sdks/out/ios-target32-$(CONFIGURATION)/lib/libmono-ilgen.a $(TOP)/sdks/out/ios-target32s-$(CONFIGURATION)/lib/libmono-ilgen.a $(TOP)/sdks/out/ios-target64-$(CONFIGURATION)/lib/libmono-ilgen.a -create -output $(LIBS_DIR)/ios/libmono-ilgen.a
445 $(ios_PLATFORM_BIN)/lipo $(TOP)/sdks/out/ios-target32-$(CONFIGURATION)/lib/libmono-native-compat.a $(TOP)/sdks/out/ios-target32s-$(CONFIGURATION)/lib/libmono-native-compat.a $(TOP)/sdks/out/ios-target64-$(CONFIGURATION)/lib/libmono-native-compat.a -create -output $(LIBS_DIR)/ios/libmono-native-compat.a
446 $(ios_PLATFORM_BIN)/lipo $(TOP)/sdks/out/ios-target32-$(CONFIGURATION)/lib/libmono-native-unified.a $(TOP)/sdks/out/ios-target32s-$(CONFIGURATION)/lib/libmono-native-unified.a $(TOP)/sdks/out/ios-target64-$(CONFIGURATION)/lib/libmono-native-unified.a -create -output $(LIBS_DIR)/ios/libmono-native-unified.a
447 $(ios_PLATFORM_BIN)/lipo $(TOP)/sdks/out/ios-target32-$(CONFIGURATION)/lib/libmono-profiler-log-static.a $(TOP)/sdks/out/ios-target32s-$(CONFIGURATION)/lib/libmono-profiler-log-static.a $(TOP)/sdks/out/ios-target64-$(CONFIGURATION)/lib/libmono-profiler-log-static.a -create -output $(LIBS_DIR)/ios/libmono-profiler-log.a
448 $(ios_PLATFORM_BIN)/lipo $(TOP)/sdks/out/ios-target32-$(CONFIGURATION)/lib/libmonosgen-2.0.a $(TOP)/sdks/out/ios-target32s-$(CONFIGURATION)/lib/libmonosgen-2.0.a $(TOP)/sdks/out/ios-target64-$(CONFIGURATION)/lib/libmonosgen-2.0.a -create -output $(LIBS_DIR)/ios/libmonosgen-2.0.a
450 $(ios_PLATFORM_BIN)/lipo $(TOP)/sdks/out/ios-targettv-$(CONFIGURATION)/lib/libmonosgen-2.0.dylib -create -output $(LIBS_DIR)/tvos/libmonosgen-2.0.dylib
451 $(ios_PLATFORM_BIN)/lipo $(TOP)/sdks/out/ios-targettv-$(CONFIGURATION)/lib/libmono-profiler-log.dylib -create -output $(LIBS_DIR)/tvos/libmono-profiler-log.dylib
452 $(ios_PLATFORM_BIN)/lipo $(TOP)/sdks/out/ios-targettv-$(CONFIGURATION)/lib/libmono-native-compat.dylib -create -output $(LIBS_DIR)/tvos/libmono-native-compat.dylib
453 $(ios_PLATFORM_BIN)/lipo $(TOP)/sdks/out/ios-targettv-$(CONFIGURATION)/lib/libmono-native-unified.dylib -create -output $(LIBS_DIR)/tvos/libmono-native-unified.dylib
454 $(ios_PLATFORM_BIN)/lipo $(TOP)/sdks/out/ios-targettv-$(CONFIGURATION)/lib/libmono-ee-interp.a -create -output $(LIBS_DIR)/tvos/libmono-ee-interp.a
455 $(ios_PLATFORM_BIN)/lipo $(TOP)/sdks/out/ios-targettv-$(CONFIGURATION)/lib/libmono-icall-table.a -create -output $(LIBS_DIR)/tvos/libmono-icall-table.a
456 $(ios_PLATFORM_BIN)/lipo $(TOP)/sdks/out/ios-targettv-$(CONFIGURATION)/lib/libmono-ilgen.a -create -output $(LIBS_DIR)/tvos/libmono-ilgen.a
457 $(ios_PLATFORM_BIN)/lipo $(TOP)/sdks/out/ios-targettv-$(CONFIGURATION)/lib/libmono-native-compat.a -create -output $(LIBS_DIR)/tvos/libmono-native-compat.a
458 $(ios_PLATFORM_BIN)/lipo $(TOP)/sdks/out/ios-targettv-$(CONFIGURATION)/lib/libmono-native-unified.a -create -output $(LIBS_DIR)/tvos/libmono-native-unified.a
459 $(ios_PLATFORM_BIN)/lipo $(TOP)/sdks/out/ios-targettv-$(CONFIGURATION)/lib/libmono-profiler-log-static.a -create -output $(LIBS_DIR)/tvos/libmono-profiler-log.a
460 $(ios_PLATFORM_BIN)/lipo $(TOP)/sdks/out/ios-targettv-$(CONFIGURATION)/lib/libmonosgen-2.0.a -create -output $(LIBS_DIR)/tvos/libmonosgen-2.0.a
462 $(ios_PLATFORM_BIN)/bitcode_strip $(TOP)/sdks/out/ios-targetwatch-$(CONFIGURATION)/lib/libmonosgen-2.0.dylib -m -o $(LIBS_DIR)/watchos/libmonosgen-2.0.dylib
463 $(ios_PLATFORM_BIN)/bitcode_strip $(TOP)/sdks/out/ios-targetwatch-$(CONFIGURATION)/lib/libmono-profiler-log.dylib -m -o $(LIBS_DIR)/watchos/libmono-profiler-log.dylib
464 $(ios_PLATFORM_BIN)/bitcode_strip $(TOP)/sdks/out/ios-targetwatch-$(CONFIGURATION)/lib/libmono-native-compat.dylib -m -o $(LIBS_DIR)/watchos/libmono-native-compat.dylib
465 $(ios_PLATFORM_BIN)/bitcode_strip $(TOP)/sdks/out/ios-targetwatch-$(CONFIGURATION)/lib/libmono-native-unified.dylib -m -o $(LIBS_DIR)/watchos/libmono-native-unified.dylib
466 $(ios_PLATFORM_BIN)/lipo $(TOP)/sdks/out/ios-targetwatch-$(CONFIGURATION)/lib/libmono-ee-interp.a -create -output $(LIBS_DIR)/watchos/libmono-ee-interp.a
467 $(ios_PLATFORM_BIN)/lipo $(TOP)/sdks/out/ios-targetwatch-$(CONFIGURATION)/lib/libmono-icall-table.a -create -output $(LIBS_DIR)/watchos/libmono-icall-table.a
468 $(ios_PLATFORM_BIN)/lipo $(TOP)/sdks/out/ios-targetwatch-$(CONFIGURATION)/lib/libmono-ilgen.a -create -output $(LIBS_DIR)/watchos/libmono-ilgen.a
469 $(ios_PLATFORM_BIN)/lipo $(TOP)/sdks/out/ios-targetwatch-$(CONFIGURATION)/lib/libmono-native-compat.a -create -output $(LIBS_DIR)/watchos/libmono-native-compat.a
470 $(ios_PLATFORM_BIN)/lipo $(TOP)/sdks/out/ios-targetwatch-$(CONFIGURATION)/lib/libmono-native-unified.a -create -output $(LIBS_DIR)/watchos/libmono-native-unified.a
471 $(ios_PLATFORM_BIN)/lipo $(TOP)/sdks/out/ios-targetwatch-$(CONFIGURATION)/lib/libmono-profiler-log-static.a -create -output $(LIBS_DIR)/watchos/libmono-profiler-log.a
472 $(ios_PLATFORM_BIN)/lipo $(TOP)/sdks/out/ios-targetwatch-$(CONFIGURATION)/lib/libmonosgen-2.0.a -create -output $(LIBS_DIR)/watchos/libmonosgen-2.0.a
474 $(ios_PLATFORM_BIN)/install_name_tool -id @rpath/libmonosgen-2.0.dylib $(LIBS_DIR)/ios/libmonosgen-2.0.dylib
475 $(ios_PLATFORM_BIN)/install_name_tool -id @rpath/libmono-profiler-log.dylib -change $(TOP)/sdks/out/ios-target32-$(CONFIGURATION)/lib/libmonosgen-2.0.1.dylib @rpath/libmonosgen-2.0.dylib -change $(TOP)/sdks/out/ios-target32s-$(CONFIGURATION)/lib/libmonosgen-2.0.1.dylib @rpath/libmonosgen-2.0.dylib -change $(TOP)/sdks/out/ios-target64-$(CONFIGURATION)/lib/libmonosgen-2.0.1.dylib @rpath/libmonosgen-2.0.dylib $(LIBS_DIR)/ios/libmono-profiler-log.dylib
476 $(ios_PLATFORM_BIN)/install_name_tool -id @rpath/libmono-native-compat.dylib -change $(TOP)/sdks/out/ios-target32-$(CONFIGURATION)/lib/libmonosgen-2.0.1.dylib @rpath/libmonosgen-2.0.dylib -change $(TOP)/sdks/out/ios-target32s-$(CONFIGURATION)/lib/libmonosgen-2.0.1.dylib @rpath/libmonosgen-2.0.dylib -change $(TOP)/sdks/out/ios-target64-$(CONFIGURATION)/lib/libmonosgen-2.0.1.dylib @rpath/libmonosgen-2.0.dylib $(LIBS_DIR)/ios/libmono-native-compat.dylib
477 $(ios_PLATFORM_BIN)/install_name_tool -id @rpath/libmono-native-unified.dylib -change $(TOP)/sdks/out/ios-target32-$(CONFIGURATION)/lib/libmonosgen-2.0.1.dylib @rpath/libmonosgen-2.0.dylib -change $(TOP)/sdks/out/ios-target32s-$(CONFIGURATION)/lib/libmonosgen-2.0.1.dylib @rpath/libmonosgen-2.0.dylib -change $(TOP)/sdks/out/ios-target64-$(CONFIGURATION)/lib/libmonosgen-2.0.1.dylib @rpath/libmonosgen-2.0.dylib $(LIBS_DIR)/ios/libmono-native-unified.dylib
479 $(ios_PLATFORM_BIN)/install_name_tool -id @rpath/libmonosgen-2.0.dylib $(LIBS_DIR)/tvos/libmonosgen-2.0.dylib
480 $(ios_PLATFORM_BIN)/install_name_tool -id @rpath/libmono-profiler-log.dylib -change $(TOP)/sdks/out/ios-targettv-$(CONFIGURATION)/lib/libmonosgen-2.0.1.dylib @rpath/libmonosgen-2.0.dylib $(LIBS_DIR)/tvos/libmono-profiler-log.dylib
481 $(ios_PLATFORM_BIN)/install_name_tool -id @rpath/libmono-native-compat.dylib -change $(TOP)/sdks/out/ios-targettv-$(CONFIGURATION)/lib/libmonosgen-2.0.1.dylib @rpath/libmonosgen-2.0.dylib $(LIBS_DIR)/tvos/libmono-native-compat.dylib
482 $(ios_PLATFORM_BIN)/install_name_tool -id @rpath/libmono-native-unified.dylib -change $(TOP)/sdks/out/ios-targettv-$(CONFIGURATION)/lib/libmonosgen-2.0.1.dylib @rpath/libmonosgen-2.0.dylib $(LIBS_DIR)/tvos/libmono-native-unified.dylib
484 $(ios_PLATFORM_BIN)/install_name_tool -id @rpath/libmonosgen-2.0.dylib $(LIBS_DIR)/watchos/libmonosgen-2.0.dylib
485 $(ios_PLATFORM_BIN)/install_name_tool -id @rpath/libmono-profiler-log.dylib -change $(TOP)/sdks/out/ios-targetwatch-$(CONFIGURATION)/lib/libmonosgen-2.0.1.dylib @rpath/libmonosgen-2.0.dylib $(LIBS_DIR)/watchos/libmono-profiler-log.dylib
486 $(ios_PLATFORM_BIN)/install_name_tool -id @rpath/libmono-native-compat.dylib -change $(TOP)/sdks/out/ios-targetwatch-$(CONFIGURATION)/lib/libmonosgen-2.0.1.dylib @rpath/libmonosgen-2.0.dylib $(LIBS_DIR)/watchos/libmono-native-compat.dylib
487 $(ios_PLATFORM_BIN)/install_name_tool -id @rpath/libmono-native-unified.dylib -change $(TOP)/sdks/out/ios-targetwatch-$(CONFIGURATION)/lib/libmonosgen-2.0.1.dylib @rpath/libmonosgen-2.0.dylib $(LIBS_DIR)/watchos/libmono-native-unified.dylib
489 $(ios_PLATFORM_BIN)/dsymutil -t 4 -o $(LIBS_DIR)/ios/libmonosgen-2.0.dylib.dSYM $(LIBS_DIR)/ios/libmonosgen-2.0.dylib
490 $(ios_PLATFORM_BIN)/dsymutil -t 4 -o $(LIBS_DIR)/ios/libmono-profiler-log.dylib.dSYM $(LIBS_DIR)/ios/libmono-profiler-log.dylib
491 $(ios_PLATFORM_BIN)/dsymutil -t 4 -o $(LIBS_DIR)/ios/libmono-native-compat.dylib.dSYM $(LIBS_DIR)/ios/libmono-native-compat.dylib
492 $(ios_PLATFORM_BIN)/dsymutil -t 4 -o $(LIBS_DIR)/ios/libmono-native-unified.dylib.dSYM $(LIBS_DIR)/ios/libmono-native-unified.dylib
494 $(ios_PLATFORM_BIN)/dsymutil -t 4 -o $(LIBS_DIR)/tvos/libmonosgen-2.0.dylib.dSYM $(LIBS_DIR)/tvos/libmonosgen-2.0.dylib
495 $(ios_PLATFORM_BIN)/dsymutil -t 4 -o $(LIBS_DIR)/tvos/libmono-profiler-log.dylib.dSYM $(LIBS_DIR)/tvos/libmono-profiler-log.dylib
496 $(ios_PLATFORM_BIN)/dsymutil -t 4 -o $(LIBS_DIR)/tvos/libmono-native-compat.dylib.dSYM $(LIBS_DIR)/tvos/libmono-native-compat.dylib
497 $(ios_PLATFORM_BIN)/dsymutil -t 4 -o $(LIBS_DIR)/tvos/libmono-native-unified.dylib.dSYM $(LIBS_DIR)/tvos/libmono-native-unified.dylib
499 $(ios_PLATFORM_BIN)/dsymutil -t 4 -o $(LIBS_DIR)/watchos/libmonosgen-2.0.dylib.dSYM $(LIBS_DIR)/watchos/libmonosgen-2.0.dylib
500 $(ios_PLATFORM_BIN)/dsymutil -t 4 -o $(LIBS_DIR)/watchos/libmono-profiler-log.dylib.dSYM $(LIBS_DIR)/watchos/libmono-profiler-log.dylib
501 $(ios_PLATFORM_BIN)/dsymutil -t 4 -o $(LIBS_DIR)/watchos/libmono-native-compat.dylib.dSYM $(LIBS_DIR)/watchos/libmono-native-compat.dylib
502 $(ios_PLATFORM_BIN)/dsymutil -t 4 -o $(LIBS_DIR)/watchos/libmono-native-unified.dylib.dSYM $(LIBS_DIR)/watchos/libmono-native-unified.dylib
504 ### libs for simulators ###
505 mkdir -p $(LIBS_DIR)/ios-sim/
506 mkdir -p $(LIBS_DIR)/tvos-sim/
507 mkdir -p $(LIBS_DIR)/watchos-sim/
509 $(ios_PLATFORM_BIN)/lipo $(TOP)/sdks/out/ios-sim32-$(CONFIGURATION)/lib/libmonosgen-2.0.dylib $(TOP)/sdks/out/ios-sim64-$(CONFIGURATION)/lib/libmonosgen-2.0.dylib -create -output $(LIBS_DIR)/ios-sim/libmonosgen-2.0.dylib
510 $(ios_PLATFORM_BIN)/lipo $(TOP)/sdks/out/ios-sim32-$(CONFIGURATION)/lib/libmono-profiler-log.dylib $(TOP)/sdks/out/ios-sim64-$(CONFIGURATION)/lib/libmono-profiler-log.dylib -create -output $(LIBS_DIR)/ios-sim/libmono-profiler-log.dylib
511 $(ios_PLATFORM_BIN)/lipo $(TOP)/sdks/out/ios-sim32-$(CONFIGURATION)/lib/libmono-native-compat.dylib $(TOP)/sdks/out/ios-sim64-$(CONFIGURATION)/lib/libmono-native-compat.dylib -create -output $(LIBS_DIR)/ios-sim/libmono-native-compat.dylib
512 $(ios_PLATFORM_BIN)/lipo $(TOP)/sdks/out/ios-sim32-$(CONFIGURATION)/lib/libmono-native-unified.dylib $(TOP)/sdks/out/ios-sim64-$(CONFIGURATION)/lib/libmono-native-unified.dylib -create -output $(LIBS_DIR)/ios-sim/libmono-native-unified.dylib
513 $(ios_PLATFORM_BIN)/lipo $(TOP)/sdks/out/ios-sim32-$(CONFIGURATION)/lib/libmono-native-compat.a $(TOP)/sdks/out/ios-sim64-$(CONFIGURATION)/lib/libmono-native-compat.a -create -output $(LIBS_DIR)/ios-sim/libmono-native-compat.a
514 $(ios_PLATFORM_BIN)/lipo $(TOP)/sdks/out/ios-sim32-$(CONFIGURATION)/lib/libmono-native-unified.a $(TOP)/sdks/out/ios-sim64-$(CONFIGURATION)/lib/libmono-native-unified.a -create -output $(LIBS_DIR)/ios-sim/libmono-native-unified.a
515 $(ios_PLATFORM_BIN)/lipo $(TOP)/sdks/out/ios-sim32-$(CONFIGURATION)/lib/libmono-profiler-log-static.a $(TOP)/sdks/out/ios-sim64-$(CONFIGURATION)/lib/libmono-profiler-log-static.a -create -output $(LIBS_DIR)/ios-sim/libmono-profiler-log.a
516 $(ios_PLATFORM_BIN)/lipo $(TOP)/sdks/out/ios-sim32-$(CONFIGURATION)/lib/libmonosgen-2.0.a $(TOP)/sdks/out/ios-sim64-$(CONFIGURATION)/lib/libmonosgen-2.0.a -create -output $(LIBS_DIR)/ios-sim/libmonosgen-2.0.a
518 $(ios_PLATFORM_BIN)/lipo $(TOP)/sdks/out/ios-simtv-$(CONFIGURATION)/lib/libmonosgen-2.0.dylib -create -output $(LIBS_DIR)/tvos-sim/libmonosgen-2.0.dylib
519 $(ios_PLATFORM_BIN)/lipo $(TOP)/sdks/out/ios-simtv-$(CONFIGURATION)/lib/libmono-profiler-log.dylib -create -output $(LIBS_DIR)/tvos-sim/libmono-profiler-log.dylib
520 $(ios_PLATFORM_BIN)/lipo $(TOP)/sdks/out/ios-simtv-$(CONFIGURATION)/lib/libmono-native-compat.dylib -create -output $(LIBS_DIR)/tvos-sim/libmono-native-compat.dylib
521 $(ios_PLATFORM_BIN)/lipo $(TOP)/sdks/out/ios-simtv-$(CONFIGURATION)/lib/libmono-native-unified.dylib -create -output $(LIBS_DIR)/tvos-sim/libmono-native-unified.dylib
522 $(ios_PLATFORM_BIN)/lipo $(TOP)/sdks/out/ios-simtv-$(CONFIGURATION)/lib/libmono-native-compat.a -create -output $(LIBS_DIR)/tvos-sim/libmono-native-compat.a
523 $(ios_PLATFORM_BIN)/lipo $(TOP)/sdks/out/ios-simtv-$(CONFIGURATION)/lib/libmono-native-unified.a -create -output $(LIBS_DIR)/tvos-sim/libmono-native-unified.a
524 $(ios_PLATFORM_BIN)/lipo $(TOP)/sdks/out/ios-simtv-$(CONFIGURATION)/lib/libmono-profiler-log-static.a -create -output $(LIBS_DIR)/tvos-sim/libmono-profiler-log.a
525 $(ios_PLATFORM_BIN)/lipo $(TOP)/sdks/out/ios-simtv-$(CONFIGURATION)/lib/libmonosgen-2.0.a -create -output $(LIBS_DIR)/tvos-sim/libmonosgen-2.0.a
527 $(ios_PLATFORM_BIN)/lipo $(TOP)/sdks/out/ios-simwatch-$(CONFIGURATION)/lib/libmonosgen-2.0.dylib -create -output $(LIBS_DIR)/watchos-sim/libmonosgen-2.0.dylib
528 $(ios_PLATFORM_BIN)/lipo $(TOP)/sdks/out/ios-simwatch-$(CONFIGURATION)/lib/libmono-profiler-log.dylib -create -output $(LIBS_DIR)/watchos-sim/libmono-profiler-log.dylib
529 $(ios_PLATFORM_BIN)/lipo $(TOP)/sdks/out/ios-simwatch-$(CONFIGURATION)/lib/libmono-native-compat.dylib -create -output $(LIBS_DIR)/watchos-sim/libmono-native-compat.dylib
530 $(ios_PLATFORM_BIN)/lipo $(TOP)/sdks/out/ios-simwatch-$(CONFIGURATION)/lib/libmono-native-unified.dylib -create -output $(LIBS_DIR)/watchos-sim/libmono-native-unified.dylib
531 $(ios_PLATFORM_BIN)/lipo $(TOP)/sdks/out/ios-simwatch-$(CONFIGURATION)/lib/libmono-native-compat.a -create -output $(LIBS_DIR)/watchos-sim/libmono-native-compat.a
532 $(ios_PLATFORM_BIN)/lipo $(TOP)/sdks/out/ios-simwatch-$(CONFIGURATION)/lib/libmono-native-unified.a -create -output $(LIBS_DIR)/watchos-sim/libmono-native-unified.a
533 $(ios_PLATFORM_BIN)/lipo $(TOP)/sdks/out/ios-simwatch-$(CONFIGURATION)/lib/libmono-profiler-log-static.a -create -output $(LIBS_DIR)/watchos-sim/libmono-profiler-log.a
534 $(ios_PLATFORM_BIN)/lipo $(TOP)/sdks/out/ios-simwatch-$(CONFIGURATION)/lib/libmonosgen-2.0.a -create -output $(LIBS_DIR)/watchos-sim/libmonosgen-2.0.a
536 $(ios_PLATFORM_BIN)/install_name_tool -id @rpath/libmonosgen-2.0.dylib $(LIBS_DIR)/ios-sim/libmonosgen-2.0.dylib
537 $(ios_PLATFORM_BIN)/install_name_tool -id @rpath/libmono-profiler-log.dylib $(LIBS_DIR)/ios-sim/libmono-profiler-log.dylib
538 $(ios_PLATFORM_BIN)/install_name_tool -id @rpath/libmono-native-compat.dylib $(LIBS_DIR)/ios-sim/libmono-native-compat.dylib
539 $(ios_PLATFORM_BIN)/install_name_tool -id @rpath/libmono-native-unified.dylib $(LIBS_DIR)/ios-sim/libmono-native-unified.dylib
541 $(ios_PLATFORM_BIN)/install_name_tool -id @rpath/libmonosgen-2.0.dylib $(LIBS_DIR)/tvos-sim/libmonosgen-2.0.dylib
542 $(ios_PLATFORM_BIN)/install_name_tool -id @rpath/libmono-profiler-log.dylib $(LIBS_DIR)/tvos-sim/libmono-profiler-log.dylib
543 $(ios_PLATFORM_BIN)/install_name_tool -id @rpath/libmono-native-compat.dylib $(LIBS_DIR)/tvos-sim/libmono-native-compat.dylib
544 $(ios_PLATFORM_BIN)/install_name_tool -id @rpath/libmono-native-unified.dylib $(LIBS_DIR)/tvos-sim/libmono-native-unified.dylib
546 $(ios_PLATFORM_BIN)/install_name_tool -id @rpath/libmonosgen-2.0.dylib $(LIBS_DIR)/watchos-sim/libmonosgen-2.0.dylib
547 $(ios_PLATFORM_BIN)/install_name_tool -id @rpath/libmono-profiler-log.dylib $(LIBS_DIR)/watchos-sim/libmono-profiler-log.dylib
548 $(ios_PLATFORM_BIN)/install_name_tool -id @rpath/libmono-native-compat.dylib $(LIBS_DIR)/watchos-sim/libmono-native-compat.dylib
549 $(ios_PLATFORM_BIN)/install_name_tool -id @rpath/libmono-native-unified.dylib $(LIBS_DIR)/watchos-sim/libmono-native-unified.dylib
551 $(ios_PLATFORM_BIN)/dsymutil -t 4 -o $(LIBS_DIR)/ios-sim/libmonosgen-2.0.dylib.dSYM $(LIBS_DIR)/ios-sim/libmonosgen-2.0.dylib
552 $(ios_PLATFORM_BIN)/dsymutil -t 4 -o $(LIBS_DIR)/ios-sim/libmono-profiler-log.dylib.dSYM $(LIBS_DIR)/ios-sim/libmono-profiler-log.dylib
553 $(ios_PLATFORM_BIN)/dsymutil -t 4 -o $(LIBS_DIR)/ios-sim/libmono-native-compat.dylib.dSYM $(LIBS_DIR)/ios-sim/libmono-native-compat.dylib
554 $(ios_PLATFORM_BIN)/dsymutil -t 4 -o $(LIBS_DIR)/ios-sim/libmono-native-unified.dylib.dSYM $(LIBS_DIR)/ios-sim/libmono-native-unified.dylib
556 $(ios_PLATFORM_BIN)/dsymutil -t 4 -o $(LIBS_DIR)/tvos-sim/libmonosgen-2.0.dylib.dSYM $(LIBS_DIR)/tvos-sim/libmonosgen-2.0.dylib
557 $(ios_PLATFORM_BIN)/dsymutil -t 4 -o $(LIBS_DIR)/tvos-sim/libmono-profiler-log.dylib.dSYM $(LIBS_DIR)/tvos-sim/libmono-profiler-log.dylib
558 $(ios_PLATFORM_BIN)/dsymutil -t 4 -o $(LIBS_DIR)/tvos-sim/libmono-native-compat.dylib.dSYM $(LIBS_DIR)/tvos-sim/libmono-native-compat.dylib
559 $(ios_PLATFORM_BIN)/dsymutil -t 4 -o $(LIBS_DIR)/tvos-sim/libmono-native-unified.dylib.dSYM $(LIBS_DIR)/tvos-sim/libmono-native-unified.dylib
561 $(ios_PLATFORM_BIN)/dsymutil -t 4 -o $(LIBS_DIR)/watchos-sim/libmonosgen-2.0.dylib.dSYM $(LIBS_DIR)/watchos-sim/libmonosgen-2.0.dylib
562 $(ios_PLATFORM_BIN)/dsymutil -t 4 -o $(LIBS_DIR)/watchos-sim/libmono-profiler-log.dylib.dSYM $(LIBS_DIR)/watchos-sim/libmono-profiler-log.dylib
563 $(ios_PLATFORM_BIN)/dsymutil -t 4 -o $(LIBS_DIR)/watchos-sim/libmono-native-compat.dylib.dSYM $(LIBS_DIR)/watchos-sim/libmono-native-compat.dylib
564 $(ios_PLATFORM_BIN)/dsymutil -t 4 -o $(LIBS_DIR)/watchos-sim/libmono-native-unified.dylib.dSYM $(LIBS_DIR)/watchos-sim/libmono-native-unified.dylib
567 # BCL builds
569 $(eval $(call BclTemplate,ios,monotouch monotouch_runtime monotouch_tv monotouch_tv_runtime monotouch_watch monotouch_watch_runtime monotouch_tools,monotouch monotouch_tv monotouch_watch))