blob: 5d1b8c56d9376651e3389ae190d175952016a27b [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
10LEVEL = ../../../..
11
12TOOLNAME = clang-interpreter
13CPPFLAGS += -I$(PROJ_SRC_DIR)/../../include -I$(PROJ_OBJ_DIR)/../../include
14NO_INSTALL = 1
15TOOL_NO_EXPORTS = 1
16
17# Include this here so we can get the configuration of the targets that have
18# been configured for construction. We have to do this early so we can set up
19# LINK_COMPONENTS before including Makefile.rules
20include $(LEVEL)/Makefile.config
21
22LINK_COMPONENTS := jit interpreter nativecodegen bitreader bitwriter ipo \
23 selectiondag
24USEDLIBS = clangFrontend.a clangDriver.a clangCodeGen.a clangSema.a \
25 clangChecker.a clangAnalysis.a clangRewrite.a clangAST.a \
26 clangParse.a clangLex.a clangBasic.a
27
28include $(LLVM_SRC_ROOT)/Makefile.rules