X-Git-Url: http://plrg.eecs.uci.edu/git/?p=oota-llvm.git;a=blobdiff_plain;f=Makefile.config.in;h=f3a9346592890a2029e951823bd869308af5758b;hp=add81531f24a0bf94f69ef00e45537e4f3ad2502;hb=a5d5af985eb3abdf8776d46bc9e9e870ffb2c5d3;hpb=a696d24ad275608540aba1e5c668bbd52e04317e diff --git a/Makefile.config.in b/Makefile.config.in index add81531f24..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. # #===------------------------------------------------------------------------===# # @@ -83,7 +83,7 @@ PROJ_docsdir := $(DESTDIR)$(PROJ_prefix)/docs/llvm PROJ_etcdir := $(DESTDIR)$(PROJ_prefix)/etc/llvm PROJ_includedir := $(DESTDIR)$(PROJ_prefix)/include PROJ_infodir := $(DESTDIR)$(PROJ_prefix)/info -PROJ_mandir := $(DESTDIR)$(PROJ_prefix)/man +PROJ_mandir := $(DESTDIR)$(PROJ_prefix)/share/man # Determine if we're on a unix type operating system LLVM_ON_UNIX:=@LLVM_ON_UNIX@ @@ -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@ @@ -152,10 +149,12 @@ PERL := @PERL@ BZIP2 := @BZIP2@ DOT := @DOT@ DOXYGEN := @DOXYGEN@ -ETAGS := @ETAGS@ -ETAGSFLAGS := @ETAGSFLAGS@ GROFF := @GROFF@ GZIP := @GZIP@ +OCAMLC := @OCAMLC@ +OCAMLOPT := @OCAMLOPT@ +OCAMLDEP := @OCAMLDEP@ +OCAMLDOC := @OCAMLDOC@ POD2HTML := @POD2HTML@ POD2MAN := @POD2MAN@ RUNTEST := @RUNTEST@ @@ -167,6 +166,9 @@ HAVE_PTHREAD := @HAVE_PTHREAD@ LIBS := @LIBS@ +# Targets that we should build +TARGETS_TO_BUILD=@TARGETS_TO_BUILD@ + # Path to location for LLVM C/C++ front-end. You can modify this if you # want to override the value set by configure. LLVMGCCDIR := @LLVMGCCDIR@ @@ -258,3 +260,17 @@ NOLINKALL := @NOLINKALL@ # Get the value of HUGE_VAL_SANITY which will be either "yes" or "no" depending # on the check. HUGE_VAL_SANITY = @HUGE_VAL_SANITY@ + +# Bindings that we should build +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