2 # Set this variable to the top of the LLVM source tree.
4 LLVM_SRC_ROOT = @LLVM_SRC@
7 # Set this variable to the top level directory where LLVM was built
8 # (this is *not* the same as OBJ_ROOT as defined in LLVM's Makefile.config).
10 LLVM_OBJ_ROOT = @LLVM_OBJ@
13 # Include LLVM's Master Makefile.
15 include $(LLVM_OBJ_ROOT)/Makefile.config
18 # Set the source root and source directory pathnames
20 BUILD_SRC_DIR := $(subst //,/,@abs_top_srcdir@/$(patsubst $(BUILD_OBJ_ROOT)%,%,$(BUILD_OBJ_DIR)))
22 BUILD_SRC_ROOT := $(subst //,/,@abs_top_srcdir@)
25 # Include LLVM's Master Makefile.
27 include $(LLVM_SRC_ROOT)/Makefile.rules