| OLD | NEW |
| 1 ##===- tools/Makefile --------------------------------------*- Makefile -*-===## | 1 ##===- tools/Makefile --------------------------------------*- Makefile -*-===## |
| 2 # | 2 # |
| 3 # The LLVM Compiler Infrastructure | 3 # The LLVM Compiler Infrastructure |
| 4 # | 4 # |
| 5 # This file is distributed under the University of Illinois Open Source | 5 # This file is distributed under the University of Illinois Open Source |
| 6 # License. See LICENSE.TXT for details. | 6 # License. See LICENSE.TXT for details. |
| 7 # | 7 # |
| 8 ##===----------------------------------------------------------------------===## | 8 ##===----------------------------------------------------------------------===## |
| 9 | 9 |
| 10 LEVEL := .. | 10 LEVEL := .. |
| 11 | 11 |
| 12 include $(LEVEL)/Makefile.config | 12 include $(LEVEL)/Makefile.config |
| 13 | 13 |
| 14 # Build clang if present. | 14 # Build clang if present. |
| 15 | 15 |
| 16 ifneq ($(CLANG_SRC_ROOT),) | 16 ifneq ($(CLANG_SRC_ROOT),) |
| 17 OPTIONAL_PARALLEL_DIRS := $(CLANG_SRC_ROOT) | 17 OPTIONAL_PARALLEL_DIRS := $(CLANG_SRC_ROOT) |
| 18 else | 18 else |
| 19 OPTIONAL_PARALLEL_DIRS := clang | 19 OPTIONAL_PARALLEL_DIRS := clang |
| 20 endif | 20 endif |
| 21 | 21 |
| 22 OPTIONAL_PARALLEL_DIRS += $(SUBZERO_SRC_ROOT) |
| 22 # Build LLDB if present. Note LLDB must be built last as it depends on the | 23 # Build LLDB if present. Note LLDB must be built last as it depends on the |
| 23 # wider LLVM infrastructure (including Clang). | 24 # wider LLVM infrastructure (including Clang). |
| 24 OPTIONAL_DIRS := lldb | 25 OPTIONAL_DIRS := lldb |
| 25 | 26 |
| 26 # NOTE: The tools are organized into five groups of four consisting of one | 27 # NOTE: The tools are organized into five groups of four consisting of one |
| 27 # large and three small executables. This is done to minimize memory load | 28 # large and three small executables. This is done to minimize memory load |
| 28 # in parallel builds. Please retain this ordering. | 29 # in parallel builds. Please retain this ordering. |
| 29 DIRS := llvm-config | 30 DIRS := llvm-config |
| 30 PARALLEL_DIRS := opt llvm-as llvm-dis llc llvm-ar llvm-nm llvm-link \ | 31 PARALLEL_DIRS := opt llvm-as llvm-dis llc llvm-ar llvm-nm llvm-link \ |
| 31 lli llvm-extract llvm-mc bugpoint llvm-bcanalyzer llvm-diff \ | 32 lli llvm-extract llvm-mc bugpoint llvm-bcanalyzer llvm-diff \ |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 68 | 69 |
| 69 # On Win32, loadable modules can be built with ENABLE_SHARED. | 70 # On Win32, loadable modules can be built with ENABLE_SHARED. |
| 70 ifneq ($(ENABLE_SHARED),1) | 71 ifneq ($(ENABLE_SHARED),1) |
| 71 ifneq (,$(filter $(HOST_OS), Cygwin MingW)) | 72 ifneq (,$(filter $(HOST_OS), Cygwin MingW)) |
| 72 PARALLEL_DIRS := $(filter-out bugpoint-passes, \ | 73 PARALLEL_DIRS := $(filter-out bugpoint-passes, \ |
| 73 $(PARALLEL_DIRS)) | 74 $(PARALLEL_DIRS)) |
| 74 endif | 75 endif |
| 75 endif | 76 endif |
| 76 | 77 |
| 77 include $(LEVEL)/Makefile.common | 78 include $(LEVEL)/Makefile.common |
| OLD | NEW |