Ver código fonte

Makefiel regenerated after commit 35943: Add testppudump rule in tests/tstunits directory

git-svn-id: trunk@35944 -
pierre 8 anos atrás
pai
commit
c2ec612f1f
1 arquivos alterados com 20 adições e 0 exclusões
  1. 20 0
      tests/tstunits/Makefile

+ 20 - 0
tests/tstunits/Makefile

@@ -1977,6 +1977,26 @@ ctest:
 	@exit 1
 endif
 extra : erroru$(PPUEXT) ptest$(PPUEXT) popuperr$(PPUEXT)
+PPULIST:=$(wildcard */*.ppu) $(wildcard units/*/*.ppu)
+PPULOGLIST:=$(subst .ppu,.log-ppu,$(PPULIST))
+RMPPULOGLIST:=$(subst .ppu,.rm-log-ppu,$(PPULIST))
+.PHONY : ppulogs cleanppulogs testppudump $(RMPPULOGLIST)
+ppulogs : $(PPULOGLIST)
+vpath %.ppu $(ALLPPUDIRS)
+vpath %.log-ppu $(ALLPPUDIRS)
+vpath %.rm-log-ppu $(ALLPPUDIRS)
+%.log-ppu : %.ppu ../../compiler/utils/ppudump$(EXEEXT)
+	..$(PATHSEP)..$(PATHSEP)compiler$(PATHSEP)utils$(PATHSEP)ppudump -VA -M $< > $@
+%.rm-log-ppu : %.ppu ../../compiler/utils/ppudump$(EXEEXT)
+	-$(RMPROG) $<
+../../compiler/utils/ppudump$(EXEEXT):
+	$(MAKE) -C $(COMPILERDIR)/utils ppudump$(EXEEXT)
+ppuinfo :
+	echo PPU list is "$(PPULIST)"
+	echo PPULOG list is "$(PPULOGLIST)"
+cleanppulogs : $(RMPPULOGLIST)
+testppudump :
+	$(MAKE) cleanppulogs ppulogs
 ifdef QUICKTEST
 all : rtl fpcunit extra
 else