blob: 8a5b945840b8c1eb52ab3e302ece9ace7ac8d614 [file] [log] [blame]
Tobias Grosser75805372011-04-29 06:27:021#===-- Makefile.common - Common make rules for Polly -------*- Makefile -*--===#
2#
3# The LLVM Compiler Infrastructure
4#
5# This file is distributed under the University of Illinois Open Source
6# License. See LICENSE.TXT for details.
7#
8#===------------------------------------------------------------------------===#
9#
10# Configuration file to set paths specific to local installation of LLVM
11#
12PROJECT_NAME := polly
13PROJ_VERSION := 0.9
14# Set this variable to the top of the LLVM source tree.
15LLVM_SRC_ROOT = @LLVM_SRC@
16
17# Set the name of the project here
18
19# (this is *not* the same as OBJ_ROOT as defined in LLVM's Makefile.config).
20LLVM_OBJ_ROOT = @LLVM_OBJ@
21
22PROJ_SRC_ROOT := $(subst //,/,@abs_top_srcdir@)
23
24# Set the root directory of this project's object files
25PROJ_OBJ_ROOT := $(subst //,/,@abs_top_builddir@)
26
27ifndef LLVM_OBJ_ROOT
28include $(LEVEL)/Makefile.config
29else
30include $(PROJ_OBJ_ROOT)/Makefile.config
31endif
32
33# Include LLVM's Master Makefile.
34include $(LLVM_SRC_ROOT)/Makefile.common