summaryrefslogtreecommitdiff
path: root/ACE
diff options
context:
space:
mode:
authorJustin R. Wilson <wilsonj@objectcomputing.com>2022-05-26 14:21:46 -0500
committerJustin R. Wilson <wilsonj@objectcomputing.com>2022-05-26 14:21:46 -0500
commit4637db4161be645eb73aae66eeb7cdf98853bca7 (patch)
tree9cb13d01ea252b1c423900486acf29dce35b6cb1 /ACE
parent39224f9491debac940cfe0b0f7bad564172c919b (diff)
downloadATCD-4637db4161be645eb73aae66eeb7cdf98853bca7.tar.gz
Add support for macOS Monterey
Diffstat (limited to 'ACE')
-rw-r--r--ACE/include/makeinclude/platform_macosx.GNU8
-rw-r--r--ACE/include/makeinclude/platform_macosx_monterey.GNU1
2 files changed, 9 insertions, 0 deletions
diff --git a/ACE/include/makeinclude/platform_macosx.GNU b/ACE/include/makeinclude/platform_macosx.GNU
index 0e2d18e20e5..828943ffcf3 100644
--- a/ACE/include/makeinclude/platform_macosx.GNU
+++ b/ACE/include/makeinclude/platform_macosx.GNU
@@ -24,6 +24,8 @@ MACOS_CODENAME_VER_10_15 := catalina
MACOS_CODENAME_VER_10_latest := catalina
MACOS_CODENAME_VER_11_5 := bigsur
MACOS_CODENAME_VER_11_latest := bigsur
+MACOS_CODENAME_VER_12_3 := monterey
+MACOS_CODENAME_VER_12_latest := monterey
MACOS_CODENAME = $(MACOS_CODENAME_VER_$(MACOS_MAJOR_VERSION)_$(MACOS_MINOR_VERSION))
@@ -42,6 +44,12 @@ else ifeq ($(MACOS_MAJOR_VERSION),11)
## just use the latest known version
MACOS_CODENAME = $(MACOS_CODENAME_VER_11_latest)
endif
+else ifeq ($(MACOS_MAJOR_VERSION),12)
+ ifeq ($(shell test $(MACOS_MINOR_VERSION) -gt 3; echo $$?),0)
+ ## if the detected version is greater than the latest know version,
+ ## just use the latest known version
+ MACOS_CODENAME = $(MACOS_CODENAME_VER_12_latest)
+ endif
else
## Unsupported major version
$(error Unsupported MacOS version $(MACOS_RELEASE_VERSION))
diff --git a/ACE/include/makeinclude/platform_macosx_monterey.GNU b/ACE/include/makeinclude/platform_macosx_monterey.GNU
new file mode 100644
index 00000000000..b40a6950b5b
--- /dev/null
+++ b/ACE/include/makeinclude/platform_macosx_monterey.GNU
@@ -0,0 +1 @@
+include $(ACE_ROOT)/include/makeinclude/platform_macosx_bigsur.GNU