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 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
52 LLVM_SRC_ROOT := $(call realpath, @abs_top_srcdir@) | 52 LLVM_SRC_ROOT := $(call realpath, @abs_top_srcdir@) |
53 LLVM_OBJ_ROOT := $(call realpath, @abs_top_builddir@) | 53 LLVM_OBJ_ROOT := $(call realpath, @abs_top_builddir@) |
54 PROJ_SRC_ROOT := $(LLVM_SRC_ROOT) | 54 PROJ_SRC_ROOT := $(LLVM_SRC_ROOT) |
55 PROJ_SRC_DIR := $(LLVM_SRC_ROOT)$(patsubst $(PROJ_OBJ_ROOT)%,%,$(PROJ_OBJ_DIR )) | 55 PROJ_SRC_DIR := $(LLVM_SRC_ROOT)$(patsubst $(PROJ_OBJ_ROOT)%,%,$(PROJ_OBJ_DIR )) |
56 | 56 |
57 ifneq ($(CLANG_SRC_ROOT),) | 57 ifneq ($(CLANG_SRC_ROOT),) |
58 CLANG_SRC_ROOT:= $(call realpath, $(CLANG_SRC_ROOT)) | 58 CLANG_SRC_ROOT:= $(call realpath, $(CLANG_SRC_ROOT)) |
59 PROJ_SRC_DIR := $(patsubst $(LLVM_SRC_ROOT)/tools/clang%,$(CLANG_SRC_ROOT)%,$ (PROJ_SRC_DIR)) | 59 PROJ_SRC_DIR := $(patsubst $(LLVM_SRC_ROOT)/tools/clang%,$(CLANG_SRC_ROOT)%,$ (PROJ_SRC_DIR)) |
60 endif | 60 endif |
61 | 61 |
62 ifneq ($(SUBZERO_SRC_ROOT),) | |
63 PROJ_SRC_DIR := $(patsubst $(LLVM_SRC_ROOT)/tools/subzero%,$(SUBZERO_SRC_ROOT )%,$(PROJ_SRC_DIR)) | |
Jim Stichnoth
2014/05/22 16:57:42
Too bad about >80 char line... :(
Derek Schuff
2014/05/22 23:21:56
That's a nice line you have there... it would be a
| |
64 endif | |
65 | |
62 prefix := @prefix@ | 66 prefix := @prefix@ |
63 PROJ_prefix := $(prefix) | 67 PROJ_prefix := $(prefix) |
64 program_prefix := @program_prefix@ | 68 program_prefix := @program_prefix@ |
65 PROJ_VERSION := $(LLVMVersion) | 69 PROJ_VERSION := $(LLVMVersion) |
66 else | 70 else |
67 ifndef PROJ_SRC_ROOT | 71 ifndef PROJ_SRC_ROOT |
68 $(error Projects must define PROJ_SRC_ROOT) | 72 $(error Projects must define PROJ_SRC_ROOT) |
69 endif | 73 endif |
70 ifndef PROJ_OBJ_ROOT | 74 ifndef PROJ_OBJ_ROOT |
71 $(error Projects must define PROJ_OBJ_ROOT) | 75 $(error Projects must define PROJ_OBJ_ROOT) |
(...skipping 327 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
399 | 403 |
400 # Flags to control building support for OProfile JIT API | 404 # Flags to control building support for OProfile JIT API |
401 USE_OPROFILE := @USE_OPROFILE@ | 405 USE_OPROFILE := @USE_OPROFILE@ |
402 | 406 |
403 ifeq ($(USE_INTEL_JITEVENTS), 1) | 407 ifeq ($(USE_INTEL_JITEVENTS), 1) |
404 OPTIONAL_COMPONENTS += IntelJITEvents | 408 OPTIONAL_COMPONENTS += IntelJITEvents |
405 endif | 409 endif |
406 ifeq ($(USE_OPROFILE), 1) | 410 ifeq ($(USE_OPROFILE), 1) |
407 OPTIONAL_COMPONENTS += OProfileJIT | 411 OPTIONAL_COMPONENTS += OProfileJIT |
408 endif | 412 endif |
OLD | NEW |