-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile.common.in
More file actions
43 lines (34 loc) · 1.35 KB
/
Makefile.common.in
File metadata and controls
43 lines (34 loc) · 1.35 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
# Set the name of the project here
PROJECT_NAME := bytesflops
PROJ_VERSION := 1.0
# Set this variable to the top of the LLVM source tree.
LLVM_SRC_ROOT = @LLVM_SRC@
# Set this variable to the top level directory where LLVM was built
# (this is *not* the same as OBJ_ROOT as defined in LLVM's Makefile.config).
LLVM_OBJ_ROOT = @LLVM_OBJ@
# Set the directory root of this project's source files
PROJ_SRC_ROOT := $(subst //,/,@abs_top_srcdir@)
# Set the root directory of this project's object files
PROJ_OBJ_ROOT := $(subst //,/,@abs_top_builddir@)
# Set the root directory of this project's install prefix
PROJ_INSTALL_ROOT := @prefix@
# The following come in handy when building the libbyfl.bca helper
# library and when customizing the bf-gcc, bf-g++, bf-gfortran, and
# bf-gcc wrapper scripts.
LLVMCXX = @LLVMCXX@
LLVMCC_EMITIR_FLAG = @LLVMCC_EMITIR_FLAG@
LLVMCC_OPTION = @LLVMCC_OPTION@
LLVMCC = @LLVMCC@
DRAGONEGG = @DRAGONEGG@
LLVM_INST_LIBDIR = @LLVM_INST_LIBDIR@
# The following are included to make it easy for the user to override them.
CC = @CC@
CFLAGS = @CFLAGS@
CXX = @CXX@
CXXFLAGS = @CXXFLAGS@
datarootdir = @datarootdir@
mandir = @mandir@
# Configuration file to set paths specific to local installation of LLVM
include $(PROJ_OBJ_ROOT)/Makefile.llvm.config
# Include all of the build rules used for making LLVM
include $(PROJ_SRC_ROOT)/Makefile.llvm.rules