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