summaryrefslogtreecommitdiffstats
path: root/win/tools/build_tdelibs_dbg
blob: 79f3b0f3274b782ea83d33cf350f8db433f79637 (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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
#!/bin/bash
# compile entire tdelibs/win32 in debug mode
# (c) 2003-2005, Jaroslaw Staniek, js@iidea.pl

if [ "$1" == "noclean" ] ; then
	noclean=1
fi

update_tdelibs_pro_files || exit 1
.copy_missing_headers || exit 1
source .build_tdelibs_comon || exit 1

cd "$KDELIBS"

echo "-------------------------------------------------"
echo "Building Debug Version of KDElibs/win32"
echo "Source directory: \$KDELIBS = $KDELIBS"
echo "Version: $KDE_VER_MAJ.$KDE_VER_MIN.$KDE_VER_PAT"
echo "Destination directory: \$TDEDIR = $TDEDIR"
if [ -n $noclean ] ; then
	echo "Options: noclean"
fi
echo "-------------------------------------------------"
echo

# special
cd win/9x && $make || exit 1
cd "$pwd"

if [ -d "kstyles/thinkeramik/widget-engine" ] ; then
	additional="kstyles/thinkeramik/widget-engine/genembed kstyles/thinkeramik/widget-engine "
fi

# all
for d in \
win \
libltdl \
dcop/KDE-ICE \
dcop \
dcop/dcopidl \
dcop/dcopidl2cpp \
dcop/dcopserver \
dcop/dcopserver_shutdown \
dcop/iceauth \
tdefx \
$additional \
tdecore \
tdeui \
kio \
tderesources \
tdeabc/vcard \
kabc \
tdeutils \
tdeparts \
tdemdi \
tdeioslave/gzip \
tdeioslave/bzip2 \
interfaces/tdetexteditor \
kate/interfaces \
kate/part \
 ; do 
	echo ================== $d =================
	cd $d || exit 1
	if [ -z $noclean ] ; then
		$make clean
	fi
	qmake && $make || exit 1
	cd $pwd
done

cd kdewidgets
qmake makekdewidgets.pro && $make clean && $make || exit 1
qmake && $make clean && $make || exit 1

# copy kdewidgets plugin for Qt Designer
cp $TDEDIR/lib/trinity/plugins/designer/kdewidgets.dll $QTDIR/plugins/designer/

cd $pwd

cd kded
./makeall.sh || exit 1
cd $pwd