| Daniel Dunbar | 6499e9c | 2009-11-15 00:27:43 +0000 | [diff] [blame] | 1 | ##===- examples/PrintFunctionNames/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 |  | 
| Daniel Dunbar | e6c1daa | 2010-06-08 20:34:18 +0000 | [diff] [blame^] | 10 | CLANG_LEVEL := ../.. | 
| Daniel Dunbar | 6499e9c | 2009-11-15 00:27:43 +0000 | [diff] [blame] | 11 | LIBRARYNAME = PrintFunctionNames | 
|  | 12 |  | 
|  | 13 | CPPFLAGS += -I$(PROJ_SRC_DIR)/../../include -I$(PROJ_OBJ_DIR)/../../include | 
| Daniel Dunbar | 6499e9c | 2009-11-15 00:27:43 +0000 | [diff] [blame] | 14 |  | 
|  | 15 | # Include this here so we can get the configuration of the targets that have | 
|  | 16 | # been configured for construction. We have to do this early so we can set up | 
|  | 17 | # LINK_COMPONENTS before including Makefile.rules | 
| Daniel Dunbar | e6c1daa | 2010-06-08 20:34:18 +0000 | [diff] [blame^] | 18 | include $(CLANG_LEVEL)/../../Makefile.config | 
| Daniel Dunbar | 6499e9c | 2009-11-15 00:27:43 +0000 | [diff] [blame] | 19 |  | 
|  | 20 | LINK_LIBS_IN_SHARED = 1 | 
|  | 21 | SHARED_LIBRARY = 1 | 
|  | 22 |  | 
| Daniel Dunbar | 5732ce3 | 2009-12-03 00:00:22 +0000 | [diff] [blame] | 23 | LINK_COMPONENTS := bitreader mc core | 
|  | 24 | USEDLIBS = clangIndex.a clangFrontend.a clangDriver.a clangSema.a \ | 
|  | 25 | clangAnalysis.a clangAST.a clangParse.a clangLex.a clangBasic.a | 
| Daniel Dunbar | 6499e9c | 2009-11-15 00:27:43 +0000 | [diff] [blame] | 26 |  | 
| Daniel Dunbar | e6c1daa | 2010-06-08 20:34:18 +0000 | [diff] [blame^] | 27 | include $(CLANG_LEVEL)/Makefile |