1 |
#!/bin/sh |
2 |
# dumby script |
3 |
|
4 |
rm svgardesktop |
5 |
rm *.o |
6 |
|
7 |
cc="gcc" |
8 |
cflags="-DWITH_OPENSSL -DL_ENDIAN -O2 -Wall" |
9 |
# uncomment the following line to turn on debug |
10 |
#cflags=$cflags+" -DWITH_DEBUG" |
11 |
lflags="-lcrypto -lvga" |
12 |
|
13 |
# rdesktop core files |
14 |
$cc $cflags -c ../tcp.c -o tcp.o |
15 |
$cc $cflags -c ../iso.c -o iso.o |
16 |
$cc $cflags -c ../mcs.c -o mcs.o |
17 |
$cc $cflags -c ../secure.c -o secure.o |
18 |
$cc $cflags -c ../rdp.c -o rdp.o |
19 |
$cc $cflags -c ../rdp5.c -o rdp5.o |
20 |
$cc $cflags -c ../orders.c -o orders.o |
21 |
$cc $cflags -c ../cache.c -o cache.o |
22 |
$cc $cflags -c ../mppc.c -o mppc.o |
23 |
$cc $cflags -c ../licence.c -o licence.o |
24 |
$cc $cflags -c ../bitmap.c -o bitmap.o |
25 |
$cc $cflags -c ../channels.c -o channels.o |
26 |
$cc $cflags -c ../pstcache.c -o pstcache.o |
27 |
|
28 |
# svga ui file |
29 |
$cc $cflags -c svgawin.c -o svgawin.o |
30 |
|
31 |
$cc $lflags -o svgardesktop svgawin.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 |