2004-04-25 07:04:49 +00:00
|
|
|
##===- lib/Target/SparcV9/Makefile -------------------------*- Makefile -*-===##
|
2003-10-20 22:26:57 +00:00
|
|
|
#
|
|
|
|
# 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-09-14 03:55:11 +00:00
|
|
|
LEVEL = ../../..
|
2004-10-27 23:18:45 +00:00
|
|
|
LIBRARYNAME = LLVMSparcV9
|
2004-10-10 23:36:09 +00:00
|
|
|
PARALLEL_DIRS = InstrSched LiveVar ModuloScheduling RegAlloc
|
2002-09-23 13:12:28 +00:00
|
|
|
|
2004-10-22 21:02:08 +00:00
|
|
|
BUILT_SOURCES = \
|
|
|
|
SparcV9CodeEmitter.inc \
|
|
|
|
SparcV9.burm.cpp
|
2001-09-14 03:47:57 +00:00
|
|
|
|
|
|
|
include $(LEVEL)/Makefile.common
|
|
|
|
|
2004-10-22 21:02:08 +00:00
|
|
|
SparcV9.burg.in1 : $(BUILD_SRC_DIR)/SparcV9.burg.in
|
2004-10-30 09:19:36 +00:00
|
|
|
$(Echo) Pre-processing SparcV9.burg.in
|
|
|
|
$(Verb) $(CXX) -E $(CPP.Flags) -x c++ $< | $(SED) '/^#/d' | $(SED) 's/Ydefine/#define/' > $@
|
2002-09-23 13:12:28 +00:00
|
|
|
|
2004-10-22 21:02:08 +00:00
|
|
|
SparcV9.burm : SparcV9.burg.in1
|
2004-10-30 09:19:36 +00:00
|
|
|
$(Echo) Pre-processing SparcV9.burg.in
|
|
|
|
$(Verb) $(CXX) -E $(CPP.Flags) -x c++ $< | $(SED) '/^#/d' | $(SED) 's/^Xinclude/#include/' | $(SED) 's/^Xdefine/#define/' > $@
|
2003-09-06 14:50:22 +00:00
|
|
|
|
2004-02-25 18:44:15 +00:00
|
|
|
SparcV9.burm.cpp: SparcV9.burm
|
2004-10-30 09:19:36 +00:00
|
|
|
$(Echo) "Burging `basename $<`"
|
|
|
|
$(Verb) $(BURG) -I $< -o $@
|
2003-11-13 00:05:09 +00:00
|
|
|
|
2004-10-30 09:19:36 +00:00
|
|
|
SparcV9CodeEmitter.inc: $(BUILD_SRC_DIR)/SparcV9.td $(TDFiles) $(TBLGEN)
|
|
|
|
$(Echo) "Running tblgen on SparcV9.td"
|
|
|
|
$(Verb) $(TableGen) -gen-emitter -o $@ $<
|
2003-07-30 05:49:17 +00:00
|
|
|
|
2003-05-29 03:32:49 +00:00
|
|
|
clean::
|
2004-10-30 09:19:36 +00:00
|
|
|
$(Verb) $(RM) -f SparcV9CodeEmitter.inc SparcV9.burg.in1 SparcV9.burm SparcV9.burm.cpp
|
2003-09-09 20:57:03 +00:00
|
|
|
|