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