Kovarththanan Rajaratnam | acf8444 | 2010-02-27 07:05:56 +0000 | [diff] [blame] | 1 | ##===- examples/wpa/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 | |
Zhongxing Xu | dc3240c | 2009-07-16 01:00:25 +0000 | [diff] [blame] | 10 | LEVEL = ../../../.. |
| 11 | |
| 12 | TOOLNAME = clang-wpa |
| 13 | CPPFLAGS += -I$(PROJ_SRC_DIR)/../../include -I$(PROJ_OBJ_DIR)/../../include |
Daniel Dunbar | 8165ced | 2009-08-20 18:45:52 +0000 | [diff] [blame] | 14 | NO_INSTALL = 1 |
Zhongxing Xu | dc3240c | 2009-07-16 01:00:25 +0000 | [diff] [blame] | 15 | |
| 16 | # No plugins, optimize startup time. |
| 17 | TOOL_NO_EXPORTS = 1 |
| 18 | |
Kovarththanan Rajaratnam | acf8444 | 2010-02-27 07:05:56 +0000 | [diff] [blame] | 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 |
Zhongxing Xu | dc3240c | 2009-07-16 01:00:25 +0000 | [diff] [blame] | 22 | include $(LEVEL)/Makefile.config |
| 23 | |
Daniel Dunbar | 25a9c37 | 2009-12-03 00:00:22 +0000 | [diff] [blame] | 24 | LINK_COMPONENTS := bitreader mc core |
| 25 | USEDLIBS = clangIndex.a clangFrontend.a clangDriver.a clangSema.a \ |
| 26 | clangAnalysis.a clangAST.a clangParse.a clangLex.a clangBasic.a |
Zhongxing Xu | dc3240c | 2009-07-16 01:00:25 +0000 | [diff] [blame] | 27 | |
| 28 | include $(LLVM_SRC_ROOT)/Makefile.rules |