Makefile 877 Bytes
#!smake -J 5

PRDEPTH = ../../../..
include $(PRDEPTH)/PRdefs
include $(PRDEPTH)/PRrules

QTV = $(ROOT)/PR/hw/chip/rcp/tst/qtv

LDIRT = *.sim* *.trc* *.simlog*

default: tst_dtest.trc.Z tst_test.trc.Z

tst_dtest.sim: tst_dtest.tab.Z
	uncompress tst_dtest.tab
	$(PRDEPTH)/rdpsim/tools/tab2sim -o tst_dtest.sim -c tst_dtest.tab
	compress -f tst_dtest.tab

tst_dtest.trc.Z: tst_dtest.sim do_tst_sim $(QTV)/tst.nls
	./do_tst_sim tst_dtest | tee tst_dtest.simlog
	/usr/bin/rm -f tst_dtest.sim
	compress -f tst_dtest.trc
	compress -f tst_dtest.simlog

tst_test.sim: tst_test.tab.Z
	uncompress tst_test.tab
	$(PRDEPTH)/rdpsim/tools/tab2sim -o tst_test.sim -c tst_test.tab
	compress -f tst_test.tab

tst_test.trc.Z: tst_test.sim do_tst_sim $(QTV)/tst.nls
	./do_tst_sim tst_test | tee tst_test.simlog
	/usr/bin/rm -f tst_test.sim
	compress -f tst_test.trc
	compress -f tst_test.simlog