summaryrefslogtreecommitdiff
path: root/tools/llvm-upgrade/Makefile
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2006-11-30 06:36:44 +0000
committerReid Spencer <rspencer@reidspencer.com>2006-11-30 06:36:44 +0000
commite7c3c60d8680b4733c15ca1265275bab939726bf (patch)
tree6364bb6e75737a59e128da662214da2a657cefb8 /tools/llvm-upgrade/Makefile
parent20833e33fd1bad88f44d0d803b2e2b88f4861b27 (diff)
downloadllvm-e7c3c60d8680b4733c15ca1265275bab939726bf.tar.gz
llvm-e7c3c60d8680b4733c15ca1265275bab939726bf.tar.bz2
llvm-e7c3c60d8680b4733c15ca1265275bab939726bf.tar.xz
Initial, non-functional, version of llvm-upgrade. This version just echos
its input. Committed for safekeeping purposes. Don't use this yet. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32030 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/llvm-upgrade/Makefile')
-rw-r--r--tools/llvm-upgrade/Makefile22
1 files changed, 22 insertions, 0 deletions
diff --git a/tools/llvm-upgrade/Makefile b/tools/llvm-upgrade/Makefile
new file mode 100644
index 0000000000..48ce02fd84
--- /dev/null
+++ b/tools/llvm-upgrade/Makefile
@@ -0,0 +1,22 @@
+##===- tools/llvm-upgrade/Makefile -------------------------*- Makefile -*-===##
+#
+# The LLVM Compiler Infrastructure
+#
+# This file was developed by Reid Spencer and is distributed under the
+# University of Illinois Open Source License. See LICENSE.TXT for details.
+#
+##===----------------------------------------------------------------------===##
+
+LEVEL = ../..
+TOOLNAME = llvm-upgrade
+LINK_COMPONENTS := support system
+
+include $(LEVEL)/Makefile.common
+
+# Make the object code file for the lexer depend upon the header file generated
+# by the Bison parser. This prevents the Lexer from being compiled before the
+# header file it needs is built.
+$(ObjDir)/upgradeLexer.o: $(PROJ_SRC_DIR)/UpgradeParser.h
+
+test:
+ ../../Debug/bin/llvm-upgrade -o - ../../test/Feature/basictest.ll