aboutsummaryrefslogtreecommitdiff
path: root/tools/Makefile
blob: b33c74d66e52466887776311840967032a35dfd0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
##===- tools/Makefile --------------------------------------*- Makefile -*-===##
#
#                     The LLVM Compiler Infrastructure
#
# This file is distributed under the University of Illinois Open Source
# License. See LICENSE.TXT for details.
#
##===----------------------------------------------------------------------===##

CLANG_LEVEL := ..

include $(CLANG_LEVEL)/../../Makefile.config

DIRS := driver libclang c-index-test arcmt-test c-arcmt-test diagtool \
        clang-check clang-format

# Recurse into the extra repository of tools if present.
OPTIONAL_DIRS := extra

ifeq ($(BUILD_CLANG_ONLY),YES)
  DIRS := driver libclang c-index-test
  OPTIONAL_DIRS :=
endif

include $(CLANG_LEVEL)/Makefile