amath/builddist

70 lines
1.6 KiB
Plaintext
Raw Permalink Normal View History

2017-02-27 22:23:06 +00:00
#!/bin/sh
2017-08-03 20:03:35 +00:00
#
# This file is public domain
#
# Project homepage:
# https://amath.innolan.net
#
2017-02-27 22:23:06 +00:00
2017-03-11 22:37:45 +00:00
set -e
2017-02-27 22:23:06 +00:00
rm -f amath.lha
rm -Rf amath
rm -Rf dist
mkdir dist
2017-04-15 20:32:42 +00:00
./configure --disable-test --disable-pic --cross-compile="m68k-amigaos" CFLAGS="-m68000 -noixemul"
2017-02-27 22:23:06 +00:00
make clean
make static
mv amath dist/amath.000
make clean
2017-04-15 20:32:42 +00:00
./configure --disable-test --disable-pic --cross-compile="m68k-amigaos" CFLAGS="-m68020 -noixemul"
2017-02-27 22:23:06 +00:00
make static
mv amath dist/amath.020
make clean
2017-04-15 20:32:42 +00:00
./configure --disable-test --disable-pic --cross-compile="m68k-amigaos" CFLAGS="-m68030 -noixemul"
2017-02-27 22:23:06 +00:00
make static
mv amath dist/amath.030
make clean
2017-04-15 20:32:42 +00:00
./configure --enable-test --disable-pic --cross-compile="m68k-amigaos" CFLAGS="-m68000 -noixemul"
2017-02-27 22:23:06 +00:00
make static
mv amath dist/amath-test.000
make clean
2017-04-15 20:32:42 +00:00
./configure --enable-test --disable-pic --cross-compile="m68k-amigaos" CFLAGS="-m68020 -noixemul"
2017-02-27 22:23:06 +00:00
make static
mv amath dist/amath-test.020
make clean
2017-04-15 20:32:42 +00:00
./configure --enable-test --disable-pic --cross-compile="m68k-amigaos" CFLAGS="-m68030 -noixemul"
2017-02-27 22:23:06 +00:00
make static
mv amath dist/amath-test.030
make clean
cd dist
touch hashkeys
sha1sum amath.000 >>hashkeys
sha1sum amath.020 >>hashkeys
sha1sum amath.030 >>hashkeys
sha1sum amath-test.000 >>hashkeys
sha1sum amath-test.020 >>hashkeys
sha1sum amath-test.030 >>hashkeys
sha256sum amath.000 >>hashkeys
sha256sum amath.020 >>hashkeys
sha256sum amath.030 >>hashkeys
sha256sum amath-test.000 >>hashkeys
sha256sum amath-test.020 >>hashkeys
sha256sum amath-test.030 >>hashkeys
cd ..
2017-03-11 22:37:45 +00:00
make catalogs
2017-02-27 22:23:06 +00:00
cp LICENSE dist/
cp HISTORY dist/
mkdir dist/script
cp script/* dist/script/
date -Ru >dist/build_date
#uname -srmo >dist/build_host
mv dist amath
#lha-ac a amath.lha amath