llvm.org GIT mirror llvm / a37fefd
Checkin of autoconf-style object root. Modified Makefiles to use the new Makefile setup in LLVM. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8380 91177308-0d34-0410-b5e6-96231b3b80d8 John Criswell 15 years ago
5 changed file(s) with 69 addition(s) and 17 deletion(s). Raw diff Collapse all Expand all
0 #
1 # Set this variable to the top of the LLVM source tree.
1 # Configure the location of the LLVM object root. We know it is two
2 # directories up. The source tree location we do not know; let the LLVM
3 # Makefiles find it for us.
24 #
3 LLVM_SRC_ROOT = $(LEVEL)/../..
5 LLVM_OBJ_ROOT=$(LEVEL)/../..
46
57 #
6 # Include LLVM's Master Makefile.
8 # Grab the LLVM configuration file.
79 #
8 include $(LLVM_SRC_ROOT)/Makefile.common
10 include $(LEVEL)/../../Makefile.config
911
12 #
13 # Reconfigure the source directories
14 #
15 BUILD_SRC_ROOT:=$(LLVM_SRC_ROOT)/projects/ModuleMaker
16 BUILD_SRC_DIR := $(subst //,/,$(BUILD_SRC_ROOT)/$(patsubst $(BUILD_OBJ_ROOT)%,%,$(BUILD_OBJ_DIR)))
17
18 #
19 # Include LLVM's build rules.
20 #
21 include $(LLVM_SRC_ROOT)/Makefile.rules
22
0 #
1 # Set this variable to the top of the LLVM source tree.
1 # Configure the location of the LLVM object root. We know it is two
2 # directories up. The source tree location we do not know; let the LLVM
3 # Makefiles find it for us.
24 #
3 LLVM_SRC_ROOT = $(LEVEL)/../..
5 LLVM_OBJ_ROOT=$(LEVEL)/../..
46
57 #
6 # Include LLVM's Master Makefile.
8 # Grab the LLVM configuration file.
79 #
8 include $(LLVM_SRC_ROOT)/Makefile.common
10 include $(LEVEL)/../../Makefile.config
911
12 #
13 # Reconfigure the source directories
14 #
15 BUILD_SRC_ROOT:=$(LLVM_SRC_ROOT)/projects/ModuleMaker
16 BUILD_SRC_DIR := $(subst //,/,$(BUILD_SRC_ROOT)/$(patsubst $(BUILD_OBJ_ROOT)%,%,$(BUILD_OBJ_DIR)))
17
18 #
19 # Include LLVM's build rules.
20 #
21 include $(LLVM_SRC_ROOT)/Makefile.rules
22
0 #
1 # Set this variable to the top of the LLVM source tree.
1 # Configure the location of the LLVM object root. We know it is two
2 # directories up. The source tree location we do not know; let the LLVM
3 # Makefiles find it for us.
24 #
3 LLVM_SRC_ROOT = $(LEVEL)/../..
5 LLVM_OBJ_ROOT=$(LEVEL)/../..
46
57 #
6 # Include LLVM's Master Makefile.
8 # Grab the LLVM configuration file.
79 #
8 include $(LLVM_SRC_ROOT)/Makefile.common
10 include $(LEVEL)/../../Makefile.config
911
12 #
13 # Reconfigure the source directories
14 #
15 BUILD_SRC_ROOT:=$(LLVM_SRC_ROOT)/projects/ModuleMaker
16 BUILD_SRC_DIR := $(subst //,/,$(BUILD_SRC_ROOT)/$(patsubst $(BUILD_OBJ_ROOT)%,%,$(BUILD_OBJ_DIR)))
17
18 #
19 # Include LLVM's build rules.
20 #
21 include $(LLVM_SRC_ROOT)/Makefile.rules
22
99 #
1010 # Directories that needs to be built.
1111 #
12 #DIRS = lib tools
12 DIRS = lib tools
1313
1414 #
1515 # Include the Master Makefile that knows how to build all.
0 #
1 # Set this variable to the top of the LLVM source tree.
1 # Configure the location of the LLVM object root. We know it is two
2 # directories up. The source tree location we do not know; let the LLVM
3 # Makefiles find it for us.
24 #
3 LLVM_SRC_ROOT = $(LEVEL)/../..
5 LLVM_OBJ_ROOT=$(LEVEL)/../..
46
57 #
6 # Include LLVM's Master Makefile.
8 # Grab the LLVM configuration file.
79 #
8 include $(LLVM_SRC_ROOT)/Makefile.common
10 include $(LEVEL)/../../Makefile.config
911
12 #
13 # Reconfigure the source directories
14 #
15 BUILD_SRC_ROOT:=$(LLVM_SRC_ROOT)/projects/sample
16 BUILD_SRC_DIR := $(subst //,/,$(BUILD_SRC_ROOT)/$(patsubst $(BUILD_OBJ_ROOT)%,%,$(BUILD_OBJ_DIR)))
17
18 #
19 # Include LLVM's build rules.
20 #
21 include $(LLVM_SRC_ROOT)/Makefile.rules
22