2005-01-16 10:21:42 +08:00
|
|
|
# Set the name of the project here
|
|
|
|
PROJECT_NAME := sample
|
|
|
|
PROJ_VERSION := 0.9
|
2011-10-19 07:10:47 +08:00
|
|
|
|
2003-10-16 09:45:10 +08:00
|
|
|
# Set this variable to the top of the LLVM source tree.
|
|
|
|
LLVM_SRC_ROOT = @LLVM_SRC@
|
|
|
|
|
|
|
|
# Set this variable to the top level directory where LLVM was built
|
|
|
|
# (this is *not* the same as OBJ_ROOT as defined in LLVM's Makefile.config).
|
|
|
|
LLVM_OBJ_ROOT = @LLVM_OBJ@
|
|
|
|
|
2005-01-16 10:21:42 +08:00
|
|
|
# Set the directory root of this project's source files
|
|
|
|
PROJ_SRC_ROOT := $(subst //,/,@abs_top_srcdir@)
|
2003-10-16 09:45:10 +08:00
|
|
|
|
2005-01-16 10:21:42 +08:00
|
|
|
# Set the root directory of this project's object files
|
2011-10-19 07:10:47 +08:00
|
|
|
PROJ_OBJ_ROOT := $(subst //,/,@abs_top_builddir@)
|
2003-10-16 09:45:10 +08:00
|
|
|
|
2005-01-16 10:21:42 +08:00
|
|
|
# Set the root directory of this project's install prefix
|
|
|
|
PROJ_INSTALL_ROOT := @prefix@
|
2003-10-16 09:45:10 +08:00
|
|
|
|
2011-10-28 05:25:09 +08:00
|
|
|
# Configuration file to set paths specific to local installation of LLVM
|
|
|
|
include $(PROJ_OBJ_ROOT)/Makefile.llvm.config
|
|
|
|
|
|
|
|
# Include all of the build rules used for making LLVM
|
|
|
|
include $(PROJ_SRC_ROOT)/Makefile.llvm.rules
|
|
|
|
|