mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-01 00:11:00 +00:00
7c339b8ca2
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29043 91177308-0d34-0410-b5e6-96231b3b80d8
29 lines
1.1 KiB
Makefile
29 lines
1.1 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
|
|
REQUIRES_EH := 1
|
|
EXTRA_DIST := Lexer.cpp.cvs Lexer.l.cvs \
|
|
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)/Lexer.o: $(PROJ_SRC_DIR)/llvmAsmParser.h
|