[analyzer] Pass CheckerManager to the registration functions.
[clang.git] / unittests / Makefile
blob951e17e21771ee1e9960e7de72678000db155602
1 ##===- unittests/Makefile ----------------------------------*- Makefile -*-===##
3 # The LLVM Compiler Infrastructure
5 # This file is distributed under the University of Illinois Open Source
6 # License. See LICENSE.TXT for details.
8 ##===----------------------------------------------------------------------===##
10 # If CLANG_LEVEL is not set, then we are the top-level Makefile. Otherwise, we
11 # are being included from a subdirectory makefile.
13 ifndef CLANG_LEVEL
15 IS_UNITTEST_LEVEL := 1
16 CLANG_LEVEL := ..
17 PARALLEL_DIRS = Basic Frontend
19 endif # CLANG_LEVEL
21 include $(CLANG_LEVEL)/Makefile
23 ifndef IS_UNITTEST_LEVEL
25 MAKEFILE_UNITTEST_NO_INCLUDE_COMMON := 1
26 include $(LLVM_SRC_ROOT)/unittests/Makefile.unittest
28 endif # IS_UNITTEST_LEVEL