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 |
| 15 | TOOL_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 |
| 20 | include $(LEVEL)/Makefile.config |
| 21 | |
| 22 | LINK_COMPONENTS := jit interpreter nativecodegen bitreader bitwriter ipo \ |
| 23 | selectiondag |
| 24 | USEDLIBS = 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 | |
| 28 | include $(LLVM_SRC_ROOT)/Makefile.rules |