X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=utils%2FTableGen%2FMakefile;h=9bfd94b7576bd24fdedbf838e67e07e127f0cff0;hb=60338334fc18790494625a45eb1020e8fb52c0e5;hp=667998242f52353226293604e3e96e3addca476b;hpb=24e79094f9d417829f36c4d6ef84c6368e39f98d;p=oota-llvm.git diff --git a/utils/TableGen/Makefile b/utils/TableGen/Makefile index 667998242f5..9bfd94b7576 100644 --- a/utils/TableGen/Makefile +++ b/utils/TableGen/Makefile @@ -1,28 +1,18 @@ -LEVEL = ../.. -TOOLNAME = tblgen -USEDLIBS = support.a - -include $(LEVEL)/Makefile.common - -clean:: - -rm -f FileParser.cpp FileParser.h FileLexer.cpp CommandLine.cpp - -rm -f FileParser.output +##===- utils/TableGen/Makefile -----------------------------*- Makefile -*-===## +# +# The LLVM Compiler Infrastructure +# +# This file is distributed under the University of Illinois Open Source +# License. See LICENSE.TXT for details. +# +##===----------------------------------------------------------------------===## +LEVEL = ../.. +TOOLNAME = llvm-tblgen +USEDLIBS = LLVMTableGen.a LLVMSupport.a -dump:: - $(TOOLEXENAME_G) < X86.td - -parse: - $(TOOLEXENAME_G) < X86.td -parse - -test:: +# This tool has no plugins, optimize startup time. +TOOL_NO_EXPORTS = 1 - @echo "enum {" - @$(TOOLEXENAME_G) < X86.td -class=Register - @echo - @echo "};" +include $(LEVEL)/Makefile.common - @echo "enum {" - @$(TOOLEXENAME_G) < X86.td -class=Instruction - @echo - @echo "};"