Tobias Grosser | 7580537 | 2011-04-29 06:27:02 | [diff] [blame] | 1 | #===-- 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 | # |
| 12 | PROJECT_NAME := polly |
| 13 | PROJ_VERSION := 0.9 |
| 14 | # Set this variable to the top of the LLVM source tree. |
| 15 | LLVM_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). |
| 20 | LLVM_OBJ_ROOT = @LLVM_OBJ@ |
| 21 | |
| 22 | PROJ_SRC_ROOT := $(subst //,/,@abs_top_srcdir@) |
| 23 | |
| 24 | # Set the root directory of this project's object files |
| 25 | PROJ_OBJ_ROOT := $(subst //,/,@abs_top_builddir@) |
| 26 | |
| 27 | ifndef LLVM_OBJ_ROOT |
| 28 | include $(LEVEL)/Makefile.config |
| 29 | else |
| 30 | include $(PROJ_OBJ_ROOT)/Makefile.config |
| 31 | endif |
| 32 | |
| 33 | # Include LLVM's Master Makefile. |
| 34 | include $(LLVM_SRC_ROOT)/Makefile.common |