blob: 4136a98c5cdcf8f99311fdf60ae8bdb21024cc32 [file] [log] [blame]
Daniel Dunbar9a693872009-11-15 00:27:43 +00001##===- 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 Dunbarafed0992010-06-08 20:34:18 +000010CLANG_LEVEL := ../..
Daniel Dunbar9a693872009-11-15 00:27:43 +000011LIBRARYNAME = PrintFunctionNames
12
13CPPFLAGS += -I$(PROJ_SRC_DIR)/../../include -I$(PROJ_OBJ_DIR)/../../include
Daniel Dunbar9a693872009-11-15 00:27:43 +000014
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 Dunbarafed0992010-06-08 20:34:18 +000018include $(CLANG_LEVEL)/../../Makefile.config
Daniel Dunbar9a693872009-11-15 00:27:43 +000019
20LINK_LIBS_IN_SHARED = 1
21SHARED_LIBRARY = 1
22
Daniel Dunbar25a9c372009-12-03 00:00:22 +000023LINK_COMPONENTS := bitreader mc core
24USEDLIBS = clangIndex.a clangFrontend.a clangDriver.a clangSema.a \
25 clangAnalysis.a clangAST.a clangParse.a clangLex.a clangBasic.a
Daniel Dunbar9a693872009-11-15 00:27:43 +000026
Daniel Dunbarafed0992010-06-08 20:34:18 +000027include $(CLANG_LEVEL)/Makefile