aboutsummaryrefslogtreecommitdiff
path: root/tools/Makefile
blob: 23197a15b4c1a5616c883fac4ede0aadd7fc97da (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

# 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