/[rdesktop]/sourceforge.net/trunk/rdesktop/uiports/qterdesktopbuild.sh
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Contents of /sourceforge.net/trunk/rdesktop/uiports/qterdesktopbuild.sh

Parent Directory Parent Directory | Revision Log Revision Log


Revision 792 - (show annotations)
Wed Nov 3 03:27:53 2004 UTC (19 years, 6 months ago) by jsorg71
File MIME type: application/x-sh
File size: 1410 byte(s)
added optimizes to qtewin.cpp

1 #!/bin/sh
2 # qterdesktop build script
3
4 rm -f qterdesktop
5 rm -f *.o
6 rm -f moc_*
7
8 cc="g++"
9 cflags="-pipe -DQT_QWS_EBX -DQT_QWS_CUSTOM -DQWS -fno-exceptions -fno-rtti -Wall -O2 -fno-default-inline -DNO_DEBUG -DWITH_OPENSSL"
10 # uncomment the following line to turn on debug
11 #cflags=$cflags" -DWITH_DEBUG"
12 # uncomment the following line to turn on sound
13 cflags=$cflags" -DWITH_RDPSND"
14 lflags="-L/usr/local/qt/lib"
15 libs="-lqte -lcrypto"
16
17 # rdesktop core files
18 $cc $cflags -c ../tcp.c -o tcp.o
19 $cc $cflags -c ../iso.c -o iso.o
20 $cc $cflags -c ../mcs.c -o mcs.o
21 $cc $cflags -c ../secure.c -o secure.o
22 $cc $cflags -c ../rdp.c -o rdp.o
23 $cc $cflags -c ../rdp5.c -o rdp5.o
24 $cc $cflags -c ../orders.c -o orders.o
25 $cc $cflags -c ../cache.c -o cache.o
26 $cc $cflags -c ../mppc.c -o mppc.o
27 $cc $cflags -c ../licence.c -o licence.o
28 $cc $cflags -c ../bitmap.c -o bitmap.o
29 $cc $cflags -c ../channels.c -o channels.o
30 $cc $cflags -c ../pstcache.c -o pstcache.o
31 $cc $cflags -c ../rdpsnd.c -o rdpsnd.o
32 $cc $cflags -c ../rdpsnd_oss.c -o rdpsnd_oss.o
33
34 # qt files
35 $cc $cflags -I/usr/local/qt/include -c qtewin.cpp -o qtewin.o
36
37 # moc stuff
38 /usr/local/qt/bin/moc qtewin.h > moc_qtewin.cpp
39
40 $cc $cflags -I/usr/local/qt/include -c moc_qtewin.cpp -o moc_qtewin.o
41
42 $cc $lflags -o qterdesktop moc_qtewin.o qtewin.o tcp.o iso.o mcs.o secure.o rdp.o rdp5.o orders.o cache.o mppc.o licence.o bitmap.o channels.o pstcache.o rdpsnd.o rdpsnd_oss.o $libs

Properties

Name Value
svn:executable *

  ViewVC Help
Powered by ViewVC 1.1.26