1 ##===- 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 ##===----------------------------------------------------------------------===## 9 CLANG_LEVEL := ../.. 10 11 TOOLNAME = c-index-test 12 13 # If a separate install prefix was specified for internal tools, use it 14 # when installing c-index-test. 15 INTERNAL_TOOL = 1 16 17 # No plugins, optimize startup time. 18 TOOL_NO_EXPORTS = 1 19 20 # Don't install this. It is used for tests. 21 NO_INSTALL = 1 22 23 # Include this here so we can get the configuration of the targets that have 24 # been configured for construction. We have to do this early so we can set up 25 # LINK_COMPONENTS before including Makefile.rules 26 include $(CLANG_LEVEL)/../../Makefile.config 27 28 LINK_COMPONENTS := $(TARGETS_TO_BUILD) asmparser support mc 29 USEDLIBS = clang.a clangFrontend.a clangDriver.a \ 30 clangTooling.a \ 31 clangSerialization.a clangParse.a clangSema.a \ 32 clangAnalysis.a clangEdit.a clangAST.a clangLex.a \ 33 clangBasic.a 34 35 include $(CLANG_LEVEL)/Makefile 36 37 LIBS += $(LIBXML2_LIBS) 38 CPPFLAGS += $(LIBXML2_INC) 39