MPWMake 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  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. :powerpc-macos:popuperr.ppu Ä :popuperr.pp
  24. Set Exit 0
  25. NewFolder powerpc-macos
  26. Set Exit 1
  27. "{FPC}" -FE:powerpc-macos: :popuperr.pp
  28. extra Ä :powerpc-macos:erroru.ppu :powerpc-macos:ptest.ppu :powerpc-macos:popuperr.ppu
  29. all Ä rtl extra
  30. cleanrtlfcl Ä
  31. Set Exit 0 # To handle the case, when there is no match
  32. Delete -y powerpc-macos
  33. Delete -y -i rtl-stamp fcl-stamp
  34. Set Exit 1 #Revert error handling
  35. clean Ä cleanrtlfcl