2009-08-28 23:28:48 +08:00
|
|
|
##===- tools/index-test/Makefile ---------------------------*- Makefile -*-===##
|
|
|
|
#
|
|
|
|
# The LLVM Compiler Infrastructure
|
|
|
|
#
|
|
|
|
# This file is distributed under the University of Illinois Open Source
|
|
|
|
# License. See LICENSE.TXT for details.
|
|
|
|
#
|
|
|
|
##===----------------------------------------------------------------------===##
|
2010-06-09 04:34:18 +08:00
|
|
|
CLANG_LEVEL := ../..
|
2009-08-28 23:28:48 +08:00
|
|
|
|
|
|
|
TOOLNAME = c-index-test
|
|
|
|
|
2011-11-28 16:03:54 +08:00
|
|
|
# If a separate install prefix was specified for internal tools, use it
|
|
|
|
# when installing c-index-test.
|
|
|
|
INTERNAL_TOOL = 1
|
|
|
|
|
2009-08-28 23:28:48 +08:00
|
|
|
# No plugins, optimize startup time.
|
|
|
|
TOOL_NO_EXPORTS = 1
|
|
|
|
|
2012-08-01 04:29:59 +08:00
|
|
|
# Don't install this. It is used for tests.
|
|
|
|
NO_INSTALL = 1
|
|
|
|
|
2011-02-20 07:03:58 +08:00
|
|
|
LINK_COMPONENTS := support mc
|
2012-04-14 01:26:32 +08:00
|
|
|
USEDLIBS = clang.a clangFrontend.a clangDriver.a \
|
2012-07-01 08:40:17 +08:00
|
|
|
clangTooling.a \
|
2011-06-16 13:29:03 +08:00
|
|
|
clangSerialization.a clangParse.a clangSema.a \
|
2012-06-20 17:53:52 +08:00
|
|
|
clangAnalysis.a clangEdit.a clangAST.a clangLex.a \
|
2012-06-20 08:34:58 +08:00
|
|
|
clangBasic.a
|
2009-08-28 23:28:48 +08:00
|
|
|
|
2010-06-09 04:34:18 +08:00
|
|
|
include $(CLANG_LEVEL)/Makefile
|
2012-08-08 01:54:38 +08:00
|
|
|
|
|
|
|
LIBS += "$(LIBXML2_LIBS)"
|
|
|
|
CPPFLAGS += "$(LIBXML2_INC)"
|