mirror of
https://github.com/RPCS3/llvm.git
synced 2024-11-24 12:20:00 +00:00
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
This commit is contained in:
parent
69077e28d7
commit
a37fefd064
@ -1,10 +1,23 @@
|
||||
#
|
||||
# Set this variable to the top of the LLVM source tree.
|
||||
# Configure the location of the LLVM object root. We know it is two
|
||||
# directories up. The source tree location we do not know; let the LLVM
|
||||
# Makefiles find it for us.
|
||||
#
|
||||
LLVM_SRC_ROOT = $(LEVEL)/../..
|
||||
LLVM_OBJ_ROOT=$(LEVEL)/../..
|
||||
|
||||
#
|
||||
# Include LLVM's Master Makefile.
|
||||
# Grab the LLVM configuration file.
|
||||
#
|
||||
include $(LLVM_SRC_ROOT)/Makefile.common
|
||||
include $(LEVEL)/../../Makefile.config
|
||||
|
||||
#
|
||||
# Reconfigure the source directories
|
||||
#
|
||||
BUILD_SRC_ROOT:=$(LLVM_SRC_ROOT)/projects/ModuleMaker
|
||||
BUILD_SRC_DIR := $(subst //,/,$(BUILD_SRC_ROOT)/$(patsubst $(BUILD_OBJ_ROOT)%,%,$(BUILD_OBJ_DIR)))
|
||||
|
||||
#
|
||||
# Include LLVM's build rules.
|
||||
#
|
||||
include $(LLVM_SRC_ROOT)/Makefile.rules
|
||||
|
||||
|
@ -1,10 +1,23 @@
|
||||
#
|
||||
# Set this variable to the top of the LLVM source tree.
|
||||
# Configure the location of the LLVM object root. We know it is two
|
||||
# directories up. The source tree location we do not know; let the LLVM
|
||||
# Makefiles find it for us.
|
||||
#
|
||||
LLVM_SRC_ROOT = $(LEVEL)/../..
|
||||
LLVM_OBJ_ROOT=$(LEVEL)/../..
|
||||
|
||||
#
|
||||
# Include LLVM's Master Makefile.
|
||||
# Grab the LLVM configuration file.
|
||||
#
|
||||
include $(LLVM_SRC_ROOT)/Makefile.common
|
||||
include $(LEVEL)/../../Makefile.config
|
||||
|
||||
#
|
||||
# Reconfigure the source directories
|
||||
#
|
||||
BUILD_SRC_ROOT:=$(LLVM_SRC_ROOT)/projects/ModuleMaker
|
||||
BUILD_SRC_DIR := $(subst //,/,$(BUILD_SRC_ROOT)/$(patsubst $(BUILD_OBJ_ROOT)%,%,$(BUILD_OBJ_DIR)))
|
||||
|
||||
#
|
||||
# Include LLVM's build rules.
|
||||
#
|
||||
include $(LLVM_SRC_ROOT)/Makefile.rules
|
||||
|
||||
|
@ -1,10 +1,23 @@
|
||||
#
|
||||
# Set this variable to the top of the LLVM source tree.
|
||||
# Configure the location of the LLVM object root. We know it is two
|
||||
# directories up. The source tree location we do not know; let the LLVM
|
||||
# Makefiles find it for us.
|
||||
#
|
||||
LLVM_SRC_ROOT = $(LEVEL)/../..
|
||||
LLVM_OBJ_ROOT=$(LEVEL)/../..
|
||||
|
||||
#
|
||||
# Include LLVM's Master Makefile.
|
||||
# Grab the LLVM configuration file.
|
||||
#
|
||||
include $(LLVM_SRC_ROOT)/Makefile.common
|
||||
include $(LEVEL)/../../Makefile.config
|
||||
|
||||
#
|
||||
# Reconfigure the source directories
|
||||
#
|
||||
BUILD_SRC_ROOT:=$(LLVM_SRC_ROOT)/projects/ModuleMaker
|
||||
BUILD_SRC_DIR := $(subst //,/,$(BUILD_SRC_ROOT)/$(patsubst $(BUILD_OBJ_ROOT)%,%,$(BUILD_OBJ_DIR)))
|
||||
|
||||
#
|
||||
# Include LLVM's build rules.
|
||||
#
|
||||
include $(LLVM_SRC_ROOT)/Makefile.rules
|
||||
|
||||
|
@ -10,7 +10,7 @@ LEVEL = .
|
||||
#
|
||||
# Directories that needs to be built.
|
||||
#
|
||||
#DIRS = lib tools
|
||||
DIRS = lib tools
|
||||
|
||||
#
|
||||
# Include the Master Makefile that knows how to build all.
|
||||
|
@ -1,10 +1,23 @@
|
||||
#
|
||||
# Set this variable to the top of the LLVM source tree.
|
||||
# Configure the location of the LLVM object root. We know it is two
|
||||
# directories up. The source tree location we do not know; let the LLVM
|
||||
# Makefiles find it for us.
|
||||
#
|
||||
LLVM_SRC_ROOT = $(LEVEL)/../..
|
||||
LLVM_OBJ_ROOT=$(LEVEL)/../..
|
||||
|
||||
#
|
||||
# Include LLVM's Master Makefile.
|
||||
# Grab the LLVM configuration file.
|
||||
#
|
||||
include $(LLVM_SRC_ROOT)/Makefile.common
|
||||
include $(LEVEL)/../../Makefile.config
|
||||
|
||||
#
|
||||
# Reconfigure the source directories
|
||||
#
|
||||
BUILD_SRC_ROOT:=$(LLVM_SRC_ROOT)/projects/sample
|
||||
BUILD_SRC_DIR := $(subst //,/,$(BUILD_SRC_ROOT)/$(patsubst $(BUILD_OBJ_ROOT)%,%,$(BUILD_OBJ_DIR)))
|
||||
|
||||
#
|
||||
# Include LLVM's build rules.
|
||||
#
|
||||
include $(LLVM_SRC_ROOT)/Makefile.rules
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user