OLD | NEW |
1 #===-- Makefile.config - Local configuration for LLVM ------*- Makefile -*--===# | 1 #===-- Makefile.config - Local configuration for LLVM ------*- 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 # This file is included by Makefile.common. It defines paths and other | 10 # This file is included by Makefile.common. It defines paths and other |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
56 LLVM_SRC_ROOT := $(call realpath, @abs_top_srcdir@) | 56 LLVM_SRC_ROOT := $(call realpath, @abs_top_srcdir@) |
57 LLVM_OBJ_ROOT := $(call realpath, @abs_top_builddir@) | 57 LLVM_OBJ_ROOT := $(call realpath, @abs_top_builddir@) |
58 PROJ_SRC_ROOT := $(LLVM_SRC_ROOT) | 58 PROJ_SRC_ROOT := $(LLVM_SRC_ROOT) |
59 PROJ_SRC_DIR := $(LLVM_SRC_ROOT)$(patsubst $(PROJ_OBJ_ROOT)%,%,$(PROJ_OBJ_DIR
)) | 59 PROJ_SRC_DIR := $(LLVM_SRC_ROOT)$(patsubst $(PROJ_OBJ_ROOT)%,%,$(PROJ_OBJ_DIR
)) |
60 | 60 |
61 ifneq ($(CLANG_SRC_ROOT),) | 61 ifneq ($(CLANG_SRC_ROOT),) |
62 CLANG_SRC_ROOT:= $(call realpath, $(CLANG_SRC_ROOT)) | 62 CLANG_SRC_ROOT:= $(call realpath, $(CLANG_SRC_ROOT)) |
63 PROJ_SRC_DIR := $(patsubst $(LLVM_SRC_ROOT)/tools/clang%,$(CLANG_SRC_ROOT)%,$
(PROJ_SRC_DIR)) | 63 PROJ_SRC_DIR := $(patsubst $(LLVM_SRC_ROOT)/tools/clang%,$(CLANG_SRC_ROOT)%,$
(PROJ_SRC_DIR)) |
64 endif | 64 endif |
65 | 65 |
| 66 ifneq ($(SUBZERO_SRC_ROOT),) |
| 67 PROJ_SRC_DIR := $(patsubst $(LLVM_SRC_ROOT)/tools/subzero%,$(SUBZERO_SRC_ROOT
)%,$(PROJ_SRC_DIR)) |
| 68 endif |
| 69 |
66 prefix := @prefix@ | 70 prefix := @prefix@ |
67 PROJ_prefix := $(prefix) | 71 PROJ_prefix := $(prefix) |
68 program_prefix := @program_prefix@ | 72 program_prefix := @program_prefix@ |
69 PROJ_VERSION := $(LLVMVersion) | 73 PROJ_VERSION := $(LLVMVersion) |
70 else | 74 else |
71 ifndef PROJ_SRC_ROOT | 75 ifndef PROJ_SRC_ROOT |
72 $(error Projects must define PROJ_SRC_ROOT) | 76 $(error Projects must define PROJ_SRC_ROOT) |
73 endif | 77 endif |
74 ifndef PROJ_OBJ_ROOT | 78 ifndef PROJ_OBJ_ROOT |
75 $(error Projects must define PROJ_OBJ_ROOT) | 79 $(error Projects must define PROJ_OBJ_ROOT) |
(...skipping 340 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
416 | 420 |
417 # Flags to control building support for OProfile JIT API | 421 # Flags to control building support for OProfile JIT API |
418 USE_OPROFILE := @USE_OPROFILE@ | 422 USE_OPROFILE := @USE_OPROFILE@ |
419 | 423 |
420 ifeq ($(USE_INTEL_JITEVENTS), 1) | 424 ifeq ($(USE_INTEL_JITEVENTS), 1) |
421 OPTIONAL_COMPONENTS += IntelJITEvents | 425 OPTIONAL_COMPONENTS += IntelJITEvents |
422 endif | 426 endif |
423 ifeq ($(USE_OPROFILE), 1) | 427 ifeq ($(USE_OPROFILE), 1) |
424 OPTIONAL_COMPONENTS += OProfileJIT | 428 OPTIONAL_COMPONENTS += OProfileJIT |
425 endif | 429 endif |
OLD | NEW |