2009-01-20 03:20:01 +08:00
|
|
|
##===- tools/Makefile --------------------------------------*- Makefile -*-===##
|
|
|
|
#
|
|
|
|
# The LLVM Compiler Infrastructure
|
|
|
|
#
|
|
|
|
# This file is distributed under the University of Illinois Open Source
|
|
|
|
# License. See LICENSE.TXT for details.
|
|
|
|
#
|
|
|
|
##===----------------------------------------------------------------------===##
|
|
|
|
|
2010-06-09 04:34:18 +08:00
|
|
|
CLANG_LEVEL := ..
|
2012-08-09 08:05:27 +08:00
|
|
|
|
2012-08-10 04:21:38 +08:00
|
|
|
include $(CLANG_LEVEL)/../../Makefile.config
|
|
|
|
|
2013-08-22 23:50:02 +08:00
|
|
|
DIRS :=
|
|
|
|
PARALLEL_DIRS := driver diagtool
|
2013-07-04 00:20:29 +08:00
|
|
|
|
2013-08-22 23:50:02 +08:00
|
|
|
ifeq ($(ENABLE_CLANG_REWRITER),1)
|
|
|
|
PARALLEL_DIRS += clang-format
|
|
|
|
endif
|
|
|
|
|
2013-08-23 00:12:04 +08:00
|
|
|
ifeq ($(ENABLE_CLANG_STATIC_ANALYZER), 1)
|
|
|
|
PARALLEL_DIRS += clang-check
|
|
|
|
endif
|
|
|
|
|
2013-08-22 23:50:02 +08:00
|
|
|
ifeq ($(ENABLE_CLANG_ARCMT), 1)
|
|
|
|
DIRS += libclang c-index-test c-arcmt-test
|
|
|
|
PARALLEL_DIRS += arcmt-test
|
2013-07-04 00:20:29 +08:00
|
|
|
endif
|
2009-01-20 03:20:01 +08:00
|
|
|
|
2012-08-10 04:21:38 +08:00
|
|
|
# Recurse into the extra repository of tools if present.
|
2013-06-25 08:21:29 +08:00
|
|
|
OPTIONAL_PARALLEL_DIRS := extra
|
2010-03-07 08:17:28 +08:00
|
|
|
|
2012-10-03 16:39:19 +08:00
|
|
|
ifeq ($(BUILD_CLANG_ONLY),YES)
|
2013-07-27 05:08:22 +08:00
|
|
|
DIRS := libclang c-index-test
|
|
|
|
PARALLEL_DIRS := driver
|
|
|
|
OPTIONAL_PARALLEL_DIRS :=
|
2012-10-03 16:39:19 +08:00
|
|
|
endif
|
|
|
|
|
2010-06-09 04:34:18 +08:00
|
|
|
include $(CLANG_LEVEL)/Makefile
|