Add forgotten Makefile
[polly.git] / Makefile.common.in
blob8a5b945840b8c1eb52ab3e302ece9ace7ac8d614
1 #===-- Makefile.common - Common make rules for Polly -------*- Makefile -*--===#
3 #                     The LLVM Compiler Infrastructure
5 # This file is distributed under the University of Illinois Open Source
6 # License. See LICENSE.TXT for details.
8 #===------------------------------------------------------------------------===#
10 # Configuration file to set paths specific to local installation of LLVM
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@
17 # Set the name of the project here
19 # (this is *not* the same as OBJ_ROOT as defined in LLVM's Makefile.config).
20 LLVM_OBJ_ROOT = @LLVM_OBJ@
22 PROJ_SRC_ROOT := $(subst //,/,@abs_top_srcdir@)
24 # Set the root directory of this project's object files
25 PROJ_OBJ_ROOT := $(subst //,/,@abs_top_builddir@)
27 ifndef LLVM_OBJ_ROOT
28 include $(LEVEL)/Makefile.config
29 else
30 include $(PROJ_OBJ_ROOT)/Makefile.config
31 endif
33 # Include LLVM's Master Makefile.
34 include $(LLVM_SRC_ROOT)/Makefile.common