mirror of
https://github.com/RPCSX/llvm.git
synced 2024-11-30 07:00:45 +00:00
e5557f4da4
Besides assigning edge weights, it will also be used by the cmd_line tool property. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51727 91177308-0d34-0410-b5e6-96231b3b80d8
29 lines
961 B
Makefile
29 lines
961 B
Makefile
##===- tools/llvmc2/Makefile -------------------------------*- Makefile -*-===##
|
|
#
|
|
# The LLVM Compiler Infrastructure
|
|
#
|
|
# This file is distributed under the University of Illinois Open
|
|
# Source License. See LICENSE.TXT for details.
|
|
#
|
|
##===----------------------------------------------------------------------===##
|
|
LEVEL = ../..
|
|
TOOLNAME = llvmc2
|
|
BUILT_SOURCES = AutoGenerated.inc
|
|
LINK_COMPONENTS = support system
|
|
REQUIRES_EH := 1
|
|
|
|
include $(LEVEL)/Makefile.common
|
|
|
|
GRAPH=Graph.td
|
|
TOOLS=Tools.td
|
|
TOOLS_SOURCE=$(GRAPH) $(TOOLS) Common.td
|
|
|
|
# TOFIX: integrate this part into Makefile.rules?
|
|
# The degree of horrorshowness in that file is too much for me atm.
|
|
$(ObjDir)/AutoGenerated.inc.tmp: $(TOOLS_SOURCE) $(ObjDir)/.dir $(TBLGEN)
|
|
$(Echo) "Building LLVMC configuration library with tblgen"
|
|
$(Verb) $(TableGen) -gen-llvmc -o $(call SYSPATH, $@) $<
|
|
|
|
AutoGenerated.inc : $(ObjDir)/AutoGenerated.inc.tmp
|
|
$(Verb) $(CMP) -s $@ $< || $(CP) $< $@
|