make/common/shared/Platform.gmk

changeset 406
0a5931be9176
parent 366
a1f721fbe5d0
     1.1 --- a/make/common/shared/Platform.gmk	Thu Oct 11 16:57:31 2012 -0700
     1.2 +++ b/make/common/shared/Platform.gmk	Tue Oct 23 10:10:39 2012 -0700
     1.3 @@ -65,6 +65,8 @@
     1.4  #     REQUIRED_WINDOWS_NAME       windows only: basic name of windows
     1.5  #     REQUIRED_WINDOWS_VERSION    windows only: specific version of windows
     1.6  #     USING_CYGWIN                windows only: true or false
     1.7 +#     USING_MSYS                  windows only: true or false
     1.8 +#     USING_MKS                   windows only: true or false
     1.9  #     WINDOWS_NT_VERSION_STRING   windows only: long version name
    1.10  #     REQUIRED_OS_VERSION         required OS version, e.g. 5.10, 2.4
    1.11  #     REQUIRED_FREE_SPACE         minimum disk space needed for outputdir
    1.12 @@ -327,6 +329,8 @@
    1.13  # Windows with and without CYGWIN will be slightly different
    1.14  ifeq ($(SYSTEM_UNAME), Windows_NT)
    1.15    PLATFORM = windows
    1.16 +  USING_MKS = true
    1.17 +  export USING_MKS
    1.18    OS_VERSION := $(shell uname -r)
    1.19    WINDOWS_NT_VERSION_STRING=Windows_NT
    1.20    REQUIRED_MKS_VER=6.1
    1.21 @@ -339,6 +343,11 @@
    1.22    WINDOWS_NT_VERSION_STRING=CYGWIN_NT
    1.23    REQUIRED_CYGWIN_VER=4.0
    1.24  endif
    1.25 +ifneq (,$(findstring MINGW,$(SYSTEM_UNAME)))
    1.26 +  PLATFORM = windows
    1.27 +  USING_MSYS = true
    1.28 +  export USING_MSYS
    1.29 +endif
    1.30  
    1.31  # Platform settings specific to Windows
    1.32  ifeq ($(PLATFORM), windows)

mercurial