2001-09-14 03:55:11 +00:00
|
|
|
LEVEL = ../../..
|
2001-09-14 03:47:57 +00:00
|
|
|
LIBRARYNAME = sparc
|
2002-09-23 13:12:28 +00:00
|
|
|
|
2002-07-25 06:08:32 +00:00
|
|
|
ExtraSource = Debug/Sparc.burm.cpp
|
2001-09-14 03:47:57 +00:00
|
|
|
|
2003-05-27 22:04:38 +00:00
|
|
|
SparcV9CodeEmitter.inc: SparcV9.td
|
|
|
|
@echo "TableGen-erating $@"
|
|
|
|
cpp -P SparcV9.td | tblgen -gen-emitter > SparcV9CodeEmitter.inc
|
|
|
|
|
2001-09-14 03:47:57 +00:00
|
|
|
include $(LEVEL)/Makefile.common
|
|
|
|
|
2002-09-23 13:12:28 +00:00
|
|
|
ifdef ENABLE_OPTIMIZED
|
|
|
|
DEBUG_FLAG =
|
|
|
|
else
|
|
|
|
DEBUG_FLAG = -D_DEBUG
|
|
|
|
endif
|
|
|
|
|
|
|
|
Debug/Sparc.burm.cpp: Debug/Sparc.burm Debug/.dir
|
2002-07-25 06:08:32 +00:00
|
|
|
$(RunBurg) $< -o $@
|
|
|
|
|
2002-08-12 22:09:44 +00:00
|
|
|
$(BUILD_ROOT)/Debug/Sparc.burm.o: Debug/Sparc.burm.cpp
|
2002-07-25 06:08:32 +00:00
|
|
|
$(CompileG) $< -o $@
|
|
|
|
|
2002-09-23 13:12:28 +00:00
|
|
|
$(BUILD_ROOT)/Release/Sparc.burm.o: Debug/Sparc.burm.cpp
|
|
|
|
$(CompileO) $< -o $@
|
|
|
|
|
|
|
|
$(BUILD_ROOT)/Profile/Sparc.burm.o: Debug/Sparc.burm.cpp
|
|
|
|
$(CompileP) $< -o $@
|
|
|
|
|
|
|
|
Debug/Sparc.burg.in1 : Sparc.burg.in Debug/.dir
|
|
|
|
$(CXX) -E -I$(LEVEL)/include $(DEBUG_FLAG) -x c++ $< | sed '/^# /d' | sed 's/Ydefine/#define/' > $@
|
2001-10-14 17:25:31 +00:00
|
|
|
|
2002-09-23 13:12:28 +00:00
|
|
|
Debug/Sparc.burm : Debug/Sparc.burg.in1
|
|
|
|
$(CXX) -E -I$(LEVEL)/include $(DEBUG_FLAG) -x c++ $< | sed '/^# /d' | sed 's/Xinclude/#include/g' | sed 's/Xdefine/#define/g' > $@
|
2001-10-14 17:25:31 +00:00
|
|
|
|
2002-08-12 22:09:44 +00:00
|
|
|
$(BUILD_ROOT)/Depend/Sparc.burm.d: $(BUILD_ROOT)/Depend/.dir
|
2002-05-21 15:58:24 +00:00
|
|
|
touch $@
|
|
|
|
|