llvm.org GIT mirror llvm / f3b4755
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 Reid Spencer 15 years ago
6 changed file(s) with 40 addition(s) and 8 deletion(s). Raw diff Collapse all Expand all
55 # the University of Illinois Open Source License. See LICENSE.TXT for details.
66 #
77 ##===----------------------------------------------------------------------===##
8 LEVEL = ../..
8 LEVEL = ../../..
99 TOOLNAME = HowToUseJIT
1010 USEDLIBS = lli-jit lli-interpreter codegen executionengine x86 selectiondag \
1111 scalaropts analysis.a transformutils.a bcreader target.a vmcore \
0 ##===- projects/Makefile ------------------------------*- Makefile -*-===##
1 #
2 # The LLVM Compiler Infrastructure
3 #
4 # This file was developed by the LLVM research group and is distributed under
5 # the University of Illinois Open Source License. See LICENSE.TXT for details.
6 #
7 ##===----------------------------------------------------------------------===##
8 LEVEL=../..
9
10 include $(LEVEL)/Makefile.config
11
12 DIRS=
13 OPTIONAL_DIRS:=$(basename $(shell ls $(SourceDir) | grep -v CVS | grep -v Makefile))
14
15 include $(BUILD_SRC_ROOT)/Makefile.rules
22 # directories up. The source tree location we do not know; let the LLVM
33 # Makefiles find it for us.
44 #
5 LLVM_OBJ_ROOT=$(LEVEL)/../..
5 LLVM_OBJ_ROOT=$(LEVEL)/../../..
66
77 #
88 # Grab the LLVM configuration file.
99 #
10 include $(LEVEL)/../../Makefile.config
10 include $(LEVEL)/../../../Makefile.config
1111
1212 #
1313 # Reconfigure the source directories
1414 #
15 BUILD_SRC_ROOT:=$(LLVM_SRC_ROOT)/projects/ModuleMaker
15 BUILD_SRC_ROOT:=$(LLVM_SRC_ROOT)/projects/SmallExamples/ModuleMaker
1616 BUILD_SRC_DIR := $(subst //,/,$(BUILD_SRC_ROOT)/$(patsubst $(BUILD_OBJ_ROOT)%,%,$(BUILD_OBJ_DIR)))
1717
1818 #
55 # the University of Illinois Open Source License. See LICENSE.TXT for details.
66 #
77 ##===----------------------------------------------------------------------===##
8 LEVEL = ../..
8 LEVEL = ../../..
99 TOOLNAME = HowToUseJIT
1010 USEDLIBS = lli-jit lli-interpreter codegen executionengine x86 selectiondag \
1111 scalaropts analysis.a transformutils.a bcreader target.a vmcore \
0 ##===- projects/Makefile ------------------------------*- Makefile -*-===##
1 #
2 # The LLVM Compiler Infrastructure
3 #
4 # This file was developed by the LLVM research group and is distributed under
5 # the University of Illinois Open Source License. See LICENSE.TXT for details.
6 #
7 ##===----------------------------------------------------------------------===##
8 LEVEL=../..
9
10 include $(LEVEL)/Makefile.config
11
12 DIRS=
13 OPTIONAL_DIRS:=$(basename $(shell ls $(SourceDir) | grep -v CVS | grep -v Makefile))
14
15 include $(BUILD_SRC_ROOT)/Makefile.rules
22 # directories up. The source tree location we do not know; let the LLVM
33 # Makefiles find it for us.
44 #
5 LLVM_OBJ_ROOT=$(LEVEL)/../..
5 LLVM_OBJ_ROOT=$(LEVEL)/../../..
66
77 #
88 # Grab the LLVM configuration file.
99 #
10 include $(LEVEL)/../../Makefile.config
10 include $(LEVEL)/../../../Makefile.config
1111
1212 #
1313 # Reconfigure the source directories
1414 #
15 BUILD_SRC_ROOT:=$(LLVM_SRC_ROOT)/projects/ModuleMaker
15 BUILD_SRC_ROOT:=$(LLVM_SRC_ROOT)/projects/SmallExamples/ModuleMaker
1616 BUILD_SRC_DIR := $(subst //,/,$(BUILD_SRC_ROOT)/$(patsubst $(BUILD_OBJ_ROOT)%,%,$(BUILD_OBJ_DIR)))
1717
1818 #