llvm-6502/runtime/Makefile
Reid Spencer 0c5f7931d9 For PR722:
Change the check for llvm-gcc from using LLVMGCCDIR to LLVMGCC. This checks
for the actual tool rather than the directory in which the tool resides. In
the case of this bug, it is possible that the directory exists but that the
tools in that directory do not. This fix should avoid the makefile from
erroneously proceeding without the actual tools being available.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27361 91177308-0d34-0410-b5e6-96231b3b80d8
2006-04-02 14:34:26 +00:00

35 lines
1.1 KiB
Makefile

##===- runtime/Makefile ------------------------------------*- Makefile -*-===##
#
# The LLVM Compiler Infrastructure
#
# This file was developed by the LLVM research group and is distributed under
# the University of Illinois Open Source License. See LICENSE.TXT for details.
#
##===----------------------------------------------------------------------===##
LEVEL = ..
include $(LEVEL)/Makefile.config
ifneq ($(wildcard $(LLVMGCC)),)
PARALLEL_DIRS := GCCLibraries libdummy libprofile libtrace GC
else
PARALLEL_DIRS :=
install all ::
@echo '********' Warning: Your LLVMGCCDIR is set incorrectly. Check
@echo '********' Warning: llvm/Makefile.config to make sure it matches
@echo '********' Warning: the directory where the C front-end is
@echo '********' Warning: installed,and re-run configure if it does not.
endif
# Disable libprofile: a faulty libtool is generated by autoconf which breaks the
# build on Sparc
ifeq ($(ARCH), Sparc)
PARALLEL_DIRS := $(filter-out libprofile, $(PARALLEL_DIRS))
endif
include $(LEVEL)/Makefile.common
# Install target for libraries: Copy into $LLVMGCCDIR/bytecode-libs
#
install::