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-22 23:24:39 +00:00
|
|
|
@$(ECHO) Pre-processing SparcV9.burg.in
|
|
|
|
$(VERB) $(CXX) -E $(CPPFLAGS) -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-22 23:24:39 +00:00
|
|
|
@$(ECHO) Pre-processing SparcV9.burg.in
|
|
|
|
$(VERB) $(CXX) -E $(CPPFLAGS) -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-22 23:24:39 +00:00
|
|
|
@$(ECHO) "Burging `basename $<`"
|
|
|
|
$(VERB) $(BURG) -I $< -o $@
|
2003-11-13 00:05:09 +00:00
|
|
|
|
2004-10-22 21:02:08 +00:00
|
|
|
TABLEGEN_FILES := $(notdir $(wildcard $(BUILD_SRC_DIR)/*.td))
|
2003-07-30 05:49:17 +00:00
|
|
|
|
2004-10-22 21:02:08 +00:00
|
|
|
SparcV9CodeEmitter.inc: $(BUILD_SRC_DIR)/SparcV9.td $(TABLEGEN_FILES) $(TBLGEN)
|
2004-10-22 23:24:39 +00:00
|
|
|
@$(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-09-03 23:19:53 +00:00
|
|
|
$(VERB) $(RM) -f SparcV9CodeEmitter.inc SparcV9.burg.in1 SparcV9.burm SparcV9.burm.cpp
|
2003-09-09 20:57:03 +00:00
|
|
|
|