blob: c0a790ca15aafd756e6dca6c3dde5acfcbd44f0b (
plain)
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
|
#!/bin/sh
#
# Sets a clean checkout of kjsembed for qt-only builds.
#
# If there is no kjs tree then fetch one
if test ! -d kjs ; then
echo 'Setting up kjs tree'
cvs co -l kdelibs
cd kdelibs
cvs up -dP kjs
mv kjs ..
cd ..
rm -rf kdelibs
cd kjs
ln -s ../kjs.pro .
echo > config.h
perl create_hash_table keywords.table -i > lexer.lut.h
perl create_hash_table array_object.cpp -i > array_object.lut.h
perl create_hash_table math_object.cpp -i > math_object.lut.h
perl create_hash_table date_object.cpp -i > date_object.lut.h
perl create_hash_table number_object.cpp -i > number_object.lut.h
perl create_hash_table string_object.cpp -i > string_object.lut.h
cd ..
fi
echo 'Running qmake'
cd kjs
qmake kjs.pro
cd ../builtins
qmake builtins.pro
cd ../qtbindings
qmake qtbindings.pro
cd ..
qmake kjsembed.pro
qmake -o Makefile.qjscmd qjscmd.pro
echo 'Building KJSEmbed/Qt'
echo ' + kjs...'
( cd kjs ; make )
echo ' + builtins...'
( cd builtins ; make )
echo ' + qtbindings...'
( cd qtbindings ; make )
echo ' + lib...'
make
echo ' + app...'
make -f Makefile.qjscmd
echo 'Done'
|