2003-10-21 06:26:57 +08:00
|
|
|
##===- lib/AsmParser/Makefile ------------------------------*- Makefile -*-===##
|
|
|
|
#
|
|
|
|
# The LLVM Compiler Infrastructure
|
|
|
|
#
|
2007-12-30 04:09:26 +08:00
|
|
|
# This file is distributed under the University of Illinois Open Source
|
|
|
|
# License. See LICENSE.TXT for details.
|
2003-10-21 06:26:57 +08:00
|
|
|
#
|
|
|
|
##===----------------------------------------------------------------------===##
|
2001-06-07 04:29:01 +08:00
|
|
|
|
2005-02-01 09:47:12 +08:00
|
|
|
LEVEL = ../..
|
2004-10-28 08:43:24 +08:00
|
|
|
LIBRARYNAME := LLVMAsmParser
|
2006-06-01 09:30:27 +08:00
|
|
|
BUILD_ARCHIVE = 1
|
2007-11-18 16:46:26 +08:00
|
|
|
EXTRA_DIST := llvmAsmParser.cpp.cvs llvmAsmParser.h.cvs llvmAsmParser.y.cvs
|
2001-06-07 04:29:01 +08:00
|
|
|
|
|
|
|
include $(LEVEL)/Makefile.common
|
|
|
|
|
2006-06-03 02:20:28 +08:00
|
|
|
# Disable -pedantic for this library, as bison output isn't necessarily
|
|
|
|
# -pedantic clean.
|
|
|
|
CompileCommonOpts := $(filter-out -pedantic,$(CompileCommonOpts))
|
|
|
|
CompileCommonOpts := $(filter-out -Wno-long-long,$(CompileCommonOpts))
|
|
|
|
|
2003-07-01 05:59:07 +08:00
|
|
|
#
|
2004-10-28 08:43:24 +08:00
|
|
|
# Make the object code file for the lexer depend upon the header file generated
|
|
|
|
# by the Bison parser. This prevents the Lexer from being compiled before the
|
|
|
|
# header file it needs is built.
|
2007-11-18 16:46:26 +08:00
|
|
|
$(ObjDir)/LLLexer.o: $(PROJ_SRC_DIR)/llvmAsmParser.h
|