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 10 CLANG_LEVEL := .. 11 12 include $(CLANG_LEVEL)/../../Makefile.config 13 14 DIRS := libclang c-index-test arcmt-test c-arcmt-test 15 PARALLEL_DIRS := driver diagtool clang-format 16 17 ifeq ($(ENABLE_CLANG_STATIC_ANALYZER),1) 18 PARALLEL_DIRS += clang-check 19 endif 20 21 # Recurse into the extra repository of tools if present. 22 OPTIONAL_PARALLEL_DIRS := extra 23 24 ifeq ($(BUILD_CLANG_ONLY),YES) 25 DIRS := libclang c-index-test 26 PARALLEL_DIRS := driver 27 OPTIONAL_PARALLEL_DIRS := 28 endif 29 30 include $(CLANG_LEVEL)/Makefile 31