Simple command line calculator http://amath.innolan.net
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

builddist 1.7KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. #!/bin/sh
  2. set -e
  3. rm -f amath.lha
  4. rm -Rf amath
  5. rm -Rf dist
  6. mkdir dist
  7. ./configure --disable-test --disable-pic --cross-compile="m68k-amigaos" CFLAGS="-m68000 -noixemul"
  8. make clean
  9. make static
  10. mv amath dist/amath.000
  11. make clean
  12. ./configure --disable-test --disable-pic --cross-compile="m68k-amigaos" CFLAGS="-m68020 -noixemul"
  13. make static
  14. mv amath dist/amath.020
  15. make clean
  16. ./configure --disable-test --disable-pic --cross-compile="m68k-amigaos" CFLAGS="-m68030 -noixemul"
  17. make static
  18. mv amath dist/amath.030
  19. make clean
  20. ./configure --enable-test --disable-pic --cross-compile="m68k-amigaos" CFLAGS="-m68000 -noixemul"
  21. make static
  22. mv amath dist/amath-test.000
  23. make clean
  24. ./configure --enable-test --disable-pic --cross-compile="m68k-amigaos" CFLAGS="-m68020 -noixemul"
  25. make static
  26. mv amath dist/amath-test.020
  27. make clean
  28. ./configure --enable-test --disable-pic --cross-compile="m68k-amigaos" CFLAGS="-m68030 -noixemul"
  29. make static
  30. mv amath dist/amath-test.030
  31. make clean
  32. cd dist
  33. touch hashkeys
  34. sha1sum amath.000 >>hashkeys
  35. sha1sum amath.020 >>hashkeys
  36. sha1sum amath.030 >>hashkeys
  37. sha1sum amath-test.000 >>hashkeys
  38. sha1sum amath-test.020 >>hashkeys
  39. sha1sum amath-test.030 >>hashkeys
  40. sha256sum amath.000 >>hashkeys
  41. sha256sum amath.020 >>hashkeys
  42. sha256sum amath.030 >>hashkeys
  43. sha256sum amath-test.000 >>hashkeys
  44. sha256sum amath-test.020 >>hashkeys
  45. sha256sum amath-test.030 >>hashkeys
  46. cd ..
  47. make catalogs
  48. cp LICENSE dist/
  49. cp HISTORY dist/
  50. mkdir dist/script
  51. cp script/* dist/script/
  52. date -Ru >dist/build_date
  53. #uname -srmo >dist/build_host
  54. mv dist amath
  55. #lha-ac a amath.lha amath
  56. # GCC 6.x
  57. #./configure --enable-test --cross-compile="/opt/m68k-amigaos6/bin/m68k-amigaos" CFLAGS="-m68000 -noixemul" LDFLAGS="-Xlinker --allow-multiple-definition"
  58. #make static