-
Notifications
You must be signed in to change notification settings - Fork 152
/
build_server_components_only.sh
executable file
·68 lines (64 loc) · 2.76 KB
/
build_server_components_only.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
########################################################
# make pvbrowser server components only #
########################################################
export LIBPTHREAD='-pthread'
cd fake_qmake
echo Compiling fake_qmake ...
g++ -c -m64 -pipe -O2 -Wall -W -I. -I../rllib/lib -o main.o main.cpp
g++ -c -m64 -pipe -O2 -Wall -W -I. -I../rllib/lib -o fake_qmake.o fake_qmake.cpp
g++ -c -m64 -pipe -O2 -Wno-implicit-fallthrough -W -I. -I../rllib/lib -o rlstring.o ../rllib/lib/rlstring.cpp
g++ -c -m64 -pipe -O2 -Wall -W -I. -I../rllib/lib -o rlspreadsheet.o ../rllib/lib/rlspreadsheet.cpp
g++ -c -m64 -pipe -O2 -Wall -W -I. -I../rllib/lib -o rlfileload.o ../rllib/lib/rlfileload.cpp
g++ -c -m64 -pipe -O2 -Wall -W -I. -I../rllib/lib -o rlcutil.o ../rllib/lib/rlcutil.cpp
g++ -m64 -Wl,-O1 -o fake_qmake main.o fake_qmake.o rlstring.o rlspreadsheet.o rlfileload.o rlcutil.o
cd ..
cd pvserver
#./makelibs.sh
../fake_qmake/fake_qmake -fake pvsid.pro -o pvsid.mak
make -f pvsid.mak clean
make -f pvsid.mak
make -f pvsid.mak staticlib
../fake_qmake/fake_qmake -fake pvsmt.pro -o pvsmt.mak
make -f pvsmt.mak clean
make -f pvsmt.mak
make -f pvsmt.mak staticlib
cd ..
cd rllib/lib
../../fake_qmake/fake_qmake -fake lib.pro
make
cd ../..
cd rllib/rlsvg
../../fake_qmake/fake_qmake -fake rlsvgcat.pro
make
cd ../..
cd rllib/rlfind
../../fake_qmake/fake_qmake -fake rlfind.pro
make
cd ../..
cd rllib/rlhistory
../../fake_qmake/fake_qmake -fake rlhistory.pro
make
cd ../..
#echo the following tool needs qt
#cd rllib/rlhtml2pdf
#../../qmake.sh rlhtml2pdf.pro
#make
#cd ../..
echo '################################################################'
echo '# finished building server components !!! #'
echo '# now run: #'
echo '# su #'
echo '# ./install.sh #'
echo '# exit #'
echo '# #'
echo '# optional: if you want a LUA language binding #'
echo '# after the above installation run: #'
echo '# cd language_bindings #'
echo '# ./build_lua_interface.sh #'
echo '# cd .. #'
echo '# su #'
echo '# ./install.sh #'
echo '# exit #'
echo '# #'
echo '################################################################'