forked from OSchip/llvm-project
42 lines
1.4 KiB
Makefile
42 lines
1.4 KiB
Makefile
#===-- 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
|
|
|
|
POLLY_CXXFLAGS += "-fno-rtti -fno-exceptions"
|
|
|
|
PLUTO_FOUND := @pluto_found@
|
|
CLOOG_FOUND := @cloog_found@
|
|
CUDALIB_FOUND := @cuda_found@
|
|
|
|
# Set include directroys
|
|
POLLY_INC := @gmp_inc@ @isl_inc@ @cloog_inc@ @cuda_inc@\
|
|
@pluto_inc@ -I$(POLLY_SRC_ROOT)/lib/JSON/include
|
|
|
|
POLLY_LD := @gmp_ld@ @isl_ld@ @cloog_ld@ @cuda_ld@ @pluto_ld@
|
|
|
|
POLLY_LIB := @gmp_lib@ @isl_lib@ @cloog_lib@ @cuda_lib@ @pluto_lib@
|