mirror of
https://github.com/RPCSX/llvm.git
synced 2024-11-27 05:30:49 +00:00
28f6f2218b
Don't both with the "C" and "cc" extensions as they aren't common and they the "C" extension conflicts with the "c" extension on operating systems that have case insensitive file names. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28899 91177308-0d34-0410-b5e6-96231b3b80d8
34 lines
1.4 KiB
Makefile
34 lines
1.4 KiB
Makefile
##===- tools/llvmc/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 = ../..
|
|
TOOLNAME = llvmc
|
|
USEDLIBS = LLVMBCReader.a LLVMCore.a LLVMSupport.a LLVMbzip2.a LLVMSystem.a
|
|
CONFIG_FILES = c cpp ll
|
|
EXTRA_DIST = c cpp ll ConfigLexer.cpp.cvs ConfigLexer.l.cvs
|
|
|
|
# The CompilerDriver needs to know the locations of several configured
|
|
# directories and paths. We define these as preprocessor symbols so they can
|
|
# be hard coded into the process based on the configuration. Only those
|
|
# configuration values not available in llvm/include/Config/config.h need to be
|
|
# specified here. These values are used as the replacements for the
|
|
# configuration file substitution variables such as %llvmgccdir%
|
|
CPPFLAGS = -DLLVMGCCDIR="\"$(LLVMGCCDIR)\"" \
|
|
-DLLVMGCCARCH="\"$(LLVMGCCARCH)\"" \
|
|
-DLLVMGCC="\"$(LLVMGCC)\"" \
|
|
-DLLVMGXX="\"$(LLVMGXX)\"" \
|
|
-DLLVMCC1="\"$(LLVMCC1)\"" \
|
|
-DLLVMCC1PLUS="$(LLVMCC1PLUS)"
|
|
|
|
include $(LEVEL)/Makefile.common
|
|
|
|
install::
|
|
$(Echo) Installing additional C++ configuration clones
|
|
$(Verb)$(DataInstall) $(PROJ_SRC_DIR)/cpp $(PROJ_etcdir)/c++
|
|
$(Verb)$(DataInstall) $(PROJ_SRC_DIR)/cpp $(PROJ_etcdir)/cxx
|