Make sure CVS versions of yacc and lex files get distributed.
[oota-llvm.git] / lib / AsmParser / Makefile
1 ##===- lib/AsmParser/Makefile ------------------------------*- Makefile -*-===##
2
3 #                     The LLVM Compiler Infrastructure
4 #
5 # This file was developed by the LLVM research group and is distributed under
6 # the University of Illinois Open Source License. See LICENSE.TXT for details.
7
8 ##===----------------------------------------------------------------------===##
9
10 LEVEL = ../..
11 LIBRARYNAME := LLVMAsmParser
12 EXTRA_DIST := Lexer.cpp.cvs Lexer.l.cvs \
13               llvmAsmParser.cpp.cvs llvmAsmParser.h.cvs llvmAsmParser.y.cvs
14
15 include $(LEVEL)/Makefile.common
16
17 #
18 # Make the object code file for the lexer depend upon the header file generated
19 # by the Bison parser.  This prevents the Lexer from being compiled before the
20 # header file it needs is built.
21 $(ObjDir)/Lexer.o: $(PROJ_SRC_DIR)/llvmAsmParser.h