-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.sh
executable file
·68 lines (54 loc) · 2.1 KB
/
build.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
#! /bin/bash
platform=$(dpkg-architecture -l | head -n 1 | tr '=' '\n' | tail -n 1)
echo 'Building vertigo-bin'
echo
set -x
mkdir compile
rm compile/*
cp vertigo/src/* compile/.
cd compile
gcc -c m_resolve_address.c -o m_resolve_address.o
fpc -CX -XX -Xs -O3 -B -OoREGVAR -OoSTACKFRAME -OoPEEPHOLE -OoASMCSE install
fpc -CX -XX -Xs -O3 -B -OoREGVAR -OoSTACKFRAME -OoPEEPHOLE -OoASMCSE install_make
fpc -CX -XX -Xs -O3 -B -OoREGVAR -OoSTACKFRAME -OoPEEPHOLE -OoASMCSE maketheme
fpc -CX -XX -Xs -O3 -B -OoREGVAR -OoSTACKFRAME -OoPEEPHOLE -OoASMCSE vbbsutil
fpc -CX -XX -Xs -O3 -B -OoREGVAR -OoSTACKFRAME -OoPEEPHOLE -OoASMCSE mide
fpc -CX -XX -Xs -O3 -B -OoREGVAR -OoSTACKFRAME -OoPEEPHOLE -OoASMCSE mis
fpc -CX -XX -Xs -O3 -B -OoREGVAR -OoSTACKFRAME -OoPEEPHOLE -OoASMCSE mplc
fpc -CX -XX -Xs -O3 -B -OoREGVAR -OoSTACKFRAME -OoPEEPHOLE -OoASMCSE mtype
fpc -CX -XX -Xs -O3 -B -OoREGVAR -OoSTACKFRAME -OoPEEPHOLE -OoASMCSE mutil
fpc -CX -XX -Xs -O3 -B -OoREGVAR -OoSTACKFRAME -OoPEEPHOLE -OoASMCSE vertigo
fpc -CX -XX -Xs -O3 -B -OoREGVAR -OoSTACKFRAME -OoPEEPHOLE -OoASMCSE fidopoll
fpc -CX -XX -Xs -O3 -B -OoREGVAR -OoSTACKFRAME -OoPEEPHOLE -OoASMCSE vertpack
fpc -CX -XX -Xs -O3 -B -OoREGVAR -OoSTACKFRAME -OoPEEPHOLE -OoASMCSE nodespy
fpc -CX -XX -Xs -O3 -B -OoREGVAR -OoSTACKFRAME -OoPEEPHOLE -OoASMCSE qwkpoll
mkdir ../bin
mkdir ../bin/release
cp install ../bin/
cp install_make ../bin/
cp maketheme ../bin/release/
cp vbbsutil ../bin/release/
cp mide ../bin/release/
cp mis ../bin/release/
cp mplc ../bin/release/
cp mtype ../bin/release/
cp mutil ../bin/release/
cp vertigo ../bin/release/
cp fidopoll ../bin/release/
cp vertpack ../bin/release/
cp nodespy ../bin/release/
cp qwkpoll ../bin/release/
cp -R ../vertigo/etc/* ../bin/release/
cd ..
cd bin
./install_make install_data release/\* ROOT
./install_make install_data release/data/\* DATA
./install_make install_data release/text/\* TEXT
./install_make install_data release/menus/\* MENUS
./install_make install_data release/scripts/\* SCRIPT
./install_make install_data release/doc/\* DOCS
cd ..
rm -rf compile
#rm -rf bin/release
rm bin/install_make
cp COPYING bin