Daniel Dunbar | e224628 | 2010-02-25 08:49:05 +0000 | [diff] [blame] | 1 | ##===- 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 | |
| 10 | LEVEL = ../../../.. |
| 11 | |
| 12 | TOOLNAME = clang-interpreter |
| 13 | CPPFLAGS += -I$(PROJ_SRC_DIR)/../../include -I$(PROJ_OBJ_DIR)/../../include |
| 14 | NO_INSTALL = 1 |
Kovarththanan Rajaratnam | 8799299 | 2010-02-27 07:06:44 +0000 | [diff] [blame] | 15 | |
| 16 | # No plugins, optimize startup time. |
Daniel Dunbar | e224628 | 2010-02-25 08:49:05 +0000 | [diff] [blame] | 17 | TOOL_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 |
| 22 | include $(LEVEL)/Makefile.config |
| 23 | |
| 24 | LINK_COMPONENTS := jit interpreter nativecodegen bitreader bitwriter ipo \ |
| 25 | selectiondag |
| 26 | USEDLIBS = 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 | |
| 30 | include $(LLVM_SRC_ROOT)/Makefile.rules |