mirror of
https://github.com/RPCSX/llvm.git
synced 2024-11-24 04:09:45 +00:00
Make the SmallExamples programs compile in their new home.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15923 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
95ab78af3c
commit
f3b4755aa0
@ -6,7 +6,7 @@
|
||||
# the University of Illinois Open Source License. See LICENSE.TXT for details.
|
||||
#
|
||||
##===----------------------------------------------------------------------===##
|
||||
LEVEL = ../..
|
||||
LEVEL = ../../..
|
||||
TOOLNAME = HowToUseJIT
|
||||
USEDLIBS = lli-jit lli-interpreter codegen executionengine x86 selectiondag \
|
||||
scalaropts analysis.a transformutils.a bcreader target.a vmcore \
|
||||
|
16
examples/Makefile
Normal file
16
examples/Makefile
Normal file
@ -0,0 +1,16 @@
|
||||
##===- projects/Makefile ------------------------------*- Makefile -*-===##
|
||||
#
|
||||
# The LLVM Compiler Infrastructure
|
||||
#
|
||||
# This file was developed by the LLVM research group and is distributed under
|
||||
# the University of Illinois Open Source License. See LICENSE.TXT for details.
|
||||
#
|
||||
##===----------------------------------------------------------------------===##
|
||||
LEVEL=../..
|
||||
|
||||
include $(LEVEL)/Makefile.config
|
||||
|
||||
DIRS=
|
||||
OPTIONAL_DIRS:=$(basename $(shell ls $(SourceDir) | grep -v CVS | grep -v Makefile))
|
||||
|
||||
include $(BUILD_SRC_ROOT)/Makefile.rules
|
@ -3,17 +3,17 @@
|
||||
# directories up. The source tree location we do not know; let the LLVM
|
||||
# Makefiles find it for us.
|
||||
#
|
||||
LLVM_OBJ_ROOT=$(LEVEL)/../..
|
||||
LLVM_OBJ_ROOT=$(LEVEL)/../../..
|
||||
|
||||
#
|
||||
# Grab the LLVM configuration file.
|
||||
#
|
||||
include $(LEVEL)/../../Makefile.config
|
||||
include $(LEVEL)/../../../Makefile.config
|
||||
|
||||
#
|
||||
# Reconfigure the source directories
|
||||
#
|
||||
BUILD_SRC_ROOT:=$(LLVM_SRC_ROOT)/projects/ModuleMaker
|
||||
BUILD_SRC_ROOT:=$(LLVM_SRC_ROOT)/projects/SmallExamples/ModuleMaker
|
||||
BUILD_SRC_DIR := $(subst //,/,$(BUILD_SRC_ROOT)/$(patsubst $(BUILD_OBJ_ROOT)%,%,$(BUILD_OBJ_DIR)))
|
||||
|
||||
#
|
||||
|
@ -6,7 +6,7 @@
|
||||
# the University of Illinois Open Source License. See LICENSE.TXT for details.
|
||||
#
|
||||
##===----------------------------------------------------------------------===##
|
||||
LEVEL = ../..
|
||||
LEVEL = ../../..
|
||||
TOOLNAME = HowToUseJIT
|
||||
USEDLIBS = lli-jit lli-interpreter codegen executionengine x86 selectiondag \
|
||||
scalaropts analysis.a transformutils.a bcreader target.a vmcore \
|
||||
|
16
projects/SmallExamples/Makefile
Normal file
16
projects/SmallExamples/Makefile
Normal file
@ -0,0 +1,16 @@
|
||||
##===- projects/Makefile ------------------------------*- Makefile -*-===##
|
||||
#
|
||||
# The LLVM Compiler Infrastructure
|
||||
#
|
||||
# This file was developed by the LLVM research group and is distributed under
|
||||
# the University of Illinois Open Source License. See LICENSE.TXT for details.
|
||||
#
|
||||
##===----------------------------------------------------------------------===##
|
||||
LEVEL=../..
|
||||
|
||||
include $(LEVEL)/Makefile.config
|
||||
|
||||
DIRS=
|
||||
OPTIONAL_DIRS:=$(basename $(shell ls $(SourceDir) | grep -v CVS | grep -v Makefile))
|
||||
|
||||
include $(BUILD_SRC_ROOT)/Makefile.rules
|
@ -3,17 +3,17 @@
|
||||
# directories up. The source tree location we do not know; let the LLVM
|
||||
# Makefiles find it for us.
|
||||
#
|
||||
LLVM_OBJ_ROOT=$(LEVEL)/../..
|
||||
LLVM_OBJ_ROOT=$(LEVEL)/../../..
|
||||
|
||||
#
|
||||
# Grab the LLVM configuration file.
|
||||
#
|
||||
include $(LEVEL)/../../Makefile.config
|
||||
include $(LEVEL)/../../../Makefile.config
|
||||
|
||||
#
|
||||
# Reconfigure the source directories
|
||||
#
|
||||
BUILD_SRC_ROOT:=$(LLVM_SRC_ROOT)/projects/ModuleMaker
|
||||
BUILD_SRC_ROOT:=$(LLVM_SRC_ROOT)/projects/SmallExamples/ModuleMaker
|
||||
BUILD_SRC_DIR := $(subst //,/,$(BUILD_SRC_ROOT)/$(patsubst $(BUILD_OBJ_ROOT)%,%,$(BUILD_OBJ_DIR)))
|
||||
|
||||
#
|
||||
|
Loading…
Reference in New Issue
Block a user