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.6KB

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