blob: 11719545c4b4efd80022100a7b4a52a2dda4aeeb [file] [log] [blame]
Steve Naroff50398192009-08-28 15:28:48 +00001##===- tools/index-test/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##===----------------------------------------------------------------------===##
Daniel Dunbarafed0992010-06-08 20:34:18 +00009CLANG_LEVEL := ../..
Steve Naroff50398192009-08-28 15:28:48 +000010
11TOOLNAME = c-index-test
Steve Naroff50398192009-08-28 15:28:48 +000012
Bob Wilson3e627ae2011-11-28 08:03:54 +000013# If a separate install prefix was specified for internal tools, use it
14# when installing c-index-test.
15INTERNAL_TOOL = 1
16
Steve Naroff50398192009-08-28 15:28:48 +000017# No plugins, optimize startup time.
18TOOL_NO_EXPORTS = 1
19
NAKAMURA Takumia59114b2012-08-10 06:10:58 +000020# Include this here so we can get the configuration of the targets that have
21# been configured for construction. We have to do this early so we can set up
22# LINK_COMPONENTS before including Makefile.rules
23include $(CLANG_LEVEL)/../../Makefile.config
24
25LINK_COMPONENTS := $(TARGETS_TO_BUILD) asmparser support mc
NAKAMURA Takumi02db3652012-12-20 13:30:05 +000026USEDLIBS = clang.a \
NAKAMURA Takumiaee388b2012-12-20 13:30:10 +000027 clangFormat.a clangRewriteCore.a \
NAKAMURA Takumi02db3652012-12-20 13:30:05 +000028 clangFrontend.a clangDriver.a \
NAKAMURA Takumie7e93322012-07-01 00:40:17 +000029 clangTooling.a \
John McCall119bf6b2011-06-16 05:29:03 +000030 clangSerialization.a clangParse.a clangSema.a \
Chandler Carruthf95d4122012-06-20 09:53:52 +000031 clangAnalysis.a clangEdit.a clangAST.a clangLex.a \
Dmitri Gribenkoaa0cd852012-06-20 00:34:58 +000032 clangBasic.a
Steve Naroff50398192009-08-28 15:28:48 +000033
Daniel Dunbarafed0992010-06-08 20:34:18 +000034include $(CLANG_LEVEL)/Makefile
Dmitri Gribenkof303d4c2012-08-07 17:54:38 +000035
Dmitri Gribenko67bf7dd2012-08-07 18:36:33 +000036LIBS += $(LIBXML2_LIBS)
37CPPFLAGS += $(LIBXML2_INC)