summaryrefslogtreecommitdiff
blob: d4f24d1c488889258c91e3f157a28e710113db78 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
#===-- 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

# Do us work with scoplib?
OPENSCOP_FOUND := @openscop_found@
SCOPLIB_FOUND := @scoplib_found@

# Set include directroys
POLLY_INC :=  @gmp_inc@ @isl_inc@ \
              @cloog_inc@ @openscop_inc@ @scoplib_inc@ \
	      -I$(POLLY_SRC_ROOT)/lib/JSON/include

POLLY_LD := @gmp_ld@ @isl_ld@ @cloog_ld@ @openscop_ld@ @scoplib_ld@ @scoplib_rpath@

POLLY_LIB := @gmp_lib@ @isl_lib@ @cloog_lib@ @openscop_lib@ @scoplib_lib@