[coop handles] Mark handles macros with Centrinel SUPPRESS macros
[mono-project.git] / sdks / paths.mk
blobe00f9cb558155ea7eaec2e7a1e95de702d7638e2
1 -include $(TOP)/sdks/Make.config
3 #Default paths
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/)
15 endif
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)
20 endif
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))
27 endif
29 ifeq ($(wildcard $(NDK_DIR)),)
30 $(error Could not find Android NDK in $(NDK_DIR))
31 endif
33 endif
35 ifndef DISABLE_IOS
36 ifeq ($(wildcard $(XCODE_DIR)),)
37 $(error Could not find XCode in $(XCODE_DIR))
38 endif
40 endif