-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathMakefile.common.in
More file actions
35 lines (25 loc) · 1.1 KB
/
Makefile.common.in
File metadata and controls
35 lines (25 loc) · 1.1 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
PROJECT_NAME := miso
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 source root and source directory pathnames
####PROJ_SRC_DIR := $(subst //,/,@abs_top_srcdir@/$(patsubst $(PROJ_OBJ_ROOT)%,%,$(PROJ_OBJ_DIR)))
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@
# Set the location of the LLVM Test Suite
TEST_SRCDIR := @testsrcdir@
TEST_OBJDIR := @testobjdir@
# All of the code should additionally look inside the pool allocation source
# code for include files
SC_FLAGS = -Werror -Wall -fexceptions
CFLAGS += $(SC_FLAGS)
CPPFLAGS += $(SC_FLAGS)
CXXFLAGS += $(SC_FLAGS) -Wno-deprecated -Wno-overloaded-virtual
# Include LLVM's Master Makefile.
include $(LLVM_SRC_ROOT)/Makefile.common