Reid Spencer | 6a8b518 | 2005-01-16 02:21:42 +0000 | [diff] [blame] | 1 | # Set the name of the project here |
| 2 | PROJECT_NAME := sample |
| 3 | PROJ_VERSION := 0.9 |
| 4 | |
John Criswell | caca6ea | 2003-10-16 01:45:10 +0000 | [diff] [blame] | 5 | # Set this variable to the top of the LLVM source tree. |
John Criswell | caca6ea | 2003-10-16 01:45:10 +0000 | [diff] [blame] | 6 | LLVM_SRC_ROOT = @LLVM_SRC@ |
| 7 | |
John Criswell | caca6ea | 2003-10-16 01:45:10 +0000 | [diff] [blame] | 8 | # Set this variable to the top level directory where LLVM was built |
| 9 | # (this is *not* the same as OBJ_ROOT as defined in LLVM's Makefile.config). |
John Criswell | caca6ea | 2003-10-16 01:45:10 +0000 | [diff] [blame] | 10 | LLVM_OBJ_ROOT = @LLVM_OBJ@ |
| 11 | |
Reid Spencer | 6a8b518 | 2005-01-16 02:21:42 +0000 | [diff] [blame] | 12 | # Set the directory root of this project's source files |
| 13 | PROJ_SRC_ROOT := $(subst //,/,@abs_top_srcdir@) |
| 14 | |
| 15 | # Set the root directory of this project's object files |
| 16 | PROJ_OBJ_ROOT := $(subst //,/,@abs_top_objdir@) |
| 17 | |
| 18 | # Set the root directory of this project's install prefix |
| 19 | PROJ_INSTALL_ROOT := @prefix@ |
| 20 | |
John Criswell | caca6ea | 2003-10-16 01:45:10 +0000 | [diff] [blame] | 21 | # Include LLVM's Master Makefile. |
Reid Spencer | 6a8b518 | 2005-01-16 02:21:42 +0000 | [diff] [blame] | 22 | include $(LLVM_OBJ_ROOT)/Makefile.common |