1 # Set the name of the project here 2 PROJECT_NAME := sample 3 PROJ_VERSION := 0.9 4 5 # Set this variable to the top of the LLVM source tree. 6 LLVM_SRC_ROOT = @LLVM_SRC@ 7 8 # Set this variable to the top level directory where LLVM was built 9 # (this is *not* the same as OBJ_ROOT as defined in LLVM's Makefile.config). 10 LLVM_OBJ_ROOT = @LLVM_OBJ@ 11 12 # Set the directory root of this project's source files 13 PROJ_SRC_ROOT := $(subst //,/,@abs_top_srcdir@) 14 15 # Set the root directory of this project's object files 16 PROJ_OBJ_ROOT := $(subst //,/,@abs_top_builddir@) 17 18 # Set the root directory of this project's install prefix 19 PROJ_INSTALL_ROOT := @prefix@ 20 21 # Configuration file to set paths specific to local installation of LLVM 22 include $(PROJ_OBJ_ROOT)/Makefile.llvm.config 23 24 # Include all of the build rules used for making LLVM 25 include $(PROJ_SRC_ROOT)/Makefile.llvm.rules 26 27