blob: 6683a57c3b9c1c6e6c141ee6c98afb829f7dbcad [file] [log] [blame]
Daniel Dunbare2246282010-02-25 08:49:05 +00001##===- examples/clang-interpreter/Makefile -----------------*- Makefile -*-===##
2#
3# The LLVM Compiler Infrastructure
4#
5# This file is distributed under the University of Illinois Open Source
6# License. See LICENSE.TXT for details.
7#
8##===----------------------------------------------------------------------===##
9
Daniel Dunbarafed0992010-06-08 20:34:18 +000010CLANG_LEVEL := ../..
Daniel Dunbare2246282010-02-25 08:49:05 +000011
12TOOLNAME = clang-interpreter
13CPPFLAGS += -I$(PROJ_SRC_DIR)/../../include -I$(PROJ_OBJ_DIR)/../../include
14NO_INSTALL = 1
Kovarththanan Rajaratnam87992992010-02-27 07:06:44 +000015
16# No plugins, optimize startup time.
Daniel Dunbare2246282010-02-25 08:49:05 +000017TOOL_NO_EXPORTS = 1
18
19# Include this here so we can get the configuration of the targets that have
20# been configured for construction. We have to do this early so we can set up
21# LINK_COMPONENTS before including Makefile.rules
Daniel Dunbarafed0992010-06-08 20:34:18 +000022include $(CLANG_LEVEL)/../../Makefile.config
Daniel Dunbare2246282010-02-25 08:49:05 +000023
24LINK_COMPONENTS := jit interpreter nativecodegen bitreader bitwriter ipo \
Daniel Dunbarb15894e2010-06-08 15:38:01 +000025 selectiondag asmparser
Daniel Dunbare2246282010-02-25 08:49:05 +000026USEDLIBS = clangFrontend.a clangDriver.a clangCodeGen.a clangSema.a \
27 clangChecker.a clangAnalysis.a clangRewrite.a clangAST.a \
28 clangParse.a clangLex.a clangBasic.a
29
Daniel Dunbarafed0992010-06-08 20:34:18 +000030include $(CLANG_LEVEL)/Makefile