MPWMake 890 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. FPC = ppcppc
  2. rtl-stamp Ä
  3. Set Exit 0
  4. NewFolder powerpc-macos
  5. Set Exit 1
  6. Set TEMP_FPC `Files -f "{FPC}"`
  7. Set TEMP_OUTDIR "`Directory`powerpc-macos:"
  8. Directory :::rtl:macos
  9. Make all -f MPWMake -d FPC={TEMP_FPC} -d REDIR=-FE'"'{TEMP_OUTDIR}'"' -d OPT={OPT} > Makeout ; Makeout
  10. Directory :::tests:units
  11. Echo Compiled > :rtl-stamp
  12. rtl Ä rtl-stamp
  13. :powerpc-macos:erroru.ppu Ä :erroru.pp
  14. Set Exit 0
  15. NewFolder powerpc-macos
  16. Set Exit 1
  17. "{FPC}" -FE:powerpc-macos: :erroru.pp
  18. :powerpc-macos:ptest.ppu Ä ::test:cg:ptest.pp
  19. Set Exit 0
  20. NewFolder powerpc-macos
  21. Set Exit 1
  22. "{FPC}" -FE:powerpc-macos: ::test:cg:ptest.pp
  23. extra Ä :powerpc-macos:erroru.ppu :powerpc-macos:ptest.ppu
  24. all Ä rtl extra
  25. cleanrtlfcl Ä
  26. Set Exit 0 # To handle the case, when there is no match
  27. Delete -y powerpc-macos
  28. Delete -y -i rtl-stamp fcl-stamp
  29. Set Exit 1 #Revert error handling
  30. clean Ä cleanrtlfcl