X-Git-Url: http://plrg.eecs.uci.edu/git/?a=blobdiff_plain;f=Makefile.config.in;h=f3a9346592890a2029e951823bd869308af5758b;hb=3b12ab451924a356c190b23def44744573abe871;hp=34ad773918b18534543d7f9c602f3f596db47e2d;hpb=6530e9d8e6dfc8f16fe509701967e4ade99fae6c;p=oota-llvm.git diff --git a/Makefile.config.in b/Makefile.config.in index 34ad773918b..f3a93465928 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. # #===------------------------------------------------------------------------===# # @@ -105,9 +105,6 @@ BUILD_EXEEXT=@BUILD_EXEEXT@ # Target triple (cpu-vendor-os) for which we should generate code TARGET_TRIPLE=@target@ -# Targets that we should build -TARGETS_TO_BUILD=@TARGETS_TO_BUILD@ - # Extra options to compile LLVM with EXTRA_OPTIONS=@EXTRA_OPTIONS@ @@ -157,6 +154,7 @@ GZIP := @GZIP@ OCAMLC := @OCAMLC@ OCAMLOPT := @OCAMLOPT@ OCAMLDEP := @OCAMLDEP@ +OCAMLDOC := @OCAMLDOC@ POD2HTML := @POD2HTML@ POD2MAN := @POD2MAN@ RUNTEST := @RUNTEST@ @@ -264,6 +262,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