miroir de https://gitlab.com/rnger/amath
70 lignes
1.6 KiB
Bash
Fichiers exécutables
70 lignes
1.6 KiB
Bash
Fichiers exécutables
#!/bin/sh
|
|
#
|
|
# This file is public domain
|
|
#
|
|
# Project homepage:
|
|
# https://amath.innolan.net
|
|
#
|
|
|
|
set -e
|
|
|
|
rm -f amath.lha
|
|
rm -Rf amath
|
|
rm -Rf dist
|
|
mkdir dist
|
|
|
|
./configure --disable-test --disable-pic --cross-compile="m68k-amigaos" CFLAGS="-m68000 -noixemul"
|
|
make clean
|
|
make static
|
|
mv amath dist/amath.000
|
|
make clean
|
|
./configure --disable-test --disable-pic --cross-compile="m68k-amigaos" CFLAGS="-m68020 -noixemul"
|
|
make static
|
|
mv amath dist/amath.020
|
|
make clean
|
|
./configure --disable-test --disable-pic --cross-compile="m68k-amigaos" CFLAGS="-m68030 -noixemul"
|
|
make static
|
|
mv amath dist/amath.030
|
|
make clean
|
|
|
|
./configure --enable-test --disable-pic --cross-compile="m68k-amigaos" CFLAGS="-m68000 -noixemul"
|
|
make static
|
|
mv amath dist/amath-test.000
|
|
make clean
|
|
./configure --enable-test --disable-pic --cross-compile="m68k-amigaos" CFLAGS="-m68020 -noixemul"
|
|
make static
|
|
mv amath dist/amath-test.020
|
|
make clean
|
|
./configure --enable-test --disable-pic --cross-compile="m68k-amigaos" CFLAGS="-m68030 -noixemul"
|
|
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 ..
|
|
|
|
make catalogs
|
|
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
|