Fix more build errors in Polly after r206310. David caught one of these
[polly-mirror.git] / Makefile.config.in
blobf1515708cfeb045d188f72efd8faddb70343dad2
1 #===-- Makefile.config - Local configuration for LLVM ------*- Makefile -*--===#
3 #                     The LLVM Compiler Infrastructure
5 # This file is distributed under the University of Illinois Open Source
6 # License. See LICENSE.TXT for details.
8 #===------------------------------------------------------------------------===#
10 # This file is included by Makefile.common.  It defines paths and other
11 # values specific to a particular installation of LLVM.
13 #===------------------------------------------------------------------------===#
15 # Set the root directory of this polly's object files
16 POLLY_SRC_ROOT := $(subst //,/,@abs_top_srcdir@)
18 # Set this variable to the top level directory where LLVM was built
19 POLLY_OBJ_ROOT := $(subst //,/,@abs_top_builddir@)
21 # Set the root directory of this project's install prefix
22 PROJ_INSTALL_ROOT := @prefix@
24 # Set the C++ flags
25 ifeq (@GXX@,yes)
26 POLLY_CXXFLAGS := "-fno-common -Woverloaded-virtual -Wno-long-long -Wall -W -Wno-unused-parameter -Wwrite-strings"
27 endif
29 POLLY_CXXFLAGS += "-fno-rtti -fno-exceptions"
31 PLUTO_FOUND := @pluto_found@
32 CLOOG_FOUND := @cloog_found@
33 SCOPLIB_FOUND := @scoplib_found@
34 CUDALIB_FOUND := @cuda_found@
36 # Set include directroys
37 POLLY_INC :=  @gmp_inc@ @isl_inc@ \
38               @cloog_inc@ @scoplib_inc@ @cuda_inc@\
39               @pluto_inc@ -I$(POLLY_SRC_ROOT)/lib/JSON/include
41 POLLY_LD := @gmp_ld@ @isl_ld@ @cloog_ld@ @scoplib_ld@ \
42             @scoplib_rpath@ @cuda_ld@ @pluto_ld@
44 POLLY_LIB := @gmp_lib@ @isl_lib@ @cloog_lib@ @scoplib_lib@ \
45              @cuda_lib@ @pluto_lib@