-
Notifications
You must be signed in to change notification settings - Fork 3
/
Makefile.common.in
41 lines (30 loc) · 1.24 KB
/
Makefile.common.in
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
# Set the name of the project here
PROJECT_NAME := crisp
PROJ_VERSION := 0.01
# 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@
# 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
# Include Crisp's extension to LLVM's build rules
include $(PROJ_SRC_ROOT)/Makefile.crisp.rules
# Set SWI Prolog variables
SWIPL = @SWIPL@
SWIPL_LDFLAGS = @SWIPL_LDFLAGS@
SWIPL_LIBS = @SWIPL_LIBS@
SWIPL_CPPFLAGS = @SWIPL_CPPFLAGS@
# Set Clang variables
CLANG_OBJ_CXXFLAGS = @CLANG_OBJ_CXXFLAGS@
CLANG_SRC_CXXFLAGS = @CLANG_SRC_CXXFLAGS@
# Set Boost C++ Library variables
BOOST_CPPFLAGS = @BOOST_CPPFLAGS@