blob: fd2638eebcd3db14a5a6673b6dbea8266aa8e30d [file] [log] [blame]
PROJECT_NAME := poolalloc
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_objdir@)
# Set the root directory of this project's install prefix
PROJ_INSTALL_ROOT := @prefix@
# Location of SAFECode source tree
SAFECODE_SRC_ROOT := @SAFECODESRC@
SAFECODE_OBJ_ROOT := @SAFECODEOBJ@
# All of the code should additionally look inside the pool allocation source
# code for include files
CFLAGS += -I$(SAFECODE_SRC_ROOT)/include -I$(SAFECODE_OBJ_ROOT)/include
CXXFLAGS += -I$(SAFECODE_SRC_ROOT)/include -I$(SAFECODE_OBJ_ROOT)/include
CPPFLAGS += -I$(SAFECODE_SRC_ROOT)/include -I$(SAFECODE_OBJ_ROOT)/include
# Include LLVM's Master Makefile.
include $(LLVM_SRC_ROOT)/Makefile.common