mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-25 20:23:11 +01:00
54284cf34a
drops a dependency on flex and lets us make future progress more easily. Yay for 2 fewer .cvs files to make silly conflicts with. llvm-svn: 44213
27 lines
1.0 KiB
Makefile
27 lines
1.0 KiB
Makefile
##===- 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.
|
|
#
|
|
##===----------------------------------------------------------------------===##
|
|
|
|
LEVEL = ../..
|
|
LIBRARYNAME := LLVMAsmParser
|
|
BUILD_ARCHIVE = 1
|
|
EXTRA_DIST := llvmAsmParser.cpp.cvs llvmAsmParser.h.cvs llvmAsmParser.y.cvs
|
|
|
|
include $(LEVEL)/Makefile.common
|
|
|
|
# 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))
|
|
|
|
#
|
|
# 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.
|
|
$(ObjDir)/LLLexer.o: $(PROJ_SRC_DIR)/llvmAsmParser.h
|