2011-04-29 14:27:02 +08:00
|
|
|
#===-- Makefile.config - Local configuration for LLVM ------*- Makefile -*--===#
|
|
|
|
#
|
|
|
|
# The LLVM Compiler Infrastructure
|
|
|
|
#
|
|
|
|
# This file is distributed under the University of Illinois Open Source
|
|
|
|
# License. See LICENSE.TXT for details.
|
|
|
|
#
|
|
|
|
#===------------------------------------------------------------------------===#
|
|
|
|
#
|
|
|
|
# This file is included by Makefile.common. It defines paths and other
|
|
|
|
# values specific to a particular installation of LLVM.
|
|
|
|
#
|
|
|
|
#===------------------------------------------------------------------------===#
|
|
|
|
|
|
|
|
# Set the root directory of this polly's object files
|
|
|
|
POLLY_SRC_ROOT := $(subst //,/,@abs_top_srcdir@)
|
|
|
|
|
|
|
|
# Set this variable to the top level directory where LLVM was built
|
|
|
|
POLLY_OBJ_ROOT := $(subst //,/,@abs_top_builddir@)
|
|
|
|
|
|
|
|
# Set the root directory of this project's install prefix
|
|
|
|
PROJ_INSTALL_ROOT := @prefix@
|
|
|
|
|
|
|
|
# Set the C++ flags
|
|
|
|
ifeq (@GXX@,yes)
|
|
|
|
POLLY_CXXFLAGS := "-fno-common -Woverloaded-virtual -Wno-long-long -Wall -W -Wno-unused-parameter -Wwrite-strings"
|
|
|
|
endif
|
|
|
|
|
2011-07-01 03:50:04 +08:00
|
|
|
POLLY_CXXFLAGS += "-fno-rtti -fno-exceptions"
|
|
|
|
|
2012-05-05 04:30:03 +08:00
|
|
|
CLOOG_FOUND := @cloog_found@
|
2012-05-08 00:20:07 +08:00
|
|
|
ISL_CODEGEN_FOUND := @isl_codegen_found@
|
2011-04-29 14:27:02 +08:00
|
|
|
OPENSCOP_FOUND := @openscop_found@
|
|
|
|
SCOPLIB_FOUND := @scoplib_found@
|
2012-06-06 20:16:10 +08:00
|
|
|
CUDALIB_FOUND := @cuda_found@
|
2011-04-29 14:27:02 +08:00
|
|
|
|
|
|
|
# Set include directroys
|
|
|
|
POLLY_INC := @gmp_inc@ @isl_inc@ \
|
2012-06-06 20:16:10 +08:00
|
|
|
@cloog_inc@ @openscop_inc@ @scoplib_inc@ @cuda_inc@\
|
2012-08-02 15:47:26 +08:00
|
|
|
@pluto_inc@ -I$(POLLY_SRC_ROOT)/lib/JSON/include
|
2011-04-29 14:27:02 +08:00
|
|
|
|
2012-06-06 20:16:10 +08:00
|
|
|
POLLY_LD := @gmp_ld@ @isl_ld@ @cloog_ld@ @openscop_ld@ @scoplib_ld@ \
|
2012-08-02 15:47:26 +08:00
|
|
|
@scoplib_rpath@ @cuda_ld@ @pluto_ld@
|
2011-04-29 14:27:02 +08:00
|
|
|
|
2012-06-06 20:16:10 +08:00
|
|
|
POLLY_LIB := @gmp_lib@ @isl_lib@ @cloog_lib@ @openscop_lib@ @scoplib_lib@ \
|
2012-08-02 15:47:26 +08:00
|
|
|
@cuda_lib@ @pluto_lib@
|