mirror of https://gitlab.com/rnger/amath
117 lines
3.2 KiB
Bash
Executable File
117 lines
3.2 KiB
Bash
Executable File
#!/bin/sh
|
|
|
|
rm -f amath.lha
|
|
rm -Rf amath
|
|
rm -Rf dist
|
|
mkdir dist
|
|
|
|
cd build/flexcat
|
|
./configure
|
|
make clean
|
|
make
|
|
cd ../..
|
|
|
|
./configure --disable-test --cflags="-m68000 -noixemul" --cross-compile="m68k-amigaos"
|
|
make clean
|
|
make static
|
|
mv amath dist/amath.000
|
|
make clean
|
|
./configure --disable-test --cflags="-m68020 -noixemul" --cross-compile="m68k-amigaos"
|
|
make static
|
|
mv amath dist/amath.020
|
|
make clean
|
|
./configure --disable-test --cflags="-m68030 -noixemul" --cross-compile="m68k-amigaos"
|
|
make static
|
|
mv amath dist/amath.030
|
|
make clean
|
|
#./configure --disable-test --cflags="-m68040 -noixemul" --cross-compile="m68k-amigaos"
|
|
#make static
|
|
#mv amath dist/amath.040
|
|
#make clean
|
|
#./configure --disable-test --cflags="-m68060 -noixemul" --cross-compile="m68k-amigaos"
|
|
#make static
|
|
#mv amath dist/amath.060
|
|
#make clean
|
|
#./configure --disable-test --cflags="-m68020 -m68881 -noixemul" --cross-compile="m68k-amigaos"
|
|
#make static
|
|
#mv amath dist/amath.020f
|
|
#make clean
|
|
#./configure --disable-test --cflags="-m68030 -m68881 -noixemul" --cross-compile="m68k-amigaos"
|
|
#make static
|
|
#mv amath dist/amath.030f
|
|
#make clean
|
|
|
|
./configure --enable-test --cflags="-m68000 -noixemul" --cross-compile="m68k-amigaos"
|
|
make static
|
|
mv amath dist/amath-test.000
|
|
make clean
|
|
./configure --enable-test --cflags="-m68020 -noixemul" --cross-compile="m68k-amigaos"
|
|
make static
|
|
mv amath dist/amath-test.020
|
|
make clean
|
|
./configure --enable-test --cflags="-m68030 -noixemul" --cross-compile="m68k-amigaos"
|
|
make static
|
|
mv amath dist/amath-test.030
|
|
make clean
|
|
#./configure --enable-test --cflags="-m68040 -noixemul" --cross-compile="m68k-amigaos"
|
|
#make static
|
|
#mv amath dist/amath-test.040
|
|
#make clean
|
|
#./configure --enable-test --cflags="-m68060 -noixemul" --cross-compile="m68k-amigaos"
|
|
#make static
|
|
#mv amath dist/amath-test.060
|
|
#make clean
|
|
#./configure --enable-test --cflags="-m68020 -m68881 -noixemul" --cross-compile="m68k-amigaos"
|
|
#make static
|
|
#mv amath dist/amath-test.020f
|
|
#make clean
|
|
#./configure --enable-test --cflags="-m68030 -m68881 -noixemul" --cross-compile="m68k-amigaos"
|
|
#make static
|
|
#mv amath dist/amath-test.030f
|
|
#make clean
|
|
|
|
cd dist
|
|
touch hashkeys
|
|
sha1sum amath.000 >>hashkeys
|
|
sha1sum amath.020 >>hashkeys
|
|
sha1sum amath.030 >>hashkeys
|
|
#sha1sum amath.040 >>hashkeys
|
|
#sha1sum amath.060 >>hashkeys
|
|
#sha1sum amath.020f >>hashkeys
|
|
#sha1sum amath.030f >>hashkeys
|
|
sha1sum amath-test.000 >>hashkeys
|
|
sha1sum amath-test.020 >>hashkeys
|
|
sha1sum amath-test.030 >>hashkeys
|
|
#sha1sum amath-test.040 >>hashkeys
|
|
#sha1sum amath-test.060 >>hashkeys
|
|
#sha1sum amath-test.020f >>hashkeys
|
|
#sha1sum amath-test.030f >>hashkeys
|
|
sha256sum amath.000 >>hashkeys
|
|
sha256sum amath.020 >>hashkeys
|
|
sha256sum amath.030 >>hashkeys
|
|
#sha256sum amath.040 >>hashkeys
|
|
#sha256sum amath.060 >>hashkeys
|
|
#sha256sum amath.020f >>hashkeys
|
|
#sha256sum amath.030f >>hashkeys
|
|
sha256sum amath-test.000 >>hashkeys
|
|
sha256sum amath-test.020 >>hashkeys
|
|
sha256sum amath-test.030 >>hashkeys
|
|
#sha256sum amath-test.040 >>hashkeys
|
|
#sha256sum amath-test.060 >>hashkeys
|
|
#sha256sum amath-test.020f >>hashkeys
|
|
#sha256sum amath-test.030f >>hashkeys
|
|
cd ..
|
|
|
|
make amigacatalogs
|
|
|
|
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
|