summaryrefslogtreecommitdiffstats
path: root/polly/Makefile.common.in
blob: 8a5b945840b8c1eb52ab3e302ece9ace7ac8d614 (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
#===-- Makefile.common - Common make rules for Polly -------*- Makefile -*--===#
#
#                     The LLVM Compiler Infrastructure
#
# This file is distributed under the University of Illinois Open Source
# License. See LICENSE.TXT for details.
#
#===------------------------------------------------------------------------===#
#
# Configuration file to set paths specific to local installation of LLVM
#
PROJECT_NAME := polly
PROJ_VERSION := 0.9
# Set this variable to the top of the LLVM source tree.
LLVM_SRC_ROOT = @LLVM_SRC@

# Set the name of the project here

# (this is *not* the same as OBJ_ROOT as defined in LLVM's Makefile.config).
LLVM_OBJ_ROOT = @LLVM_OBJ@

PROJ_SRC_ROOT := $(subst //,/,@abs_top_srcdir@)

# Set the root directory of this project's object files
PROJ_OBJ_ROOT := $(subst //,/,@abs_top_builddir@)

ifndef LLVM_OBJ_ROOT
include $(LEVEL)/Makefile.config
else
include $(PROJ_OBJ_ROOT)/Makefile.config
endif

# Include LLVM's Master Makefile.
include $(LLVM_SRC_ROOT)/Makefile.common
OpenPOWER on IntegriCloud