summaryrefslogtreecommitdiff
path: root/tools/Makefile
blob: fb23e668073d8585ce29d64033feed1e984a0d98 (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
  OPTIONAL_DIRS :=
endif

include $(CLANG_LEVEL)/Makefile