X-Git-Url: http://plrg.eecs.uci.edu/git/?a=blobdiff_plain;f=Makefile.config.in;h=94dce300bbf37647b564510fa74b65d324b14ef9;hb=5a804e3e21f8cfeb8b1a65aae0ef8d0e063a5256;hp=778c4e867e48ce9b51c5e5dfac08d90f0f4ed56b;hpb=48c7253054385572f22888380e81b0cc4231f42b;p=oota-llvm.git diff --git a/Makefile.config.in b/Makefile.config.in index 778c4e867e4..94dce300bbf 100644 --- a/Makefile.config.in +++ b/Makefile.config.in @@ -2,8 +2,8 @@ # # The LLVM Compiler Infrastructure # -# This file was developed by the LLVM research group and is distributed under -# the University of Illinois Open Source License. See LICENSE.TXT for details. +# This file is distributed under the University of Illinois Open Source +# License. See LICENSE.TXT for details. # #===------------------------------------------------------------------------===# # @@ -261,6 +261,15 @@ NOLINKALL := @NOLINKALL@ HUGE_VAL_SANITY = @HUGE_VAL_SANITY@ # Bindings that we should build -BINDINGS_TO_BUILD = @BINDINGS_TO_BUILD@ -ALL_BINDINGS = @ALL_BINDINGS@ - +BINDINGS_TO_BUILD := @BINDINGS_TO_BUILD@ +ALL_BINDINGS := @ALL_BINDINGS@ +OCAML_LIBDIR := @OCAML_LIBDIR@ + +# When compiling under Mingw/Cygwin, executables such as tblgen +# expect Windows paths, whereas the build system uses Unix paths. +# The function SYSPATH transforms Unix paths into Windows paths. +ifneq (,$(findstring -mno-cygwin, $(CXX))) + SYSPATH = $(shell echo $(1) | cygpath -m -f -) +else + SYSPATH = $(1) +endif