minix/external/bsd/llvm/dist/clang/tools/Makefile
Lionel Sambuc f4a2713ac8 Importing netbsd clang -- pristine
Change-Id: Ia40e9ffdf29b5dab2f122f673ff6802a58bc690f
2014-07-28 17:05:57 +02:00

39 lines
957 B
Makefile

##===- 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 :=
PARALLEL_DIRS := driver diagtool
ifeq ($(ENABLE_CLANG_REWRITER),1)
PARALLEL_DIRS += clang-format
endif
ifeq ($(ENABLE_CLANG_STATIC_ANALYZER), 1)
PARALLEL_DIRS += clang-check
endif
ifeq ($(ENABLE_CLANG_ARCMT), 1)
DIRS += libclang c-index-test c-arcmt-test
PARALLEL_DIRS += arcmt-test
endif
# Recurse into the extra repository of tools if present.
OPTIONAL_PARALLEL_DIRS := extra
ifeq ($(BUILD_CLANG_ONLY),YES)
DIRS := libclang c-index-test
PARALLEL_DIRS := driver
OPTIONAL_PARALLEL_DIRS :=
endif
include $(CLANG_LEVEL)/Makefile