1 ##===- tools/index-test/Makefile ---------------------------*- Makefile -*-===##
3 # The LLVM Compiler Infrastructure
5 # This file is distributed under the University of Illinois Open Source
6 # License. See LICENSE.TXT for details.
8 ##===----------------------------------------------------------------------===##
11 TOOLNAME = c-index-test
13 # If a separate install prefix was specified for internal tools, use it
14 # when installing c-index-test.
17 # No plugins, optimize startup time.
20 # 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
23 include $(CLANG_LEVEL)/../../Makefile.config
25 LINK_COMPONENTS := $(TARGETS_TO_BUILD) asmparser support mc
26 USEDLIBS = clang.a clangFrontend.a clangDriver.a \
28 clangSerialization.a clangParse.a clangSema.a \
29 clangAnalysis.a clangEdit.a clangAST.a clangLex.a \
32 include $(CLANG_LEVEL)/Makefile
34 LIBS += $(LIBXML2_LIBS)
35 CPPFLAGS += $(LIBXML2_INC)