2005-01-16 02:21:42 +00:00
|
|
|
# Set the name of the project here
|
|
|
|
PROJECT_NAME := sample
|
|
|
|
PROJ_VERSION := 0.9
|
2011-10-18 23:10:47 +00:00
|
|
|
|
2003-10-16 01:45:10 +00:00
|
|
|
# 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@
|
|
|
|
|
2005-01-16 02:21:42 +00:00
|
|
|
# Set the directory root of this project's source files
|
|
|
|
PROJ_SRC_ROOT := $(subst //,/,@abs_top_srcdir@)
|
2003-10-16 01:45:10 +00:00
|
|
|
|
2005-01-16 02:21:42 +00:00
|
|
|
# Set the root directory of this project's object files
|
2011-10-18 23:10:47 +00:00
|
|
|
PROJ_OBJ_ROOT := $(subst //,/,@abs_top_builddir@)
|
2003-10-16 01:45:10 +00:00
|
|
|
|
2005-01-16 02:21:42 +00:00
|
|
|
# Set the root directory of this project's install prefix
|
|
|
|
PROJ_INSTALL_ROOT := @prefix@
|
2003-10-16 01:45:10 +00:00
|
|
|
|
2011-10-27 21:25:09 +00:00
|
|
|
# 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
|
|
|
|
|