mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-05 13:26:55 +00:00
Adding autoconf support for the sample project.
This should make setting up a new project much easier. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9149 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
28
projects/sample/Makefile.common.in
Normal file
28
projects/sample/Makefile.common.in
Normal file
@@ -0,0 +1,28 @@
|
||||
#
|
||||
# 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@
|
||||
|
||||
#
|
||||
# Include LLVM's Master Makefile.
|
||||
#
|
||||
include $(LLVM_OBJ_ROOT)/Makefile.config
|
||||
|
||||
#
|
||||
# Set the source root and source directory pathnames
|
||||
#
|
||||
BUILD_SRC_DIR := $(subst //,/,@abs_top_srcdir@/$(patsubst $(BUILD_OBJ_ROOT)%,%,$(BUILD_OBJ_DIR)))
|
||||
|
||||
BUILD_SRC_ROOT := $(subst //,/,@abs_top_srcdir@)
|
||||
|
||||
#
|
||||
# Include LLVM's Master Makefile.
|
||||
#
|
||||
include $(LLVM_SRC_ROOT)/Makefile.rules
|
||||
|
Reference in New Issue
Block a user