1 -include $(TOP
)/sdks
/Make.config
5 SDK_DIR
= $(abspath
$(HOME
)/Library
/Developer
/Xamarin
/android-sdk-macosx
/)
6 NDK_DIR
= $(abspath
$(HOME
)/Library
/Developer
/Xamarin
/android-ndk
/android-ndk-r14b
)
8 XCODE_DIR
= /Applications
/Xcode.app
/Contents
/Developer
10 #Probe for alternative paths
12 #On some systems the sdk is named mac_x86
13 ifeq ($(wildcard $(SDK_DIR
)/tools
),)
14 SDK_DIR
= $(abspath
$(HOME
)/Library
/Developer
/Xamarin
/android-sdk-mac_x86
/)
17 #Latest XS installs NDK in this PATH
18 ifeq ($(wildcard $(NDK_DIR
)/tools
),)
19 NDK_DIR
= $(abspath
$(HOME
)/Library
/Developer
/Xamarin
/android-sdk-mac_x86
/ndk-bundle
)
22 #Error if tools are not found
24 ifndef DISABLE_ANDROID
25 ifeq ($(wildcard $(SDK_DIR
)/tools
),)
26 $(error Could not find Android SDK in
$(SDK_DIR
))
29 ifeq ($(wildcard $(NDK_DIR
)),)
30 $(error Could not find Android NDK in
$(NDK_DIR
))
36 ifeq ($(wildcard $(XCODE_DIR
)),)
37 $(error Could not find XCode in
$(XCODE_DIR
))