X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=utils%2FTableGen%2FMakefile;h=6e55c53df0ec200d62cfde50bd9349301e87b4f5;hb=bb9d18c7d5dea146b2810de0a9bc3d21a1766a60;hp=21c68c6b02d1d5b93f7f66f66404a54769017509;hpb=4767a0c1b65caa7caa26104e34868685e103e8fa;p=oota-llvm.git diff --git a/utils/TableGen/Makefile b/utils/TableGen/Makefile index 21c68c6b02d..6e55c53df0e 100644 --- a/utils/TableGen/Makefile +++ b/utils/TableGen/Makefile @@ -1,29 +1,18 @@ +##===- 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 = tblgen -USEDLIBS = support.a - -.PRECIOUS: FileLexer.cpp FileParser.cpp +NO_INSTALL = 1; +USEDLIBS = LLVMSupport.a LLVMSystem.a +REQUIRES_EH := 1 +REQUIRES_RTTI := 1 include $(LEVEL)/Makefile.common -clean:: - -rm -f FileParser.cpp FileParser.h FileLexer.cpp CommandLine.cpp - -rm -f FileParser.output - - -dump:: $(TOOLEXENAME_G) - $(TOOLEXENAME_G) < X86.td - -parse: $(TOOLEXENAME_G) - $(TOOLEXENAME_G) < X86.td -parse - -test:: $(TOOLEXENAME_G) - @echo "enum {" - @$(TOOLEXENAME_G) < X86.td -class=Register - @echo - @echo "};" - - @echo "enum {" - @$(TOOLEXENAME_G) < X86.td -class=Instruction - @echo - @echo "};"