2016-04-21 15:58:45 +03:00
|
|
|
|
TOP=../..
|
|
|
|
|
include $(TOP)/Make.config
|
|
|
|
|
|
|
|
|
|
# without this many compiler warnings about unused functions and variables
|
|
|
|
|
# in system headers show up.
|
|
|
|
|
export CCACHE_CPP2=1
|
|
|
|
|
|
2016-09-30 22:02:17 +03:00
|
|
|
|
SIMLAUNCHERS = simlauncher32-sgen simlauncher64-sgen
|
2016-04-21 15:58:45 +03:00
|
|
|
|
|
|
|
|
|
UNREFERENCED_SYMBOLS = \
|
2016-05-13 14:16:37 +03:00
|
|
|
|
_xamarin_dyn_objc_msgSend \
|
|
|
|
|
_xamarin_dyn_objc_msgSendSuper \
|
|
|
|
|
_xamarin_dyn_objc_msgSend_stret \
|
|
|
|
|
_xamarin_dyn_objc_msgSendSuper_stret \
|
2016-04-21 15:58:45 +03:00
|
|
|
|
_xamarin_init_nsthread \
|
|
|
|
|
_xamarin_get_block_descriptor \
|
|
|
|
|
_xamarin_get_locale_country_code \
|
|
|
|
|
_xamarin_log \
|
2018-01-22 16:21:24 +03:00
|
|
|
|
_xamarin_localized_string_format \
|
|
|
|
|
_xamarin_localized_string_format_1 \
|
|
|
|
|
_xamarin_localized_string_format_2 \
|
|
|
|
|
_xamarin_localized_string_format_3 \
|
|
|
|
|
_xamarin_localized_string_format_4 \
|
|
|
|
|
_xamarin_localized_string_format_5 \
|
|
|
|
|
_xamarin_localized_string_format_6 \
|
|
|
|
|
_xamarin_localized_string_format_7 \
|
|
|
|
|
_xamarin_localized_string_format_8 \
|
|
|
|
|
_xamarin_localized_string_format_9 \
|
2016-04-21 15:58:45 +03:00
|
|
|
|
_xamarin_start_wwan \
|
|
|
|
|
_xamarin_timezone_get_data \
|
|
|
|
|
_xamarin_timezone_get_names \
|
Bump to mono:2019-06 (#6196)
* Use the commonly used casing for `MSBuildSDKsPath` property
Handle "incorrectly" cased msbuild property names
msbuild property names are case insensitive. While generating the custom
app.config, in `SetToolsetProperty(..)` we try to update the property if
it already exists. But the name lookup was case sensitive, thus causing
the lookup to fail, resulting in two entries for the same property name
differing only in case. Eg. `MSBuildSDKsPath` vs `MSBuildSdksPath`.
* [mtouch] Whitelist new Brotli native symbols in Xamarin.Tests.Misc.PublicSymbols test
* [mtouch] Better assert in NoLLVMFailuresInWatchOS() test
We'd list the "LLVM failed" messages before even though the AOT might've crashed and the list is meaningless. Assert the exit code before that.
* [mtouch] Use new LLVM even for 32bit targets
See https://github.com/mono/mono/issues/14841 and https://github.com/mono/mono/issues/9621
* [mtouch] Work around slow LLVM in "don't link" test
See https://github.com/mono/mono/issues/14843
* Remove useless conditional
* Remove LLVM36 from Makefile
* [watch4] set right min version for arm64_32 based watch devices (#6307)
Fixes the confusion around `libmono-native*` (see for example https://github.com/xamarin/xamarin-macios/commit/ce5ba1e41d526eddd9b61f68fae22a747831e9f2#commitcomment-33834491 ) when building with `MONO_BUILD_FROM_SOURCE=1`.
* reflect watchos64_32_version_min change from mono sdk
* Move mono hash info to mk/mono.mk so that existing scripts work.
* Add Makefile dependency on mono.mk where necessary
With https://github.com/xamarin/xamarin-macios/commit/3e7bc29adec8dff3558c284a3050f2db36ea3cf2 the Mono hash was moved from Make.config to mono.mk.
We need to add a Makefile dependency on this file wherever Make.config was used to track a Mono dependency.
* [tests] Copy mk/mono.mk to the XM test package.
* [tests] Update minOS version test after consolidating min watchOS versions everywhere.
Fixes this mtouch and mmptest failure:
1) Failed : Xamarin.Tests.ProductTests.MinOSVersion(watchOS,MinwatchOS,WatchOSSimulator,False)
Failures
Expected: <empty>
But was: < "Unexpected minOS version (expected 2.0.0, alternatively 2.0.0, found 5.1.0) in /Users/builder/jenkins/workspace/xamarin-macios/xamarin-macios/_ios-build/Library/Frameworks/Xamarin.iOS.framework/Versions/git/SDKs/Xamarin.WatchSimulator.sdk/usr/lib/libxamarin-debug.a (mono-runtime-debug.arm64_32.o).", "Unexpected minOS version (expected 2.0.0, alternatively 2.0.0, found 5.1.0) in /Users/builder/jenkins/workspace/xamarin-macios/xamarin-macios/_ios-build/Library/Frameworks/Xamarin.iOS.framework/Versions/git/SDKs/Xamarin.WatchSimulator.sdk/usr/lib/libxamarin-debug.a (bindings-debug.arm64_32.o).", "Unexpected minOS version (expected 2.0.0, alternatively 2.0.0, found 5.1.0) in /Users/builder/jenkins/workspace/xamarin-macios/xamarin-macios/_ios-build/Library/Frameworks/Xamarin.iOS.framework/Versions/git/SDKs/Xamarin.WatchSimulator.sdk/usr/lib/libxamarin-debug.a (bindings-generated-debug.arm64_32.o).", "Unexpected minOS version (expected 2.0.0, alternatively 2.0.0, found 5.1.0) in /Users/builder/jenkins/workspace/xamarin-macios/xamarin-macios/_ios-build/Library/Frameworks/Xamarin.iOS.framework/Versions/git/SDKs/Xamarin.WatchSimulator.sdk/usr/lib/libxamarin-debug.a (shared-debug.arm64_32.o).", "Unexpected minOS version (expected 2.0.0, alternatively 2.0.0, found 5.1.0) in /Users/builder/jenkins/workspace/xamarin-macios/xamarin-macios/_ios-build/Library/Frameworks/Xamarin.iOS.framework/Versions/git/SDKs/Xamarin.WatchSimulator.sdk/usr/lib/libxamarin-debug.a (runtime-debug.arm64_32.o).", "Unexpected minOS version (expected 2.0.0, alternatively 2.0.0, found 5.1.0) in /Users/builder/jenkins/workspace/xamarin-macios/xamarin-macios/_ios-build/Library/Frameworks/Xamarin.iOS.framework/Versions/git/SDKs/Xamarin.WatchSimulator.sdk/usr/lib/libxamarin-debug.a (trampolines-debug.arm64_32.o).", "Unexpected minOS version (expected 2.0.0, alternatively 2.0.0, found 5.1.0) in /Users/builder/jenkins/workspace/xamarin-macios/xamarin-macios/_ios-build/Library/Frameworks/Xamarin.iOS.framework/Versions/git/SDKs/Xamarin.WatchSimulator.sdk/usr/lib/libxamarin-debug.a (trampolines-invoke-debug.arm64_32.o).", "Unexpected minOS version (expected 2.0.0, alternatively 2.0.0, found 5.1.0) in /Users/builder/jenkins/workspace/xamarin-macios/xamarin-macios/_ios-build/Library/Frameworks/Xamarin.iOS.framework/Versions/git/SDKs/Xamarin.WatchSimulator.sdk/usr/lib/libxamarin-debug.a (xamarin-support-debug.arm64_32.o).", "Unexpected minOS version (expected 2.0.0, alternatively 2.0.0, found 5.1.0) in /Users/builder/jenkins/workspace/xamarin-macios/xamarin-macios/_ios-build/Library/Frameworks/Xamarin.iOS.framework/Versions/git/SDKs/Xamarin.WatchSimulator.sdk/usr/lib/libxamarin-debug.a (nsstring-localization-debug.arm64_32.o).", "Unexpected minOS version (expected 2.0.0, alternatively 2.0.0, found 5.1.0) in /Users/builder/jenkins/workspace/xamarin-macios/xamarin-macios/_ios-build/Library/Frameworks/Xamarin.iOS.framework/Versions/git/SDKs/Xamarin.WatchSimulator.sdk/usr/lib/libxamarin-debug.a (trampolines-varargs-debug.arm64_32.o)."... >
* [mmp] Fix make clean target
It needs an -r to remove directories:
```
rm: bin: is a directory
rm: obj: is a directory
```
* Add new xamarin_timezone_get_local_name() to a few more places
2019-07-16 18:24:00 +03:00
|
|
|
|
_xamarin_timezone_get_local_name \
|
2016-04-21 15:58:45 +03:00
|
|
|
|
_xamarin_IntPtr_objc_msgSend_IntPtr \
|
|
|
|
|
_xamarin_IntPtr_objc_msgSendSuper_IntPtr \
|
|
|
|
|
_xamarin_release_managed_ref \
|
|
|
|
|
_xamarin_create_managed_ref \
|
2018-01-22 16:21:24 +03:00
|
|
|
|
_xamarin_CGPoint__VNNormalizedFaceBoundingBoxPointForLandmarkPoint_Vector2_CGRect_nuint_nuint_string \
|
|
|
|
|
_xamarin_CGPoint__VNImagePointForFaceLandmarkPoint_Vector2_CGRect_nuint_nuint_string \
|
2016-04-21 15:58:45 +03:00
|
|
|
|
_CloseZStream \
|
|
|
|
|
_CreateZStream \
|
|
|
|
|
_Flush \
|
|
|
|
|
_ReadZStream \
|
|
|
|
|
_WriteZStream
|
|
|
|
|
|
|
|
|
|
# The frameworks order is important as some symbols can be duplicated
|
|
|
|
|
# e.g. NSURLResponse is both in CFNetwork and Foundation in iOS8 but linking to
|
|
|
|
|
# CFNetwork will result in binaries that won't work with earlier iOS versions
|
|
|
|
|
SIMLAUNCHER_FRAMEWORKS = \
|
|
|
|
|
-framework CoreFoundation \
|
|
|
|
|
-framework CoreGraphics \
|
|
|
|
|
-framework Foundation \
|
|
|
|
|
-framework AVFoundation \
|
|
|
|
|
-framework Accelerate \
|
|
|
|
|
-framework AddressBook \
|
|
|
|
|
-framework AddressBookUI \
|
|
|
|
|
-framework AudioToolbox \
|
|
|
|
|
-framework CFNetwork \
|
|
|
|
|
-framework CoreAudio \
|
|
|
|
|
-framework CoreData \
|
|
|
|
|
-framework CoreLocation \
|
|
|
|
|
-framework CoreText \
|
|
|
|
|
-framework ExternalAccessory \
|
|
|
|
|
-framework GameKit \
|
|
|
|
|
-framework MapKit \
|
|
|
|
|
-framework MediaPlayer \
|
|
|
|
|
-framework MessageUI \
|
|
|
|
|
-framework MobileCoreServices \
|
|
|
|
|
-framework OpenAL \
|
|
|
|
|
-framework OpenGLES \
|
|
|
|
|
-framework StoreKit \
|
|
|
|
|
-framework SystemConfiguration \
|
|
|
|
|
-framework UIKit \
|
|
|
|
|
\
|
|
|
|
|
-weak_framework AssetsLibrary \
|
|
|
|
|
-weak_framework CoreMedia \
|
|
|
|
|
-weak_framework CoreMidi \
|
|
|
|
|
-weak_framework CoreMotion \
|
|
|
|
|
-weak_framework CoreTelephony \
|
|
|
|
|
-weak_framework CoreVideo \
|
|
|
|
|
-weak_framework EventKit \
|
|
|
|
|
-weak_framework EventKitUI \
|
|
|
|
|
-weak_framework ImageIO \
|
|
|
|
|
-weak_framework Security \
|
|
|
|
|
-weak_framework QuickLook \
|
|
|
|
|
-weak_framework iAd \
|
|
|
|
|
-weak_framework Accounts \
|
|
|
|
|
-weak_framework GLKit \
|
|
|
|
|
-weak_framework NewsstandKit \
|
|
|
|
|
-weak_framework CoreImage \
|
|
|
|
|
-weak_framework CoreBluetooth \
|
|
|
|
|
-weak_framework Twitter \
|
|
|
|
|
-weak_framework PassKit \
|
|
|
|
|
-weak_framework Social \
|
|
|
|
|
-weak_framework AdSupport \
|
|
|
|
|
-weak_framework JavaScriptCore \
|
|
|
|
|
-weak_framework MultipeerConnectivity \
|
|
|
|
|
-weak_framework SafariServices \
|
|
|
|
|
-weak_framework SpriteKit \
|
|
|
|
|
\
|
|
|
|
|
-weak_framework HomeKit \
|
|
|
|
|
-weak_framework HealthKit \
|
|
|
|
|
-weak_framework LocalAuthentication \
|
|
|
|
|
-weak_framework NotificationCenter \
|
|
|
|
|
-weak_framework PushKit \
|
|
|
|
|
-weak_framework Photos \
|
|
|
|
|
-weak_framework PhotosUI \
|
|
|
|
|
-weak_framework SceneKit \
|
|
|
|
|
-weak_framework CloudKit \
|
|
|
|
|
-weak_framework AVKit \
|
|
|
|
|
-weak_framework WebKit \
|
|
|
|
|
-weak_framework NetworkExtension \
|
|
|
|
|
-weak_framework Metal \
|
|
|
|
|
-weak_framework CoreAudioKit \
|
|
|
|
|
\
|
|
|
|
|
-weak_framework ReplayKit \
|
|
|
|
|
-weak_framework Contacts \
|
|
|
|
|
-weak_framework ContactsUI \
|
|
|
|
|
-weak_framework CoreSpotlight \
|
|
|
|
|
-weak_framework WatchConnectivity \
|
|
|
|
|
-weak_framework ModelIO \
|
|
|
|
|
-weak_framework GameplayKit \
|
2018-07-27 17:30:08 +03:00
|
|
|
|
-weak_framework Metal \
|
|
|
|
|
-weak_framework MetalKit \
|
|
|
|
|
-weak_framework MetalPerformanceShaders \
|
2016-04-21 15:58:45 +03:00
|
|
|
|
\
|
2016-06-18 16:20:38 +03:00
|
|
|
|
-weak_framework HealthKitUI \
|
|
|
|
|
\
|
2016-06-15 22:32:48 +03:00
|
|
|
|
-weak_framework CallKit \
|
2016-06-21 15:56:38 +03:00
|
|
|
|
-weak_framework Messages \
|
2016-06-15 23:51:21 +03:00
|
|
|
|
-weak_framework Speech \
|
2016-06-21 15:56:38 +03:00
|
|
|
|
-weak_framework VideoSubscriberAccount \
|
2016-07-04 22:41:22 +03:00
|
|
|
|
-weak_framework UserNotifications \
|
2016-07-13 00:21:35 +03:00
|
|
|
|
-weak_framework UserNotificationsUI \
|
2016-07-15 03:42:48 +03:00
|
|
|
|
-weak_framework Intents \
|
2017-06-23 03:02:17 +03:00
|
|
|
|
-weak_framework IntentsUI \
|
|
|
|
|
\
|
2017-07-24 18:12:30 +03:00
|
|
|
|
-weak_framework ARKit \
|
|
|
|
|
-weak_framework FileProvider \
|
2018-02-08 00:05:45 +03:00
|
|
|
|
-weak_framework FileProviderUI \
|
|
|
|
|
\
|
|
|
|
|
-weak_framework IdentityLookup \
|
2018-04-05 18:20:05 +03:00
|
|
|
|
-weak_framework BusinessChat \
|
2018-05-29 21:23:16 +03:00
|
|
|
|
-weak_framework ClassKit \
|
2018-06-12 22:12:20 +03:00
|
|
|
|
\
|
2018-06-13 21:06:37 +03:00
|
|
|
|
-weak_framework AuthenticationServices \
|
2018-06-12 22:12:20 +03:00
|
|
|
|
-weak_framework CarPlay \
|
2019-09-10 05:58:39 +03:00
|
|
|
|
-weak_framework IdentityLookupUI \
|
2018-06-14 20:21:44 +03:00
|
|
|
|
-weak_framework NaturalLanguage \
|
2018-07-05 22:01:47 +03:00
|
|
|
|
-weak_framework Network \
|
2018-06-16 04:46:35 +03:00
|
|
|
|
-weak_framework IdentityLookupUI \
|
2019-09-10 20:03:26 +03:00
|
|
|
|
-weak_framework VisionKit \
|
2019-09-10 05:58:39 +03:00
|
|
|
|
\
|
|
|
|
|
-weak_framework BackgroundTasks \
|
2019-09-10 20:03:26 +03:00
|
|
|
|
-weak_framework CoreHaptics \
|
2019-09-10 05:58:39 +03:00
|
|
|
|
-weak_framework LinkPresentation \
|
2019-09-11 22:46:38 +03:00
|
|
|
|
-weak_framework MetricKit \
|
2019-09-10 05:58:39 +03:00
|
|
|
|
-weak_framework PencilKit \
|
|
|
|
|
-weak_framework QuickLookThumbnailing \
|
|
|
|
|
-weak_framework SoundAnalysis \
|
|
|
|
|
-weak_framework VisionKit \
|
|
|
|
|
|
|
|
|
|
# keep the above list of weak_framework
|
|
|
|
|
# 1. grouped by iOS versions;
|
|
|
|
|
# 2. sorted and
|
|
|
|
|
# 3. in sync with the list inside `tools/common/Frameworks.cs`
|
|
|
|
|
# except it is no a mistake that GameController and MediaAccessibility (#13636) are not built into simlauncher
|
2016-04-21 15:58:45 +03:00
|
|
|
|
|
|
|
|
|
# note: there _was_ no CoreAudioKit.framework or Metal.framework for the simulator (before recent iOS9 betas)
|
|
|
|
|
# note 2: there's no GameKit, in iOS 9 (beta 3 at least), you're supposed to reference GameCenter instead (looks fixed in beta 4)
|
|
|
|
|
# note 3: there's no MetalKit or MetalPerformanceShaders in iOS 9 beta 4 - but other frameworks were added
|
|
|
|
|
# note 4: GameCenter was removed in Xcode 7 beta 5, and GameKit is back.
|
2018-07-27 17:30:08 +03:00
|
|
|
|
# note 5: Metal* seems to be supported as of some Xcode 7 beta (b2 didn't, but the final release does)
|
2019-06-04 23:43:49 +03:00
|
|
|
|
# note 6: Xcode 11 beta 1 shipped without WatchKit.
|
2019-08-14 18:46:55 +03:00
|
|
|
|
# note 7: Xcode 11 beta 3 documented that shipping without WatchKit was done on purpose (in the release notes).
|
2016-04-21 15:58:45 +03:00
|
|
|
|
|
|
|
|
|
define SimlauncherTemplate
|
|
|
|
|
|
2019-10-30 18:40:05 +03:00
|
|
|
|
simlauncher$(3)-sgen: simlauncher.mm $(TOP)/runtime/.libs/iphonesimulator/libxamarin-debug.a Makefile Xamarin.iOS.registrar.ios.simulator.a
|
2019-05-12 19:06:06 +03:00
|
|
|
|
$(QT_CC) $(SIMULATOR_CC) -DDEBUG -DSIMLAUNCHER $(1) -gdwarf-2 \
|
2019-10-03 17:38:44 +03:00
|
|
|
|
-L$(TOP)/runtime/.libs/iphonesimulator \
|
2016-04-21 15:58:45 +03:00
|
|
|
|
-I$(TOP)/runtime \
|
2019-05-12 19:06:06 +03:00
|
|
|
|
$(MONO_IOS_SDK_DESTDIR)/ios-libs/ios-sim/libmonosgen-2.0.a \
|
2016-04-21 15:58:45 +03:00
|
|
|
|
$(foreach u,$(UNREFERENCED_SYMBOLS),-u $u) \
|
2019-10-03 17:38:44 +03:00
|
|
|
|
$(TOP)/runtime/.libs/iphonesimulator/libapp.a \
|
2016-04-21 15:58:45 +03:00
|
|
|
|
-Wl,-w \
|
2019-10-30 18:40:05 +03:00
|
|
|
|
-lz -liconv $(TOP)/runtime/.libs/iphonesimulator/libxamarin-debug.a simlauncher.mm $(SIMLAUNCHER_FRAMEWORKS) $(SIMULATOR$(2)_OBJC_CFLAGS) -o $$@
|
2019-09-16 17:08:13 +03:00
|
|
|
|
$(Q) xcrun otool -L $$@ > $$@.frameworks
|
2016-04-21 15:58:45 +03:00
|
|
|
|
endef
|
|
|
|
|
|
2019-05-12 19:06:06 +03:00
|
|
|
|
$(eval $(call SimlauncherTemplate,-DXAMCORE_2_0 Xamarin.iOS.registrar.ios.simulator.a,86,32))
|
|
|
|
|
$(eval $(call SimlauncherTemplate,-DXAMCORE_2_0 Xamarin.iOS.registrar.ios.simulator.a,64,64))
|
2016-04-21 15:58:45 +03:00
|
|
|
|
|
2018-08-23 14:27:44 +03:00
|
|
|
|
#
|
|
|
|
|
# mtouch
|
|
|
|
|
#
|
2016-04-21 15:58:45 +03:00
|
|
|
|
|
2018-08-23 14:27:44 +03:00
|
|
|
|
MTOUCH_CONF=Release
|
|
|
|
|
MTOUCH_DIR=bin/$(MTOUCH_CONF)
|
|
|
|
|
LOCAL_MTOUCH=$(MTOUCH_DIR)/mtouch.exe
|
2016-04-21 15:58:45 +03:00
|
|
|
|
|
2018-08-23 14:27:44 +03:00
|
|
|
|
# mtouch.csproj.inc contains the mtouch_dependencies variable used to determine if mtouch needs to be rebuilt or not.
|
Bump to mono:2019-06 (#6196)
* Use the commonly used casing for `MSBuildSDKsPath` property
Handle "incorrectly" cased msbuild property names
msbuild property names are case insensitive. While generating the custom
app.config, in `SetToolsetProperty(..)` we try to update the property if
it already exists. But the name lookup was case sensitive, thus causing
the lookup to fail, resulting in two entries for the same property name
differing only in case. Eg. `MSBuildSDKsPath` vs `MSBuildSdksPath`.
* [mtouch] Whitelist new Brotli native symbols in Xamarin.Tests.Misc.PublicSymbols test
* [mtouch] Better assert in NoLLVMFailuresInWatchOS() test
We'd list the "LLVM failed" messages before even though the AOT might've crashed and the list is meaningless. Assert the exit code before that.
* [mtouch] Use new LLVM even for 32bit targets
See https://github.com/mono/mono/issues/14841 and https://github.com/mono/mono/issues/9621
* [mtouch] Work around slow LLVM in "don't link" test
See https://github.com/mono/mono/issues/14843
* Remove useless conditional
* Remove LLVM36 from Makefile
* [watch4] set right min version for arm64_32 based watch devices (#6307)
Fixes the confusion around `libmono-native*` (see for example https://github.com/xamarin/xamarin-macios/commit/ce5ba1e41d526eddd9b61f68fae22a747831e9f2#commitcomment-33834491 ) when building with `MONO_BUILD_FROM_SOURCE=1`.
* reflect watchos64_32_version_min change from mono sdk
* Move mono hash info to mk/mono.mk so that existing scripts work.
* Add Makefile dependency on mono.mk where necessary
With https://github.com/xamarin/xamarin-macios/commit/3e7bc29adec8dff3558c284a3050f2db36ea3cf2 the Mono hash was moved from Make.config to mono.mk.
We need to add a Makefile dependency on this file wherever Make.config was used to track a Mono dependency.
* [tests] Copy mk/mono.mk to the XM test package.
* [tests] Update minOS version test after consolidating min watchOS versions everywhere.
Fixes this mtouch and mmptest failure:
1) Failed : Xamarin.Tests.ProductTests.MinOSVersion(watchOS,MinwatchOS,WatchOSSimulator,False)
Failures
Expected: <empty>
But was: < "Unexpected minOS version (expected 2.0.0, alternatively 2.0.0, found 5.1.0) in /Users/builder/jenkins/workspace/xamarin-macios/xamarin-macios/_ios-build/Library/Frameworks/Xamarin.iOS.framework/Versions/git/SDKs/Xamarin.WatchSimulator.sdk/usr/lib/libxamarin-debug.a (mono-runtime-debug.arm64_32.o).", "Unexpected minOS version (expected 2.0.0, alternatively 2.0.0, found 5.1.0) in /Users/builder/jenkins/workspace/xamarin-macios/xamarin-macios/_ios-build/Library/Frameworks/Xamarin.iOS.framework/Versions/git/SDKs/Xamarin.WatchSimulator.sdk/usr/lib/libxamarin-debug.a (bindings-debug.arm64_32.o).", "Unexpected minOS version (expected 2.0.0, alternatively 2.0.0, found 5.1.0) in /Users/builder/jenkins/workspace/xamarin-macios/xamarin-macios/_ios-build/Library/Frameworks/Xamarin.iOS.framework/Versions/git/SDKs/Xamarin.WatchSimulator.sdk/usr/lib/libxamarin-debug.a (bindings-generated-debug.arm64_32.o).", "Unexpected minOS version (expected 2.0.0, alternatively 2.0.0, found 5.1.0) in /Users/builder/jenkins/workspace/xamarin-macios/xamarin-macios/_ios-build/Library/Frameworks/Xamarin.iOS.framework/Versions/git/SDKs/Xamarin.WatchSimulator.sdk/usr/lib/libxamarin-debug.a (shared-debug.arm64_32.o).", "Unexpected minOS version (expected 2.0.0, alternatively 2.0.0, found 5.1.0) in /Users/builder/jenkins/workspace/xamarin-macios/xamarin-macios/_ios-build/Library/Frameworks/Xamarin.iOS.framework/Versions/git/SDKs/Xamarin.WatchSimulator.sdk/usr/lib/libxamarin-debug.a (runtime-debug.arm64_32.o).", "Unexpected minOS version (expected 2.0.0, alternatively 2.0.0, found 5.1.0) in /Users/builder/jenkins/workspace/xamarin-macios/xamarin-macios/_ios-build/Library/Frameworks/Xamarin.iOS.framework/Versions/git/SDKs/Xamarin.WatchSimulator.sdk/usr/lib/libxamarin-debug.a (trampolines-debug.arm64_32.o).", "Unexpected minOS version (expected 2.0.0, alternatively 2.0.0, found 5.1.0) in /Users/builder/jenkins/workspace/xamarin-macios/xamarin-macios/_ios-build/Library/Frameworks/Xamarin.iOS.framework/Versions/git/SDKs/Xamarin.WatchSimulator.sdk/usr/lib/libxamarin-debug.a (trampolines-invoke-debug.arm64_32.o).", "Unexpected minOS version (expected 2.0.0, alternatively 2.0.0, found 5.1.0) in /Users/builder/jenkins/workspace/xamarin-macios/xamarin-macios/_ios-build/Library/Frameworks/Xamarin.iOS.framework/Versions/git/SDKs/Xamarin.WatchSimulator.sdk/usr/lib/libxamarin-debug.a (xamarin-support-debug.arm64_32.o).", "Unexpected minOS version (expected 2.0.0, alternatively 2.0.0, found 5.1.0) in /Users/builder/jenkins/workspace/xamarin-macios/xamarin-macios/_ios-build/Library/Frameworks/Xamarin.iOS.framework/Versions/git/SDKs/Xamarin.WatchSimulator.sdk/usr/lib/libxamarin-debug.a (nsstring-localization-debug.arm64_32.o).", "Unexpected minOS version (expected 2.0.0, alternatively 2.0.0, found 5.1.0) in /Users/builder/jenkins/workspace/xamarin-macios/xamarin-macios/_ios-build/Library/Frameworks/Xamarin.iOS.framework/Versions/git/SDKs/Xamarin.WatchSimulator.sdk/usr/lib/libxamarin-debug.a (trampolines-varargs-debug.arm64_32.o)."... >
* [mmp] Fix make clean target
It needs an -r to remove directories:
```
rm: bin: is a directory
rm: obj: is a directory
```
* Add new xamarin_timezone_get_local_name() to a few more places
2019-07-16 18:24:00 +03:00
|
|
|
|
mtouch.csproj.inc: Makefile ../common/create-makefile-fragment.sh $(TOP)/Make.config $(TOP)/mk/mono.mk
|
2019-05-27 14:34:36 +03:00
|
|
|
|
$(Q_GEN) ../common/create-makefile-fragment.sh $(CURDIR)/mtouch.csproj
|
2016-04-21 15:58:45 +03:00
|
|
|
|
|
2018-08-23 14:27:44 +03:00
|
|
|
|
-include mtouch.csproj.inc
|
2016-04-26 00:04:23 +03:00
|
|
|
|
|
2018-08-23 14:27:44 +03:00
|
|
|
|
$(MTOUCH_DIR)/mtouch.exe: $(mtouch_dependencies)
|
2019-05-24 20:44:49 +03:00
|
|
|
|
$(Q_GEN) $(SYSTEM_MSBUILD) $(TOP)/Xamarin.iOS.sln "/t:mtouch" $(XBUILD_VERBOSITY) /p:Configuration=$(MTOUCH_CONF)
|
2016-04-26 00:04:23 +03:00
|
|
|
|
|
2018-08-23 14:27:44 +03:00
|
|
|
|
#
|
|
|
|
|
# Partial static registrar libraries
|
|
|
|
|
#
|
2016-04-26 00:04:23 +03:00
|
|
|
|
|
2016-11-01 18:41:41 +03:00
|
|
|
|
%.registrar.ios.i386.m %.registrar.ios.i386.h: $(IOS_DESTDIR)$(MONOTOUCH_PREFIX)/lib/32bits/%.dll $(LOCAL_MTOUCH)
|
2018-08-23 14:27:44 +03:00
|
|
|
|
$(Q_GEN) $(SYSTEM_MONO) --debug $(LOCAL_MTOUCH) --xamarin-framework-directory=$(IOS_DESTDIR)/$(MONOTOUCH_PREFIX) $(MTOUCH_VERBOSITY) --runregistrar:$(abspath $(basename $@).m) --sdkroot $(XCODE_DEVELOPER_ROOT) --sdk $(IOS_SDK_VERSION) $< --registrar:static --target-framework Xamarin.iOS,v1.0 --abi i386
|
2016-11-01 18:41:41 +03:00
|
|
|
|
$(Q) touch $(basename $@).m $(basename $@).h
|
|
|
|
|
|
|
|
|
|
%.registrar.ios.x86_64.m %.registrar.ios.x86_64.h: $(IOS_DESTDIR)$(MONOTOUCH_PREFIX)/lib/64bits/%.dll $(LOCAL_MTOUCH)
|
2018-08-23 14:27:44 +03:00
|
|
|
|
$(Q_GEN) $(SYSTEM_MONO) --debug $(LOCAL_MTOUCH) --xamarin-framework-directory=$(IOS_DESTDIR)/$(MONOTOUCH_PREFIX) $(MTOUCH_VERBOSITY) --runregistrar:$(abspath $(basename $@).m) --sdkroot $(XCODE_DEVELOPER_ROOT) --sdk $(IOS_SDK_VERSION) $< --registrar:static --target-framework Xamarin.iOS,v1.0 --abi x86_64
|
2016-11-01 18:41:41 +03:00
|
|
|
|
$(Q) touch $(basename $@).m $(basename $@).h
|
2016-04-21 15:58:45 +03:00
|
|
|
|
|
2019-05-03 18:56:48 +03:00
|
|
|
|
%.registrar.ios.armv7.m %.registrar.ios.armv7.h: $(IOS_DESTDIR)$(MONOTOUCH_PREFIX)/lib/32bits/%.dll $(LOCAL_MTOUCH)
|
|
|
|
|
$(Q_GEN) $(SYSTEM_MONO) --debug $(LOCAL_MTOUCH) --xamarin-framework-directory=$(IOS_DESTDIR)/$(MONOTOUCH_PREFIX) $(MTOUCH_VERBOSITY) --runregistrar:$(abspath $(basename $@).m) --sdkroot $(XCODE_DEVELOPER_ROOT) --sdk $(IOS_SDK_VERSION) $< --registrar:static --target-framework Xamarin.iOS,v1.0 --abi armv7
|
|
|
|
|
$(Q) touch $(basename $@).m $(basename $@).h
|
|
|
|
|
|
|
|
|
|
%.registrar.ios.armv7s.m %.registrar.ios.armv7s.h: $(IOS_DESTDIR)$(MONOTOUCH_PREFIX)/lib/32bits/%.dll $(LOCAL_MTOUCH)
|
|
|
|
|
$(Q_GEN) $(SYSTEM_MONO) --debug $(LOCAL_MTOUCH) --xamarin-framework-directory=$(IOS_DESTDIR)/$(MONOTOUCH_PREFIX) $(MTOUCH_VERBOSITY) --runregistrar:$(abspath $(basename $@).m) --sdkroot $(XCODE_DEVELOPER_ROOT) --sdk $(IOS_SDK_VERSION) $< --registrar:static --target-framework Xamarin.iOS,v1.0 --abi armv7s
|
|
|
|
|
$(Q) touch $(basename $@).m $(basename $@).h
|
|
|
|
|
|
|
|
|
|
%.registrar.ios.arm64.m %.registrar.ios.arm64.h: $(IOS_DESTDIR)$(MONOTOUCH_PREFIX)/lib/64bits/%.dll $(LOCAL_MTOUCH)
|
|
|
|
|
$(Q_GEN) $(SYSTEM_MONO) --debug $(LOCAL_MTOUCH) --xamarin-framework-directory=$(IOS_DESTDIR)/$(MONOTOUCH_PREFIX) $(MTOUCH_VERBOSITY) --runregistrar:$(abspath $(basename $@).m) --sdkroot $(XCODE_DEVELOPER_ROOT) --sdk $(IOS_SDK_VERSION) $< --registrar:static --target-framework Xamarin.iOS,v1.0 --abi arm64
|
|
|
|
|
$(Q) touch $(basename $@).m $(basename $@).h
|
|
|
|
|
|
|
|
|
|
%.registrar.watchos.i386.m %.registrar.watchos.i386.h: $(IOS_DESTDIR)$(MONOTOUCH_PREFIX)/lib/mono/Xamarin.WatchOS/%.dll $(LOCAL_MTOUCH)
|
2018-08-23 14:27:44 +03:00
|
|
|
|
$(Q_GEN) $(SYSTEM_MONO) --debug $(LOCAL_MTOUCH) --xamarin-framework-directory=$(IOS_DESTDIR)/$(MONOTOUCH_PREFIX) $(MTOUCH_VERBOSITY) --runregistrar:$(abspath $(basename $@).m) --sdkroot $(XCODE_DEVELOPER_ROOT) --sdk $(WATCH_SDK_VERSION) $< --registrar:static --target-framework Xamarin.WatchOS,1.0 --abi i386
|
2016-11-01 18:41:41 +03:00
|
|
|
|
$(Q) touch $(basename $@).m $(basename $@).h
|
2016-04-21 15:58:45 +03:00
|
|
|
|
|
2019-05-03 18:56:48 +03:00
|
|
|
|
%.registrar.watchos.armv7k.m %.registrar.watchos.armv7k.h: $(IOS_DESTDIR)$(MONOTOUCH_PREFIX)/lib/mono/Xamarin.WatchOS/%.dll $(LOCAL_MTOUCH)
|
|
|
|
|
$(Q_GEN) $(SYSTEM_MONO) --debug $(LOCAL_MTOUCH) --xamarin-framework-directory=$(IOS_DESTDIR)/$(MONOTOUCH_PREFIX) $(MTOUCH_VERBOSITY) --runregistrar:$(abspath $(basename $@).m) --sdkroot $(XCODE_DEVELOPER_ROOT) --sdk $(WATCH_SDK_VERSION) $< --registrar:static --target-framework Xamarin.WatchOS,1.0 --abi armv7k
|
|
|
|
|
$(Q) touch $(basename $@).m $(basename $@).h
|
|
|
|
|
|
|
|
|
|
%.registrar.tvos.x86_64.m %.registrar.tvos.x86_64.h: $(IOS_DESTDIR)$(MONOTOUCH_PREFIX)/lib/mono/Xamarin.TVOS/%.dll $(LOCAL_MTOUCH)
|
2018-08-23 14:27:44 +03:00
|
|
|
|
$(Q_GEN) $(SYSTEM_MONO) --debug $(LOCAL_MTOUCH) --xamarin-framework-directory=$(IOS_DESTDIR)/$(MONOTOUCH_PREFIX) $(MTOUCH_VERBOSITY) --runregistrar:$(abspath $(basename $@).m) --sdkroot $(XCODE_DEVELOPER_ROOT) --sdk $(TVOS_SDK_VERSION) $< --registrar:static --target-framework Xamarin.TVOS,1.0 --abi x86_64
|
2016-11-01 18:41:41 +03:00
|
|
|
|
$(Q) touch $(basename $@).m $(basename $@).h
|
2016-04-21 15:58:45 +03:00
|
|
|
|
|
2019-05-03 18:56:48 +03:00
|
|
|
|
%.registrar.tvos.arm64.m %.registrar.tvos.arm64.h: $(IOS_DESTDIR)$(MONOTOUCH_PREFIX)/lib/mono/Xamarin.TVOS/%.dll $(LOCAL_MTOUCH)
|
|
|
|
|
$(Q_GEN) $(SYSTEM_MONO) --debug $(LOCAL_MTOUCH) --xamarin-framework-directory=$(IOS_DESTDIR)/$(MONOTOUCH_PREFIX) $(MTOUCH_VERBOSITY) --runregistrar:$(abspath $(basename $@).m) --sdkroot $(XCODE_DEVELOPER_ROOT) --sdk $(TVOS_SDK_VERSION) $< --registrar:static --target-framework Xamarin.TVOS,1.0 --abi arm64
|
|
|
|
|
$(Q) touch $(basename $@).m $(basename $@).h
|
|
|
|
|
|
|
|
|
|
%.registrar.ios.simulator.a: %.registrar.ios.i386.a %.registrar.ios.x86_64.a
|
|
|
|
|
$(Q_LIPO) $(DEVICE_BIN_PATH)/lipo -create -output $@ $^
|
|
|
|
|
|
|
|
|
|
%.registrar.ios.device.a: %.registrar.ios.arm64.a %.registrar.ios.armv7.a %.registrar.ios.armv7s.a
|
2016-04-21 15:58:45 +03:00
|
|
|
|
$(Q_LIPO) $(DEVICE_BIN_PATH)/lipo -create -output $@ $^
|
|
|
|
|
|
2019-08-29 18:49:06 +03:00
|
|
|
|
REGISTRAR_CFLAGS=-stdlib=libc++ -std=c++14
|
2018-06-09 04:45:24 +03:00
|
|
|
|
|
2016-11-01 18:41:41 +03:00
|
|
|
|
%.registrar.ios.i386.a: %.registrar.ios.i386.m %.registrar.ios.i386.h
|
2018-06-09 04:45:24 +03:00
|
|
|
|
$(Q_CC) $(IOS_CC) -DDEBUG -g -gdwarf-2 $(SIMULATOR86_CFLAGS) $(REGISTRAR_CFLAGS) -x objective-c++ -o $@ -c $< -Wall -Wno-unguarded-availability-new -I$(IOS_DESTDIR)$(MONOTOUCH_PREFIX)/SDKs/MonoTouch.iphonesimulator.sdk/usr/include
|
2016-04-21 15:58:45 +03:00
|
|
|
|
|
2016-11-01 18:41:41 +03:00
|
|
|
|
%.registrar.ios.x86_64.a: %.registrar.ios.x86_64.m %.registrar.ios.x86_64.h
|
2018-06-09 04:45:24 +03:00
|
|
|
|
$(Q_CC) $(IOS_CC) -DDEBUG -g -gdwarf-2 $(SIMULATOR64_CFLAGS) $(REGISTRAR_CFLAGS) -x objective-c++ -o $@ -c $< -Wall -Wno-unguarded-availability-new -I$(IOS_DESTDIR)$(MONOTOUCH_PREFIX)/SDKs/MonoTouch.iphonesimulator.sdk/usr/include
|
2016-04-21 15:58:45 +03:00
|
|
|
|
|
2019-05-03 18:56:48 +03:00
|
|
|
|
%.registrar.ios.armv7.a: %.registrar.ios.armv7.m %.registrar.ios.armv7.h
|
|
|
|
|
$(Q_CC) $(IOS_CC) -DDEBUG -g -gdwarf-2 $(DEVICE7_CFLAGS) $(REGISTRAR_CFLAGS) -x objective-c++ -o $@ -c $< -Wall -Wno-unguarded-availability-new -I$(IOS_DESTDIR)$(MONOTOUCH_PREFIX)/SDKs/MonoTouch.iphoneos.sdk/usr/include
|
|
|
|
|
|
|
|
|
|
%.registrar.ios.armv7s.a: %.registrar.ios.armv7s.m %.registrar.ios.armv7s.h
|
|
|
|
|
$(Q_CC) $(IOS_CC) -DDEBUG -g -gdwarf-2 $(DEVICE7S_CFLAGS) $(REGISTRAR_CFLAGS) -x objective-c++ -o $@ -c $< -Wall -Wno-unguarded-availability-new -I$(IOS_DESTDIR)$(MONOTOUCH_PREFIX)/SDKs/MonoTouch.iphoneos.sdk/usr/include
|
|
|
|
|
|
|
|
|
|
%.registrar.ios.arm64.a: %.registrar.ios.arm64.m %.registrar.ios.arm64.h
|
|
|
|
|
$(Q_CC) $(IOS_CC) -DDEBUG -g -gdwarf-2 $(DEVICE64_CFLAGS) $(REGISTRAR_CFLAGS) -x objective-c++ -o $@ -c $< -Wall -Wno-unguarded-availability-new -I$(IOS_DESTDIR)$(MONOTOUCH_PREFIX)/SDKs/MonoTouch.iphoneos.sdk/usr/include
|
|
|
|
|
|
|
|
|
|
%.registrar.watchos.i386.a: %.registrar.watchos.i386.m %.registrar.watchos.i386.h
|
2018-06-09 04:45:24 +03:00
|
|
|
|
$(Q_CC) $(IOS_CC) -DDEBUG -g -gdwarf-2 $(SIMULATORWATCH_CFLAGS) $(REGISTRAR_CFLAGS) -x objective-c++ -o $@ -c $< -Wall -Wno-unguarded-availability-new -I$(IOS_DESTDIR)$(XAMARIN_WATCHSIMULATOR_SDK)/usr/include
|
2016-04-21 15:58:45 +03:00
|
|
|
|
|
2019-05-03 18:56:48 +03:00
|
|
|
|
%.registrar.watchos.armv7k.a: %.registrar.watchos.armv7k.m %.registrar.watchos.armv7k.h
|
|
|
|
|
$(Q_CC) $(IOS_CC) -DDEBUG -g -gdwarf-2 $(DEVICEWATCH_CFLAGS) $(REGISTRAR_CFLAGS) -x objective-c++ -o $@ -c $< -Wall -Wno-unguarded-availability-new -I$(IOS_DESTDIR)$(XAMARIN_WATCHOS_SDK)/usr/include
|
|
|
|
|
|
|
|
|
|
%.registrar.tvos.x86_64.a: %.registrar.tvos.x86_64.m %.registrar.tvos.x86_64.h
|
2018-06-09 04:45:24 +03:00
|
|
|
|
$(Q_CC) $(IOS_CC) -DDEBUG -g -gdwarf-2 $(SIMULATORTV_CFLAGS) $(REGISTRAR_CFLAGS) -x objective-c++ -o $@ -c $< -Wall -Wno-unguarded-availability-new -I$(IOS_DESTDIR)$(XAMARIN_TVSIMULATOR_SDK)/usr/include
|
2016-04-21 15:58:45 +03:00
|
|
|
|
|
2019-05-03 18:56:48 +03:00
|
|
|
|
%.registrar.tvos.arm64.a: %.registrar.tvos.arm64.m %.registrar.tvos.arm64.h
|
|
|
|
|
$(Q_CC) $(IOS_CC) -DDEBUG -g -gdwarf-2 $(DEVICETV_CFLAGS) $(REGISTRAR_CFLAGS) -x objective-c++ -o $@ -c $< -Wall -Wno-unguarded-availability-new -I$(IOS_DESTDIR)$(XAMARIN_TVOS_SDK)/usr/include
|
|
|
|
|
|
2016-04-21 15:58:45 +03:00
|
|
|
|
TARGETS = \
|
|
|
|
|
$(IOS_DESTDIR)$(MONOTOUCH_PREFIX)/bin/mtouch \
|
2016-04-25 01:49:28 +03:00
|
|
|
|
$(IOS_DESTDIR)$(MONOTOUCH_PREFIX)/lib/mtouch/mtouch.exe \
|
2016-04-21 15:58:45 +03:00
|
|
|
|
$(foreach launcher,$(SIMLAUNCHERS),$(IOS_DESTDIR)$(MONOTOUCH_PREFIX)/bin/$(launcher)) \
|
2019-05-03 18:56:48 +03:00
|
|
|
|
$(IOS_DESTDIR)$(MONOTOUCH_SIMULATOR_SDK)/usr/lib/Xamarin.iOS.registrar.a \
|
|
|
|
|
|
|
|
|
|
ifdef INCLUDE_DEVICE
|
|
|
|
|
TARGETS += $(IOS_DESTDIR)$(MONOTOUCH_DEVICE_SDK)/usr/lib/Xamarin.iOS.registrar.a
|
|
|
|
|
endif
|
2016-04-21 15:58:45 +03:00
|
|
|
|
|
|
|
|
|
ifdef INCLUDE_WATCH
|
2019-05-03 18:56:48 +03:00
|
|
|
|
TARGETS += \
|
|
|
|
|
$(IOS_DESTDIR)$(XAMARIN_WATCHSIMULATOR_SDK)/usr/lib/Xamarin.WatchOS.registrar.a \
|
|
|
|
|
|
|
|
|
|
ifdef INCLUDE_DEVICE
|
|
|
|
|
TARGETS += $(IOS_DESTDIR)$(XAMARIN_WATCHOS_SDK)/usr/lib/Xamarin.WatchOS.registrar.a
|
|
|
|
|
endif
|
2016-04-21 15:58:45 +03:00
|
|
|
|
endif
|
|
|
|
|
|
2019-05-03 18:56:48 +03:00
|
|
|
|
|
2016-04-21 15:58:45 +03:00
|
|
|
|
ifdef INCLUDE_TVOS
|
|
|
|
|
TARGETS += \
|
|
|
|
|
$(IOS_DESTDIR)$(XAMARIN_TVSIMULATOR_SDK)/usr/lib/Xamarin.TVOS.registrar.a \
|
2016-11-01 18:41:41 +03:00
|
|
|
|
|
2019-05-03 18:56:48 +03:00
|
|
|
|
ifdef INCLUDE_DEVICE
|
|
|
|
|
TARGETS += $(IOS_DESTDIR)$(XAMARIN_TVOS_SDK)/usr/lib/Xamarin.TVOS.registrar.a
|
|
|
|
|
endif
|
2016-04-21 15:58:45 +03:00
|
|
|
|
endif
|
|
|
|
|
|
|
|
|
|
TARGET_DIRS = \
|
2016-04-25 01:49:28 +03:00
|
|
|
|
bin/Makefile \
|
2016-04-21 15:58:45 +03:00
|
|
|
|
$(IOS_DESTDIR)$(MONOTOUCH_PREFIX)/bin \
|
|
|
|
|
$(IOS_DESTDIR)$(MONOTOUCH_PREFIX)/lib \
|
2016-04-25 01:49:28 +03:00
|
|
|
|
$(IOS_DESTDIR)$(MONOTOUCH_PREFIX)/lib/mtouch \
|
2016-04-21 15:58:45 +03:00
|
|
|
|
$(IOS_DESTDIR)$(MONOTOUCH_PREFIX)/etc/mono/assemblies/System \
|
|
|
|
|
$(IOS_DESTDIR)$(MONOTOUCH_SIMULATOR_SDK)/usr/lib \
|
2019-05-03 18:56:48 +03:00
|
|
|
|
$(IOS_DESTDIR)$(MONOTOUCH_DEVICE_SDK)/usr/lib \
|
2016-04-21 15:58:45 +03:00
|
|
|
|
$(IOS_DESTDIR)$(XAMARIN_WATCHSIMULATOR_SDK)/usr/lib \
|
2019-05-03 18:56:48 +03:00
|
|
|
|
$(IOS_DESTDIR)$(XAMARIN_WATCHOS_SDK)/usr/lib \
|
2016-04-21 15:58:45 +03:00
|
|
|
|
$(IOS_DESTDIR)$(XAMARIN_TVSIMULATOR_SDK)/usr/lib \
|
2019-05-03 18:56:48 +03:00
|
|
|
|
$(IOS_DESTDIR)$(XAMARIN_TVOS_SDK)/usr/lib \
|
2016-04-21 15:58:45 +03:00
|
|
|
|
|
|
|
|
|
$(TARGET_DIRS):
|
|
|
|
|
$(Q) mkdir -p $@
|
|
|
|
|
|
2018-08-23 14:27:44 +03:00
|
|
|
|
$(IOS_DESTDIR)$(MONOTOUCH_PREFIX)/lib/mtouch/mtouch.exe: $(MTOUCH_DIR)/mtouch.exe | $(IOS_DESTDIR)$(MONOTOUCH_PREFIX)/lib/mtouch
|
2018-10-29 18:09:30 +03:00
|
|
|
|
$(Q) $(CP) $(dir $<)/*.exe $(dir $@)
|
|
|
|
|
$(Q) $(CP) $(dir $<)/*.dll $(dir $@)
|
|
|
|
|
$(Q) $(CP) $(dir $<)/*.pdb $(dir $@)
|
2016-04-25 01:49:28 +03:00
|
|
|
|
|
2019-12-10 14:47:30 +03:00
|
|
|
|
$(IOS_DESTDIR)$(MONOTOUCH_PREFIX)/bin/mtouch: mtouch | $(IOS_DESTDIR)$(MONOTOUCH_PREFIX)/bin
|
|
|
|
|
$(Q) $(CP) $< $@
|
2016-04-21 15:58:45 +03:00
|
|
|
|
|
|
|
|
|
$(IOS_DESTDIR)$(MONOTOUCH_PREFIX)/bin/%: % | $(IOS_DESTDIR)$(MONOTOUCH_PREFIX)/bin
|
2018-10-29 18:09:30 +03:00
|
|
|
|
$(Q) $(CP) $< $@
|
2016-04-21 15:58:45 +03:00
|
|
|
|
|
|
|
|
|
$(IOS_DESTDIR)$(MONOTOUCH_PREFIX)/lib/%: % | $(IOS_DESTDIR)$(MONOTOUCH_PREFIX)/lib
|
2018-10-29 18:09:30 +03:00
|
|
|
|
$(Q) $(CP) $< $@
|
2016-04-21 15:58:45 +03:00
|
|
|
|
|
2019-05-03 18:56:48 +03:00
|
|
|
|
$(IOS_DESTDIR)$(MONOTOUCH_SIMULATOR_SDK)/usr/lib/%.registrar.a: %.registrar.ios.simulator.a | $(IOS_DESTDIR)$(MONOTOUCH_SIMULATOR_SDK)/usr/lib
|
|
|
|
|
$(Q) $(CP) $< $@
|
|
|
|
|
|
|
|
|
|
$(IOS_DESTDIR)$(XAMARIN_WATCHSIMULATOR_SDK)/usr/lib/%.registrar.a: %.registrar.watchos.i386.a | $(IOS_DESTDIR)$(XAMARIN_WATCHSIMULATOR_SDK)/usr/lib
|
|
|
|
|
$(Q) $(CP) $< $@
|
|
|
|
|
|
|
|
|
|
$(IOS_DESTDIR)$(XAMARIN_TVSIMULATOR_SDK)/usr/lib/%.registrar.a: %.registrar.tvos.x86_64.a | $(IOS_DESTDIR)$(XAMARIN_TVSIMULATOR_SDK)/usr/lib
|
|
|
|
|
$(Q) $(CP) $< $@
|
|
|
|
|
|
|
|
|
|
$(IOS_DESTDIR)$(MONOTOUCH_DEVICE_SDK)/usr/lib/%.registrar.a: %.registrar.ios.device.a | $(IOS_DESTDIR)$(MONOTOUCH_DEVICE_SDK)/usr/lib
|
2018-10-29 18:09:30 +03:00
|
|
|
|
$(Q) $(CP) $< $@
|
2016-04-21 15:58:45 +03:00
|
|
|
|
|
2019-05-03 18:56:48 +03:00
|
|
|
|
$(IOS_DESTDIR)$(XAMARIN_WATCHOS_SDK)/usr/lib/%.registrar.a: %.registrar.watchos.armv7k.a | $(IOS_DESTDIR)$(XAMARIN_WATCHOS_SDK)/usr/lib
|
2018-10-29 18:09:30 +03:00
|
|
|
|
$(Q) $(CP) $< $@
|
2016-04-21 15:58:45 +03:00
|
|
|
|
|
2019-05-03 18:56:48 +03:00
|
|
|
|
$(IOS_DESTDIR)$(XAMARIN_TVOS_SDK)/usr/lib/%.registrar.a: %.registrar.tvos.arm64.a | $(IOS_DESTDIR)$(XAMARIN_TVOS_SDK)/usr/lib
|
2018-10-29 18:09:30 +03:00
|
|
|
|
$(Q) $(CP) $< $@
|
2016-04-21 15:58:45 +03:00
|
|
|
|
|
|
|
|
|
ifdef INCLUDE_IOS
|
|
|
|
|
install-local:: $(TARGETS)
|
|
|
|
|
all-local:: $(TARGETS)
|
|
|
|
|
endif
|
|
|
|
|
|
2019-12-10 14:47:30 +03:00
|
|
|
|
install-mtouch: \
|
2017-01-04 00:34:33 +03:00
|
|
|
|
$(IOS_DESTDIR)$(MONOTOUCH_PREFIX)/bin/mtouch \
|
|
|
|
|
$(IOS_DESTDIR)$(MONOTOUCH_PREFIX)/lib/mtouch/mtouch.exe \
|
|
|
|
|
|
2016-04-21 15:58:45 +03:00
|
|
|
|
clean-local::
|
2016-05-05 13:16:38 +03:00
|
|
|
|
rm -Rf bin obj
|
2016-04-21 15:58:45 +03:00
|
|
|
|
rm -f $(SIMLAUNCHERS)
|
2018-08-23 14:27:44 +03:00
|
|
|
|
$(SYSTEM_MSBUILD) "/t:Clean" /p:Configuration=$(MTOUCH_CONF) *.csproj
|
2016-04-21 15:58:45 +03:00
|
|
|
|
|
|
|
|
|
include $(TOP)/mk/rules.mk
|
2017-09-29 20:45:53 +03:00
|
|
|
|
include ../common/Make.common
|
2016-04-21 15:58:45 +03:00
|
|
|
|
|
|
|
|
|
# make will automatically consider files created in chained implicit rules as temporary files, and delete them afterwards
|
|
|
|
|
# marking those files as .SECONDARY will prevent that deletion.
|
2016-11-01 18:41:41 +03:00
|
|
|
|
.SECONDARY: $(foreach ext,a h m,Xamarin.iOS.registrar.ios.i386.$(ext) Xamarin.iOS.registrar.ios.x86_64.$(ext))
|
|
|
|
|
.SECONDARY: $(foreach ext,a h m,Xamarin.WatchOS.registrar.watchos.$(ext))
|
|
|
|
|
.SECONDARY: $(foreach ext,a h m,Xamarin.TVOS.registrar.tvos.$(ext))
|