blob: 23197a15b4c1a5616c883fac4ede0aadd7fc97da [file] [log] [blame]
Daniel Dunbarfec7c2a2009-01-19 19:20:01 +00001##===- tools/Makefile --------------------------------------*- Makefile -*-===##
2#
3# The LLVM Compiler Infrastructure
4#
5# This file is distributed under the University of Illinois Open Source
6# License. See LICENSE.TXT for details.
7#
8##===----------------------------------------------------------------------===##
9
Daniel Dunbarafed0992010-06-08 20:34:18 +000010CLANG_LEVEL := ..
Chandler Carruth2689a082012-08-09 00:05:27 +000011
Daniel Dunbarafed0992010-06-08 20:34:18 +000012include $(CLANG_LEVEL)/../../Makefile.config
Chris Lattnerb196ef72010-03-07 00:17:28 +000013
Chandler Carruth20316a92012-08-09 21:02:52 +000014DIRS := driver libclang c-index-test arcmt-test c-arcmt-test diagtool \
15 clang-check
Chandler Carruthaf310b12012-08-09 20:21:38 +000016
17# Recurse into the extra repository of tools if present.
Chandler Carruth20316a92012-08-09 21:02:52 +000018OPTIONAL_DIRS := extra
Chandler Carruthaf310b12012-08-09 20:21:38 +000019
Bill Wendling2bf89802012-10-03 08:39:19 +000020ifeq ($(BUILD_CLANG_ONLY),YES)
Argyrios Kyrtzidis090b1362012-11-06 19:14:25 +000021 DIRS := driver libclang c-index-test
Bill Wendling2bf89802012-10-03 08:39:19 +000022 OPTIONAL_DIRS :=
23endif
24
Daniel Dunbarafed0992010-06-08 20:34:18 +000025include $(CLANG_LEVEL)/Makefile