summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorJohn Criswell <criswell@uiuc.edu>2003-06-30 21:59:07 +0000
committerJohn Criswell <criswell@uiuc.edu>2003-06-30 21:59:07 +0000
commit7a73b80b9052136c8cd2234eb3433a07df7cf38e (patch)
treef7be65b4a1f3c25d8f5dfc42f6ea73f7bbfec00d /utils
parenteb093fbf6fd2878c842f2f215362597475ef1817 (diff)
downloadllvm-7a73b80b9052136c8cd2234eb3433a07df7cf38e.tar.gz
llvm-7a73b80b9052136c8cd2234eb3433a07df7cf38e.tar.bz2
llvm-7a73b80b9052136c8cd2234eb3433a07df7cf38e.tar.xz
Merged in autoconf branch. This provides configuration via the autoconf
system. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7014 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils')
-rw-r--r--utils/Burg/Makefile2
-rw-r--r--utils/TableGen/Makefile7
2 files changed, 8 insertions, 1 deletions
diff --git a/utils/Burg/Makefile b/utils/Burg/Makefile
index b19c0c2e1c..1022358b88 100644
--- a/utils/Burg/Makefile
+++ b/utils/Burg/Makefile
@@ -25,4 +25,4 @@ test:: $(TOOLEXENAME_G) sample.gr
$(TOOLEXENAME_G) -I sample.gr -o tmp && cmp tmp sample.c
$(TOOLEXENAME_G) -I -O0 <sample.gr >tmp && cmp tmp sample.c
$(TOOLEXENAME_G) -I -= <sample.gr >tmp && cmp tmp sample.c
- rm -f tmp sample.c
+ $(RM) -f tmp sample.c
diff --git a/utils/TableGen/Makefile b/utils/TableGen/Makefile
index 21c68c6b02..98417d2b75 100644
--- a/utils/TableGen/Makefile
+++ b/utils/TableGen/Makefile
@@ -6,6 +6,13 @@ USEDLIBS = support.a
include $(LEVEL)/Makefile.common
+#
+# Make the source file depend on the header file. In this way, dependencies
+# (which depend on the source file) won't get generated until bison is done
+# generating the C source and header files for the parser.
+#
+FileLexer.cpp: FileParser.h
+
clean::
-rm -f FileParser.cpp FileParser.h FileLexer.cpp CommandLine.cpp
-rm -f FileParser.output