X-Git-Url: http://plrg.eecs.uci.edu/git/?a=blobdiff_plain;f=utils%2FTableGen%2FMakefile;h=9bfd94b7576bd24fdedbf838e67e07e127f0cff0;hb=60338334fc18790494625a45eb1020e8fb52c0e5;hp=a9c235037e26c2958bf2f76124672d97a9154e3e;hpb=e62c1185bee05facc25d1d725434f517261d308b;p=oota-llvm.git diff --git a/utils/TableGen/Makefile b/utils/TableGen/Makefile index a9c235037e2..9bfd94b7576 100644 --- a/utils/TableGen/Makefile +++ b/utils/TableGen/Makefile @@ -1,23 +1,18 @@ -LEVEL = ../.. -TOOLNAME = tblgen -USEDLIBS = support.a - -include $(LEVEL)/Makefile.common +##===- 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. +# +##===----------------------------------------------------------------------===## -clean:: - -rm -f FileParser.cpp FileParser.h FileLexer.cpp CommandLine.cpp - -rm -f FileParser.output +LEVEL = ../.. +TOOLNAME = llvm-tblgen +USEDLIBS = LLVMTableGen.a LLVMSupport.a -test:: - $(TOOLEXENAME_G) < X86.td - # -parse +# 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 "};"