blob: fecc3f576c58ca4423a8fdede6765964fdf287f7 [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
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
22include $(LEVEL)/Makefile.config
23
24LINK_COMPONENTS := jit interpreter nativecodegen bitreader bitwriter ipo \
25 selectiondag
26USEDLIBS = 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
30include $(LLVM_SRC_ROOT)/Makefile.rules