Make the name of the project consistent with that specified in the

configure.ac file. This fixes some case-consistency issues between the name
of the tarball created by "make dist" and the tarball used for source when
building the LLVM RPM package.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29554 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Reid Spencer 2006-08-07 23:23:39 +00:00
parent dc4f6bea6c
commit 1b22fde3b2

View File

@ -36,13 +36,13 @@ LLVM_CONFIGTIME := @LLVM_CONFIGTIME@
PWD := @BINPWD@ PWD := @BINPWD@
# Set the project name to LLVM if its not defined # Set the project name to LLVM if its not defined
ifndef PROJECT_NAME ifndef PROJECT_NAME
PROJECT_NAME := LLVM PROJECT_NAME := $(LLVMPackageName)
endif endif
PROJ_OBJ_DIR := $(shell $(PWD)) PROJ_OBJ_DIR := $(shell $(PWD))
PROJ_OBJ_ROOT := $(shell cd $(PROJ_OBJ_DIR)/$(LEVEL); $(PWD)) PROJ_OBJ_ROOT := $(shell cd $(PROJ_OBJ_DIR)/$(LEVEL); $(PWD))
ifeq ($(PROJECT_NAME),LLVM) ifeq ($(PROJECT_NAME),llvm)
LLVM_SRC_ROOT := $(shell cd @abs_top_srcdir@; $(PWD)) LLVM_SRC_ROOT := $(shell cd @abs_top_srcdir@; $(PWD))
LLVM_OBJ_ROOT := $(shell cd @abs_top_builddir@; $(PWD)) LLVM_OBJ_ROOT := $(shell cd @abs_top_builddir@; $(PWD))
PROJ_SRC_ROOT := $(shell cd $(LLVM_SRC_ROOT); $(PWD)) PROJ_SRC_ROOT := $(shell cd $(LLVM_SRC_ROOT); $(PWD))