Daniel Dunbar | fec7c2a | 2009-01-19 19:20:01 +0000 | [diff] [blame] | 1 | ##===- 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 Dunbar | afed099 | 2010-06-08 20:34:18 +0000 | [diff] [blame] | 10 | CLANG_LEVEL := .. |
Chandler Carruth | 2689a08 | 2012-08-09 00:05:27 +0000 | [diff] [blame] | 11 | |
Daniel Dunbar | afed099 | 2010-06-08 20:34:18 +0000 | [diff] [blame] | 12 | include $(CLANG_LEVEL)/../../Makefile.config |
Chris Lattner | b196ef7 | 2010-03-07 00:17:28 +0000 | [diff] [blame] | 13 | |
Chandler Carruth | 20316a9 | 2012-08-09 21:02:52 +0000 | [diff] [blame] | 14 | DIRS := driver libclang c-index-test arcmt-test c-arcmt-test diagtool \ |
| 15 | clang-check |
Chandler Carruth | af310b1 | 2012-08-09 20:21:38 +0000 | [diff] [blame] | 16 | |
| 17 | # Recurse into the extra repository of tools if present. |
Chandler Carruth | 20316a9 | 2012-08-09 21:02:52 +0000 | [diff] [blame] | 18 | OPTIONAL_DIRS := extra |
Chandler Carruth | af310b1 | 2012-08-09 20:21:38 +0000 | [diff] [blame] | 19 | |
Bill Wendling | 2bf8980 | 2012-10-03 08:39:19 +0000 | [diff] [blame] | 20 | ifeq ($(BUILD_CLANG_ONLY),YES) |
Argyrios Kyrtzidis | 090b136 | 2012-11-06 19:14:25 +0000 | [diff] [blame] | 21 | DIRS := driver libclang c-index-test |
Bill Wendling | 2bf8980 | 2012-10-03 08:39:19 +0000 | [diff] [blame] | 22 | OPTIONAL_DIRS := |
| 23 | endif |
| 24 | |
Daniel Dunbar | afed099 | 2010-06-08 20:34:18 +0000 | [diff] [blame] | 25 | include $(CLANG_LEVEL)/Makefile |