1 ##===- lib/AsmParser/Makefile ------------------------------*- Makefile -*-===##
3 # The LLVM Compiler Infrastructure
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.
8 ##===----------------------------------------------------------------------===##
11 LIBRARYNAME := LLVMAsmParser
13 EXTRA_DIST := Lexer.cpp.cvs Lexer.l.cvs \
14 llvmAsmParser.cpp.cvs llvmAsmParser.h.cvs llvmAsmParser.y.cvs
16 include $(LEVEL)/Makefile.common
19 # Make the object code file for the lexer depend upon the header file generated
20 # by the Bison parser. This prevents the Lexer from being compiled before the
21 # header file it needs is built.
22 $(ObjDir)/Lexer.o: $(PROJ_SRC_DIR)/llvmAsmParser.h