You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Remove a lot of legacy build logic and simplify remaining logic. (#21745)
* Remove lots of legacy build logic.
* When building native bits, put them in ".libs/\<runtimeidentifier\>" as
opposed to ".libs/\<not quite runtimeidentifier\>", because it simplifies a
lot of logic.
@UNREADABLE=`find $(MAC_DESTDIR) ! -perm -0644`; if ! test -z "$$UNREADABLE"; then echo "There are files with invalid permissions (all installed files at least be readable by everybody, and writable by owner: 0644): "; find $(MAC_DESTDIR) ! -perm -0644 | xargs ls -la; exit 1; fi
49
-
@echo Validated file permissions for Xamarin.Mac.
50
-
endif
51
-
ifdefINCLUDE_IOS
52
-
@UNREADABLE=`find $(IOS_DESTDIR) ! -perm -0644`; if ! test -z "$$UNREADABLE"; then echo "There are files with invalid permissions (all installed files at least be readable by everybody, and writable by owner: 0644): "; find $(IOS_DESTDIR) ! -perm -0644 | xargs ls -la; exit 1; fi
53
-
@echo Validated file permissions for Xamarin.iOS.
54
-
endif
55
-
56
46
all-local:: global.json
57
47
58
48
# This tells NuGet to use the exact same dotnet version we've configured in Make.config
@@ -71,34 +61,6 @@ install-hook::
71
61
fi
72
62
73
63
install-hook::
74
-
@$(MAKE) check-permissions
75
-
ifdefINCLUDE_IOS
76
-
ifneq ($(findstring$(IOS_DESTDIR)$(MONOTOUCH_PREFIX),$(shell ls -l /Library/Frameworks/Xamarin.iOS.framework/Versions/Current 2>&1)),)
77
-
@echo
78
-
@echo " This build of Xamarin.iOS is the now default version on your system. "
79
-
@echo
80
-
else
81
-
@echo
82
-
@echo " Xamarin.iOS has not been installed into your system by 'make install'"
83
-
@echo " In order to set the currently built Xamarin.iOS as your system version,"
84
-
@echo " execute 'make install-system'".
85
-
@echo
86
-
endif
87
-
endif
88
-
ifdefINCLUDE_MAC
89
-
ifndefINCLUDE_IOS
90
-
@echo
91
-
endif
92
-
ifneq ($(findstring$(abspath$(MAC_DESTDIR)$(MAC_FRAMEWORK_DIR)/Versions),$(shell ls -l $(MAC_FRAMEWORK_DIR)/Versions/Current 2>&1)),)
93
-
@echo " This build of Xamarin.Mac is the now default version on your system. "
94
-
@echo
95
-
else
96
-
@echo " Xamarin.Mac has not been installed into your system by 'make install'"
97
-
@echo " In order to set the currently built Xamarin.Mac as your system version,"
@if ! test -s "$(IOS_DESTDIR)/$(MONOTOUCH_PREFIX)/buildinfo"; then echo "The Xamarin.iOS build seems incomplete. Did you run \"make install\"?"; exit 1; fi
$(Q) echo Installed Xamarin.iOS into /Library/Frameworks/Xamarin.iOS.framework/Versions/Current
136
-
endif
137
-
138
-
install-system-mac:
139
-
ifdefINCLUDE_MAC
140
-
@if ! test -s "$(MAC_DESTDIR)/$(MAC_FRAMEWORK_CURRENT_DIR)/buildinfo" ; then echo "The Xamarin.Mac build seems incomplete. Did you run \"make install\"?"; exit 1; fi
0 commit comments