blob: 55a4f984cff01964b4ed4ffe9289783c572ca549 [file] [log] [blame]
Reid Spencer820dab72004-09-04 19:48:50 +00001#
2# Set this variable to the top of the LLVM source tree.
3#
4LLVM_SRC_ROOT = @LLVM_SRC@
5
6#
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).
9#
10LLVM_OBJ_ROOT = @LLVM_OBJ@
11
12#
13# Include LLVM's Master Makefile.
14#
15include $(LLVM_OBJ_ROOT)/Makefile.config
16
17#
18# Set the source root and source directory pathnames
19#
20BUILD_SRC_DIR := $(subst //,/,@abs_top_srcdir@/$(patsubst $(BUILD_OBJ_ROOT)%,%,$(BUILD_OBJ_DIR)))
21
22BUILD_SRC_ROOT := $(subst //,/,@abs_top_srcdir@)
23
24#
25# Include LLVM's Master Makefile.
26#
27include $(LLVM_SRC_ROOT)/Makefile.rules
28