2003-10-21 06:26:57 +08:00
|
|
|
##===- lib/AsmParser/Makefile ------------------------------*- Makefile -*-===##
|
|
|
|
#
|
|
|
|
# The LLVM Compiler Infrastructure
|
|
|
|
#
|
|
|
|
# This file was developed by the LLVM research group and is distributed under
|
|
|
|
# the University of Illinois Open Source License. See LICENSE.TXT for details.
|
|
|
|
#
|
|
|
|
##===----------------------------------------------------------------------===##
|
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
|
2006-04-13 04:57:05 +08:00
|
|
|
EXTRA_DIST := Lexer.cpp.cvs Lexer.l.cvs \
|
|
|
|
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.
|
2005-08-28 02:50:39 +08:00
|
|
|
$(ObjDir)/Lexer.o: $(PROJ_SRC_DIR)/llvmAsmParser.h
|