llvm-capstone/polly/Makefile.common.in
2012-12-29 15:09:03 +00:00

35 lines
1017 B
Makefile

#===-- 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