Make use of the Index library through the index-test tool.
[clang.git] / tools / index-test / Makefile
blobcec0eee2861757ad7076755591068fe8312c32c1
1 ##===- tools/index-test/Makefile ---------------------------*- Makefile -*-===##
2 #
3 # The LLVM Compiler Infrastructure
5 # This file is distributed under the University of Illinois Open Source
6 # License. See LICENSE.TXT for details.
7 #
8 ##===----------------------------------------------------------------------===##
9 LEVEL = ../../../..
11 TOOLNAME = index-test
12 CPPFLAGS += -I$(PROJ_SRC_DIR)/../../include -I$(PROJ_OBJ_DIR)/../../include
13 CXXFLAGS = -fno-rtti
15 # No plugins, optimize startup time.
16 TOOL_NO_EXPORTS = 1
18 include $(LEVEL)/Makefile.config
20 LINK_COMPONENTS := bitreader
21 USEDLIBS = clangIndex.a clangFrontend.a clangSema.a clangAST.a clangLex.a clangBasic.a
23 include $(LLVM_SRC_ROOT)/Makefile.rules