diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-27 18:24:20 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-27 18:24:20 +0000 |
commit | 483eb2f56657e8e7f419ab1a4fab8dce9ade8609 (patch) | |
tree | e5d88d25d870d5dedacb6bbdbe2a966086a0a5cf /src/c-ares/msvc_ver.inc | |
parent | Initial commit. (diff) | |
download | ceph-483eb2f56657e8e7f419ab1a4fab8dce9ade8609.tar.xz ceph-483eb2f56657e8e7f419ab1a4fab8dce9ade8609.zip |
Adding upstream version 14.2.21.upstream/14.2.21upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r-- | src/c-ares/msvc_ver.inc | 74 |
1 files changed, 74 insertions, 0 deletions
diff --git a/src/c-ares/msvc_ver.inc b/src/c-ares/msvc_ver.inc new file mode 100644 index 00000000..51203976 --- /dev/null +++ b/src/c-ares/msvc_ver.inc @@ -0,0 +1,74 @@ +# ------------------------------------------- +# Detect NMAKE version deducing MSVC version +# ------------------------------------------- + +!IFNDEF _NMAKE_VER +! MESSAGE Macro _NMAKE_VER not defined. +! MESSAGE Use MSVC's NMAKE to process this makefile. +! ERROR See previous message. +!ENDIF + +!IF "$(_NMAKE_VER)" == "6.00.8168.0" +CC_VERS_NUM = 60 +!ELSEIF "$(_NMAKE_VER)" == "6.00.9782.0" +CC_VERS_NUM = 60 +!ELSEIF "$(_NMAKE_VER)" == "7.00.8882" +CC_VERS_NUM = 70 +!ELSEIF "$(_NMAKE_VER)" == "7.00.9466" +CC_VERS_NUM = 70 +!ELSEIF "$(_NMAKE_VER)" == "7.00.9955" +CC_VERS_NUM = 70 +!ELSEIF "$(_NMAKE_VER)" == "7.10.2240.8" +CC_VERS_NUM = 71 +!ELSEIF "$(_NMAKE_VER)" == "7.10.3077" +CC_VERS_NUM = 71 +!ELSEIF "$(_NMAKE_VER)" == "8.00.40607.16" +CC_VERS_NUM = 80 +!ELSEIF "$(_NMAKE_VER)" == "8.00.50727.42" +CC_VERS_NUM = 80 +!ELSEIF "$(_NMAKE_VER)" == "8.00.50727.762" +CC_VERS_NUM = 80 +!ELSEIF "$(_NMAKE_VER)" == "9.00.20706.01" +CC_VERS_NUM = 90 +!ELSEIF "$(_NMAKE_VER)" == "9.00.21022.08" +CC_VERS_NUM = 90 +!ELSEIF "$(_NMAKE_VER)" == "9.00.30729.01" +CC_VERS_NUM = 90 +!ELSEIF "$(_NMAKE_VER)" == "10.00.20506.01" +CC_VERS_NUM = 100 +!ELSEIF "$(_NMAKE_VER)" == "10.00.21003.01" +CC_VERS_NUM = 100 +!ELSEIF "$(_NMAKE_VER)" == "10.00.30128.01" +CC_VERS_NUM = 100 +!ELSEIF "$(_NMAKE_VER)" == "10.00.30319.01" +CC_VERS_NUM = 100 +!ELSEIF "$(_NMAKE_VER)" == "10.00.40219.01" +CC_VERS_NUM = 100 +!ELSEIF "$(_NMAKE_VER)" == "11.00.50522.1" +CC_VERS_NUM = 110 +!ELSEIF "$(_NMAKE_VER)" == "11.00.50727.1" +CC_VERS_NUM = 110 +!ELSEIF "$(_NMAKE_VER)" == "11.00.51106.1" +CC_VERS_NUM = 110 +!ELSEIF "$(_NMAKE_VER)" == "11.00.60315.1" +CC_VERS_NUM = 110 +!ELSEIF "$(_NMAKE_VER)" == "11.00.61030.0" +CC_VERS_NUM = 110 +!ELSEIF "$(_NMAKE_VER)" == "12.00.21005.1" +CC_VERS_NUM = 120 +!ELSEIF "$(_NMAKE_VER)" == "14.00.23026.0" +CC_VERS_NUM = 140 +!ELSEIF "$(_NMAKE_VER)" == "14.00.23506.0" +CC_VERS_NUM = 140 +!ELSEIF "$(_NMAKE_VER)" == "14.00.23918.0" +CC_VERS_NUM = 140 +!ELSEIF "$(_NMAKE_VER)" == "14.00.24210.0" +CC_VERS_NUM = 140 +!ELSE +! MESSAGE Unknown value for _NMAKE_VER macro: "$(_NMAKE_VER)" +! MESSAGE Please, report this condition on the c-ares development +! MESSAGE mailing list: http://cool.haxx.se/mailman/listinfo/c-ares/ +! ERROR See previous message. +!ENDIF + +CC_VERS_STR = msvc$(CC_VERS_NUM) |