X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=utils%2FTableGen%2FMakefile;h=6e55c53df0ec200d62cfde50bd9349301e87b4f5;hb=63e3e6350b14d04917268be07ca1c29e158fdfd7;hp=98417d2b755c66713f6ad0e6519e0e9617642994;hpb=7a73b80b9052136c8cd2234eb3433a07df7cf38e;p=oota-llvm.git diff --git a/utils/TableGen/Makefile b/utils/TableGen/Makefile index 98417d2b755..6e55c53df0e 100644 --- a/utils/TableGen/Makefile +++ b/utils/TableGen/Makefile @@ -1,36 +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 -# -# 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 - - -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 "};"