2003-10-20 22:26:57 +00: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-06 20:29:01 +00:00
|
|
|
|
2005-02-01 01:47:12 +00:00
|
|
|
LEVEL = ../..
|
2004-10-28 00:43:24 +00:00
|
|
|
LIBRARYNAME := LLVMAsmParser
|
2006-06-01 01:30:27 +00:00
|
|
|
BUILD_ARCHIVE = 1
|
2006-04-12 20:57:05 +00:00
|
|
|
EXTRA_DIST := Lexer.cpp.cvs Lexer.l.cvs \
|
|
|
|
llvmAsmParser.cpp.cvs llvmAsmParser.h.cvs llvmAsmParser.y.cvs
|
2001-06-06 20:29:01 +00:00
|
|
|
|
|
|
|
include $(LEVEL)/Makefile.common
|
|
|
|
|
2006-06-02 18:20:28 +00: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-06-30 21:59:07 +00:00
|
|
|
#
|
2004-10-28 00:43:24 +00: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-27 18:50:39 +00:00
|
|
|
$(ObjDir)/Lexer.o: $(PROJ_SRC_DIR)/llvmAsmParser.h
|