Add preliminary MSYS support

This commit is contained in:
Christophe de Dinechin 2017-12-12 22:08:38 +01:00
parent 15738f7504
commit a2e9094513
2 changed files with 26 additions and 2 deletions

View File

@ -1,5 +1,5 @@
#******************************************************************************
# config.auto.mk Recorder project
# config.auto.mk Recorder project
#******************************************************************************
#
# File Description:
@ -19,11 +19,12 @@
#******************************************************************************
# Identification of the default build environment
BUILDENV=$(BUILDENV_$(shell uname -s | sed s/CYGWIN.*/Cygwin/ | sed s/MINGW.*/MinGW/))
BUILDENV=$(BUILDENV_$(shell uname -s | sed s/CYGWIN.*/Cygwin/ | sed s/MINGW.*/MinGW/ | sed s/MSYS.*/MSYS/g))
BUILDENV_Darwin=$(shell clang --version > /dev/null 2>&1 && echo macosx-clang || echo macosx)
BUILDENV_Linux=linux
BUILDENV_Cygwin=cygwin
BUILDENV_MinGW=mingw
BUILDENV_MSYS=msys
# Just in case (leftovers from a former life ;-)
BUILDENV_HP-UX=hpux

23
config.msys.mk Normal file
View File

@ -0,0 +1,23 @@
#******************************************************************************
# config.msys.mk Recorder project
#******************************************************************************
#
# File Description:
#
# Configuration file when building with MSYS
#
#
#
#
#
#
#
#
#******************************************************************************
# (C) 1992-2017 Christophe de Dinechin <christophe@dinechin.org>
#This software is licensed under the GNU General Public License v3
#See file COPYING for details.
#******************************************************************************
include $(BUILD)config.mingw.mk
LINE_BUFFERED=--line-buffered