2004-08-10 16:27:08 +00:00
|
|
|
##===- 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
|
2007-02-12 18:31:46 +00:00
|
|
|
LINK_COMPONENTS = support system core bcreader
|
2006-12-13 08:09:48 +00:00
|
|
|
CONFIG_FILES = c cpp ll st
|
2006-04-12 20:56:12 +00:00
|
|
|
EXTRA_DIST = c cpp ll ConfigLexer.cpp.cvs ConfigLexer.l.cvs
|
2006-07-07 00:46:19 +00:00
|
|
|
REQUIRES_EH := 1
|
2005-05-19 00:52:28 +00:00
|
|
|
|
|
|
|
# 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)\"" \
|
2006-08-16 20:31:44 +00:00
|
|
|
-DLLVMCC1PLUS="\"$(LLVMCC1PLUS)\""
|
2004-08-10 16:27:08 +00:00
|
|
|
|
|
|
|
include $(LEVEL)/Makefile.common
|
2004-11-24 00:01:57 +00:00
|
|
|
|
|
|
|
install::
|
2005-01-16 02:21:29 +00:00
|
|
|
$(Echo) Installing additional C++ configuration clones
|
2005-05-19 00:52:28 +00:00
|
|
|
$(Verb)$(DataInstall) $(PROJ_SRC_DIR)/cpp $(PROJ_etcdir)/c++
|
|
|
|
$(Verb)$(DataInstall) $(PROJ_SRC_DIR)/cpp $(PROJ_etcdir)/cxx
|