[c-index-test] When building with BUILD_CLANG_ONLY=YES, include c-index-test.

It is part of libclang and has other uses besides running the clang tests.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@167484 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Argyrios Kyrtzidis 2012-11-06 19:54:46 +00:00
parent b042868c01
commit 9d8c678658

View File

@ -69,12 +69,10 @@ endif
ifeq ($(MAKECMDGOALS),install-clang)
DIRS := tools/clang/tools/driver tools/clang/lib/Headers \
tools/clang/tools/libclang \
tools/clang/tools/c-index-test \
tools/clang/include/clang-c \
tools/clang/runtime tools/clang/docs \
tools/lto runtime
ifneq ($(BUILD_CLANG_ONLY),YES)
DIRS += tools/clang/tools/c-index-test
endif
OPTIONAL_DIRS :=
NO_INSTALL = 1
endif