diff options
Diffstat (limited to 'projects/Stacker/Makefile.common.in')
-rw-r--r-- | projects/Stacker/Makefile.common.in | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/projects/Stacker/Makefile.common.in b/projects/Stacker/Makefile.common.in new file mode 100644 index 0000000..55a4f98 --- /dev/null +++ b/projects/Stacker/Makefile.common.in @@ -0,0 +1,28 @@ +# +# 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@ + +# +# Include LLVM's Master Makefile. +# +include $(LLVM_OBJ_ROOT)/Makefile.config + +# +# Set the source root and source directory pathnames +# +BUILD_SRC_DIR := $(subst //,/,@abs_top_srcdir@/$(patsubst $(BUILD_OBJ_ROOT)%,%,$(BUILD_OBJ_DIR))) + +BUILD_SRC_ROOT := $(subst //,/,@abs_top_srcdir@) + +# +# Include LLVM's Master Makefile. +# +include $(LLVM_SRC_ROOT)/Makefile.rules + |