Home | History | Annotate | Download | only in tools
      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 := driver libclang c-index-test arcmt-test c-arcmt-test diagtool \
     15         clang-check
     16 
     17 # Recurse into the extra repository of tools if present.
     18 OPTIONAL_DIRS := extra
     19 
     20 ifeq ($(BUILD_CLANG_ONLY),YES)
     21   DIRS := driver libclang c-index-test
     22   OPTIONAL_DIRS :=
     23 endif
     24 
     25 include $(CLANG_LEVEL)/Makefile
     26