blob: 25478e1f96ade65b16f322b62d7354a5381c023d [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
David Blaikie0bc35e92012-07-31 20:29:59 +000020# Don't install this. It is used for tests.
21NO_INSTALL = 1
22
Peter Collingbourne4b93d662011-02-19 23:03:58 +000023LINK_COMPONENTS := support mc
Douglas Gregorba8be8c2012-04-13 17:26:32 +000024USEDLIBS = clang.a clangFrontend.a clangDriver.a \
NAKAMURA Takumie7e93322012-07-01 00:40:17 +000025 clangTooling.a \
John McCall119bf6b2011-06-16 05:29:03 +000026 clangSerialization.a clangParse.a clangSema.a \
Chandler Carruthf95d4122012-06-20 09:53:52 +000027 clangAnalysis.a clangEdit.a clangAST.a clangLex.a \
Dmitri Gribenkoaa0cd852012-06-20 00:34:58 +000028 clangBasic.a
Steve Naroff50398192009-08-28 15:28:48 +000029
Daniel Dunbarafed0992010-06-08 20:34:18 +000030include $(CLANG_LEVEL)/Makefile
Dmitri Gribenkof303d4c2012-08-07 17:54:38 +000031
32LIBS += "$(LIBXML2_LIBS)"
33CPPFLAGS += "$(LIBXML2_INC)"